Air conditioner hand controller control method, air conditioner and computer storage medium

By acquiring channel state information within the air-conditioned environment, calculating the distance and amplitude changes between the user and the handheld device, and automatically controlling the handheld device to light up when the user approaches, the problem of the handheld device screen remaining constantly lit at night or requiring manual button activation is solved, improving convenience and energy efficiency.

CN123174706APending Publication Date: 2026-11-27GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611673194.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-27
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

When using existing central air conditioning manual controllers at night, the screen remains on, leading to energy waste and light pollution, or the screen-off operation is inconvenient and poses safety hazards.

Method used

By acquiring channel state information at different locations within the air-conditioned environment, the distance and amplitude change indicators between the user and the handheld device are calculated, and the handheld device is automatically controlled to light up when the user approaches.

Benefits of technology

The device features intelligent screen lighting at night without the need for manual operation, improving convenience and energy efficiency while reducing the false trigger rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123174706A_ABST
    Figure CN123174706A_ABST
Patent Text Reader

Abstract

The application provides an air conditioner hand controller control method, an air conditioner and a computer storage medium, and is applied to the air conditioner. The method comprises the following steps: acquiring first channel state information and second channel state information in an environment where the air conditioner is located, the first channel state information and the second channel state information being channel state information received by the air conditioner at different positions in the environment; performing first processing on the first channel state information and the second channel state information to obtain a distance between a user and the hand controller; performing second processing on the first channel state information to obtain an amplitude change index, the amplitude change index being a quantitative index of the amplitude change degree of the first channel state information; and if the distance is less than a distance threshold value and the amplitude change index is greater than an amplitude threshold value, the hand controller displays a bright screen. The application solves the problem that the screen of the hand controller is always on or needs to be manually woken up at night, and the air conditioner device has an energy-saving effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of air conditioning technology, and more specifically, to an air conditioning handheld controller method, an air conditioner, and a computer storage medium. Background Technology

[0002] With the popularization of smart home technology, central air conditioning has become a common environmental control device. Central air conditioning systems are typically equipped with a handheld controller for users to adjust indoor temperature, fan speed, and operating mode. Traditional handheld controllers usually require interaction via buttons or touchscreens, and their screens are typically always on or require manual button or touch activation. In nighttime use scenarios, users often need to operate the controller while sleeping. Existing control methods have the following drawbacks: if the controller screen is always on, it wastes energy and creates glare in dim nighttime environments, affecting sleep quality and comfort; if the screen is off, users must fumble in the dark to operate the controller, posing safety hazards and increasing the risk of accidentally pressing nearby buttons and generating incorrect control commands, severely impacting nighttime comfort and convenience. Therefore, it is necessary to develop a method that automatically illuminates the controller screen based on user status, improving convenience and energy efficiency during nighttime operation. Summary of the Invention

[0003] The main objective of this application is to provide an air conditioner handheld controller method, an air conditioner, and a computer storage medium, so as to at least solve the problem in the prior art where the handheld controller screen is always on at night or requires manual button press to wake up.

[0004] To achieve the above objectives, according to one aspect of this application, an air conditioner handheld controller method is provided, applied to an air conditioner, the air conditioner including a handheld controller, the method comprising: acquiring first channel state information and second channel state information within the environment where the air conditioner is located, the first channel state information and the second channel state information being channel state information received by the air conditioner at different locations within the environment; performing a first processing on the first channel state information and the second channel state information to obtain the distance between the user and the handheld controller; performing a second processing on the first channel state information to obtain an amplitude change index, the amplitude change index being a quantitative indicator of the degree of amplitude change of the first channel state information; and, when the distance is less than a distance threshold and the amplitude change index is greater than an amplitude threshold, the handheld controller display lights up.

[0005] Optionally, the first channel state information and the second channel state information are processed to obtain the distance between the user and the handheld device, including: establishing a spatial coordinate system within the environment where the air conditioner is located, and determining the coordinates of the handheld device; estimating the angle of arrival (AHA) of the first channel state information in the spatial coordinate system to obtain a first AHA; estimating the angle of arrival (AHA) of the second channel state information in the spatial coordinate system to obtain a second AHA; determining the user coordinates based on the first AHA and the second AHA; and calculating the distance between the user and the handheld device using the handheld device coordinates and the user coordinates.

[0006] Optionally, estimating the angle of arrival (Angle of Arrival) of the first channel state information and the second channel state information to obtain a first angle of arrival (Angle of Arrival) and a second angle of arrival (Angle of Arrival) includes: preprocessing the first channel state information and the second channel state information; calculating a first covariance matrix based on the preprocessed first channel state information; performing spatial smoothing and decoherence processing on the first covariance matrix to obtain a first smoothed covariance matrix; calculating a second covariance matrix based on the preprocessed second channel state information; performing spatial smoothing and decoherence processing on the second covariance matrix to obtain a second smoothed covariance matrix; processing the first smoothed covariance matrix using a spatial spectrum estimation algorithm to obtain the first angle of arrival (Angle of Arrival); and processing the second smoothed covariance matrix using a spatial spectrum estimation algorithm to obtain the second angle of arrival (Angle of Arrival).

[0007] Optionally, the first channel state information and the second channel state information are preprocessed, including: performing phase unwrapping on the first channel state information and the second channel state information respectively; and performing phase calibration and / or noise reduction processing on the phase-unwrapped first channel state information and the second channel state information respectively.

[0008] Optionally, the first smoothed covariance matrix is ​​processed using a spatial spectrum estimation algorithm to obtain the first angle of arrival; the second smoothed covariance matrix is ​​processed using a spatial spectrum estimation algorithm to obtain the second angle of arrival, including: processing the first smoothed covariance matrix using the MUSIC algorithm or the ESPRIT algorithm to obtain the first angle of arrival; and processing the second smoothed covariance matrix using the MUSIC algorithm or the ESPRIT algorithm to obtain the second angle of arrival.

[0009] Optionally, the first channel state information is subjected to a second processing to obtain an amplitude change index, including: calculating the first-order difference energy of the amplitude of the first channel state information in the time dimension to obtain the amplitude change index; or, calculating the spatial perturbation variance of the amplitude of the first channel state information to obtain the amplitude change index.

[0010] Optionally, calculating the first-order differential energy of the amplitude of the first channel state information in the time dimension to obtain the amplitude change index includes: calculating the first-order difference of the amplitude in the time dimension, calculating the mean square value of the first-order difference on the subcarrier, and obtaining the first-order differential energy; wherein the mean square value is the average of the squared amplitude difference values ​​of each subcarrier.

[0011] According to another aspect of this application, an air conditioner is provided, comprising a processor, a memory, a transmitting module, and a receiving module. The receiving module includes a first receiving module and a second receiving module. The transmitting module is used to transmit an initial carrier signal. The first receiving module is used to receive a first set of channel state information, and the second receiving module is used to receive a second set of channel state information. The first set of channel state information and the second set of channel state information are used to obtain the distance between a user and the handheld controller of the air conditioner. The first set of channel state information is used to obtain an amplitude change index. The memory is used to store computer execution instructions. When the air conditioner is running, the processor executes the computer execution instructions stored in the memory to cause the air conditioner to perform the air conditioner handheld controller control method as described in any of the above claims.

[0012] Optionally, the first receiving module is located inside the handheld controller of the air conditioner, and the first receiving module and the second receiving module are located on different sides of the user's activity area. The first receiving module and the second receiving module are at the same height from the ground, and the distance between the first receiving module and the second receiving module is 1 to 3 meters. The user's activity area is located within the environment where the air conditioner is located.

[0013] According to another aspect of this application, a computer storage medium is provided, the computer storage medium including computer execution instructions, which, when executed on the air conditioner, cause the air conditioner to perform the steps of the air conditioner manual control method as described in any of the preceding claims.

[0014] The air conditioner handheld controller control method of this application is applied to an air conditioner. The method includes: acquiring first channel state information and second channel state information in the environment where the air conditioner is located, wherein the first channel state information and second channel state information are channel state information received by the air conditioner at different locations in the environment; performing a first processing on the first channel state information and second channel state information to obtain the distance between the user and the handheld controller; performing a second processing on the first channel state information to obtain an amplitude change index, wherein the amplitude change index is a quantitative index of the degree of amplitude change of the first channel state information; and if the distance is less than a distance threshold and the amplitude change index is greater than the amplitude threshold, the handheld controller displays a bright screen. This application acquires a first set of channel state information and a second set of channel state information received at different locations within the environment where the air conditioner is located. It then performs a first processing on the first and second channel state information to obtain the distance between the user and the handheld device. Finally, it performs a second processing on the first channel state information to obtain an amplitude change index. When the user approaches the handheld device and simultaneously meets the threshold conditions of both the "distance between the user and the handheld device" and the "amplitude change index of the first channel state information," the handheld device displays a bright screen. This achieves the "people approach, screen brightens" function and reduces the false trigger rate caused by multipath effects, environmental changes, or the user's stationary state. It also solves the problem of the handheld device screen remaining constantly lit at night or requiring manual button activation. Attached Figure Description

[0015] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0016] Figure 1 A hardware structure block diagram of a mobile terminal for performing an air conditioner handheld controller method according to an embodiment of this application is shown.

[0017] Figure 2 A schematic flowchart of an air conditioner handheld controller method according to an embodiment of this application is shown;

[0018] Figure 3 A schematic diagram of a positioning model for obtaining the location coordinates of a user in a room, according to an embodiment of this application, is shown.

[0019] Figure 4 A structural block diagram of an air conditioner handheld controller provided according to an embodiment of this application is shown;

[0020] The above figures include the following reference numerals:

[0021] 102. Processor; 104. Memory; 106. Transmission device; 108. Input / output device. Detailed Implementation

[0022] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0023] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0024] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0025] For ease of description, the following explains some of the nouns or terms used in the embodiments of this application:

[0026] Channel State Information (CSI) is a complex parameter used in wireless communication systems to describe the characteristics of the wireless channel between the transmitting and receiving antennas. It reflects the amplitude attenuation, phase shift, and multipath effects experienced by the wireless signal during its propagation from the transmitter to the receiver.

[0027] As described in the background section, existing handheld controllers typically require interaction via buttons or touchscreens. Their screens are usually always-on or require manual button or touch activation. If the screen is always on, it wastes energy and creates bright light in dim nighttime environments, affecting sleep quality and comfort. If the screen is off, users must walk to the controller in the dark to operate it, posing safety hazards and increasing the risk of accidental presses of nearby buttons, severely impacting nighttime comfort and convenience. To address the issue of always-on screens or manual button activation at night, embodiments of this application provide an air conditioner handheld controller control method, an air conditioner, and a computer storage medium.

[0028] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.

[0029] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for an air conditioner handheld controller method according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0030] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the air conditioner handheld controller control method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the aforementioned networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0031] This embodiment provides a method that runs on a mobile terminal, computer terminal, or similar computing device. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Also, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0032] The air conditioner provided in this application embodiment also includes a handheld controller, a transmitting module (TX), and a receiving module (RX). The handheld controller is the indoor control panel of the air conditioning system, used by the user to adjust the air conditioner's operating parameters (such as temperature, fan speed, and mode). The handheld controller is typically fixedly installed on an indoor wall at a height suitable for the user to operate while standing or sitting (e.g., 1.2m to 1.5m above the ground). The transmitting module (TX) is the Wi-Fi router in the environment where the air conditioner is located. It acts as a signal source, transmitting the initial carrier signal. Its transmission power and frequency determine the basic signal-to-noise ratio (SNR) of the CSI (Common Signal-to-Noise Ratio). The transmitting module is typically located on the ground or on a platform at a certain height above the ground. The receiving module (RX) uses a built-in CSI acquisition function (e.g., ESP32-S3) to receive signals transmitted by the transmitting module and reflected or scattered by the spatial environment (including objects such as people, walls, and furniture).

[0033] The receiving module (RX) of the air conditioner in this application includes a first receiving module and a second receiving module. Each of the first and second receiving modules includes at least three antennas forming a uniform linear array. The first and second receiving modules are at the same height from the ground and are spatially separated. Specifically, the first receiving module is located inside the handheld controller of the air conditioner. The distance between the first and second receiving modules ranges from 1 to 3 meters, and they are located on different sides of the user's activity area. The wavelength of the initial carrier signal transmitted by the transmitting module (TX) is λ. Therefore, the spacing between adjacent antennas within the first or second receiving module can be set to 0.4λ to 0.6λ. For example, if the standard wavelength of the 2.4GHz WIFI band transmitted by the transmitting module (TX) is 12.5 cm, corresponding to a half-wave of approximately 6.25 cm, the spacing between adjacent antennas can be set to 6 cm.

[0034] Figure 2 This is a flowchart of an air conditioner handheld controller control method according to an embodiment of this application. Figure 2 As shown, the method includes the following steps:

[0035] Step S101: Obtain the first channel state information and the second channel state information in the environment where the air conditioner is located. The first channel state information and the second channel state information are the channel state information received by the air conditioner at different locations in the environment.

[0036] Specifically, the receiving module of the air conditioner in this application includes a first receiving module and a second receiving module. The first receiving module is used to receive a first set of channel state information, and the second receiving module is used to receive a second set of channel state information. The signal matrix of the first set of channel state information and the second set of channel state information is: M K and M represent the number of antennas, and K represents the number of subcarriers (e.g., K = 30). The first and second receiving modules are spatially separated, with a distance range of 1-3 meters, and are located on different sides of the user's activity area. This ensures that the first set of channel state information received by the first receiving module and the second set of channel state information received by the second receiving module are information received from different locations. This guarantees that the first angle of arrival obtained from the first set of channel state information and the second angle of arrival obtained from the second set of channel state information can determine the user's coordinates. Furthermore, the distance between the user and the handheld device can be determined using the handheld device's coordinates and the user's coordinates. The user's activity area is located within the environment where the air conditioner is located; specifically, the environment where the air conditioner is located refers to an indoor space or room.

[0037] Step S102: Perform a first process on the first channel state information and the second channel state information to obtain the distance between the user and the handheld device;

[0038] Specifically, by performing a first processing on the first channel state information and the second channel state information, the geometric distance between the user and the handheld device is obtained, and it is determined from a macroscopic perspective whether the user has entered the user activity area. The user activity area refers to the area within the environment where the air conditioner is located (e.g., inside a room), the area that the signal emitted by the transmitting module (e.g., a WiFi signal) can cover, and the area where, when the user moves within this area, the scattering and reflection effects of the signal emitted by the user's transmitting module are sufficient to be detected by the first and second receiving modules and converted into identifiable first and second channel state information change characteristics.

[0039] Step S103: Perform a second processing on the first channel state information to obtain an amplitude change index, which is a quantitative indicator of the degree of amplitude change of the first channel state information.

[0040] Specifically, by simultaneously processing the first channel state information to extract amplitude change indicators, the system can determine at a micro-dynamic level whether the user has approached the handheld device. The amplitude change indicators can sensitively reflect the dynamic disturbance to the signal in the air-conditioning environment caused by the user's proximity to the handheld device. Using both the distance between the user and the handheld device and the amplitude change indicators as indicators for evaluating whether the user is using the handheld device can improve the accuracy of controlling the handheld device's screen brightness.

[0041] Step S104: When the distance between the user and the handheld device is less than the distance threshold and the amplitude change index is greater than the amplitude threshold, the handheld device displays a bright screen.

[0042] Specifically, when a user moves, the human body, as a dynamic scatterer, changes the path length and reflection coefficient of signal propagation, which causes drastic fluctuations in the amplitude of the received first channel state information. The handheld device screen will only light up when the user enters the area determined by the distance threshold, that is, when the distance between the user and the handheld device is less than the distance threshold and the amplitude change index of the first channel state information is greater than the amplitude threshold.

[0043] In a specific embodiment, for example, a distance threshold d threshold The distance can be 1~2m, for example 1.2m, 1.3m, 1.5m, 1.6m, 1.8m. In one specific embodiment, the distance threshold is set to d. threshold =1.5m. When the distance d between the user and the handheld device in the room is less than 1.5m, for example, d=1.4m, it is determined that the distance between the user and the handheld device is less than the distance threshold; when the distance between the user and the handheld device in the room is greater than 1.5m, for example, d=1.9m, it is determined that the distance between the user and the handheld device is greater than the distance threshold. The amplitude change index of the first channel state information is E. t The amplitude threshold is E thresholdThe system determines and controls whether the handheld device's screen is on based on the distance between the user and the handheld device, as well as the amplitude change of the first channel state information. There are four possible scenarios:

[0044] (1) When d < d threshold E t >E threshold At that time, the handheld device screen lights up;

[0045] (2) When d > d threshold E t >E threshold At this time, the handheld device screen does not display a lit screen;

[0046] (3) When d < d threshold E t <E threshold At this time, the handheld device screen does not display a lit screen;

[0047] (4) When d > d threshold E t <E threshold At that time, the handheld device screen does not display a lit screen.

[0048] In a specific embodiment, to improve the accuracy of the handheld device's screen activation, the relationship between the distance between the user and the handheld device and a distance threshold, as well as the relationship between the amplitude change index and an amplitude threshold, can be continuously determined within a certain continuous time period. Within this continuous time period, the handheld device activates when the distance between the user and the handheld device is less than the distance threshold and the amplitude change index is greater than the amplitude threshold. The continuous time period ranges from 20ms to 50ms, specifically 20ms, 30ms, 50ms, etc. The time it takes for a person to move to the handheld device is usually short. If the continuous time period is set too long, it will cause a system response lag, meaning the screen will only be activated after the user has arrived, thus negating the effect of activating the screen upon approach. Limiting the continuous time period to the above range, triggering the screen activation command before the user arrives at the handheld device ensures the timeliness of the handheld device's screen activation and avoids false triggering due to insufficient signal information collected in a short continuous time period.

[0049] Through this embodiment, this application can obtain a first set of channel state information and a second set of channel state information received at different locations within the environment where the air conditioner is located. By performing a first processing on the first and second channel state information, the distance between the user and the handheld device is obtained. By performing a second processing on the first channel state information, an amplitude change index is obtained. When the user approaches the handheld device and simultaneously meets the threshold conditions of "distance between the user and the handheld device" and "amplitude change index of the first channel state information", the handheld device displays a bright screen, thus realizing the "people approach and the screen lights up" function. This also reduces the false triggering rate caused by multipath effects, environmental changes, animals passing by, or the human body being stationary, and solves the problem of the handheld device screen remaining constantly lit at night or requiring manual button wake-up.

[0050] In some embodiments, a first processing step is performed on the first channel state information and the second channel state information to obtain the distance between the user and the handheld device, including: establishing a spatial coordinate system within the environment where the air conditioner is located, and determining the coordinates of the handheld device; estimating the angle of arrival (AHA) of the first channel state information in the spatial coordinate system to obtain a first AHA; estimating the angle of arrival (AHA) of the second channel state information in the spatial coordinate system to obtain a second AHA; determining the user coordinates based on the first AHA and the second AHA; and calculating the distance between the user and the handheld device using the handheld device coordinates and the user coordinates.

[0051] Figure 3 A schematic diagram of a positioning model for obtaining the location coordinates of a user in a room, according to an embodiment of this application, is shown.

[0052] Specifically, the air conditioner's receiving module RX includes a first receiving module and a second receiving module. Each of the first and second receiving modules includes at least three antennas, with the antenna normals pointing towards the area of ​​human activity. The first and second receiving modules are separately configured. The first receiving module is located inside the handheld device, at a distance of 1-3 meters from the second receiving module and on different sides of the human activity area. This is to ensure that the angle between the first ray determined by the first angle of arrival and the second ray determined by the second angle of arrival cannot be 0° or 180°, so that the user's coordinates can be determined based on the first and second angles of arrival. The angle of arrival is the angle between the WIFI signal and the antenna normal when it reaches the antenna array of the receiving module. Therefore, the first ray is the line relative to the antenna normal at the first angle of arrival, and the second ray is the line relative to the antenna normal at the second angle of arrival.

[0053] Within the environment where the air conditioner is located, a global coordinate system is established with the air conditioner's transmitting module TX as the origin (0,0), and the coordinates of the first receiving module are (x... R1 y R1 The coordinates of the second receiving module are (x R2 y R2The user's coordinates are (x, y). For example... Figure 3 As shown, based on the normal of the RX antenna array of the receiving module, Let be the angle of arrival of the target's reflection path. Let be the orientation angle of the receiver module's RX antenna array normal in the global coordinate system. Therefore, the azimuth angle of the target reflection path arrival angle in the global coordinate system is: .

[0054] Based on the point-slope equation of a straight line, the constraint equation for the RX tangent of the receiving module is obtained as follows:

[0055] .

[0056] The first angle of arrival is denoted as The second arrival angle is denoted as The formula for calculating the user's coordinates (x, y) using the first and second angles of arrival is as follows:

[0057] .

[0058] In this application, the first receiving module is located inside the handheld device; therefore, the coordinates of the handheld device can be considered to be the same as the coordinates of the first receiving module, i.e., the coordinates of the handheld device are (x... R1 y R1 Then the distance between the handheld device and the user is:

[0059] .

[0060] In this embodiment, a spatial coordinate system is established within the environment where the air conditioner is located. The user coordinates are determined by the first angle of arrival obtained from the first channel state information and the second angle of arrival obtained from the second channel state information. Then, the distance between the user and the handheld device is calculated by using the user coordinates and the handheld device coordinates. This avoids the inaccuracy of relying solely on signal strength to estimate distance, which is easily affected by obstruction or multipath effects. It achieves accurate extraction of spatial location information from multi-location channel state information, thereby ensuring the spatial accuracy of subsequent distance-based judgments on whether the user is close to the handheld device.

[0061] In some embodiments, angle-of-arrival (AOA) estimation is performed on the first channel state information and the second channel state information to obtain a first OAA and a second OAA, including: preprocessing the first channel state information and the second channel state information; calculating a first covariance matrix based on the preprocessed first channel state information, and performing spatial smoothing and decoherence processing on the first covariance matrix to obtain a first smoothed covariance matrix; calculating a second covariance matrix based on the preprocessed second channel state information, and performing spatial smoothing and decoherence processing on the second covariance matrix to obtain a second smoothed covariance matrix; processing the first smoothed covariance matrix using a spatial spectrum estimation algorithm to obtain a first OAA; and processing the second smoothed covariance matrix using a spatial spectrum estimation algorithm to obtain a second OAA.

[0062] In this embodiment, due to the presence of numerous multipath reflections in the environment where the air conditioner is located, the coherence of these reflected signals and the direct path signals may cause a rank deficiency in the corresponding covariance matrix. By using spatial smoothing methods, such as forward / backward spatial smoothing algorithms, the signal coherence is eliminated, and the full rank of the covariance matrix is ​​restored. Specifically, the steps of using spatial smoothing methods are as follows:

[0063] (1) Rearrange the channel state information matrix into M K virtual arrays receive data, where M is the number of antennas and K is the number of subcarriers (e.g., 30). The two-dimensional steering vector is defined as... Among them, the antenna domain steering vector Subcarrier domain steering vector Joint steering vector (Kronecker product).

[0064] (2) Use forward / backward spatial smoothing for decoherence processing. Divide the M antennas into P overlapping subarrays, each subarray containing L antennas (L=M-P+1). For each subarray, extract the corresponding L antennas. K data blocks are used to calculate their covariance matrix R. p Calculate the forward smoothing covariance matrix: Optionally, the backward smoothing matrix can be computed simultaneously. (J is the commutation matrix). The average is used to obtain the forward / backward smoothed covariance matrix: This further enhances the decoherence capability. The subarray size L must satisfy L K>n (where n is the number of paths to be distinguished).

[0065] In this embodiment, by preprocessing the first and second channel state information, and by using spatial smoothing decoherence and spatial spectrum estimation algorithms to estimate the first and second angles of arrival, it is possible to ensure that even in complex indoor environments with multipath reflections, the spatial orientation angle of the user relative to the air conditioner handheld controller can still be accurately obtained. This provides high-precision angle data support for subsequently determining the user's coordinates and calculating the distance, thereby improving the reliability and accuracy of controlling the handheld controller's screen lighting based on distance and amplitude change indicators.

[0066] In some embodiments, the first channel state information and the second channel state information are preprocessed, including: performing phase unwrapping on the first channel state information and the second channel state information respectively; and performing phase calibration and / or noise reduction processing on the phase-unwrapped first channel state information and the second channel state information respectively.

[0067] In this embodiment, phase unwrapping is performed on the first channel state information and the second channel state information respectively. Phase unwrapping refers to the algorithm used to restore the phase values ​​wrapped in the [-π,π] interval to continuous absolute phase values ​​to eliminate measurement errors caused by phase abrupt changes, which occurs when the phase accumulation of wireless channel signals exceeds 2π during propagation. Further, phase calibration and / or denoising processing are performed on the phase-unwrapped data. Phase calibration is used to correct systematic phase deviations caused by hardware differences or environmental interference, while denoising processing uses filtering algorithms to remove Gaussian white noise and other random interference inherent in channel measurements, thereby obtaining smooth and accurate channel state data. This application does not limit the order of phase calibration and denoising processing. In some embodiments, after unwrapping the phase of the channel state information, phase calibration can be performed first, followed by denoising; in other embodiments, after unwrapping the phase of the channel state information, denoising can be performed first, followed by phase calibration; in some embodiments, only phase calibration or only denoising can be performed. By performing phase unwrapping, phase calibration, and / or denoising on the first and second channel state information, this preprocessing process provides a high-quality data foundation for subsequent spatial spectrum estimation. By eliminating phase jumps and noise interference, the accuracy of calculating the first and second angles of arrival is significantly improved, thereby enhancing the accuracy of user coordinates and handheld device distance determined based on angle information. Ultimately, this ensures that the screen can be triggered more accurately and reliably when the user approaches the handheld device, avoiding false triggering or missed triggering due to positioning errors.

[0068] In some embodiments, a spatial spectrum estimation algorithm is used to process the first smoothed covariance matrix to obtain a first angle of arrival; a spatial spectrum estimation algorithm is used to process the second smoothed covariance matrix to obtain a second angle of arrival, including: using the MUSIC algorithm or the ESPRIT algorithm to process the first smoothed covariance matrix to obtain a first angle of arrival; using the MUSIC algorithm or the ESPRIT algorithm to process the second smoothed covariance matrix to obtain a second angle of arrival.

[0069] In this embodiment, the steps for obtaining the angle of arrival using the MUSIC algorithm are as follows:

[0070] (1) For the smoothed covariance matrix R fb Eigenvalue decomposition is performed to obtain the noise subspace (E N ), E N Corresponding to the smallest L Using Kn eigenvalues ​​(where L is the number of antennas in the subarray, K is the number of subcarriers, and n is the number of paths to be resolved), construct a two-dimensional MUSIC spatial spectrum function:

[0071] , .

[0072] Spectral peak position This is the estimate of the angle of arrival (AOA) and time of arrival (TOA) for the i-th path.

[0073] (2) Based on the estimated Time of Arrival (TOA), sort all paths by propagation delay. The path with the smallest TOA is usually the Direct Path (LOS). Among the remaining paths, select the one with a relatively small TOA and whose energy amplitude meets the preset threshold E. threshold The path is determined by distinguishing between dynamic target reflection paths and static environment reflection paths, as high-energy static reflection paths are easily misidentified as target transmission paths. Therefore, the coordinates of the reflection point are then calculated based on the position of the receiving device RX to confirm that the path falls within the user's activity area. If so, it is selected as the target reflection path, and the corresponding angle of arrival is obtained.

[0074] In this embodiment, the steps for obtaining the angle of arrival and time of arrival using the ESPRIT algorithm are as follows:

[0075] (1) The receiving antenna array (M antennas) and Wi-Fi subcarriers (K) are combined to form a virtual uniform linear array. Where M is the number of antennas in the receiving module and K is the number of subcarriers.

[0076] (2) For the smoothed covariance matrix R fb Perform eigenvalue decomposition, and take the eigenvectors corresponding to the n largest eigenvalues ​​to form the signal subspace (E). s ), E sThe dimension is M×K×n.

[0077] Specifically, in the antenna dimension, based on the spatial antenna array, a first spatial subarray (containing the first M-1 antennas) and a second spatial subarray (containing the last M-1 antennas) are constructed. E s A matrix rearranged by rows into an M×(K×n) matrix constitutes the spatial signal subspace. Take the first M-1 rows to form the first subarray subspace. (Corresponding to the first M-1 antennas), the last M-1 rows are used to form the second subarray space. (Corresponding to the last M-1 antennas), where Angle of arrival. Corresponding to the first subarray in space, The second subarray in the corresponding space.

[0078] In the subcarrier dimension, based on the frequency subcarrier array, a first frequency subarray (containing the first K-1 subcarriers) and a second frequency subarray (containing the last K-1 subcarriers) are constructed. E s The matrix rearranged columnwise into a K×(M×n) matrix constitutes the frequency signal subspace. Take the first K-1 columns to form the first frequency subarray subspace. (Corresponding to the first K-1 subcarriers), the last K-1 columns are used to form the second frequency subarray subspace. (corresponding to the last K-1 subcarriers), where This refers to the arrival time. The first subarray corresponding to the frequency, The second subarray corresponding to the frequency.

[0079] (3) Solve the rotation matrix using the least squares method such that the relation is satisfied .

[0080] Specifically, in the antenna dimension, the spatial translation invariance between the first and second spatial subarrays is utilized to solve for the antenna dimension rotation matrix. The following relation is satisfied:

[0081] .

[0082] In the subcarrier dimension, the frequency translation invariance between the first and second frequency subarrays is utilized to solve for the subcarrier-dimensional rotation matrix. The following relation is satisfied:

[0083] .

[0084] (4) Rotation matrix of antenna dimension Eigenvalue decomposition is performed to extract eigenvalues, and the angle of arrival (AOA) of each signal path is calculated.

[0085]

[0086] in, For the first Angle of arrival (AOA) of the path. for The 1 eigenvalue, The wavelength of the Wi-Fi signal. This refers to the physical spacing between adjacent antennas.

[0087] (5) Rotation matrix of subcarrier dimension Perform eigenvalue decomposition based on the translation spacing of the subcarrier dimension in the virtual array ( ), calculate the propagation delay of each signal path:

[0088] ,

[0089] in, For the first The propagation delay of each path, for The Each feature value.

[0090] In the above formula The sign is determined by the subcarrier index direction; it is positive when the subcarrier index increases and negative when it decreases. Furthermore, when... When the above formula holds true, it is usually satisfied in indoor scenarios; if When the above formula does not hold true, phase unwinding is required. The specific configuration depends on the Wi-Fi communication standard used, such as the 802.11n protocol at a bandwidth of 20 MHz. =312.5 kHz.

[0091] (6) Employing a joint diagonalization structure, utilizing and The correspondence between the common feature vectors is completed. and Automatic pairing, or two-dimensional pairing based on least squares matching.

[0092] In this embodiment, processing the smoothed covariance matrix using the MUSIC or ESPRIT algorithms involves leveraging the specific mathematical characteristics of these high-resolution spatial spectrum estimation algorithms to analyze the spatial distribution features of the channel signal. The MUSIC algorithm identifies spectral peaks and determines angles by constructing the orthogonality between the signal and noise subspaces, while the ESPRIT algorithm directly solves for angle parameters through eigenvalue decomposition, utilizing the rotation invariance inherent in the array manifold. By introducing the MUSIC or ESPRIT algorithms, the signal structure information preserved in the smoothed covariance matrix can be fully utilized, significantly improving the estimation accuracy and resolution of the first and second angles of arrival. This allows for more accurate positioning of the user's coordinates, thereby ensuring higher reliability and responsiveness of the handheld device's screen-on control logic based on distance and amplitude variation indicators.

[0093] In some embodiments, the first channel state information is subjected to a second processing to obtain an amplitude change index, including: calculating the first-order differential energy of the amplitude of the first channel state information in the time dimension to obtain the amplitude change index; or, calculating the spatial perturbation variance of the amplitude of the first channel state information to obtain the amplitude change index.

[0094] In this embodiment, the amplitude change index is obtained by performing a second process on the first channel state information. This refers to using quantitative analysis of the dynamic fluctuation characteristics of the wireless signal amplitude to assist in judging user behavior. The amplitude change index is a numerical result of the degree of amplitude change in the first channel state information. Specifically, the first-order differential energy of the amplitude of the first channel state information in the time dimension reflects the degree of drastic fluctuation in the signal amplitude at consecutive time points; the spatial perturbation variance of the amplitude of the first channel state information reflects the uneven fluctuation of the signal in spatial distribution. This application uses the first-order differential energy of the amplitude of the first channel state information in the time dimension and the spatial perturbation variance of the amplitude to obtain the amplitude change index. By introducing the amplitude change index as a condition for judging whether the handheld device screen is on, the accuracy of the handheld device's screen-on judgment and its anti-interference capability are improved.

[0095] Specifically, the method for calculating the spatial perturbation variance of the amplitude of the first channel state information is as follows:

[0096] (1) Calculate the variance (Buffer) of the first channel state information amplitude (A) at time t:

[0097] ;

[0098] (2) Within the sliding time window, calculate the variance (Turbulence) of all variances calculated in (1) within the window:

[0099] .

[0100] In some embodiments, calculating the first-order differential energy of the amplitude of the first channel state information in the time dimension to obtain an amplitude change index includes: calculating the first-order difference of the amplitude in the time dimension, calculating the mean square value of the first-order difference on the subcarrier, and obtaining the first-order differential energy; wherein the mean square value is the average of the squared amplitude difference values ​​of each subcarrier.

[0101] Specifically, let the amplitude matrix of the first channel state information collected be: T is the number of time frames, and K is the number of subcarriers. This is the amplitude of the t-th frame and the k-th subcarrier. The first-order difference of the first channel state information in the time dimension is: The corresponding first-order difference energy is: The method for determining the threshold corresponding to the first-order differential energy includes: collecting CSI data for a period of time (e.g., 30 seconds) when no users pass through the environment where the air conditioner is located; calculating the amplitude first-order differential energy set corresponding to this time period; and obtaining the value of the first-order differential energy at a certain percentage position (e.g., 80%, 85%, 90%, 95%, 98%, etc.) in the amplitude first-order differential energy set as the threshold of the amplitude change index, denoted as E. threshold .

[0102] In this embodiment, by calculating the first-order differential energy of the amplitude in the time dimension, the subtle amplitude changes caused by user movement can be extracted more accurately. Compared with relying solely on a single amplitude value, this significantly improves the sensitivity of recognizing real user approach movements, effectively avoids false screen activation caused by environmental background noise or slight electromagnetic interference, and ensures the accuracy and reliability of screen activation control under dual threshold verification of distance and amplitude.

[0103] This application also provides an air conditioner handheld controller device, such as... Figure 4 The device shown includes: a sampling unit 10, used to acquire first channel state information and second channel state information within the environment where the air conditioner is located, wherein the first channel state information and second channel state information are channel state information received by the air conditioner at different locations within the environment; a first data processing unit 20, used to perform first processing on the first channel state information and second channel state information to obtain the distance between the user and the air conditioner handheld device; a second data processing unit 30, used to perform second processing on the first channel state information to obtain an amplitude change index, wherein the amplitude change index is a quantitative indicator of the degree of amplitude change of the first channel state information; and a control unit 40, which controls the handheld device display screen to light up when the distance between the user and the handheld device exceeds a distance threshold and the amplitude change index exceeds an amplitude threshold.

[0104] As an optional scheme, the first data processing unit includes a first sub-establishment unit and a first sub-determination unit. The first sub-establishment unit is used to establish a spatial coordinate system within the environment where the air conditioner is located and determine the handheld device coordinates. The first sub-determination unit is used to estimate the angle of arrival (AHA) of the first channel state information in the spatial coordinate system to obtain a first AHA, estimate the angle of arrival (AHA) of the second channel state information in the spatial coordinate system to obtain a second AHA, determine the user coordinates based on the first and second AHAs, and calculate the distance between the user and the handheld device using the handheld device coordinates and the user coordinates.

[0105] In one optional scheme, the first sub-determination unit includes a first sub-preprocessing unit, a first sub-computation unit, and a second sub-computation unit. The first sub-preprocessing unit preprocesses the first channel state information and the second channel state information. The first sub-computation unit calculates a first covariance matrix based on the preprocessed first channel state information, performs spatial smoothing and decoherence processing on the first covariance matrix to obtain a first smoothed covariance matrix, calculates a second covariance matrix based on the preprocessed second channel state information, and performs spatial smoothing and decoherence processing on the second covariance matrix to obtain a second smoothed covariance matrix. The second sub-computation unit processes the first smoothed covariance matrix using a spatial spectrum estimation algorithm to obtain a first angle of arrival; and processes the second smoothed covariance matrix using a spatial spectrum estimation algorithm to obtain a second angle of arrival.

[0106] In one optional scheme, the first sub-preprocessing unit includes a first sub-processing unit and a second sub-processing unit. The first sub-processing unit is used to perform phase dewinding on the first channel state information and the second channel state information, respectively. The second sub-processing unit is used to perform phase calibration and / or noise reduction processing on the phase-dewinded first channel state information and the second channel state information, respectively.

[0107] In one optional scheme, the second sub-computation unit includes a second sub-algorithm unit, which is used to process the first smoothed covariance matrix using the MUSIC algorithm or the ESPRIT algorithm to obtain the first angle of arrival; and to process the second smoothed covariance matrix using the MUSIC algorithm or the ESPRIT algorithm to obtain the second angle of arrival.

[0108] In one optional scheme, the second data processing unit includes a second sub-determination unit, which is used to calculate the first-order differential energy of the amplitude of the first channel state information in the time dimension to obtain an amplitude change index; or, the second sub-determination unit is used to calculate the spatial perturbation variance of the amplitude of the first channel state information to obtain an amplitude change index.

[0109] In one optional scheme, the second sub-determination unit includes a third sub-computation unit, which is used to calculate the first-order difference of the amplitude in the time dimension, calculate the mean square value of the first-order difference on the subcarrier, and obtain the first-order difference energy; wherein, the mean square value is the average of the squared amplitude difference values ​​of each subcarrier.

[0110] This application also provides an air conditioner. It should be noted that the air conditioner in this application embodiment can be used to execute the air conditioner handheld controller control method provided in this application embodiment. This device is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0111] The air conditioner provided in the embodiments of this application will be described below.

[0112] This application embodiment also provides an air conditioner, which includes a processor, a memory, a transmitting module, and a receiving module. The receiving module includes a first receiving module and a second receiving module. The transmitting module is used to transmit an initial carrier signal, the first receiving module is used to receive a first set of channel state information, and the second receiving module is used to receive a second set of channel state information. The first set of channel state information and the second set of channel state information are used to obtain the distance between the user and the handheld controller of the air conditioner. The first set of channel state information is used to obtain an amplitude change index. The memory is used to store computer execution instructions. When the air conditioner is running, the processor executes the computer execution instructions stored in the memory to make the air conditioner perform the air conditioner handheld controller control method described above.

[0113] Specifically, the air conditioner handheld controller control method includes:

[0114] Step S101: Obtain the first channel state information and the second channel state information in the environment where the air conditioner is located. The first channel state information and the second channel state information are the channel state information received by the air conditioner at different locations in the environment.

[0115] Step S102: Perform a first process on the first channel state information and the second channel state information to obtain the distance between the user and the handheld device;

[0116] Step S103: Perform a second processing on the first channel state information to obtain an amplitude change index, which is a quantitative indicator of the degree of amplitude change of the first channel state information.

[0117] Step S104: When the distance between the user and the handheld device is less than the distance threshold and the amplitude change index is greater than the amplitude threshold, the handheld device displays a bright screen.

[0118] In this embodiment, by setting up a receiving module including a first receiving module and a second receiving module, and cooperating with the processor and memory to execute instructions, the distance between the user and the handheld device is accurately calculated and the amplitude change index is extracted by utilizing the first channel state information and the second channel state information received at different locations. Thus, under the control of the processor, the handheld device screen is driven to light up when the distance and amplitude change index exceed the corresponding thresholds. Compared with the method that relies on a single signal source or simple sensor, this hardware architecture, combined with software control logic, effectively utilizes the multipath characteristics and spatial diversity characteristics of WIFI CSI signals, improves the anti-interference capability and positioning accuracy of human proximity detection, and realizes non-contact, seamless wake-up. This not only improves the convenience and comfort of users when operating the air conditioner handheld device at night, but also avoids the energy waste caused by the screen being constantly on, achieving the dual technical effects of energy saving and intelligent control.

[0119] Furthermore, in this embodiment, the first receiving module is located inside the handheld controller of the air conditioner, and the first receiving module and the second receiving module are located on different sides of the user's activity area. The first receiving module and the second receiving module are at the same height from the ground, and the distance between the first receiving module and the second receiving module is 1~3m. The user's activity area is located within the environment where the air conditioner is located.

[0120] In this embodiment, by separating the first receiving module and the second receiving module, after the transmitting module transmits the initial carrier signal, the first and second receiving modules respectively receive and acquire the first channel state information and the second channel state information from different angles. The purpose is to determine the effective user coordinates by obtaining the first angle of arrival from the first channel state information and the second angle of arrival from the second channel state information, and further obtain the distance between the user and the handheld device. By setting the positional relationship between the first and second receiving modules, accurate and effective user positions can be obtained and their proximity can be judged. Compared with the problems of vague positioning and high misjudgment rate caused by relying on only a single module or disordered deployment in the prior art, this solution effectively solves the problem of inconvenience caused by manual button wake-up at night. It realizes automatic screen-on control based on the user's actual approach intention, improves the convenience of use, and avoids power waste caused by invalid wake-up.

[0121] This application provides a computer storage medium including computer execution instructions. When the computer execution instructions are executed on an air conditioner, the air conditioner performs the steps in the air conditioner manual control method described above.

[0122] Specifically, the air conditioner handheld controller control method includes:

[0123] Step S101: Obtain the first channel state information and the second channel state information in the environment where the air conditioner is located. The first channel state information and the second channel state information are the channel state information received by the air conditioner at different locations in the environment.

[0124] Step S102: Perform a first process on the first channel state information and the second channel state information to obtain the distance between the user and the handheld device;

[0125] Step S103: Perform a second processing on the first channel state information to obtain an amplitude change index, which is a quantitative indicator of the degree of amplitude change of the first channel state information.

[0126] Step S104: When the distance between the user and the handheld device is less than the distance threshold and the amplitude change index is greater than the amplitude threshold, the handheld device displays a bright screen.

[0127] In this embodiment, the storage medium stores execution instructions, enabling the air conditioner to execute steps as described in the air conditioner handheld controller method when running the instructions. By setting up this computer storage medium, the control logic is embedded in a read-write storage medium, allowing the air conditioner hardware to automatically execute the process of acquiring first channel state information and second channel state information received from different locations according to the program instructions in the storage medium, preprocessing the above information to calculate user distance and amplitude change indicators, and then determining whether to trigger the screen-on operation process based on distance and amplitude thresholds. This method of storing the control method in the form of a computer program in the storage medium not only decouples the control logic from the hardware platform, facilitating the optimization of the wake-up strategy through software upgrades, but also ensures that the air conditioner can stably and reliably implement the near-human screen-on function based on WIFI CSI signals without human intervention, thereby effectively avoiding the energy waste caused by the screen being constantly on and improving the convenience and comfort of nighttime operation.

[0128] This invention provides a processor for running a program, wherein the program executes an air conditioner handheld controller method during runtime.

[0129] Specifically, the air conditioner handheld controller control method includes:

[0130] Step S101: Obtain the first channel state information and the second channel state information in the environment where the air conditioner is located. The first channel state information and the second channel state information are the channel state information received by the air conditioner at different locations in the environment.

[0131] Step S102: Perform a first process on the first channel state information and the second channel state information to obtain the distance between the user and the handheld device;

[0132] Step S103: Perform a second processing on the first channel state information to obtain an amplitude change index, which is a quantitative indicator of the degree of amplitude change of the first channel state information.

[0133] Step S104: When the distance between the user and the handheld device is less than the distance threshold and the amplitude change index is greater than the amplitude threshold, the handheld device displays a bright screen.

[0134] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps:

[0135] Specifically, the air conditioner handheld controller control method includes:

[0136] Step S101: Obtain the first channel state information and the second channel state information in the environment where the air conditioner is located. The first channel state information and the second channel state information are the channel state information received by the air conditioner at different locations in the environment.

[0137] Step S102: Perform a first process on the first channel state information and the second channel state information to obtain the distance between the user and the handheld device;

[0138] Step S103: Perform a second processing on the first channel state information to obtain an amplitude change index, which is a quantitative indicator of the degree of amplitude change of the first channel state information.

[0139] Step S104: When the distance between the user and the handheld device is less than the distance threshold and the amplitude change index is greater than the amplitude threshold, the handheld device displays a bright screen.

[0140] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0141] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0142] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0143] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0144] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0145] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0146] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, like read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0147] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0148] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0149] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0150] As can be seen from the above description, the embodiments of this application achieve the following technical effects:

[0151] (1) This application obtains the first set of channel state information and the second set of channel state information received at different locations in the environment where the air conditioner is located, and obtains the distance between the user and the handheld device by performing a first processing on the first channel state information and the second channel state information, and obtains the amplitude change index by performing a second processing on the first channel state information. When the user approaches the handheld device, and the threshold conditions of "distance between the user and the handheld device" and "amplitude change index of the first channel state information" are met at the same time, the handheld device will light up, thereby realizing the screen-on function when the user approaches. It can also reduce the false trigger rate caused by multipath effect, environmental changes or the static state of the human body, and solve the problem of the handheld device screen being constantly lit at night or needing to be manually woken up by pressing a button.

[0152] (2) This application determines the user coordinates by obtaining the first angle of arrival from the first channel state information and the second angle of arrival from the second channel state information, and then calculates the distance between the user and the handheld device by using the user coordinates and the handheld device coordinates. This avoids the inaccuracy of relying solely on signal strength to estimate distance, which is easily affected by obstruction or multipath effects. It realizes the accurate extraction of spatial location information from multi-location channel state information, thereby ensuring the spatial accuracy of subsequent distance-based judgment of whether the user is close to the handheld device.

[0153] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for controlling an air conditioner using a handheld controller, characterized in that, Applied to an air conditioner, the air conditioner including a handheld device, the method includes: The first channel state information and the second channel state information within the environment where the air conditioner is located are obtained. The first channel state information and the second channel state information are channel state information received by the air conditioner at different locations within the environment. The first channel state information and the second channel state information are processed to obtain the distance between the user and the handheld device. The first channel state information is processed in a second way to obtain an amplitude change index, which is a quantitative indicator of the degree of amplitude change of the first channel state information. When the distance is less than a distance threshold and the amplitude change index is greater than an amplitude threshold, the handheld device displays a bright screen.

2. The control method according to claim 1, characterized in that, The first processing of the first channel state information and the second channel state information to obtain the distance between the user and the handheld device includes: Establish a spatial coordinate system within the environment where the air conditioner is located, and determine the coordinates of the handheld device; An angle of arrival (AHA) is estimated for the first channel state information in the spatial coordinate system to obtain a first AHA. An angle of arrival (AHA) is estimated for the second channel state information in the spatial coordinate system to obtain a second AHA. User coordinates are determined based on the first AHA and the second AHA. The distance between the user and the handheld device is calculated using the handheld device coordinates and the user coordinates.

3. The control method according to claim 2, characterized in that, The step of estimating the angle of arrival (AHA) of the first channel state information and the second channel state information in the spatial coordinate system to obtain the first AHA and the second AHA includes: Preprocess the first channel state information and the second channel state information; Based on the preprocessed first channel state information, a first covariance matrix is ​​calculated, and spatial smoothing and decoherence processing is performed on the first covariance matrix to obtain a first smoothed covariance matrix; based on the preprocessed second channel state information, a second covariance matrix is ​​calculated, and spatial smoothing and decoherence processing is performed on the second covariance matrix to obtain a second smoothed covariance matrix. The first smoothed covariance matrix is ​​processed using a spatial spectrum estimation algorithm to obtain the first angle of arrival; the second smoothed covariance matrix is ​​processed using a spatial spectrum estimation algorithm to obtain the second angle of arrival.

4. The control method according to claim 3, characterized in that, The preprocessing of the first channel state information and the second channel state information includes: Phase dewinding is performed on the first channel state information and the second channel state information respectively; Phase calibration and / or denoising processing are performed on the first channel state information and the second channel state information after phase dewinding, respectively.

5. The control method according to claim 3, characterized in that, The first smooth covariance matrix is ​​processed using a spatial spectrum estimation algorithm to obtain the first angle of arrival; The second smoothed covariance matrix is ​​processed using a spatial spectrum estimation algorithm to obtain the second angle of arrival, including: The first smooth covariance matrix is ​​processed using the MUSIC algorithm or the ESPRIT algorithm to obtain the first angle of arrival; The second smooth covariance matrix is ​​processed using the MUSIC algorithm or the ESPRIT algorithm to obtain the second angle of arrival.

6. The control method according to claim 1, characterized in that, The second processing of the first channel state information to obtain the amplitude change index includes: Calculate the first-order difference energy of the amplitude of the first channel state information in the time dimension to obtain the amplitude change index; or, The spatial perturbation variance of the amplitude of the first channel state information is calculated to obtain the amplitude change index.

7. The control method according to claim 6, characterized in that, The calculation of the first-order difference energy of the amplitude of the first channel state information in the time dimension to obtain the amplitude change index includes: The first-order difference of the amplitude in the time dimension is calculated, and the mean square value of the first-order difference on the subcarrier is calculated to obtain the first-order difference energy; wherein, the mean square value is the average of the squared amplitude difference values ​​of each subcarrier.

8. An air conditioner, characterized in that, The air conditioner includes a processor, a memory, a transmitting module, and a receiving module. The receiving module includes a first receiving module and a second receiving module. The transmitting module is used to transmit an initial carrier signal. The first receiving module is used to receive a first set of channel state information, and the second receiving module is used to receive a second set of channel state information. The first set of channel state information and the second set of channel state information are used to obtain the distance between the user and the handheld controller of the air conditioner. The first set of channel state information is used to obtain an amplitude change index. The memory is used to store computer execution instructions. When the air conditioner is running, the processor executes the computer execution instructions stored in the memory to cause the air conditioner to perform the air conditioner handheld controller control method as described in any one of claims 1 to 7.

9. The air conditioner according to claim 8, characterized in that, The first receiving module is located inside the handheld controller of the air conditioner. The first receiving module and the second receiving module are located on different sides of the user's activity area. The first receiving module and the second receiving module are at the same height from the ground. The distance between the first receiving module and the second receiving module is 1~3m. The user's activity area is located within the environment where the air conditioner is located.

10. A computer storage medium, characterized in that, The computer storage medium includes computer execution instructions that, when executed on the air conditioner, cause the air conditioner to perform the steps in the air conditioner manual control method as described in any one of claims 1 to 7.