Control method, device and equipment of air conditioner and storage medium

By obtaining the type information of the air conditioner and the behavior information of the target object, determining the target control algorithm model and adjusting the air conditioner, the problem of existing air conditioners being inaccurate and unable to meet personalized needs when adjusting the indoor temperature and humidity is solved, and the effect of precise temperature adjustment and humidity control is achieved.

CN119573205APending Publication Date: 2025-03-07MIDEA GROUP WUHAN REFRIGERATION EQUIPMENT CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311147027.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-05
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

When the existing air conditioners adjust indoor temperature and humidity, the sensor detection results are inaccurate, and they only rely on a single temperature and humidity indicator, which cannot meet personalized needs, making it difficult to adjust indoor temperature and humidity to the comfort range of the human body.

Method used

By obtaining the type information of the air conditioner, the behavior information of the target object, and the current temperature and humidity, the target control algorithm model is determined, the target temperature and humidity are generated, and the air conditioner is adjusted to achieve these target values.

Benefits of technology

It realizes the precise temperature adjustment and humidity control of the air conditioner, meets personalized needs, and improves the comfort of the indoor environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119573205A_ABST
    Figure CN119573205A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and device of an air conditioner, electronic equipment and a storage medium. The method comprises the steps that environment information in the current environment is obtained, wherein the environment information comprises type information of the air conditioner, behavior information of a target object and first temperature and / or first humidity; based on the type information of the air conditioner, the behavior information of the target object and a preset control algorithm model library, a target control algorithm model of the air conditioner in the current environment is determined; based on the target control algorithm model and the first temperature and / or the first humidity, target temperature and / or target humidity of the air conditioner are / is generated; and the air conditioner is adjusted to run from the first temperature to the target temperature and / or run from the first humidity to the target humidity. Therefore, precise temperature regulation and / or humidity control are realized based on an individual application scene, and the individual requirements of customers are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of control technology, and in particular to a control method, device, equipment and storage medium for an air conditioner. Background Art

[0002] In the related art, with the popularity of air conditioners, air conditioners can keep indoor temperature and humidity within a comfortable range by adjusting the temperature and humidity of the air. Generally speaking, air conditioners detect the temperature and humidity in the air based on temperature and humidity sensors, and adjust the temperature and humidity of the air outlet of the air conditioner based on the temperature and humidity data.

[0003] However, using the above solution, the same model of temperature and humidity sensor cannot cover all scenarios, the detection results are inaccurate, and only a single temperature and humidity indicator is used for adjustment, resulting in the inability to adjust the indoor temperature and humidity to a comfortable temperature and humidity for the human body, and unable to meet customers' personalized needs for air conditioners. Summary of the invention

[0004] In view of this, the embodiments of the present application provide a control method, device, equipment and storage medium for an air conditioner, aiming to achieve precise temperature and / or humidity control of the air conditioner to meet the personalized needs of customers.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides a method for controlling an air conditioner, the method comprising:

[0007] Acquire environmental information in the current environment, the environmental information including: type information of the air conditioner, behavior information of the target object, and a first temperature and / or a first humidity;

[0008] Determining a target control algorithm model of the air conditioner under the current environment based on the type information of the air conditioner, the behavior information of the target object and a preset control algorithm model library;

[0009] generating a target temperature and / or a target humidity of the air conditioner based on the target control algorithm model and the first temperature and / or the first humidity;

[0010] The air conditioner is adjusted to operate from the first temperature to the target temperature, and / or from the first humidity to the target humidity.

[0011] In some embodiments, the air conditioner includes: a temperature and humidity measuring device, and the method further includes:

[0012] Determine a sampling period of the temperature and humidity measuring device based on first distance data and the swing air on / off state of the air conditioner, wherein the first distance data is the distance data between the temperature and humidity measuring device and the air conditioner;

[0013] Acquire a second temperature and / or a second humidity, where the second temperature and / or the second humidity is generated after the temperature and humidity measuring device samples the temperature and / or humidity in the current environment based on the sampling period;

[0014] Based on the temperature and humidity correction curve, the second temperature and / or second humidity is corrected to generate the first temperature and / or first humidity.

[0015] In some embodiments, determining the sampling period of the temperature and humidity measuring device based on the first distance data and the swing air on / off state of the air conditioner includes:

[0016] Determine whether the swing air on / off state of the air conditioner is closed, and if so, use the first set sampling period as the sampling period of the temperature and humidity measuring device;

[0017] If not, determining the swing mode of the air conditioner;

[0018] Based on the first distance data and the parameter information of the swing mode, a sampling period of the temperature and humidity measuring device is determined.

[0019] In some embodiments, the swing wind mode includes a sweep wind mode, and determining the sampling period of the temperature and humidity measuring device based on the first distance data and the parameter information of the swing wind mode includes:

[0020] Acquire parameter information of the wind sweeping mode, the parameter information including: wind sweeping speed and wind sweeping direction;

[0021] Based on the sweeping wind direction and the first distance data, second distance data is determined, where the second distance data is distance data between the air conditioner and the temperature and humidity measuring device along the sweeping wind direction;

[0022] Based on the second distance data and the wind speed, determining a first time duration, the first time duration being the time duration for the wind from the air conditioner to reach the temperature and humidity measuring device;

[0023] Based on the sweeping wind direction, the sweeping wind speed and the size information of the temperature and humidity measuring device, determining a second time length, where the second time length is the time length for which the wind of the air conditioner stays in the temperature and humidity measuring device;

[0024] A sampling period of the temperature and humidity measuring device is determined based on the first time period and / or the second time period.

[0025] In some embodiments, the wind sweeping mode includes an up-and-down wind sweeping mode and a left-and-right wind sweeping mode, and the method further includes:

[0026] Determine whether the first duration corresponding to the up-and-down sweeping mode is less than or equal to the first duration corresponding to the left-and-right sweeping mode, and if so, determine that the parameter information of the sweeping mode is the parameter information corresponding to the up-and-down sweeping mode;

[0027] If not, it is determined that the parameter information of the wind sweeping mode is the parameter information corresponding to the up and down wind sweeping mode.

[0028] In some embodiments, the method further comprises:

[0029] Determine whether the air conditioner is in the on state, and if so, determine the sampling period of the temperature and humidity measuring device based on the first distance data and the swing air on / off state of the air conditioner;

[0030] If not, the second set sampling period is used as the sampling period of the temperature and humidity measuring device.

[0031] In some embodiments, the step of correcting the second temperature and / or the second humidity based on the temperature and humidity correction curve to generate the first temperature and / or the first humidity includes:

[0032] Determining a temperature and humidity correction interval of the second temperature and / or second humidity based on the second temperature and / or second humidity and the temperature and humidity correction curve;

[0033] Based on the temperature and humidity correction interval and a preset mapping relationship, determining a correction parameter corresponding to the temperature and humidity correction interval, wherein the preset mapping relationship includes a corresponding relationship between each temperature and humidity correction interval and the correction parameter;

[0034] Based on the correction parameter, the second temperature and / or the second humidity are corrected to generate the first temperature and / or the first humidity.

[0035] In some embodiments, determining the target control algorithm model of the air conditioner in the current environment based on the type information of the air conditioner, the behavior information of the target object and a preset control algorithm model library includes:

[0036] Determining a control algorithm model corresponding to the type of air conditioner based on the type information of the air conditioner and a preset algorithm model library;

[0037] Based on the control algorithm model library and the behavior information of the target object, a target control algorithm model of the air conditioner in the current environment is determined.

[0038] In a second aspect, an embodiment of the present application provides a control device for an air conditioner, the device comprising:

[0039] An acquisition module, used to acquire environmental information in the current environment, wherein the environmental information includes: type information of the air conditioner, behavior information of the target object, and a first temperature and / or a first humidity;

[0040] a determination module, for determining a target control algorithm model of the air conditioner under the current environment based on the type information of the air conditioner, the behavior information of the target object and a preset control algorithm model library;

[0041] A generating module, configured to generate a target temperature and / or a target humidity of the air conditioner based on the target control algorithm model and the first temperature and / or the first humidity;

[0042] The regulating module is used to regulate the air conditioner to operate from the first temperature to the target temperature, and / or from the first humidity to the target humidity.

[0043] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory for storing a computer program that can be run on the processor, wherein:

[0044] The processor is used to execute the steps of the method described in the first aspect when running a computer program.

[0045] In a fourth aspect, an embodiment of the present application provides a computer storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0046] The technical solution provided by the embodiment of the present application provides a control method for an air conditioner, the method comprising: obtaining environmental information in the current environment, the environmental information comprising: type information of the air conditioner, behavior information of the target object, and a first temperature and / or a first humidity; determining the target control algorithm model of the air conditioner in the current environment based on the type information of the air conditioner, the behavior information of the target object, and a preset control algorithm model library; generating the target temperature and / or target humidity of the air conditioner based on the target control algorithm model and the first temperature and / or the first humidity; adjusting the air conditioner to run from the first temperature to the target temperature, and / or from the first humidity to the target humidity. In this way, by generating the target temperature and / or target humidity of the air conditioner based on the target control algorithm model of the air conditioner in the current environment and the first temperature and / or the first humidity, and adjusting the air conditioner to run from the first temperature to the target temperature, and / or from the first humidity to the target humidity, it is achieved to start from individual application scenarios, accurately adjust the temperature and / or control the humidity, and meet the personalized needs of customers. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1A flow chart of a method for controlling an air conditioner provided in one embodiment of the present application;

[0048] Figure 2 A schematic diagram of the construction process of the control algorithm model provided for an application example of this application;

[0049] Figure 3 A self-learning schematic diagram of a control algorithm model in an application example of this application;

[0050] Figure 4 This is a flow chart of a scheme for collecting temperature and humidity data in an application example of this application;

[0051] Figure 5 This is a schematic diagram of temperature compensation in an application example of the present application;

[0052] Figure 6 A schematic diagram of humidity compensation in an application example of the present application;

[0053] Figure 7 A schematic diagram of the structure of a control device for an air conditioner provided in an embodiment of the present application;

[0054] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0057] The present application embodiment provides a method for controlling an air conditioner, which is applied to an electronic device, where the electronic device may be a control device of an air conditioner, such as Figure 1 As shown, the method comprises the following steps:

[0058] Step 110: Acquire environmental information in the current environment, where the environmental information includes: type information of the air conditioner, behavior information of the target object, and a first temperature and / or a first humidity.

[0059] Here, the environmental information in the current environment is the environmental information of the environment where the air conditioner is located. For example, the current environment includes but is not limited to factories, schools, residences, and general rooms. The environmental information may include: type information of the air conditioner, behavior information of the target object, and the first temperature and / or the first humidity.

[0060] Here, the type of air conditioner includes but is not limited to at least one of the following: wall mounted air conditioner, cabinet air conditioner, central air conditioner and duct air conditioner. The target object may be a person or an animal in the current environment. The target object may be one or more. The behavior information of the target object may include: the behavior habit information of the target object in using the air conditioner.

[0061] Here, the first temperature and / or the first humidity can be obtained based on a temperature and humidity sensor. For the same type of temperature and humidity sensor, its measurement accuracy is affected by the usage scenario or installation location.

[0062] Step 120: Determine the target control algorithm model of the air conditioner in the current environment based on the type information of the air conditioner, the behavior information of the target object and the preset control algorithm model library.

[0063] Here, the preset control algorithm model library is pre-stored in the control device of the air conditioner. The control algorithm model library consists of multiple control algorithm models. The control algorithm model can be trained and output based on the intelligent AI algorithm engine. The data sources of the control algorithm model include: type information of each air conditioner and behavior information of each target object.

[0064] Here, based on the type information of the air conditioner in the current environment and the behavior information of the target object, the target control algorithm model of the air conditioner in the current environment is searched in the preset control algorithm model library. For different environmental information: for example, different types of air conditioners, different target objects, the corresponding target control algorithm models are different, and accordingly, the outputs of the target control algorithm models are also different.

[0065] Step 130: Generate a target temperature and / or target humidity of the air conditioner based on the target control algorithm model and the first temperature and / or the first humidity.

[0066] Here, after finding the target control algorithm model of the air conditioner, the target temperature and / or target humidity of the air conditioner is generated based on the target control algorithm model and the first temperature and / or the first humidity. The target humidity and / or target humidity here are the target humidity and / or target humidity output by the target control algorithm model and are consistent with the current environment.

[0067] Step 140: Adjust the air conditioner to operate from a first temperature to a target temperature, and / or from a first humidity to a target humidity.

[0068] Here, the control device of the air conditioner adjusts the air conditioner to operate from the first temperature to the target temperature, and / or from the first humidity to the target humidity based on the target temperature and / or target humidity output by the target control algorithm model. In this way, the temperature and humidity adjustment of the current environment is completed, so that the temperature and / or humidity in the current environment can be at a temperature and / or humidity that meets the personal needs of the user in the current environment.

[0069] In this way, the target temperature and / or target humidity of the air conditioner is generated based on the target control algorithm model of the air conditioner in the current environment and the first temperature and / or first humidity, and the air conditioner is adjusted to operate from the first temperature to the target temperature, and / or from the first humidity to the target humidity, thereby achieving precise temperature and / or humidity control based on individual application scenarios to meet the personalized needs of customers.

[0070] In some embodiments, the air conditioner includes: a temperature and humidity measuring device, and a temperature and humidity sensor can be installed on the temperature and humidity measuring device. The temperature and humidity measuring device can be a wire controller, which has the function of detecting and displaying temperature, humidity and other air quality parameters, and can intuitively display the indoor air quality to the user. Generally speaking, the wire controller detects the temperature and humidity in the air through a temperature and humidity sensor. The temperature and humidity sensor is placed at the edge of the shell, and a ventilation channel is set inside the wire controller or the thermostat. An opening is opened in the ventilation channel. When the air passes through the ventilation channel, part of the air overflows from the opening, and the temperature and humidity sensor contacts the overflowing air to realize the function of detecting the temperature and humidity of the air. The wire controller also includes a central control screen, which serves as the control entrance of the air conditioner and can intuitively display the temperature and humidity data of the current environment to the user. The temperature and humidity sensor can be set in the central control screen.

[0071] Exemplarily, the method further includes:

[0072] Determine a sampling period of the temperature and humidity measuring device based on the first distance data and the air conditioner's swing air on / off state, wherein the first distance data is the distance data between the temperature and humidity measuring device and the air conditioner;

[0073] Acquire a second temperature and / or a second humidity, where the second temperature and / or the second humidity is generated after the temperature and / or humidity measuring device samples the temperature and / or humidity in the current environment based on a sampling period;

[0074] Based on the temperature and humidity correction curve, the second temperature and / or the second humidity are corrected to generate the first temperature and / or the first humidity.

[0075] Here, the first distance data is the distance data between the temperature and humidity measuring device and the air conditioner. The air conditioner is provided with a radar module, which can be used to detect the distance data between the temperature and humidity measuring device and the air conditioner. The air conditioner is used to characterize the on or off state of the swing mode of the air conditioner. The air conditioner starts to swing, and by controlling the direction and speed of the air flow at the air outlet, the air can circulate better, making the indoor temperature more uniform and achieving better comfort.

[0076] Here, if the temperature and humidity measuring device is a wire controller, and a temperature and humidity sensor is provided on the wire controller, then the sampling period of the temperature and humidity measuring device is the sampling period of the temperature and humidity sensor on the wire controller. The sampling period here can be expressed in unit frequency Hz or time unit, such as seconds s. By determining the sampling period of the temperature and humidity measuring device based on the distance data between the temperature and humidity measuring device and the air conditioner and the swing air on and off state of the air conditioner, the accuracy of the sampling period of the temperature and humidity measuring device in different scenarios can be improved, and accurate temperature and humidity measurement results can be output.

[0077] Here, after determining the sampling period of the temperature and humidity measuring device, the control device of the air conditioner can send the sampling period to the temperature and humidity measuring device, and the temperature and humidity measuring device samples the temperature and / or humidity in the current environment based on the sampling period to generate a second temperature and / or a second humidity. The control device of the air conditioner then obtains the second temperature and / or the second humidity.

[0078] Here, in order to avoid the measurement results of the temperature and humidity measuring device being affected by the position of the sensor or the heat generated by the central control screen of the wire controller, etc., which may lead to inaccurate measurement results, this application corrects the second temperature and / or the second humidity based on the temperature and humidity correction curve to generate the first temperature and / or the first humidity. The sampling result of the temperature and humidity measuring device, i.e., the second temperature and / or the second humidity, is compensated for temperature and humidity based on the temperature and humidity correction curve to improve the measurement accuracy of the first temperature and the first humidity in the current environment.

[0079] In some embodiments, determining a sampling period of a temperature and humidity measuring device based on the first distance data and the swing air on / off state of the air conditioner includes:

[0080] Determine whether the swing air on / off state of the air conditioner is off, and if so, use the first set sampling period as the sampling period of the temperature and humidity measuring device;

[0081] If not, then determine the swing mode of the air conditioner;

[0082] Based on the first distance data and the parameter information of the swing wind mode, a sampling period of the temperature and humidity measuring device is determined.

[0083] Here, when it is determined that the swing air on / off state of the air conditioner is closed, the air conditioner does not have a swing air action at this time, and the first set sampling period can be obtained at this time. Here, the first set period can be determined based on the gear of the wind speed of the current air conditioner. Exemplarily, the first set sampling period corresponding to three gears of high, medium and low wind speeds is 5Hz, 2Hz and 1Hz respectively. The first set sampling period can also be determined based on the wind speed of the current air conditioner and the distance between the temperature and humidity measuring device and the air conditioner. Exemplarily, it is assumed that the wind speed of the current air conditioner is Vf, and the distance between the temperature and humidity measuring device and the air conditioner is Sx. Then the first set sampling period is Sx / Vf.

[0084] Here, when it is determined that the swing on / off state of the air conditioner is on, and the air conditioner is swinging at this time, the swing mode of the air conditioner is determined at this time. The parameter information corresponding to different swing modes is different. Based on the first distance data and the parameter information of the swing mode, the sampling period of the temperature and humidity measuring device is determined.

[0085] In this way, by determining the different on and off states of the air conditioner's swing air, different sampling periods can be determined, thereby improving the accuracy of temperature and humidity sampling.

[0086] In some embodiments, the swing wind mode includes a sweep wind mode, and determining a sampling period of the temperature and humidity measuring device based on the first distance data and parameter information of the swing wind mode includes:

[0087] Obtain parameter information of the wind sweeping mode, the parameter information including: wind sweeping speed and wind sweeping direction;

[0088] Based on the sweeping wind direction and the first distance data, second distance data is determined, where the second distance data is distance data between the air conditioner and the temperature and humidity measuring device along the sweeping wind direction;

[0089] Based on the second distance data and the wind speed, determine a first time duration, where the first time duration is the time duration for the wind from the air conditioner to reach the temperature and humidity measuring device;

[0090] Based on the sweeping wind direction, the sweeping wind speed and the size information of the temperature and humidity measuring device, determining a second time length, the second time length being the time length for which the air of the air conditioner stays in the temperature and humidity measuring device;

[0091] Based on the first time period and / or the second time period, a sampling period of the temperature and humidity measuring device is determined.

[0092] Here, the swing mode of the air conditioner includes a sweeping mode, and the parameter information of the sweeping mode includes: a sweeping wind speed and a sweeping wind direction. In the sweeping wind mode of the air conditioner, the blades inside the air conditioner are constantly swinging, and the wind at the air outlet of the air conditioner is controlled to blow at a certain period at a sweeping wind speed in the sweeping wind direction. Based on the sweeping wind direction and the first distance data, the distance data of the air conditioner and the temperature and humidity measuring device along the sweeping wind direction, i.e., the second distance data, can be determined. Exemplarily, the direction of the second distance can be determined according to the sweeping wind direction, thereby determining the distance data of the air conditioner and the temperature and humidity measuring device along the sweeping wind direction. The second distance data is represented by S (Sx, Sy, Sz), where the wind of the Sx air conditioner is facing the temperature and humidity measuring device in the direction of the temperature and humidity measuring device, and Sy is the distance data of the air conditioner and the temperature and humidity measuring device in the left and right direction when the air is swept left and right. Sz is the distance data of the air conditioner and the temperature and humidity measuring device in the up and down direction when the air is swept up and down.

[0093] Here, after determining the distance data between the air conditioner and the temperature and humidity measuring device along the sweeping wind direction, i.e., the second distance data, the first time duration is determined based on the second distance data and the sweeping wind speed. The first time duration is the time duration for the air conditioner's wind to reach the temperature and humidity measuring device.

[0094] Here, in the sweeping mode, when the wind from the air conditioner blows onto the temperature and humidity measuring device, the distance data of the wind from the air conditioner staying at the temperature and humidity measuring device under the current sweeping wind direction can be determined based on the sweeping wind direction and the size information of the temperature and humidity measuring device, and the stay time of the wind from the air conditioner at the temperature and humidity measuring device, i.e. the second time length, can be determined based on the distance data and the sweeping wind speed of the wind from the air conditioner staying at the temperature and humidity measuring device.

[0095] Here, in order to avoid the influence of the blowing of the air conditioner on the temperature and humidity measuring device when the temperature and humidity measuring device samples the temperature and humidity in the current environment, for example, when the temperature and humidity measuring device is sampling the temperature and humidity, the wind of the air conditioner blows directly towards the temperature and humidity measuring device. At this time, the temperature and humidity sampling result of the temperature and humidity measuring device is inaccurate. If the temperature and humidity of the current environment are adjusted based on the sampling result, the adjustment effect of the temperature and humidity adjustment of the air conditioner will be reduced. Based on the first duration and / or the second duration, the sampling period of the temperature and humidity measuring device is determined. Here, the sum of the first duration and / or the second duration can be determined as the sampling period of the temperature and humidity measuring device. In a sweeping cycle, the temperature and humidity in the current environment are sampled with the sampling period as the time interval. In this way, the influence of inaccurate sampling results and poor adjustment effect caused by the temperature and humidity measuring device sampling the temperature and humidity during the time when the air conditioner blows to the temperature and humidity measuring device can be avoided.

[0096] The embodiment of the present application also provides a case where the air conditioner has multiple sweeping modes, by determining the size of the first time length corresponding to each sweeping mode, the sweeping mode corresponding to the smallest first time length and the first distance data are used to generate a sampling period of the temperature and humidity measuring device.

[0097] In some embodiments, the wind sweeping mode includes an up-and-down wind sweeping mode and a left-and-right wind sweeping mode, and the method further includes:

[0098] Determine whether the first duration corresponding to the up-down sweeping mode is less than or equal to the first duration corresponding to the left-right sweeping mode, and if so, determine that the parameter information of the sweeping mode is the parameter information corresponding to the up-down sweeping mode;

[0099] If not, it is determined that the parameter information of the wind sweeping mode is the parameter information corresponding to the up-and-down wind sweeping mode.

[0100] Here, the air sweeping mode includes the up-down sweeping mode and the left-right sweeping mode. The up-down sweeping mode refers to the air outlet of the air conditioner sweeping air upward or downward. This sweeping mode can make the indoor air circulate quickly to achieve the effect of rapid cooling or heating. The left-right sweeping mode of the air conditioner refers to the air outlet of the air conditioner sweeping air to the left or right. This sweeping mode can make the indoor air more evenly distributed to avoid excessive cold or excessive heat in a certain area.

[0101] Here, when the wind sweeping mode includes the wind sweeping mode and the left and right wind sweeping mode, that is, when the air conditioner is performing up and down sweeping and left and right sweeping at the same time, it can be determined whether the first time length corresponding to the up and down sweeping mode is less than or equal to the first time length corresponding to the left and right sweeping mode, that is, compare the time lengths required for the wind in the up and down sweeping mode and the left and right sweeping mode to reach the temperature and humidity measuring equipment. If the first time length corresponding to the up and down sweeping mode is less than or equal to the first time length corresponding to the left and right sweeping mode, the wind in the up and down sweeping mode reaches the temperature and humidity measuring equipment first, and the temperature and humidity measuring equipment cannot perform sampling. The parameter information of the wind sweeping mode is determined to be the parameter information corresponding to the up and down sweeping mode, that is, the sampling period of the temperature and humidity measuring equipment can be determined based on the parameters corresponding to the up and down sweeping mode and the first distance data.

[0102] Here, if the first duration corresponding to the up-down sweeping mode is greater than the first duration corresponding to the left-right sweeping mode, the wind in the left-right sweeping mode reaches the temperature and humidity measuring device first, and the temperature and humidity measuring device cannot perform sampling, and the parameter information of the sweeping mode is determined to be the parameter information corresponding to the up-down sweeping mode. That is, the sampling period of the temperature and humidity measuring device can be determined based on the parameters corresponding to the left-right sweeping mode and the first distance data.

[0103] In this way, by determining the parameter information of the corresponding sweeping mode in the air conditioner's sweeping mode including the up and down sweeping mode and the left and right sweeping mode, the parameter information of the up and down sweeping mode or the left and right sweeping mode corresponding to the minimum first time duration is determined as the parameter information corresponding to the sweeping mode, thereby determining the sampling period of the subsequent temperature and humidity measuring equipment.

[0104] In some embodiments, the method further comprises:

[0105] Determine whether the air conditioner is in the on state, and if so, determine the sampling period of the temperature and humidity measuring device based on the first distance data and the swing air on / off state of the air conditioner;

[0106] If not, the second set sampling period is used as the sampling period of the temperature and humidity measuring device.

[0107] Here, it can be determined whether the air conditioner is on. If so, the sampling period of the temperature and humidity measuring device is determined based on the first distance data and the swing air on and off status of the air conditioner; if not, the second set sampling period is used as the sampling period of the temperature and humidity measuring device.

[0108] The second set sampling period here can be directly obtained, or the radar detection module can be used to detect whether there is a person in the effective range. If there is no one, the sampling can be triggered periodically. If there is a person, the second set sampling period can be 1 / 120Hz for sampling.

[0109] In some embodiments, based on the temperature and humidity correction curve, correcting the second temperature and / or the second humidity to generate the first temperature and / or the first humidity includes:

[0110] Determining a temperature and humidity correction interval of the second temperature and / or the second humidity based on the second temperature and / or the second humidity and the temperature and humidity correction curve;

[0111] Based on the temperature and humidity correction interval and a preset mapping relationship, determining the correction parameter corresponding to the temperature and humidity correction interval, the preset mapping relationship including the corresponding relationship between each temperature and humidity correction interval and the correction parameter;

[0112] Based on the correction parameter, the second temperature and / or the second humidity are corrected to generate the first temperature and / or the first humidity.

[0113] Here, the temperature and humidity correction curve is used to characterize the correction trend of the temperature and humidity data. The temperature and humidity correction curve includes multiple temperature and humidity correction intervals. Based on the second temperature and / or second humidity and the temperature and humidity correction curve, the temperature and humidity correction interval of the second temperature and / or second humidity is determined.

[0114] Here, the control device of the air conditioner pre-stores the corresponding relationship between each temperature and humidity correction interval and the correction parameter. Different temperature and humidity correction intervals may correspond to different correction parameters. Based on the temperature and humidity correction interval and the preset mapping relationship, the correction parameter corresponding to the temperature and humidity correction interval is determined. Based on the correction parameter, the second temperature and / or the second humidity is corrected to generate the first temperature and / or the first humidity. Exemplarily, if the second temperature is I and its corresponding correction parameter is +0.16°C, then its corresponding first temperature is I+0.16°C.

[0115] In this way, by using the temperature and humidity compensation algorithm, that is, based on the temperature and humidity correction curve, the second temperature and / or second humidity can be corrected to avoid the measurement results of the temperature and humidity measuring equipment being affected by the position of the sensor or the heat generated by the control screen of the wire controller, thereby improving the accuracy of the temperature and humidity data.

[0116] In some embodiments, based on the type information of the air conditioner, the behavior information of the target object and the preset control algorithm model library, determining the target control algorithm model of the air conditioner in the current environment includes:

[0117] Determine the control algorithm model corresponding to the air conditioner type based on the type information of the air conditioner and the preset control algorithm model;

[0118] Based on the control algorithm model library and the behavior information of the target object, the target control algorithm model of the air conditioner in the current environment is determined.

[0119] Here, based on the type information of the air conditioner and the preset control algorithm model library, the control algorithm model corresponding to the air conditioner type is determined. The control device of the air conditioner pre-stores the mapping relationship between the type information of each air conditioner and its corresponding control algorithm model library, and based on the mapping relationship, the control algorithm model corresponding to the air conditioner type is found. That is, different types of air conditioners have different corresponding control algorithm model libraries, so the control algorithm model can be output according to the category of the product.

[0120] Here, after determining the control algorithm model corresponding to the air conditioner type, the target control algorithm model of the air conditioner in the current environment can be determined based on the behavior information of the target object. Here, the environmental information can also include the installation location information of the air conditioner, such as: floor information, age stage information of the target object, and weather information. The control algorithm model can be learned and trained based on this environmental information. In this way, it is possible to achieve classification based on individual application scenarios and accurately output the target control algorithm model.

[0121] The following is a detailed description with reference to an application example.

[0122] In the related art, the algorithm of the same model of temperature and humidity sensor is single, which cannot cover all user scenarios and may cause inaccurate measurements. Based on this, this application example provides a solution for air conditioning to achieve precise temperature and humidity control.

[0123] First, the construction process of the control algorithm model is explained. Figure 2 As shown in the figure, this application example involves an air conditioner, an intelligent wire controller, a cloud server, and a cloud algorithm processing module, which are described in detail as follows:

[0124] 1. The air conditioner includes: an intelligent wire controller for controlling the air conditioner and an infrared thermopile module built into the air conditioner. The infrared thermopile module is used to collect the surface temperature of the human body and is an auxiliary means of collecting user air conditioner usage data. It can accurately sense the comfort of users using air conditioners, especially children, the elderly and other sensitive user groups.

[0125] 2. The smart wire controller includes: a central control screen and a radar module. The central control screen has a built-in temperature and humidity module. The temperature and humidity module is used to collect the temperature and humidity in the current environment, and the radar detection module is used to detect the behavior of the target object. The smart wire controller can be controlled by AI. The central control screen, as the control entrance of the air conditioner, can intuitively display the temperature and humidity data of the current environment to the user. The air conditioner and the smart wire controller can be controlled and interact with each other through AI.

[0126] 3. The cloud server obtains environmental information from each smart wire controller, including: individual temperature and humidity data and air conditioning usage habits (i.e. the aforementioned behavior information of the target object). After collecting a large amount of temperature and humidity data and air conditioning usage habits, it is input into the cloud algorithm processing module for processing.

[0127] 4. The cloud algorithm processing module can also obtain weather information and the type information of air conditioner products. In the cloud algorithm processing module, the training of the temperature and humidity measurement algorithm model and the air conditioning operation algorithm model are mainly carried out. After the training is completed, the control algorithm model library is generated, and the control algorithm model library includes the temperature and humidity measurement algorithm model and the air conditioning operation algorithm model. For different types of air conditioner products, the corresponding air conditioner operation algorithm models are different. For the same air conditioner, according to different application scenarios, such as: air conditioning usage habits, the corresponding temperature and humidity measurement algorithm models are different. Specifically, the cloud algorithm processing module includes an intelligent AI algorithm engine, which is used for the training and output of the temperature and humidity measurement algorithm model and the training and output of the air conditioning operation algorithm model. The sources of the control algorithm model data include: product operation data, installation scenarios, air conditioning usage behavior habits, local weather information, etc. The measurement accuracy of temperature and humidity is closely related to the installation location and application scenarios of the temperature and humidity sensors. Therefore, it is necessary to classify the individual application scenarios, differentiate the output measurement algorithms, and achieve accurate measurement of temperature and humidity.

[0128] After obtaining the temperature and humidity control instructions of the air conditioner, the control algorithm model of the air conditioner type in the current environment (i.e., the air conditioner operation algorithm model) can be output according to product classification. Outputting the algorithm model according to product classification facilitates the classification, learning and training of the model, and realizes rapid self-learning and updating of the model.

[0129] Specifically, the environmental information in the current environment is obtained, and the environmental information includes: the type information of the air conditioner, and based on the type information of the air conditioner, the control algorithm model library of the air conditioner type is searched in the control algorithm model library. The environmental information also includes: the behavior information of the target object, and based on the control algorithm model library and the behavior information of the target object, the target control algorithm model (i.e., the temperature and humidity measurement algorithm model) of the air conditioner in the current environment is determined. In this way, it is possible to achieve classification by individual application scenarios and accurately output the target control algorithm model.

[0130] After determining the target control algorithm model, based on the target control algorithm model and the first temperature and / or the first humidity, a target temperature and / or a target humidity of the air conditioner are generated; and the air conditioner is adjusted to operate from the first temperature to the target temperature, and / or from the first humidity to the target humidity. Here, the air conditioner can be adjusted to operate from the first temperature to the target temperature, and / or from the first humidity to the target humidity by controlling the wire controller.

[0131] In this application example, the control algorithm model needs to continuously self-learn and self-adjust. Figure 3 As shown, Figure 3 The following is a self-learning diagram of the control algorithm model. In the control algorithm model library, the applicable model is selected according to the product category of the current air conditioner, and the applicable model result, that is, the product category model (that is, the control algorithm model of the aforementioned air conditioner type), is output. Based on this model, local weather data (in units of districts, counties, and towns) is input to complete the update, learning, and training of the product type model. At the same time, in order to output the applicable control algorithm model for personal application scenarios, the installation location, floor information, and air outlet direction of the air conditioner can also be input into the product category model. In this way, the comparison of application scenarios can be achieved, and the control algorithm model applicable to personal application scenarios can be output. Finally, the temperature and humidity data are collected and input into the product category model for learning and adjustment.

[0132] After completing the construction of the control algorithm model, the target temperature and / or target humidity of the air conditioner can be generated based on the acquired temperature and humidity data; the air conditioner can be adjusted to run from the first temperature to the target temperature, and / or from the first humidity to the target humidity. That is, the air conditioner adjusts the temperature and humidity of the room through the real-time data fed back by the temperature and humidity module built into the central control screen. This is a closed-loop control system. However, since the temperature and humidity module is built into the central control screen, it will be affected by the heat generated by the screen, the location of the sensor, the direction of the air blowing of the air conditioner, etc. The currently used temperature compensation algorithm is not sufficient to support all user scenarios and is prone to user complaints. In order to improve the accuracy of temperature and humidity data acquisition and measurement, this application example provides a temperature and humidity data acquisition solution, such as Figure 4 As shown, Figure 4 This is a flow chart of the temperature and humidity data collection solution. The specific steps are as follows:

[0133] Step 401: Determine whether the air conditioner is turned on.

[0134] That is, determine whether the air conditioner is in the on state, if so, execute step 402. If not, execute step 403.

[0135] Step 402: Obtain the relative position of the air conditioner and the wire controller and the size information of the wire controller.

[0136] The distance between the wire controller and the air conditioner (i.e., the aforementioned first distance) and the size L of the wire controller are measured by the built-in radar module. Based on the wind direction and the first distance data, the second distance data is determined. The second distance data is the distance data between the air conditioner and the wire controller along the wind direction of the wind (i.e., the relative position of the air conditioner and the wire controller). The direction of the second distance can be determined according to the wind direction of the wind, thereby determining the distance data between the air conditioner and the wire controller along the wind direction of the wind. The second distance data is represented by S (Sx, Sy, Sz), where Sx is the distance data between the air conditioner and the wire controller in the direction where the wind of the air conditioner is facing the wire controller, and Sy is the distance data between the air conditioner and the wire controller in the left-right direction when the air conditioner sweeps left and right. Sz is the distance data between the air conditioner and the wire controller in the up-down direction when the air conditioner sweeps up and down.

[0137] Based on the wind speed and the size information L of the wire controller, the size data (Lx, Ly, Lz) of the wire controller along the wind direction can be determined, where Lx is the size information of the air conditioner and the wire controller in the direction where the wind of the air conditioner is facing the wire controller, Sy is the size information of the air conditioner and the wire controller in the left-right direction when the air conditioner and the wire controller are sweeping left and right, and Sz is the size information of the air conditioner and the wire controller in the up-down direction when the air conditioner and the wire controller are sweeping up and down.

[0138] Step 403: Determine whether there is a person within the effective range based on the radar module.

[0139] If there is someone, execute step 404, if there is no one, execute step 405.

[0140] Step 404: Determine to perform sampling at a period of 1 / 120 Hz.

[0141] When it is determined that there is someone within the effective range, the screen of the central control screen of the wire controller is turned on, and the temperature and humidity are measured in automatic mode to obtain the set sampling period. The set sampling period at this time is 1 / 120 Hz. After sampling at a period of 1 / 120 Hz, the sampling result (i.e. the aforementioned second temperature and / or second humidity) is generated, and step 406 is executed.

[0142] Step 405: Periodically trigger measurement via 12C command.

[0143] When it is determined that there is no one within the effective range, the central control screen of the wire controller is turned off, the temperature and humidity are measured in sleep mode to generate a measurement result (ie, the aforementioned second temperature and / or second humidity), and step 406 is executed.

[0144] Step 406: Correct the offset and output the temperature and humidity measurement results.

[0145] Determining a temperature and humidity correction interval of the second temperature and / or the second humidity based on the second temperature and / or the second humidity and the temperature and humidity correction curve;

[0146] Based on the temperature and humidity correction interval and a preset mapping relationship, determining the correction parameter corresponding to the temperature and humidity correction interval, the preset mapping relationship including the corresponding relationship between each temperature and humidity correction interval and the correction parameter;

[0147] Based on the correction parameter, the second temperature and / or the second humidity are corrected to generate the first temperature and / or the first humidity.

[0148] When generating sampling results or measurement results, the offset (ie, the aforementioned correction parameter) can be corrected according to the interval corresponding to the temperature and humidity correction curve (ie, the aforementioned temperature and humidity correction interval) to output the temperature and humidity measurement results.

[0149] like Figure 5 and Figure 6 As shown, Figure 5 is the temperature compensation diagram, Figure 6 Schematic diagram of humidity compensation.

[0150] exist Figure 5 In the process, the sampled temperature value (ie, the aforementioned second temperature) is compensated based on the temperature compensation value (ie, the aforementioned correction parameter) to output a temperature value (ie, the aforementioned first temperature). Figure 5The table in is the temperature compensation value (i.e. the correction parameter) corresponding to each temperature compensation interval (i.e. the temperature and humidity correction interval mentioned above). For example, for interval 7, its corresponding temperature compensation value is -20.62℃. Based on -20.62℃, the sampled temperature value I is compensated, and the output temperature value is I-20.62℃. Figure 6 In the method, the sampled humidity value (ie, the aforementioned second humidity) is compensated based on the humidity compensation value (ie, the aforementioned correction parameter) to output a humidity value (ie, the aforementioned first humidity). Figure 5 The table in is the humidity compensation value (ie the aforementioned correction parameter) corresponding to each humidity compensation interval (ie the aforementioned temperature and humidity correction interval).

[0151] Step 407: Determine whether the air conditioner is in a swinging motion.

[0152] That is, determine whether the swing air on / off state of the air conditioner is closed, if so, execute step 408, if not, execute step 409.

[0153] Step 408: Determine whether the air conditioner sweeps air up and down.

[0154] If yes, execute step 410 , if no, execute step 411 .

[0155] Step 409: Determine whether the air is blowing directly towards the wire controller.

[0156] At this time, the air conditioner does not have any swinging action, and the air conditioner is blowing in a directional manner. At this time, it is necessary to determine whether the air conditioner is blowing directly towards the wire controller. If so, execute step 412, if not, execute step 413.

[0157] Step 410: Determine whether the air conditioner sweeps air left and right.

[0158] If yes, execute step 414, if no, execute step 415.

[0159] Step 411: Determine the sampling period T=Sy / V2+Ly / V2.

[0160] Obtain parameter information of the wind sweeping mode, the parameter information including: wind sweeping speed and wind sweeping direction;

[0161] Based on the second distance data and the wind speed, determine a first time duration, where the first time duration is the time duration for the wind from the air conditioner to reach the temperature and humidity measuring device;

[0162] Based on the sweeping wind direction, the sweeping wind speed and the size information of the temperature and humidity measuring device, determining a second time length, the second time length being the time length for which the air of the air conditioner stays in the temperature and humidity measuring device;

[0163] Based on the first time period and / or the second time period, a sampling period of the temperature and humidity measuring device is determined.

[0164] Here, the wind speed and wind direction of the left and right sweep winds are obtained. At this time, the distance between the air conditioner and the wire controller along the wind direction of the left and right sweep winds (i.e., the aforementioned second distance data) is assumed. Assuming that the left and right sweep wind speed is V2, the temperature and humidity are measured intermittently, and the corresponding sampling period is: T = T1 + T2, wherein T1 = Sy / V2 (i.e., the aforementioned first duration), T2 = Ly / V2 (i.e., the aforementioned second duration); the first duration is the duration of the air conditioner wind reaching the temperature and humidity measuring device, and the second duration is the duration of the air conditioner wind staying in the temperature and humidity measuring device. The temperature and humidity in the current environment are sampled with the sampling period as the time interval. In this way, the temperature and humidity measuring device can avoid the influence of inaccurate sampling results and poor adjustment effect caused by the temperature and humidity measuring device sampling the temperature and humidity during the duration of the air conditioner wind blowing to the temperature and humidity measuring device. It is determined that the sampling results are generated after sampling with the period and step 406 is executed.

[0165] Step 412: Determine the sampling period T=Sx / Vf.

[0166] At this time, the air conditioner is blowing air towards the wire controller. The current wind speed of the air conditioner is obtained, and it is assumed that the wind speed is Vf. At this time, the temperature and humidity are automatically measured, and the corresponding sampling period T is determined: T3 = Sx / Vf; here Sx is the distance between the wire controller and the air conditioner along the direction in which the air conditioner is facing the wire controller.

[0167] Step 413: Determine the sampling period T=5 Hz, 2 Hz, 1 Hz.

[0168] When it is determined that the air-swing on / off state of the air conditioner is off, the air conditioner does not have any swinging action at this time, and the first set sampling period can be obtained at this time. Here, the first set sampling period can be determined based on the current wind speed gear of the air conditioner. For example, the wind speed can be high, medium, and low, and the first set sampling periods corresponding to them are 5Hz, 2Hz, and 1Hz, respectively. After determining that the sampling is performed with the period, the sampling result is generated and step 406 is executed.

[0169] Step 414: Is (Sy / V2) ≤ (Sz / V1)?

[0170] Here, the first duration (Sy / V2) corresponding to the left-right wind sweeping mode is compared with the first duration (Sz / V1) corresponding to the up-down wind sweeping mode. If yes, step 416 is executed, and if no, step 417 is executed. In this way, the wind sweeping speed and wind sweeping direction of the up-down wind sweeping mode or the left-right wind sweeping mode corresponding to the smallest first duration are determined as the wind sweeping speed and wind sweeping direction corresponding to the wind sweeping mode, thereby determining the sampling period of the subsequent wire controller device.

[0171] Step 415: Determine the sampling period T=Sz / V1+Lz / V1.

[0172] Obtain the wind speed and wind direction of the up and down sweeping wind. At this time, the distance between the air conditioner and the wire controller along the up and down sweeping wind direction is Lz (i.e., the second distance data mentioned above). Assuming that the up and down sweeping wind speed is V2, the temperature and humidity are measured intermittently, and the corresponding sampling period is: T = T1 + T2, where T1 = Sz / V1 (i.e., the first duration mentioned above), T2 = lz / V1 (i.e., the second duration mentioned above); the first duration is the duration of the air conditioner wind reaching the temperature and humidity measuring device, and the second duration is the duration of the air conditioner wind staying in the temperature and humidity measuring device. The temperature and humidity in the current environment are sampled with the sampling period as the time interval. In this way, the temperature and humidity measuring device can avoid the influence of inaccurate sampling results and poor adjustment effect caused by the temperature and humidity measuring device sampling the temperature and humidity during the duration of the air conditioner wind blowing to the temperature and humidity measuring device.

[0173] Step 416: Determine the sampling period T=Sy / V2+Ly / V2.

[0174] When it is determined that the first time length (Sy / V2) corresponding to the left-right sweeping mode is less than the first time length (Sz / V1) corresponding to the up-down sweeping mode, based on the sweeping wind speeds V2, Sy and Ly corresponding to the left-right sweeping mode, calculate T1=Sy / V2, T2=Ly / V2, and determine the sampling period T=Sz / V1+Lz / V1, determine that the sampling result is generated after sampling with this period and execute step 406.

[0175] Step 417: Determine the sampling period T=Sz / V1+Lz / V1.

[0176] When it is determined that the first duration (Sy / V2) corresponding to the up-down sweeping mode is less than the first duration (Sz / V1) corresponding to the left-right sweeping mode, based on the sweeping wind speeds V2, Sz and Lz corresponding to the up-down sweeping mode, T1=Sz / V1, T2=Lz / V1 are calculated, and the sampling period T=Sz / V1+Lz / V1 is determined. After determining that sampling is performed with the period, a sampling result is generated and step 406 is executed.

[0177] In summary, this application example can control greater redundancy to adapt to different air-conditioning usage scenarios and user groups by building a control algorithm model, reducing user complaints, and avoiding the fact that the temperature and humidity module is built into the central control screen and will be affected by the heat generated by the screen, the position of the sensor, the direction of the air blowing of the air conditioner, etc., thereby improving the accuracy of temperature and humidity measurement and achieving precise temperature and humidity control.

[0178] In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a control device of an air conditioner, which corresponds to the control method of the above-mentioned air conditioner, and each step in the embodiment of the control method of the above-mentioned air conditioner is also fully applicable to the embodiment of the control device of the present air conditioner.

[0179] like Figure 7 As shown, the control device 700 of the air conditioner includes: an acquisition module 710, a determination module 720, a generation module 730 and an adjustment module 740, the acquisition module 710 is used to acquire environmental information under the current environment, and the environmental information includes: type information of the air conditioner, behavior information of the target object, and a first temperature and / or a first humidity; the determination module 720 is used to determine the target control algorithm model of the air conditioner under the current environment based on the type information of the air conditioner, the behavior information of the target object and a preset control algorithm model library; the generation module 730 is used to generate a target temperature and / or target humidity of the air conditioner based on the target control algorithm model and the first temperature and / or the first humidity; the adjustment module 740 is used to adjust the air conditioner to run from the first temperature to the target temperature, and / or from the first humidity to the target humidity.

[0180] In some embodiments, the air conditioner includes: a temperature and humidity measuring device, a determination module 720 is also used to determine a sampling period of the temperature and humidity measuring device based on first distance data and the swing air on / off state of the air conditioner, the first distance data being the distance data between the temperature and humidity measuring device and the air conditioner; the acquisition module 710 is also used to acquire a second temperature and / or a second humidity, the second temperature and / or the second humidity being generated after the temperature and humidity measuring device samples the temperature and / or humidity in the current environment based on the sampling period; the control module of the air conditioner also includes a correction module 750, which is used to correct the second temperature and / or the second humidity based on a temperature and humidity correction curve to generate a first temperature and / or a first humidity.

[0181] In some embodiments, the determination module 720 is also used to determine whether the swing air on / off state of the air conditioner is turned off. If so, the first set sampling period is used as the sampling period of the temperature and humidity measuring device; if not, the swing air mode of the air conditioner is determined; based on the first distance data and the parameter information of the swing air mode, the sampling period of the temperature and humidity measuring device is determined.

[0182] In some embodiments, the swing wind mode includes a sweep wind mode, and the acquisition module 710 is also used to obtain parameter information of the sweep wind mode, and the parameter information includes: sweep wind speed and sweep wind direction; the determination module 720 is also used to determine the second distance data based on the sweep wind direction and the first distance data, and the second distance data is the distance data between the air conditioner and the temperature and humidity measuring device along the sweep wind direction; based on the second distance data and the sweep wind speed, determine the first time duration, and the first time duration is the time duration for the air conditioner wind to reach the temperature and humidity measuring device; based on the sweep wind direction, the sweep wind speed and the size information of the temperature and humidity measuring device, determine the second time duration, and the second time duration is the time duration for the air conditioner wind to stay in the temperature and humidity measuring device; based on the first time duration and / or the second time duration, determine the sampling period of the temperature and humidity measuring device.

[0183] In some embodiments, the wind sweeping mode includes an up and down wind sweeping mode and a left and right wind sweeping mode, and the determination module 720 is also used to determine whether the first time length corresponding to the up and down wind sweeping mode is less than or equal to the first time length corresponding to the left and right wind sweeping mode. If so, the parameter information of the wind sweeping mode is determined to be the parameter information corresponding to the up and down wind sweeping mode; if not, the parameter information of the wind sweeping mode is determined to be the parameter information corresponding to the up and down wind sweeping mode.

[0184] In some embodiments, the determination module 720 is also used to determine whether the air conditioner is in the on state. If so, the sampling period of the temperature and humidity measuring device is determined based on the first distance data and the swing air on and off state of the air conditioner; if not, the second set sampling period is used as the sampling period of the temperature and humidity measuring device.

[0185] In some embodiments, the determination module 720 is also used to determine the temperature and humidity correction interval of the second temperature and / or second humidity based on the second temperature and / or second humidity and the temperature and humidity correction curve; determine the correction parameters corresponding to the temperature and humidity correction interval based on the temperature and humidity correction interval and a preset mapping relationship, and the preset mapping relationship includes the correspondence between each temperature and humidity correction interval and the correction parameter; the generation module 730 is also used to correct the second temperature and / or second humidity based on the correction parameters to generate the first temperature and / or first humidity.

[0186] In some embodiments, the determination module 720 is also used to determine the control algorithm model corresponding to the air conditioner type based on the type information of the air conditioner and the preset control algorithm model; and determine the target control algorithm model of the air conditioner in the current environment based on the control algorithm model library and the behavior information of the target object.

[0187] In actual application, the acquisition module 710, the determination module 720, the generation module 730, the adjustment module 740 and the correction module 750 can be implemented by a processor in the control device of the air conditioner. Of course, the processor needs to run the computer program in the memory to realize its function.

[0188] It should be noted that: the control device for the air conditioner provided in the above embodiment only uses the division of the above program modules as an example when controlling the air conditioner. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the control device for the air conditioner provided in the above embodiment and the control method embodiment of the air conditioner belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0189] Based on the hardware implementation of the above program modules and in order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an electronic device. Figure 8Only an exemplary structure of the electronic device is shown, not all structures, and it can be implemented as needed. Figure 8 Partial or complete structure shown.

[0190] like Figure 8 As shown, the electronic device 800 provided in the embodiment of the present application includes: at least one processor 801, a memory 802, a user interface 803 and at least one network interface 804. The various components in the electronic device 800 are coupled together through a bus system 805. It can be understood that the bus system 805 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 805 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, in Figure 8 Various buses are labeled as bus system 805 .

[0191] The user interface 803 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch pad or a touch screen.

[0192] The memory 802 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program used to operate on the electronic device.

[0193] The electronic device method disclosed in the embodiment of the present application can be applied to the processor 801, or implemented by the processor 801. The processor 801 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the electronic device method can be completed by the hardware integrated logic circuit or software instructions in the processor 801. The above-mentioned processor 801 can be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 801 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 802, and the processor 801 reads the information in the memory 802, and completes the steps of the electronic device method provided in the embodiment of the present application in combination with its hardware.

[0194] In an exemplary embodiment, the electronic device may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.

[0195] It can be understood that the memory 802 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.

[0196] In an exemplary embodiment, the present application also provides a storage medium, namely a computer storage medium, which may be a computer-readable storage medium, for example, a memory 802 storing a computer program, and the computer program may be executed by a processor 801 of an electronic device to complete the steps of the method of the present application. The computer-readable storage medium may be a memory such as a ROM, a PROM, an EPROM, an EEPROM, a Flash Memory, a magnetic surface memory, an optical disk, or a CD-ROM.

[0197] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0198] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0199] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for controlling an air conditioner, characterized in that: The method comprises: Acquire environmental information in the current environment, the environmental information including: type information of the air conditioner, behavior information of the target object, and a first temperature and / or a first humidity; Determining a target control algorithm model of the air conditioner under the current environment based on the type information of the air conditioner, the behavior information of the target object and a preset control algorithm model library; generating a target temperature and / or a target humidity of the air conditioner based on the target control algorithm model and the first temperature and / or the first humidity; The air conditioner is adjusted to operate from the first temperature to the target temperature, and / or from the first humidity to the target humidity.

2. The method according to claim 1, characterized in that The air conditioner comprises: a temperature and humidity measuring device, and the method further comprises: Determine a sampling period of the temperature and humidity measuring device based on first distance data and the swing air on / off state of the air conditioner, wherein the first distance data is the distance data between the temperature and humidity measuring device and the air conditioner; Acquire a second temperature and / or a second humidity, where the second temperature and / or the second humidity is generated after the temperature and humidity measuring device samples the temperature and / or humidity in the current environment based on the sampling period; Based on the temperature and humidity correction curve, the second temperature and / or second humidity is corrected to generate the first temperature and / or first humidity.

3. The method according to claim 2, characterized in that The step of determining the sampling period of the temperature and humidity measuring device based on the first distance data and the swing air on / off state of the air conditioner comprises: Determine whether the swing air on / off state of the air conditioner is closed, and if so, use the first set sampling period as the sampling period of the temperature and humidity measuring device; If not, determining the swing mode of the air conditioner; Based on the first distance data and the parameter information of the swing mode, a sampling period of the temperature and humidity measuring device is determined.

4. The method according to claim 3, characterized in that The swing wind mode includes a sweep wind mode, and determining the sampling period of the temperature and humidity measuring device based on the first distance data and the parameter information of the swing wind mode includes: Acquire parameter information of the wind sweeping mode, the parameter information including: wind sweeping speed and wind sweeping direction; Based on the sweeping wind direction and the first distance data, second distance data is determined, where the second distance data is distance data between the air conditioner and the temperature and humidity measuring device along the sweeping wind direction; Based on the second distance data and the wind speed, determining a first time duration, the first time duration being the time duration for the wind from the air conditioner to reach the temperature and humidity measuring device; Based on the sweeping wind direction, the sweeping wind speed and the size information of the temperature and humidity measuring device, determining a second time length, where the second time length is the time length for which the wind of the air conditioner stays in the temperature and humidity measuring device; A sampling period of the temperature and humidity measuring device is determined based on the first time period and / or the second time period.

5. The method according to claim 4, characterized in that The wind sweeping mode includes an up-and-down wind sweeping mode and a left-and-right wind sweeping mode, and the method further includes: Determine whether the first duration corresponding to the up-and-down sweeping mode is less than or equal to the first duration corresponding to the left-and-right sweeping mode, and if so, determine that the parameter information of the sweeping mode is the parameter information corresponding to the up-and-down sweeping mode; If not, it is determined that the parameter information of the wind sweeping mode is the parameter information corresponding to the up and down wind sweeping mode.

6. The method according to claim 2, characterized in that The method further comprises: Determine whether the air conditioner is in the on state, and if so, determine the sampling period of the temperature and humidity measuring device based on the first distance data and the swing air on / off state of the air conditioner; If not, the second set sampling period is used as the sampling period of the temperature and humidity measuring device.

7. The method according to claim 2, characterized in that The step of correcting the second temperature and / or the second humidity based on the temperature and humidity correction curve to generate the first temperature and / or the first humidity includes: Determining a temperature and humidity correction interval of the second temperature and / or second humidity based on the second temperature and / or second humidity and the temperature and humidity correction curve; Based on the temperature and humidity correction interval and a preset mapping relationship, determining a correction parameter corresponding to the temperature and humidity correction interval, wherein the preset mapping relationship includes a corresponding relationship between each temperature and humidity correction interval and the correction parameter; Based on the correction parameter, the second temperature and / or the second humidity are corrected to generate the first temperature and / or the first humidity.

8. The method according to claim 1, characterized in that The step of determining the target control algorithm model of the air conditioner under the current environment based on the type information of the air conditioner, the behavior information of the target object and a preset control algorithm model library includes: Determining a control algorithm model corresponding to the type of air conditioner based on the type information of the air conditioner and a preset algorithm model library; Based on the control algorithm model library and the behavior information of the target object, a target control algorithm model of the air conditioner in the current environment is determined.

9. A control device for an air conditioner, characterized in that: The device comprises: An acquisition module, used to acquire environmental information in the current environment, wherein the environmental information includes: type information of the air conditioner, behavior information of the target object, and a first temperature and / or a first humidity; a determination module, for determining a target control algorithm model of the air conditioner under the current environment based on the type information of the air conditioner, the behavior information of the target object and a preset control algorithm model library; A generating module, configured to generate a target temperature and / or a target humidity of the air conditioner based on the target control algorithm model and the first temperature and / or the first humidity; The regulating module is used to regulate the air conditioner to operate from the first temperature to the target temperature, and / or from the first humidity to the target humidity.

10. An electronic device, characterized in that: include: A processor and a memory for storing a computer program that can be executed on the processor, wherein: The processor is used to execute the steps of the method according to any one of claims 1 to 8 when running a computer program.

11. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.