Air conditioner control method and device, computer storage medium and air conditioner
By collecting users' historical trajectory data and the air conditioner's historical control parameters, the target area and control parameters are determined, solving the problem of users forgetting to set air conditioner parameters and affecting their sleep. This enables the air conditioner to adjust automatically, ensuring sleep quality.
Patent Information
- Application Number
- CN202310913076.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-24
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2043-07-24
AI Technical Summary
Users forget to set the air conditioner parameters before going to bed, causing the air conditioner's operating mode to affect their sleep.
By collecting historical trajectory information of target users and historical control parameters of air conditioners, the target area and target control parameters are determined, and the operating parameters of the air conditioner are automatically adjusted according to the real-time location of the target user and the location relationship of the target area.
If the user forgets to set the air conditioning parameters before going to sleep, the air conditioner can automatically adjust the operating parameters to ensure the user's sleep quality.
Smart Images

Figure CN116697571B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer, in particular to an air conditioner control method and device, computer storage medium and air conditioner. BACKGROUND
[0002] With the development of society, people pay more and more attention to the intelligent level of air conditioner. Especially in the night scene, users often need to pick up the remote control to set the air conditioner parameters, such as temperature, wind speed, timing, to ensure better sleep effect.
[0003] However, in some scenarios, the user may forget to set the air conditioner parameters before going to sleep, which affects the sleep effect of the user. SUMMARY
[0004] Therefore, it is necessary to provide an air conditioner control method, device, computer storage medium and air conditioner to solve the technical problem that the user forgets to set the air conditioner parameters, which affects the sleep effect of the user in the existing air conditioner control process.
[0005] In a first aspect, the present application provides an air conditioner control method, comprising:
[0006] obtaining historical trajectory information of a target user and historical control parameters of a target air conditioner corresponding to the target user;
[0007] determining a target region according to the historical trajectory information, and determining target control parameters corresponding to the target region according to the historical control parameters;
[0008] controlling the target air conditioner according to the position relationship between the real-time position of the target user and the target region, and the target control parameters.
[0009] As a feasible embodiment of the present application, the target region information is determined according to the historical trajectory information, comprising:
[0010] extracting target trajectory information from the historical trajectory information according to the change trend of coordinate information and height information in the historical trajectory information;
[0011] determining a target position from the trajectory position according to the stay time corresponding to each trajectory position in the target trajectory information;
[0012] determining a target region according to the target position.
[0013] As a feasible embodiment of the present application, the target position is determined from the trajectory position according to the stay time corresponding to each trajectory position in the target trajectory information, comprising:
[0014] acquiring a number of the target user;
[0015] determining a target position corresponding to the number of the target user from the target position according to a stay time corresponding to each target position in the target trajectory information.
[0016] As an embodiment of the present application, the determining the target control parameter corresponding to the target area according to the historical control parameter comprises:
[0017] determining the area control parameter corresponding to the target area from the historical control parameter according to a corresponding relationship between the historical trajectory information and the historical control parameter;
[0018] determining the target control parameter according to a statistical result of the area control parameter.
[0019] As an embodiment of the present application, the controlling the target air conditioner according to the real-time position of the target user and the position relationship between the target area and the target control parameter comprises:
[0020] if the real-time position of the target user is located in the target area, acquiring a stay time length of the real-time position in the target area;
[0021] if the stay time length is greater than a preset time threshold, adjusting the control parameter of the target air conditioner to the target control parameter.
[0022] As an embodiment of the present application, after the step of adjusting the control parameter of the target air conditioner to the target control parameter, the method further comprises:
[0023] acquiring position change information of the target user;
[0024] if a change frequency in the position change information is greater than a preset frequency threshold, acquiring environmental temperature information, and adjusting the control parameter of the target air conditioner according to a correction coefficient corresponding to the environmental temperature.
[0025] As an embodiment of the present application, the acquiring the historical trajectory information of the target user and the historical control parameter of the target air conditioner corresponding to the target user comprises:
[0026] collecting the historical trajectory information of the target user through a preset radar sensor on the target air conditioner;
[0027] collecting the historical control parameter of the target air conditioner corresponding to the target user according to time information corresponding to the historical trajectory information.
[0028] In a second aspect, the present application provides an air conditioner control device, comprising:
[0029] a parsing module, configured to acquire historical trajectory information of a target user and historical control parameters of a target air conditioner corresponding to the target user;
[0030] a determining module, configured to determine target area information according to the historical trajectory information and determine target control parameters corresponding to the target area according to the historical control parameters;
[0031] a control module, configured to control the target air conditioner according to a relationship between real-time position information of the target user and the target area information and the target control parameters.
[0032] In a third aspect, the present application provides a computer readable storage medium, which stores a computer program, and the computer program is loaded by a processor to execute the air conditioner control method provided above.
[0033] In a fourth aspect, the present application further provides an air conditioner, which stores a computer program, and the computer program is loaded by a processor to execute the air conditioner control method provided above.
[0034] The air conditioner control method provided by the embodiments of the present application can determine the area corresponding to the bed in the room based on the historical trajectory of the user, and learn the control parameters habitually set by the user from the historical control parameters. Thus, when the user forgets to set the running parameters of the air conditioner before sleeping, the air conditioner can automatically adjust the running parameters of the target air conditioner based on the position of the user, thereby ensuring the sleep effect when the user is sleeping. BRIEF DESCRIPTION OF DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort on the basis of these drawings.
[0036] Figure 1 A step flowchart of an air conditioner control method provided by the embodiments of the present application;
[0037] Figure 2 A step flowchart of determining a target area from historical trajectory information provided by the embodiments of the present application;
[0038] Figure 3 A step flow diagram for determining a target position in a multi-person state is provided for the embodiment of the present application;
[0039] Figure 4 A step flow diagram for extracting a target control parameter from a control parameter is provided for the embodiment of the present application;
[0040] Figure 5 A step flow diagram for controlling an air conditioner is provided for the embodiment of the present application;
[0041] Figure 6 A step flow diagram for adjusting a control parameter based on a position change is provided for the embodiment of the present application;
[0042] Figure 7 A step flow diagram for collecting trajectory information and a control parameter is provided for the embodiment of the present application;
[0043] Figure 8 A structural diagram of an air conditioner control device is provided for the embodiment of the present application;
[0044] Figure 9 A structural diagram of a computer device is provided for the embodiment of the present application. DETAILED DESCRIPTION
[0045] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.
[0046] In the description of the present application, the terms "first", "second" are used only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise specifically limited.
[0047] In the description of the present application, the word "for example" is used to mean "serving as an example, instance, or illustration." Any embodiment described as "for example" in the present application is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is presented to enable any person skilled in the art to make and use the application. In the following description, for purposes of explanation, specific details are set forth. It is apparent to those skilled in the art that the present application can be practiced without using these specific details. In other instances, well-known structures and processes are not elaborated upon in order not to obscure the description of the present application with unnecessary details. Thus, the present application is not intended to be limited by the embodiments shown, but is to be accorded with the widest scope consistent with the principles and features disclosed herein.
[0048] As Figure 1 shown, Figure 1 a step flow diagram of an air conditioner control method provided by an embodiment of the present application, specifically, comprising steps S110-S130:
[0049] S110, obtaining historical trajectory information of a target user and historical control parameters of a target air conditioner corresponding to the target user.
[0050] In an embodiment of the present application, the historical trajectory information of the user generally refers to the trajectory information of the user's historical movement in the room collected by radar, infrared induction, image acquisition and portrait recognition devices or technologies. Specifically, the trajectory information generally exists in the form of time sequence of three-dimensional coordinates, wherein the height in the three-dimensional coordinates can generally be described by the height of a key point of the user's head that is easy to detect, for example, the height of the head can be commonly used as the height in the three-dimensional coordinates of the historical trajectory information, and the value of the height can reflect the user's posture to a certain extent.
[0051] On this basis, in addition to collecting the historical trajectory information of the user, the historical control parameters of the air conditioner by the user are also recorded in the form of time sequence. Specifically, the historical control parameters include the air conditioner parameters such as temperature, wind speed, timing, etc. set by the user at each time.
[0052] As can be seen, the historical trajectory information of the target user and the historical control parameters of the target air conditioner corresponding to the target user both exist in the form of time sequence, so the historical trajectory information and the historical control parameters can be associated and corresponded by time. Therefore, in the process of obtaining the historical trajectory information of the target user and the historical control parameters of the target air conditioner corresponding to the target user, the corresponding trajectory information and control parameters can be collected by using time information. The specific implementation scheme can be referred to the subsequent Figure 7 and the explanatory content thereof.
[0053] S120, determine a target region according to the historical trajectory information, and determine a target control parameter corresponding to the target region according to the historical control parameter.
[0054] In the embodiments of the present application, considering that the air conditioner control method provided by the embodiments of the present application is mainly applied to the scene of user sleep, therefore, based on the change of coordinates and height in the historical trajectory information, a specific target region can be determined from the historical trajectory information, for example, a target region related to sleep in the room, that is, a region corresponding to the bed in the room. Specifically, the implementation scheme of determining the target region related to the bed from the historical trajectory information can be referred to the subsequent Figure 2 and the content explained in the subsequent.
[0055] In addition, in addition to determining the target region from the historical trajectory information, the air conditioner also learns from the historical control parameter to determine the setting parameter habitually used by the user for the target region, that is, the target control parameter. Specifically, the implementation scheme of determining the target control parameter from the historical control parameter can be referred to the subsequent Figure 4 and the content explained in the subsequent.
[0056] S130, control the target air conditioner according to the real-time position of the target user and the positional relationship of the target region, and the target control parameter.
[0057] In the embodiments, after determining the specific target region, for example, the target region related to the bed, from the historical trajectory information, and learning the habitually used setting control parameter of the user for the target region from the historical control parameter, the subsequent control and adjustment of the air conditioner parameter can be completed based on the real-time position of the target user and the positional relationship of the target region, and the target control parameter. For example, as a feasible technical solution, when the real-time position of the target user is in the target region, the parameter of the target air conditioner is adjusted to the target control parameter. Of course, in the process of adjusting the parameter of the target air conditioner, other information can also be used to assist the control, for example, based on the staying time of the user in the target region, and the like. The specific implementation scheme can be referred to the subsequent Figure 5 and the content explained in the subsequent.
[0058] The air conditioner control method provided in the embodiments of the present application can determine the region corresponding to the bed in the room based on the historical trajectory of the user, and learn the control parameter habitually set by the user from the historical control parameter. In this way, when the user forgets to set the running parameter of the air conditioner before sleeping, the air conditioner can automatically adjust the running parameter of the target air conditioner based on the position of the user, thereby ensuring the sleep effect when the user is sleeping.
[0059] As shown in Figure 2 Figure 2 The step flow diagram for determining the target region from the historical trajectory information provided in the embodiments of the present application is specifically shown in the following steps S210-S230:
[0060] S210, extracting target trajectory information from the historical trajectory information according to the change trend of the coordinate information and the height information in the historical trajectory information.
[0061] It is considered that the air conditioner control method provided in the embodiments of the present application is mainly applied in the sleep scenario, that is, the target region when the user is in the sleep state needs to be determined. When the user is in the sleep state, the body posture is usually in the lying state, that is, compared with the posture of the conventional walking, the height information in the historical trajectory information described in the form of three-dimensional coordinates will change, for example, it will usually be reduced. Therefore, the trajectory information with the reduced height value can be extracted from the whole historical trajectory information as the target trajectory information corresponding to the potential sleep region, so as to reduce the subsequent calculation amount.
[0062] S220, determining the target position from the trajectory position according to the stay time corresponding to each trajectory position in the target trajectory information.
[0063] In the embodiments of the present application, it is considered that in addition to the change of the height information in the historical trajectory information in the lying state corresponding to the sleep state, the height information in the historical trajectory information will also change when the user is in the squatting state, which leads to that the extracted target trajectory cannot be uniquely corresponding to the sleep target region, and the size relationship between the height in the lying state and the squatting state is not uniquely fixed. Therefore, the target trajectory information needs to be further processed to determine the target region corresponding to the sleep region.
[0064] Specifically, in this embodiment of the application, after obtaining the target trajectory information, the dwell time corresponding to the trajectory position will be further determined. Compared with the squatting state, when the user is in a sleeping state, the trajectory position and height will usually be stable for a relatively long time. However, it is difficult to guarantee the long-term stability of the trajectory position and height when squatting. Therefore, the actual target position of the user in a sleeping state can be determined from the trajectory positions contained in the target trajectory information by statistically analyzing the dwell time corresponding to each trajectory position in the target trajectory information.
[0065] Of course, it should be noted that the number of target locations determined from the trajectory location should be equal to the number of target users. That is, for each user, a target location needs to be determined from the trajectory location in order to facilitate the subsequent determination of the target area.
[0066] S230, Determine the target area based on the target location.
[0067] In this embodiment, after determining the target location, the target is used as the center, and a range of a preset length is extended to obtain the final target area related to the sleep region. Of course, the specific target location can be determined based on the average coordinates of the center locations of multiple detected target locations with longer dwell times. A specific implementation scheme is as follows:
[0068] Take the point (x, y). As the center coordinates of the bed position, where ( k Y k The target area is (x±A, y±B) which is the two-dimensional coordinate of the kth target position among N target positions with longer dwell time. The final target area is (x±A, y±B), where A and B are the pre-set length and width parameters of the bed. For example, as a feasible implementation, A and B can be 0.9.
[0069] like Figure 3 As shown, Figure 3 This application provides a flowchart illustrating the steps for determining a target location in a multi-person context, specifically including steps S310 to S320:
[0070] S310, Obtain the number of the target users.
[0071] In this embodiment of the application, while the air conditioner collects the user's historical trajectory information through devices or technologies such as radar, infrared sensing, image acquisition and facial recognition, it can also simultaneously determine the number of target users.
[0072] S320, based on the dwell time corresponding to each trajectory position in the target trajectory information, determine the target positions from the trajectory positions that are the same number as the number of people.
[0073] To reduce the impact of different numbers of people on the target location, in the solution provided in this application embodiment, the air conditioner will determine the target location from the location with the same number of people based on the dwell time corresponding to each trajectory position in the target trajectory information. For example, when there are 2 users, the target location determined from the trajectory may include two coordinates. At this time, the average of these two coordinates can be taken as the center coordinate of the bed. On the basis of the above, by further expanding the range of the preset length, the target area corresponding to the bed can be further determined.
[0074] like Figure 4 As shown, Figure 4 This application provides a flowchart illustrating the steps for extracting target control parameters from control parameters, specifically including steps S410 to S420:
[0075] S410, based on the correlation between the historical trajectory information and the historical control parameters, determine the area control parameters corresponding to the target area from the historical control parameters.
[0076] In this embodiment of the application, as described above, both historical trajectory information and historical control parameters exist in the form of time series, meaning they are both related to time. Therefore, based on time, the corresponding relationship between historical trajectory information and historical control parameters can be determined. Based on this, a target area is determined from the historical trajectory information. Then, based on the time corresponding to the target area in the historical trajectory information, the corresponding area control parameters can be determined from the historical control parameters. For example, if the historical trajectory information shows that the user is within the target area between 10 PM and 6 AM, then the control parameters corresponding to 10 PM to 6 AM in the historical control parameters can be used as the area control parameters corresponding to the target area.
[0077] S420, determine the target control parameters based on the statistical results of the area control parameters.
[0078] In this embodiment of the application, considering that there may be multiple regional control parameters corresponding to the target area determined from historical control parameters, for example, the regional control parameters determined from historical control parameters, such as temperature, may be different over N consecutive days, the air conditioner will select to determine the final target control parameter based on the statistical results of the regional control parameters. For example, as a commonly used feasible solution, the air conditioner can use the average value of the regional control parameters over the past 5 days as the target control parameters. For instance, if the user set the timer parameter to 2 hours on the first day, 3 hours on the second day, 4 hours on the third day, 2 hours on the fourth day, and 3 hours on the fifth day over the past 5 days, then the user's preferred setting parameter can be calculated as 2.8H. Alternatively, if the user set the air conditioner temperature to 28°C on the first day, 26°C on the second day, 27°C on the third day, 25°C on the fourth day, and 26°C on the fifth day over the past 5 days, then the user's preferred setting temperature can be calculated as 26.4°C. In this case, 2.8H and 26.4°C can be used as the target timer parameter and target temperature parameter in the target control parameters for subsequent control of the air conditioner. Furthermore, as the user sets parameters, the target control parameters will be updated accordingly, changing the average value in real time, thereby ensuring that the target control parameters are the air conditioner control parameters that the user expects to set.
[0079] like Figure 5 As shown, Figure 5 This application provides a flowchart illustrating the steps for controlling an air conditioner, specifically including steps S510 to S520:
[0080] S510, if the real-time location of the target user is within the target area, then obtain the dwell time of the real-time location within the target area.
[0081] To control the air conditioner, the air conditioner further collects the user's real-time location using devices or technologies such as radar, infrared sensing, image acquisition, and facial recognition. This location is then compared with the previously determined target area to control the air conditioner using target control parameters. For example, as a feasible implementation, when the target user's real-time location is within the target area (i.e., the user's real-time coordinates overlap with the target area coordinates), the air conditioner's control parameters are adjusted to the target control parameters. However, considering that the overlap between the user's real-time location coordinates and the target area coordinates may frequently change during the user's movement, affecting the stability of the air conditioner's operation, in this embodiment, when the target user's real-time location is within the target area, the air conditioner uses a timing device to record the duration the user remains within the target area for subsequent control purposes.
[0082] S520, if the length of stay is greater than the preset length threshold, the control parameter of the target air conditioner is adjusted to the target control parameter.
[0083] In the embodiments of the present application, when the length of stay of the real-time location of the user in the target area is greater than the preset length threshold, it can be considered that the user has a higher possibility of needing to sleep, at this time, the target control parameter set according to the user habit obtained in the foregoing can be used to adjust the control parameter of the target air conditioner to the target control parameter. For example, in the embodiment provided in the foregoing step S420, the control parameter of the target air conditioner can be adjusted to a temperature of 26.4° and a timing of 2.8H.
[0084] Specifically, the length threshold here can also be set based on a time period. For example, when it is in the night period, the user is more likely to enter a sleep state, at this time, the length threshold can be set smaller, and conversely, in the daytime period, the length threshold set can be set higher. Through the above scheme, it can be more accurately determined whether the user needs to enter a sleep state.
[0085] Of course, after the control parameter of the target air conditioner is adjusted to the target control parameter, the air conditioner will also adjust the control parameter in real time according to the sleep state of the user. For example, the position change information of the target user can be obtained, and when the change frequency in the position change information is greater than a preset frequency threshold, it can be considered that the sleep state of the user is poor, so that the control parameter of the target air conditioner needs to be adjusted. The specific implementation scheme can be referred to the subsequent Figure 6 and the content explained in the description.
[0086] As Figure 6 shown, Figure 6 a step flowchart diagram for adjusting the control parameter based on the position change provided by the embodiments of the present application, specifically, comprising steps S610-S620:
[0087] S610, obtaining the position change information of the target user.
[0088] In the embodiments of the present application, the position change information of the target user refers to the position change information of the target user in the target area. The position change information can reflect the sleep state of the user to a certain extent. Specifically, the more frequent the position change of the target user in the target area, the poorer the sleep state of the user, and conversely, the less frequent the position change of the target user in the target area, the more the user enters a sleep state.
[0089] S620, if the change frequency in the position change information is greater than a preset frequency threshold, obtaining the environment temperature information, and adjusting the control parameter of the target air conditioner according to the correction coefficient corresponding to the environment temperature.
[0090] In the embodiments of the present application, it can be determined that the current sleep state of the user by comparing the change frequency in the position change information with the preset frequency threshold. Specifically, when the change frequency in the position change information is greater than the preset frequency threshold, it indicates that the current sleep state of the user is not good, at this time, it may be due to the fact that the control parameters of the air conditioner are not reasonable, at this time, the environmental temperature information can be further acquired, and the control parameters of the target air conditioner can be appropriately adjusted according to the correction coefficient corresponding to the environmental temperature, for example, when the environmental temperature is too low, the temperature control parameter of the target air conditioner can be further increased, and when the environmental temperature is too high, the temperature control parameter of the target air conditioner can be further decreased.
[0091] As shown in Figure 7 , Figure 7 A step flow diagram for collecting trajectory information and control parameters provided by the embodiments of the present application is provided, specifically, steps S710-S720 are included:
[0092] S710, the historical trajectory information of the target user is collected by the preset radar sensor on the target air conditioner.
[0093] In the embodiments of the present application, the historical trajectory information of the target user can be obtained by the preset radar sensor installed on the air conditioner, for example, a millimeter wave radar sensor. Specifically, in order to improve the detection range of the radar sensor, in the embodiments of the present application, the radar sensor can be installed on a horizontally rotatable spherical structure, and the rotation of the spherical structure can be controlled by a stepping motor, which can rotate left and right by 30°, and the scanning angle of the radar sensor is about 100°, so that the indoor full-house scanning detection of the house can be realized, thereby ensuring the historical trajectory information of the target user collected.
[0094] S720, the historical control parameters of the target air conditioner corresponding to the target user are collected according to the time information corresponding to the historical trajectory information.
[0095] In the embodiments of the present application, after the historical trajectory information of the target user is collected by the radar sensor, the air conditioner will also collect and record the historical control parameters of the target user according to the time corresponding to the trajectory information, thereby establishing the corresponding relationship between the historical trajectory information and the historical control parameters, so as to facilitate subsequent determination of the target region, determination of the target control parameters corresponding to the target region according to the historical control parameters, and completion of the control of the target air conditioner.
[0096] In order to better implement the air conditioner control method provided by the embodiments of the present application, on the basis of the air conditioner control method provided by the embodiments of the present application, an air conditioner control device is further provided in the embodiments of the present application, as shown in Figure 8 The air conditioner control device 800 includes:
[0097] The acquisition module 810 is configured to acquire historical trajectory information of a target user and historical control parameters of a target air conditioner corresponding to the target user.
[0098] The determination module 820 is configured to determine target region information according to the historical trajectory information and determine target control parameters corresponding to the target region according to the historical control parameters.
[0099] The control module 830 is configured to control the target air conditioner according to a relationship between real-time location information of the target user and the target region information and the target control parameters.
[0100] In some embodiments of the present application, the determination module 820 is configured to extract target trajectory information from the historical trajectory information according to a change trend of coordinate information and height information in the historical trajectory information, determine target positions from trajectory positions in the target trajectory information according to a stay time corresponding to each trajectory position in the target trajectory information, and determine a target region according to the target positions.
[0101] In some embodiments of the present application, the determination module 820 is configured to acquire a number of people of the target user, and determine target positions with the same number as the number of people from the trajectory positions according to a stay time corresponding to each trajectory position in the target trajectory information.
[0102] In some embodiments of the present application, the determination module 820 is configured to determine region control parameters corresponding to the target region from the historical control parameters according to an association relationship corresponding to the historical trajectory information and the historical control parameters, and determine target control parameters according to a statistical result of the region control parameters.
[0103] In some embodiments of the present application, the control module 830 is configured to acquire a stay duration of the real-time location of the target user in the target region if the real-time location of the target user is located in the target region, and adjust control parameters of the target air conditioner to the target control parameters if the stay duration is greater than a preset duration threshold.
[0104] In some embodiments of the present application, the control module 830 is configured to acquire position change information of the target user, and adjust control parameters of the target air conditioner according to a correction coefficient corresponding to environmental temperature information if a change frequency in the position change information is greater than a preset frequency threshold.
[0105] In some embodiments of the present application, the acquisition module 810 is configured to collect the historical trajectory information of the target user through a preset radar sensor on the target air conditioner; and collect historical control parameters of the target air conditioner corresponding to the target user according to time information corresponding to the historical trajectory information.
[0106] The specific limitations of the air conditioner control device can refer to the limitations of the air conditioner control method described above, which will not be repeated here. Each module in the above air conditioner control device can be realized by software, hardware and their combination. The above modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory of the computer device in software form, so that the processor calls and executes the operations corresponding to each module.
[0107] In some embodiments of the present application, the air conditioner control device 800 can be implemented in the form of a computer program, which can run on a computer device as shown in Figure 9 The memory of the computer device can store various program modules constituting the air conditioner control device 800, such as the acquisition module 810, the determination module 820 and the control module 830 as shown in Figure 8 The computer program constituted by each program module makes the processor execute the steps in the air conditioner control method of each embodiment of the present application described in the specification.
[0108] For example, Figure 9 The computer device as shown in Figure 8 The acquisition module 810 in the air conditioner control device 800 can execute step S110. The computer device can execute step S120 through the determination module 820. The computer device can execute step S130 through the control module 830. The computer device includes a processor, a memory and a network interface connected by a system bus. Among them, the processor of the computer device is used to provide calculation and control ability. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with the external computer device through the network connection. The computer program is executed by the processor to realize an air conditioner control method.
[0109] Those skilled in the art can understand that Figure 9 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or less components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0110] In some embodiments of the present application, a computer device is provided, comprising one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the following steps:
[0111] obtain historical trajectory information of a target user and historical control parameters of a target air conditioner corresponding to the target user;
[0112] determine a target region according to the historical trajectory information, and determine a target control parameter corresponding to the target region according to the historical control parameters;
[0113] control the target air conditioner according to a positional relationship between a real-time position of the target user and the target region, and the target control parameter.
[0114] In some embodiments of the present application, when the processor executes the computer program, the following steps are further implemented: extract target trajectory information from the historical trajectory information according to a change trend of coordinate information and height information in the historical trajectory information; determine a target position from the trajectory positions according to a stay time corresponding to each trajectory position in the target trajectory information; and determine a target region according to the target position.
[0115] In some embodiments of the present application, when the processor executes the computer program, the following steps are further implemented: obtain a number of people of the target user; and determine target positions with the same number as the number of people from the trajectory positions according to a stay time corresponding to each trajectory position in the target trajectory information.
[0116] In some embodiments of the present application, when the processor executes the computer program, the following steps are further implemented: determine a region control parameter corresponding to the target region from the historical control parameters according to an association relationship between the historical trajectory information and the historical control parameters; and determine a target control parameter according to a statistical result of the region control parameter.
[0117] In some embodiments of the present application, when the processor executes the computer program, the following steps are further implemented: if the real-time position of the target user is located in the target region, obtain a stay duration of the real-time position in the target region; and if the stay duration is greater than a preset duration threshold, adjust the control parameter of the target air conditioner to the target control parameter.
[0118] In some embodiments of the present application, when the processor executes the computer program, the following steps are further implemented: obtain position change information of a target user; if a change frequency in the position change information is greater than a preset frequency threshold, obtain environmental temperature information, and adjust the control parameter of the target air conditioner according to a correction coefficient corresponding to the environmental temperature.
[0119] In some embodiments of the present application, the processor, when executing the computer program, further implements the following steps: collecting historical trajectory information of the target user through a radar sensor preset on the target air conditioner; collecting historical control parameters of the target air conditioner corresponding to the target user according to time information corresponding to the historical trajectory information.
[0120] In some embodiments of the present application, a computer readable storage medium is provided, which stores a computer program. The computer program is loaded by a processor, so that the processor executes the following steps:
[0121] collecting historical trajectory information of a target user and historical control parameters of a target air conditioner corresponding to the target user;
[0122] determining a target region according to the historical trajectory information, and determining target control parameters corresponding to the target region according to the historical control parameters;
[0123] controlling the target air conditioner according to a positional relationship between a real-time position of the target user and the target region, and the target control parameters.
[0124] In some embodiments of the present application, the processor, when executing the computer program, further implements the following steps: extracting target trajectory information from the historical trajectory information according to a change trend of coordinate information and height information in the historical trajectory information; determining a target position from the trajectory positions according to a stay time corresponding to each trajectory position in the target trajectory information; and determining a target region according to the target position.
[0125] In some embodiments of the present application, the processor, when executing the computer program, further implements the following steps: collecting a number of the target user; and determining target positions with the same number as the number of the target user from the trajectory positions according to a stay time corresponding to each trajectory position in the target trajectory information.
[0126] In some embodiments of the present application, the processor, when executing the computer program, further implements the following steps: determining region control parameters corresponding to the target region from the historical control parameters according to an association relationship corresponding to the historical trajectory information and the historical control parameters; and determining target control parameters according to a statistical result of the region control parameters.
[0127] In some embodiments of the present application, the processor, when executing the computer program, further implements the following steps: if the real-time position of the target user is located in the target region, collecting a stay duration of the real-time position in the target region; and adjusting the control parameters of the target air conditioner to the target control parameters if the stay duration is greater than a preset duration threshold.
[0128] In some embodiments of the present application, the processor further implements the following steps when executing the computer program: obtaining position change information of the target user; if the change frequency in the position change information is greater than a preset frequency threshold, obtaining environmental temperature information, and adjusting the control parameter of the target air conditioner according to the correction coefficient corresponding to the environmental temperature.
[0129] In some embodiments of the present application, the processor further implements the following steps when executing the computer program: collecting historical trajectory information of the target user through a preset radar sensor on the target air conditioner; collecting historical control parameters of the target air conditioner corresponding to the target user according to time information corresponding to the historical trajectory information.
[0130] In some embodiments of the present application, an air conditioner is provided, and the air conditioner stores a computer program, which is loaded by a processor to enable the processor to execute the following steps:
[0131] obtain historical trajectory information of a target user and historical control parameters of a target air conditioner corresponding to the target user;
[0132] determine a target region according to the historical trajectory information, and determine target control parameters corresponding to the target region according to the historical control parameters;
[0133] control the target air conditioner according to a positional relationship between a real-time position of the target user and the target region, and the target control parameters.
[0134] In some embodiments of the present application, the processor further implements the following steps when executing the computer program: extract target trajectory information from the historical trajectory information according to the change trend of coordinate information and height information in the historical trajectory information; determine a target position from the trajectory positions according to the stay time corresponding to each trajectory position in the target trajectory information; and determine a target region according to the target position.
[0135] In some embodiments of the present application, the processor further implements the following steps when executing the computer program: obtain the number of the target user; and determine target positions with the same number as the number of the target user from the trajectory positions according to the stay time corresponding to each trajectory position in the target trajectory information.
[0136] In some embodiments of the present application, the processor further implements the following steps when executing the computer program: determine region control parameters corresponding to the target region from the historical control parameters according to the association relationship corresponding to the historical trajectory information and the historical control parameters; and determine target control parameters according to the statistical result of the region control parameters.
[0137] In some embodiments of the present application, the processor, when executing the computer program, further implements the following steps: if the real-time location of the target user is located in the target area, obtaining a staying duration of the real-time location in the target area; and if the staying duration is greater than a preset duration threshold, adjusting the control parameter of the target air conditioner to the target control parameter.
[0138] In some embodiments of the present application, the processor, when executing the computer program, further implements the following steps: obtaining location change information of a target user; if a change frequency in the location change information is greater than a preset frequency threshold, obtaining environmental temperature information, and adjusting the control parameter of the target air conditioner according to a correction coefficient corresponding to the environmental temperature.
[0139] In some embodiments of the present application, the processor, when executing the computer program, further implements the following steps: collecting historical trajectory information of the target user through a preset radar sensor on the target air conditioner; and collecting historical control parameters of the target air conditioner corresponding to the target user according to time information corresponding to the historical trajectory information.
[0140] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by a computer program instructing related hardware, and the computer program can be stored in a non-volatile computer readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments. Any reference to memory, storage, database or other medium used in the embodiments provided by the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0141] The technical features of the above embodiments can be combined in any way. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described, but as long as the combinations of the technical features do not exist, they should be considered as the scope of the present application.
[0142] The above describes in detail the air conditioner control method, device, computer device and storage medium provided by the embodiments of the application. The principles and implementation manners of the application are described by applying specific examples. The above description of the embodiments is only used to help understand the method of the application and its core idea. Meanwhile, for those skilled in the art, the specific implementation manners and application ranges will be changed according to the idea of the application. In conclusion, the content of the specification should not be understood as a limitation of the application.
Claims
1. An air conditioning control method, characterized in that, The method includes: Acquire the historical trajectory information of the target user and the historical control parameters of the target air conditioner corresponding to the target user; The target area is determined based on the historical trajectory information, and the target control parameters corresponding to the target area are determined based on the historical control parameters. The target air conditioner is controlled based on the real-time location of the target user and the location relationship of the target area, as well as the target control parameters. The step of controlling the target air conditioner based on the positional relationship between the target user's real-time location and the target area, and the target control parameters, includes: if the target user's real-time location is within the target area, then obtaining the dwell time of the real-time location within the target area; if the dwell time is greater than a preset duration threshold, then adjusting the control parameters of the target air conditioner to the target control parameters. The method further includes, after the step of adjusting the control parameters of the target air conditioner to the target control parameters, acquiring the location change information of the target user; if the change frequency in the location change information is greater than a preset frequency threshold, acquiring the ambient temperature information, and adjusting the control parameters of the target air conditioner according to the correction coefficient corresponding to the ambient temperature.
2. The air conditioning control method according to claim 1, characterized in that, The step of determining the target area based on the historical trajectory information includes: Based on the changing trends of coordinate and altitude information in the historical trajectory information, target trajectory information is extracted from the historical trajectory information; The target location is determined from the trajectory locations based on the dwell time corresponding to each trajectory location in the target trajectory information; The target area is determined based on the target location.
3. The air conditioning control method according to claim 2, characterized in that, The step of determining the target location from the trajectory locations based on the dwell time corresponding to each trajectory location in the target trajectory information includes: Obtain the number of the target users; Based on the dwell time corresponding to each trajectory position in the target trajectory information, target positions with the same number as the number of people are determined from the trajectory positions.
4. The air conditioning control method according to claim 1, characterized in that, Determining the target control parameters corresponding to the target area based on the historical control parameters includes: Based on the correlation between the historical trajectory information and the historical control parameters, the area control parameters corresponding to the target area are determined from the historical control parameters; The target control parameters are determined based on the statistical results of the area control parameters.
5. The air conditioning control method according to any one of claims 1 to 4, characterized in that, The acquisition of the target user's historical trajectory information and the target air conditioner's historical control parameters corresponding to the target user includes: The historical trajectory information of the target user is collected by a radar sensor pre-installed on the target air conditioner; Based on the time information corresponding to the historical trajectory information, the historical control parameters of the target air conditioner corresponding to the target user are collected.
6. An air conditioning control device, characterized in that, include: The acquisition module is used to acquire the historical trajectory information of the target user and the historical control parameters of the target air conditioner corresponding to the target user; The determination module is used to determine the target area based on the historical trajectory information, and to determine the target control parameters corresponding to the target area based on the historical control parameters; The control module is used to control the target air conditioner based on the relationship between the real-time location information of the target user and the target area information, as well as the target control parameters; The control module is further configured to: if the real-time location of the target user is within the target area, obtain the dwell time of the real-time location within the target area; if the dwell time is greater than a preset duration threshold, adjust the control parameters of the target air conditioner to the target control parameters; After the step of adjusting the control parameters of the target air conditioner to the target control parameters, the control module is further configured to: acquire the location change information of the target user; if the change frequency in the location change information is greater than a preset frequency threshold, acquire the ambient temperature information, and adjust the control parameters of the target air conditioner according to the correction coefficient corresponding to the ambient temperature.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which is loaded by a processor to execute the air conditioning control method according to any one of claims 1 to 5.
8. An air conditioner, characterized in that, The air conditioner stores a computer program, which is loaded by a processor to execute the air conditioning control method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Air conditioner control method and device
CN112303850A