Air conditioner control method and device, equipment and storage medium

By obtaining the action information and air quality parameters in the air -conditioning equipment environment, determine and send a linkage instruction to the fresh air device, solve the problems that existing air -conditioning equipment cannot meet complex detection and functional requirements, and realize the complex linkage and user experience of the air -conditioning fresh air system and user experience Improvement.

CN119353760APending Publication Date: 2025-01-24MIDEA GROUP WUHAN REFRIGERATION EQUIPMENT CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310914813.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-24
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

Existing air-conditioning equipment cannot meet users' complex detection and functional needs, especially in the linkage of air quality and user action information.

Method used

By obtaining the action information and air quality parameters of the target objects in the current environment, based on this information, determine whether the preset linkage occurs, and generate and send a corresponding linkage instruction to the fresh air device. This method combines wireless channel status information and machine learning models to realize the complex linkage of the air -conditioning fresh air system.

Benefits of technology

The complex linkage and multi -dimensional scenarios of the air -conditioning fresh air system have been realized, which enhances the user experience and can more accurately respond to indoor air quality and user action information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119353760A_ABST
    Figure CN119353760A_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 is applied to the air conditioner with a fresh air device and comprises the steps that action information and air quality parameters of a target object in the current environment are obtained; and based on the action information and the air quality parameters, whether a preset linkage condition occurs or not is determined, and if yes, a linkage instruction is generated and sent to the fresh air device. Thus, by combining the action information of the target object in the current environment and the air quality parameters, the linkage instruction is sent to the fresh air device, complex linkage and multi-dimensional scene combination of the fresh air system of the air conditioner are achieved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the development of air conditioning technology, most of the current air conditioning equipment has the function of fresh air. The fresh air function refers to controlling the rapid circulation of indoor air and outdoor air to increase the content of fresh air indoors.

[0003] In the related art, there are only solutions for controlling the fresh air system for simple linkage, for example, linking the air conditioning fresh air system based on the air parameters detected by relevant sensors to update the indoor air quality. However, it cannot meet the needs of users to realize complex detection and functions. 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 realize complex linkage of an air conditioning fresh air system and enhance user experience.

[0005] In a first aspect, the embodiments of the present application provide a control method, device, equipment and storage medium for an air conditioner, including:

[0006] Obtain the action information and air quality parameters of the target object in the current environment;

[0007] Based on the action information and the air quality parameters, it is determined whether a preset linkage situation occurs. If so, a linkage instruction is generated and sent to the fresh air device.

[0008] In some embodiments, the determining whether a preset linkage situation occurs based on the action information and the air quality parameter includes:

[0009] Determine whether it is within the range of the preset linkage situation based on the action information, the air quality parameter and a first mapping relationship, wherein the first mapping relationship represents a correspondence between the action information and the air quality parameter in the current environment and the preset linkage situation;

[0010] If so, it is determined that a preset linkage situation occurs in the current environment.

[0011] In some embodiments, generating and sending a linkage instruction to the fresh air device includes:

[0012] Based on the preset linkage situation and the second mapping relationship, determining the linkage instruction type; the linkage instruction type includes at least: a first instruction for instructing to control the fresh air device to be turned on and a second instruction for instructing to control the fresh air device to be turned off, and the second mapping relationship includes a correspondence between the preset linkage situation and the linkage instruction type;

[0013] The fresh air device is controlled to be turned on based on the first instruction, or the fresh air device is controlled to be turned off based on the second instruction.

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

[0015] Acquire wireless channel status information sent by a router device and / or at least one wireless device in the current environment;

[0016] Based on the wireless channel state information, action information of the target object is determined.

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

[0018] Determine, based on the distance between the routing device and the at least one wireless device and a preset distance threshold, a node type corresponding to the at least one wireless device, the node type comprising a far node whose distance between the routing device and the wireless device meets the preset distance threshold and a near node whose distance between the routing device and the wireless device does not meet the preset distance threshold;

[0019] If the node type of the wireless device is a far node, instruction information is sent to the near node, where the instruction information is used to instruct the near node to obtain the wireless channel state information of the far node.

[0020] In some embodiments, determining the action information of the target object based on the wireless channel state information includes:

[0021] Performing Fourier transform on the wireless channel state information to extract action features corresponding to the wireless channel state information;

[0022] Based on the motion features and the machine learning model, the motion information of the target object is determined.

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

[0024] Get current environment information;

[0025] The first mapping relationship is determined based on the current environment information and a third mapping relationship, where the third mapping relationship is used to characterize the correspondence between the environment information and the first mapping relationship.

[0026] In a second aspect, an embodiment of the present application provides a control device for an air conditioner, which is applied to an air conditioner with a fresh air device, comprising:

[0027] An acquisition module is used to obtain the motion information and air quality parameters of the target object in the current environment;

[0028] The determination module is used to determine whether a preset linkage situation occurs based on the action information and the air quality parameter, and if so, control the air conditioner to send linkage instruction information to the target device.

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

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

[0031] In some embodiments, the electronic device is an air conditioner.

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

[0033] The control method of the air conditioner provided in the embodiment of the present application is applied to an air conditioner with a fresh air device, and the method includes: obtaining the action information and air quality parameters of the target object in the current environment; based on the action information and the air quality parameters, determining whether a preset linkage situation occurs, and if so, generating and sending a linkage instruction to the fresh air device. In this way, by combining the action information and air quality parameters of the target object in the current environment and sending a linkage instruction to the fresh air device, the complex linkage and multi-dimensional scene combination of the air conditioning fresh air system are realized, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0035] Figure 2 This is a schematic diagram of a control method of combining CSI technology with an air conditioning system in an application example of this application;

[0036] Figure 3 This is a schematic diagram of the principle of the CSI technology in an application example of this application;

[0037] Figure 4 This is a flow chart of CSI collection in an application example of this application;

[0038] Figure 5This is a structural diagram of CSI single-node collection in an application example of this application;

[0039] Figure 6 This is a structural diagram of CSI multi-node collection in an application example of this application;

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

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

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

[0043] 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.

[0044] The embodiment of the present application provides a control method for an air conditioner, which is applied to an air conditioner with a fresh air device, wherein the air conditioner includes a control module, and the fresh air device is connected to the control module of the air conditioner. The fresh air device is used to quickly circulate indoor air and outdoor air to increase the content of fresh air in the room. Figure 1 As shown, the specific steps of this method are as follows:

[0045] Step 110: Obtain the motion information and air quality parameters of the target object in the current environment.

[0046] Here, the current environment includes but is not limited to factories, stadiums, schools, residences and general rooms. The target object may be a person in the current environment. Action information may include: breathing, falling and exercise, etc. Air quality parameters may include: air concentration information, air temperature information and air humidity information in the current environment, etc. The target object here may be one or more. Here, sensors can be used to detect control parameters in the current environment. The sensors here include carbon dioxide sensors and TVOC (Total Volatile Organic Compounds) sensors.

[0047] Step 120: Based on the action information and the air quality parameters, determine whether a preset linkage situation occurs. If so, generate and send a linkage instruction to the fresh air device.

[0048] Here, the preset linkage conditions include rapid breathing of the human body and poor indoor air quality, or someone is at home and indoor harmful gases are seriously exceeded, etc. When it is determined that the above linkage conditions occur, a linkage instruction is generated and sent to the fresh air device.

[0049] Here, when it is determined that the above linkage situation occurs, a linkage instruction may also be generated and sent to other devices, such as third-party terminals such as mobile phones, to remind the user or send an alarm to the user.

[0050] In this way, by combining the action information and air quality parameters of the target object in the current environment, linkage instructions are sent to the fresh air device, realizing the complex linkage and multi-dimensional scene combination of the air-conditioning fresh air system, thereby improving the user experience.

[0051] In some embodiments, determining whether a preset linkage situation occurs based on the action information and the air quality parameter includes:

[0052] Based on the action information, the air quality parameter and the first mapping relationship, determining whether it is within the range of the preset linkage situation, the first mapping relationship representing the correspondence between the action information and the air quality parameter and the preset linkage situation in the current environment;

[0053] If so, it is determined that the preset linkage situation occurs in the current environment.

[0054] Here, based on the action information, control quality parameters and the first mapping relationship, it is determined whether it is within the range of the preset linkage situation. The first mapping relationship here represents the correspondence between the action information and air quality parameters in the current environment and the preset linkage situation, that is, the first mapping relationship represents which action information and air quality parameters correspond to the preset linkage range in the current environment.

[0055] Exemplarily, the first mapping relationship is the correspondence between action information in a general room, air quality parameters, and preset linkage situations. Assuming that the air quality parameter is the concentration of carbon dioxide, and the action information is human breathing, the first mapping relationship includes the correspondence between human breathing frequency, carbon dioxide concentration, and preset linkage situations. For example, the first mapping relationship may include the preset linkage situation 1 corresponding to when the concentration of carbon dioxide is high and the human breathing frequency is rapid. If the carbon dioxide concentration obtained at this time is high and the human breathing frequency is rapid, it is determined to be within the range of the preset linkage situation, and a linkage instruction is sent to the fresh air device.

[0056] In some embodiments, generating and sending a linkage instruction to a fresh air device includes:

[0057] Based on the preset linkage situation and the second mapping relationship, the linkage instruction type is determined; the linkage instruction type includes at least: a first instruction for instructing to control the fresh air device to be turned on and a second instruction for instructing to control the fresh air device to be turned off, and the second mapping relationship includes a correspondence between the preset linkage situation and the linkage instruction type;

[0058] The fresh air device is controlled to be turned on based on the first instruction, or the fresh air device is controlled to be turned off based on the second instruction.

[0059] Here, when it is determined that a preset linkage situation has occurred, it is also necessary to determine what type of linkage instruction to send to the fresh air device based on the preset linkage situation and the second mapping relationship. The linkage instruction type includes at least: a first instruction for instructing to control the fresh air device to turn on and a second instruction for instructing to control the fresh air device to turn off. The second mapping relationship includes a correspondence between the preset linkage situation and the linkage instruction type.

[0060] Exemplarily, if the linkage instruction type includes a first instruction and a second instruction, the second mapping relationship includes the correspondence between preset linkage situations 1 to preset linkage situations N and the first instruction and the second instruction. If the linkage instruction type corresponding to preset linkage situation 1 in the second mapping relationship is the first instruction, that is, when preset linkage situation 1 occurs, the linkage instruction type is determined to be the first instruction, and the fresh air device is controlled to be turned on based on the first instruction. If the linkage instruction type corresponding to preset linkage situation 2 in the second mapping relationship is the second instruction, that is, when preset linkage situation 2 occurs, the linkage instruction type is determined to be the second instruction, and the fresh air device is controlled to be turned off based on the second instruction.

[0061] Here, for the fresh air device, it also includes different control gears. If the control gear of the fresh air device includes a first gear and a second gear, the second mapping relationship may also include a third instruction for controlling the fresh air device to turn on the first gear and a fourth instruction for controlling the fresh air device to turn on the second gear. Here, when it is determined that the above-mentioned linkage situation occurs, a linkage instruction may also be generated and sent to other devices, such as third-party terminals such as mobile phones, to remind users or send alarms to users.

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

[0063] Acquire wireless channel status information sent by a router device and / or at least one wireless device in a current environment;

[0064] Based on the wireless channel state information, the motion information of the target object is determined.

[0065] Here, the control module of the air conditioner can directly obtain the wireless channel status information sent by the router device and / or directly obtain the wireless channel status information sent by at least one wireless device in the current environment. Now, not only can the wireless channel status information be sent to the control module by the router, but at least one wireless device in the current environment can also be used to directly send the wireless channel status information to the control module, thereby improving the integrity of the wireless signal status information to achieve the purpose of CSI link acquisition of the control module.

[0066] Here, the user's action information is determined based on the Channel State Information (CSI). The movement of human body parts will cause changes in the reflection of wireless signals, which will cause changes in CSI. CSI actually describes the propagation process of wireless signals between the transmitter and the receiver. By analyzing the CSI data stream of different activities, human behavior can be identified.

[0067] Here, the wireless channel status information sent by the router device and / or at least one wireless device in the current environment can be obtained based on the 802.11ax protocol, so that multiple devices can be used simultaneously, the number of subcarriers is increased and the frame interval overhead is reduced, the transmission accuracy is ensured, and the action information of the target object is determined more accurately.

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

[0069] Determine, based on the distance between the routing device and the at least one wireless device and a preset distance threshold, a node type corresponding to the at least one wireless device, the node type including a far node where the distance between the routing device and the wireless device meets the preset distance threshold, and a near node where the distance between the routing device and the wireless device does not meet the preset distance threshold;

[0070] If the node type of the wireless device is a far node, a command message is sent to the near node, and the command message is used to instruct the near node to obtain the wireless channel state information of the far node. Here, for the routing device and at least one wireless device in the current environment, the node type corresponding to the at least one wireless device can be determined based on the distance between the routing device and the at least one wireless device and the preset distance threshold, thereby realizing multi-node relay. Multi-node relay refers to a far node where the distance between the routing device and the wireless device meets the preset distance threshold. When detecting the target object, data and signals can be transmitted with the help of the near node. In this way, CSI detection in a wider area can be achieved.

[0071] In some embodiments, determining the motion information of the target object based on the wireless channel state information includes:

[0072] Performing Fourier transform on the wireless channel state information to extract action features corresponding to the wireless channel state information;

[0073] Based on motion features and machine learning models, the motion information of the target object is determined.

[0074] Here, after obtaining the wireless channel state information, it is necessary to extract the motion features corresponding to the CSI, and perform Fourier transform based on the wireless channel state data to convert it to the frequency domain, that is, to detect the frequency change of the signal over time. For example, when the target object performs intense exercise, such as running and walking, high energy at high frequency can be displayed in the spectrum graph. Then, the motion features are input into the machine learning model to identify the motion information of the target object.

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

[0076] Get current environment information;

[0077] Based on the current environment information and the third mapping relationship, the first mapping relationship is determined, and the third mapping relationship is used to characterize the correspondence between the environment information and the first mapping relationship.

[0078] Here, environmental information may include factories, residences, gymnasiums, etc. The user can identify the current environment and send it to the control module, and the control module obtains the current environmental information. Based on the current environmental information and the third mapping relationship, the first mapping relationship is determined, and the third mapping relationship is used to characterize the correspondence between the environmental information and the first mapping relationship. For different environments, the corresponding preset linkage conditions are different, so the corresponding first mapping relationship is also different. Therefore, based on the current environmental information and the third mapping relationship, the first mapping relationship is determined, which improves the accuracy of the linkage control.

[0079] The following is an explanation with reference to an application example.

[0080] In the related technology, with the development of air conditioning technology, most of the current air conditioning equipment has the fresh air function. The introduction of the fresh air function can make the indoor air and outdoor air circulate quickly to increase the indoor fresh air content. In the current fresh air system of the air conditioner, the fresh air system is turned on for ventilation processing and mainly relies on a single carbon dioxide sensor. Then the fresh air system is used for simple linkage. More complex safety detection and execution functions have almost never appeared on the market.

[0081] Based on this, this application example provides a design scheme that uses TVOC sensors combined with Wi-Fi CSI (Channel State Information) technology to link the air conditioning and fresh air system. It uses the TVOC sensor and fresh air system function of the air conditioner combined with Wi-Fi wireless CSI technology, that is, through the introduction of high-end TVOC sensors, it can greatly detect the indoor air quality. The air parameters of the sensor are used to link the air conditioning and fresh air system to update the indoor air quality, realizing indoor air quality detection, human status detection, and intelligent air quality update functions.

[0082] Reference Figure 2 , WIFI CSI dynamically scans the movement information of people, and the indoor air quality monitoring device controls the air quality sensor TVOC to obtain indoor air quality parameters. In this way, based on the CSI technology combined with the air quality sensor TVOC of the air conditioning system, multi-dimensional scene combination can be achieved.

[0083] The CSI end can obtain the action information of the target object in the current environment;

[0084] The target object here is a person, and the action information includes: human breathing information, falling information and movement information.

[0085] The air quality sensor TVOC is installed on the air conditioning system to obtain the air quality parameters in the current environment. The control quality parameters can include multiple judgment dimensions, such as: excellent indoor air quality, poor indoor air quality, serious excess of indoor harmful gas solubility, etc. Through the obtained air quality parameters and the system's default threshold or user-set threshold, it can be determined that the current indoor air quality is excellent, or the indoor air quality is poor or the indoor harmful gas solubility is seriously exceeded. Multiple indoor air quality dimensions.

[0086] Based on the action information obtained by CSI and the air quality parameters detected by the TVOC (Total Volatile Organic Compounds) sensor, it is determined whether the preset linkage situation occurs. If so, a linkage instruction is generated and sent to the fresh air device. The TVOC sensor is a new type of sensor for indoor air quality. It uses the principle of "adsorption effect" to accurately detect pollutants in the air and can operate for a long time without being affected by the outside world. Therefore, it can detect indoor air quality in real time and provide effective control measures for pollution sources and pollutants.

[0087] Reference Figure 2, the control module obtains the current environmental information sent by the user; based on the current environmental information and the third mapping relationship, the first mapping relationship is determined, and the third mapping relationship is used to characterize the correspondence between the environmental information and the first mapping relationship. Here, the first mapping relationship corresponding to different scenes is different. Assume that the current user's environment is a general room. In a general room, the main preset linkage situations involved are preset linkage situations such as excessive carbon dioxide concentration and people falling. In sports venues such as gymnasiums, the main preset linkage situations involved are poor air quality and rapid breathing rates. The room is equipped with an air conditioner with a fresh air device, and the fresh air device here is a fresh air system. Users can also choose the current environment or customize the scene by themselves, but scenes involving danger cannot be canceled.

[0088] like Figure 2 As shown, the user's linkage instruction types include an instruction to automatically turn on the fresh air system, i.e., a first instruction, an instruction to turn off the fresh air system, i.e., a second instruction, instruction information to instruct control to send prompt information to the user, and an instruction to instruct control to send an alarm to the user.

[0089] It is assumed that the preset linkage situations include: linkage situation 1, carbon monoxide or carbon dioxide in the air exceeds the standard, and there are people at home; linkage situation 2, indoor air quality is poor and the human breathing rate is rapid; linkage situation 3, there are people at home, but the indoor harmful gases seriously exceed the standard; linkage situation 4, no one is at home, and the harmful gases exceed the standard.

[0090] For the above-mentioned preset linkage situation, the first mapping relationship represents the correspondence between the action information and air quality parameters in the current environment and the preset linkage situation; that is, when the acquired action information and air quality parameters are within the range of the above-mentioned linkage situation, it is determined that the preset linkage situation occurs, and a linkage instruction is generated and sent to the fresh air device. The second mapping relationship includes the correspondence between the preset linkage situation and the linkage instruction type, and the linkage instruction type is determined based on the preset linkage situation and the second mapping relationship.

[0091] The second mapping relationship here may include: preset linkage situation 1 corresponds to the first instruction, preset linkage situation 2 corresponds to the instruction to issue an alarm to the user, preset linkage situation 3 corresponds to the first instruction, and preset linkage situation 4 corresponds to the first instruction and the instruction to issue an alarm to the user APP. The control module executes the content of the corresponding instruction based on the above instructions. For example, the fresh air device is controlled to be turned on based on the first instruction, or the fresh air device is controlled to be turned off based on the second instruction.

[0092] In this way, for the preset linkage situation 1, early warning and intervention of indoor safety conditions such as brain damage caused by excessive carbon monoxide and carbon dioxide in the indoor environment, harmful gases or gas leaks in the room can be achieved. For the preset linkage situation 2: When Wi-Fi CSI detects that the human body is breathing rapidly or the harmful gases are seriously exceeded, the fresh air system of the air conditioner will be activated. For the preset linkage situation 3: When it is determined that there are people at home, but the indoor harmful gases are seriously exceeded, the fresh air system will also be activated. For the preset linkage situation 4, after going out, if the harmful gases at home exceed the standard, an alarm message will be directly displayed on the mobile phone or third-party terminal to prevent the situation where no one is notified due to accidents.

[0093] The following describes how to obtain user action information based on wireless CSI technology.

[0094] In existing systems, users must wear devices with motion sensors (such as gyroscopes and accelerometers) to obtain their motion information. This makes its application very limited (people cannot wear devices all the time). Alternatively, camera-based systems can be used to identify users' motion information, but they may involve privacy issues and have great limitations. However, passive monitoring systems based on wireless signals can avoid the above problems.

[0095] In a related scheme, the motion information of the human body can be identified based on the received signal strength. The received signal strength (RSS) means that when a person is between a Wi-Fi device and an AP (Wireless Access Point), the signal will be attenuated, so different RSS will be observed. However, although RSS is very simple to use and can be easily measured, it cannot capture the real changes in the signal caused by the movement of the person.

[0096] like Figure 3 As shown, Figure 3 The figure is a schematic diagram of the principle of CSI. In the scenario of wireless CSI, it includes a transmitter, a receiver and a reflector. For example, for walking speed, the sampling rate required for CSI is below a few hundred Hz, which is easy to implement on Wi-Fi devices. Based on this, this application example uses CSI technology to identify human motion information. That is, the CSI information available on the Wi-Fi device can estimate the Doppler shift with a sampling rate of only a few hundred Hz. The specific analysis process is as follows:

[0097] To extract the Doppler information, the frequency-time Doppler profile can be calculated by taking a Fast Fourier Transform (FFT) on the samples in a half-second window, then shifting the window by 5 milliseconds and continuing the process. This technique is also known as the Short-Time Fourier Transform (STFT). Figure 3When a person moves in an environment, the path length of the reflected signal from the human body changes accordingly, which introduces a Doppler frequency shift f on the carrier frequency of the reflected signal. d :

[0098]

[0099] Where f represents the center frequency of the signal carrier, v path represents the speed of change of path length, c represents the speed of light, and f d is the Doppler shift.

[0100] Note: For a 5GHz Wi-Fi signal, such as channel 64, the center frequency is 5.32GHz. The maximum walking speed of a human is 1.5m / s, so f d Approximately equal to 27Hz.

[0101] For Wi-Fi signals, CSI represents the amplitude attenuation and phase change of each subcarrier from the transmitter to the receiver. The Doppler shift can be derived from the phase change. Considering only one incident signal, CSI at time t0 can be expressed as:

[0102]

[0103] Among them, A0 represents the amplitude attenuation, τ0 represents the delay, that is, the time it takes for the signal to propagate from the transmitter to the receiver. If the propagation path length changes at a speed of v and the amplitude attenuation change is ignored, the path length changes by Δl after a short time t. path =vt, delay variation At this time, CSI can be expressed as:

[0104]

[0105] Among them It represents the Doppler shift. For multiple incident signals, CSI can be expressed as:

[0106]

[0107] Where L represents the number of paths, τ i represents the i-th th The propagation delay of each path, v i Represents the i th The speed of path transformation. th The Doppler shift of the path is Therefore, if the sampling rate of CSI is greater than twice the maximum Doppler shift, the Doppler shift of each path signal can be obtained.

[0108] In addition, to use data other than RSS, such as CSI data, the Wi-Fi system must also be modified. The Wi-Fi Universal Software Radio Peripheral (USRP) software radio system is an improved Wi-Fi hardware.

[0109] Here, the control module of the air conditioner can directly obtain the wireless channel status information sent by the router device and / or directly obtain the wireless channel status information sent by at least one wireless device in the current environment. Now, not only can the wireless channel status information be sent to the control module by the router, but at least one wireless device in the current environment can also be used to directly send the wireless channel status information to the control module, thereby improving the integrity of the wireless signal status information to achieve the purpose of CSI link acquisition of the control module.

[0110] Here, the user's action information is determined based on the Channel State Information (CSI). The movement of human body parts will cause changes in the reflection of wireless signals, which will cause changes in CSI. CSI actually describes the propagation process of wireless signals between the transmitter and the receiver. By analyzing the CSI data stream of different activities, human behavior can be identified.

[0111] Here, the wireless channel status information sent by the router device and / or at least one wireless device in the current environment can be obtained based on the 802.11ax protocol, so that multiple devices can be used simultaneously, the number of subcarriers is increased and the frame interval overhead is reduced, the transmission accuracy is guaranteed, and the action information of the target object is determined more accurately. Therefore, the above-mentioned CSI receiver can be set on the control module of the air conditioner, and the CSI transmitter can be set on the router and at least one wireless device in the current environment.

[0112] like Figure 4 As shown, Figure 4 The figure is a flow chart of CSI collection in this application example. The controller module and at least one wireless device are both wifi6 nodes. The controller module in this application example is wifi6 node 1. Figure 4 and Figure 5 As shown, Figure 5 Schematic diagram of the structure of CSI single node acquisition In the related technology, CSI acquisition is carried out between WiFi6 node 1 and the router, but in this application example, Figure 4 and Figure 6 As shown, Figure 6 This is a schematic diagram of the structure of CSI multi-node collection. In this way, not only can the collection be performed using the connection between the controller module and the router, but also CSI data can be sent to the control module based on at least one wireless device to achieve the purpose of CSI link collection, which has a wide range of applications.

[0113] In this application example, a method for obtaining wireless channel data in a multi-node relay manner is also provided, including:

[0114] Determine, based on the distance between the routing device and the at least one wireless device and a preset distance threshold, a node type corresponding to the at least one wireless device, the node type including a far node where the distance between the routing device and the wireless device meets the preset distance threshold, and a near node where the distance between the routing device and the wireless device does not meet the preset distance threshold;

[0115] If the node type of the wireless device is a far node, a command message is sent to the near node, and the command message is used to instruct the near node to obtain the wireless channel status information of the far node. The specific steps are as follows:

[0116] The multi-node relay method can achieve CSI detection in a wider area, such as Figure 6 As shown in the figure, when detecting the target object, the node far away from the router (referred to as the far node) can use the node close to the router (referred to as the near node) to transmit data and signals. When the target object moves between the far node and the near node, the RF signal sent by the far node will also be received by the near node. During the movement of the target, the near node collects the device signal of the far node to analyze the amplitude and phase information difference. This difference signal can then be transmitted to the router to synchronize with other linkage devices in the Internet of Things. There are three situations. In the open space, the amplitude and phase information difference of the RF transceiver data of the far node and the near node is balanced; when there is a target object between the two, there is a time difference in the amplitude and phase information difference of the RF transceiver data of the far node and the near node, and the time length and the RF path are extended, and they are in a stable state; when the target object moves in the middle, the amplitude and phase information of the RF transceiver data of the far node and the near node are in a balanced state in time, extending the path, and then returning to the balanced state.

[0117] Here, Wi-Fi 6 is the abbreviation of the next-generation 802.11ax standard. Wi-Fi 6 (802.11ax) inherits all the advanced MIMO (Multiple Input Multiple Output) features of Wi-Fi 5 (802.11ac) and adds many new features for high-density deployment scenarios. With the help of MU-MIMO (Multi-User Multiple-Input Multiple-Output) and OFDMA (Orthogonal Frequency Division Multiple Access) technologies in 802.11ax, the spectrum can be divided into multiple spectrum blocks, and then allocated to multiple nodes for simultaneous use in the case of MIMO, with a finer and larger number of allocated nodes; a higher-order modulation mode 1024-QAM (Quadrature Amplitude Modulation), which may have been up to 256-QAM before, more subcarriers and lower frame interval overhead, so as to ensure the simultaneous collection of motion information of multiple target objects for precise linkage.

[0118] Next, obtaining the action information of the target object based on the CSI data specifically includes the following steps:

[0119] Based on the wireless channel state information, the action information of the target object is determined, including:

[0120] Performing Fourier transform on the wireless channel state information to extract action features corresponding to the wireless channel state information;

[0121] Here, one way to extract features from the signal is to transform it into another domain, such as the frequency domain. Fast Fourier Transform (FFT), an efficient implementation of Discrete Fourier Transform, can be used for this purpose. Exemplarily, a window size of a certain number of CSI samples is selected, and then FFT is applied to each segment by sliding the window. This technique, also known as Short Time Fourier Transform (STFT), can detect the frequency changes of the signal over time. The next step is to segment the STFT data to distinguish different patterns. For example, a gesture may include a segment with positive and negative Doppler shifts, or two or more segments, each with positive and negative Doppler shifts. Detecting a segment is based on energy detection in a small duration. If the energy is 3 dB above the noise level, the beginning of the segment is found, and if the energy is below 3 dB, the segment has ended. There are three possibilities for each segment: only positive Doppler shift, only negative Doppler shift, and segments with both positive and negative shifts, and three numbers are assigned according to them. Therefore, each gesture is represented by a series of numbers.

[0122] Based on motion features and machine learning models, the motion information of the target object is determined.

[0123] After extracting and analyzing the waveform change features of the WIFI channel state information (CSI), the obtained sequence is compared with the sequence used in training. That is, the human body's action behavior, that is, action information, can be analyzed and identified through the machine learning model. For example: a person falling. Machine learning and deep learning neural network models have been trained with a large number of data samples, and the models can continue to learn and learn more and more intelligent models, which can recognize a variety of human behavior actions, such as falling, sitting, lying, etc. In addition, this application example can detect multiple moving targets and use the idea that the reflection of each moving target can be regarded as a signal from a wireless transmitter to identify their activities. Using the idea of ​​a multiple-input multiple-output (MIMO) receiver, the reflected signals generated by different people moving in the area can be separated.

[0124] This application example uses the above solution, combined with the CSI capability of the Wi-Fi module, to link the indoor air quality sensor of the air-conditioning system, to build the Internet of Everything, and to enable home air-conditioning equipment to protect human health in all aspects when the fresh air system intervenes in an environment with complex external factors or other safety issues.

[0125] It can be understood that in order to implement the control method of the air conditioner of the embodiment of the present application, the embodiment of the present application also provides a control device of the air conditioner, which corresponds to the above-mentioned control method, and each step in the above-mentioned control method embodiment is also fully applicable to the control device embodiment of the air conditioner.

[0126] like Figure 7 As shown, the control device of the air conditioner in the embodiment of the present application includes: an acquisition module 710 and a determination module 720. The acquisition module 710 is used to acquire the motion information and air quality parameters of the target object in the current environment; the determination module 720 is used to determine whether a preset linkage situation occurs based on the motion information and the air quality parameters, and if so, control the air conditioner to send linkage instruction information to the target device.

[0127] In some embodiments, the determination module 720 is further used to determine whether it is within the range of a preset linkage situation based on the action information, the air quality parameter and the first mapping relationship, the first mapping relationship representing the correspondence between the action information and the air quality parameter in the current environment and the preset linkage situation;

[0128] If so, it is determined that the preset linkage situation occurs in the current environment.

[0129] In some embodiments, the determination module 720 is also used to determine the linkage instruction type based on a preset linkage situation and a second mapping relationship; the linkage instruction type includes at least: a first instruction for instructing the control of turning on the fresh air device and a second instruction for instructing the control of turning off the fresh air device, and the second mapping relationship includes the corresponding relationship between the preset linkage situation and the linkage instruction type; the control device of the air conditioner also includes a control module 730, which controls the fresh air device to turn on based on the first instruction, or controls the fresh air device to turn off based on the second instruction.

[0130] In some embodiments, the acquisition module 710 is further used to acquire wireless channel state information sent by a router device and / or at least one wireless device in the current environment; the determination module 720 is further used to determine the action information of the target object based on the wireless channel state information.

[0131] In some embodiments, the determination module 720 is also used to determine the node type corresponding to at least one wireless device based on the distance between the routing device and the at least one wireless device and a preset distance threshold, the node type including a far node where the distance between the routing device and the wireless device meets the preset distance threshold and a near node where the distance between the routing device and the wireless device does not meet the preset distance threshold; if the node type of the wireless device is a far node, an instruction message is sent to the near node, and the instruction message is used to instruct the near node to obtain the wireless channel status information of the far node.

[0132] In some embodiments, the control device of the air conditioner also includes an extraction module 740, which is used to perform Fourier transform on the channel state data to extract motion feature information corresponding to the channel state data; the determination module 720 is also used to determine the motion information of the target object based on the motion feature information and the machine learning model.

[0133] In some embodiments, the acquisition module 710 is further used to acquire current environment information; the determination module 720 is further used to determine the first mapping relationship based on the current environment information and the third mapping relationship, and the third mapping relationship is used to characterize the correspondence between the environment information and the first mapping relationship.

[0134] 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 8 Only 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.

[0135] like Figure 8As shown, the electronic device 800 provided in the embodiment of the present application includes: at least one processor 801, a memory 802 and a user interface 803. The various components in the electronic device 800 are coupled together through a bus system 804. It can be understood that the bus system 804 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 804 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 804 .

[0136] 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.

[0137] 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.

[0138] The control method of the electronic device 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 control method of the electronic device 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 control method of the electronic device provided in the embodiment of the present application in combination with its hardware.

[0139] 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.

[0140] 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.

[0141] It can be understood that in other embodiments, the electronic device may also be an air conditioner.

[0142] 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.

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

[0144] 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: Applied to an air conditioner having a fresh air device, the method comprises: Obtain the action information and air quality parameters of the target object in the current environment; Based on the action information and the air quality parameters, it is determined whether a preset linkage situation occurs. If so, a linkage instruction is generated and sent to the fresh air device.

2. The method according to claim 1, characterized in that The determining whether a preset linkage situation occurs based on the action information and the air quality parameter includes: Determine whether it is within the range of the preset linkage situation based on the action information, the air quality parameter and a first mapping relationship, wherein the first mapping relationship represents a correspondence between the action information and the air quality parameter in the current environment and the preset linkage situation; If so, it is determined that a preset linkage situation occurs in the current environment.

3. The method according to claim 1, characterized in that The generating and sending the linkage instruction to the fresh air device includes: Based on the preset linkage situation and the second mapping relationship, determining the linkage instruction type; the linkage instruction type includes at least: a first instruction for instructing to control the fresh air device to be turned on and a second instruction for instructing to control the fresh air device to be turned off, and the second mapping relationship includes a correspondence between the preset linkage situation and the linkage instruction type; The fresh air device is controlled to be turned on based on the first instruction, or the fresh air device is controlled to be turned off based on the second instruction.

4. The method according to claim 1, characterized in that: The method further comprises: Acquire wireless channel status information sent by a router device and / or at least one wireless device in the current environment; Based on the wireless channel state information, action information of the target object is determined.

5. The method according to claim 4, characterized in that The method further comprises: Determine, based on the distance between the routing device and the at least one wireless device and a preset distance threshold, a node type corresponding to the at least one wireless device, the node type comprising a far node whose distance between the routing device and the wireless device meets the preset distance threshold and a near node whose distance between the routing device and the wireless device does not meet the preset distance threshold; If the node type of the wireless device is a far node, instruction information is sent to the near node, where the instruction information is used to instruct the near node to obtain the wireless channel state information of the far node.

6. The method according to claim 4, characterized in that The determining, based on the wireless channel state information, the action information of the target object includes: Performing Fourier transform on the wireless channel state information to extract action features corresponding to the wireless channel state information; Based on the motion features and the machine learning model, the motion information of the target object is determined.

7. The method according to claim 2, characterized in that The method further comprises: Get current environment information; The first mapping relationship is determined based on the current environment information and a third mapping relationship, where the third mapping relationship is used to characterize the correspondence between the environment information and the first mapping relationship.

8. A control device for an air conditioner, characterized in that: Applicable to air conditioners with fresh air devices, including: An acquisition module is used to obtain the motion information and air quality parameters of the target object in the current environment; The determination module is used to determine whether a preset linkage situation occurs based on the action information and the air quality parameter, and if so, control the air conditioner to send linkage instruction information to the target device.

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

10. The electronic device according to claim 9, characterized in that: The electronic device is an air conditioner.

11. A 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 7 are implemented.