Method and apparatus for controlling air conditioner, air conditioner, and storage medium

CN117366782BActive Publication Date: 2026-10-09QINGDAO HAIER AIR CONDITIONING ELECTRONICS CO LTD +3
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210763320.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2026-10-09
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

这样在用户频繁经过感应器的情况下,将会频繁进行语音播报,从而产生噪音

Benefits of technology

[0018] The method, apparatus, air conditioner, and storage medium for controlling an air conditioner provided in this disclosure can achieve the following technical effects: by acquiring air quality information and controlling indicator lights to display light colors corresponding to the air quality information, users can learn about the air quality information through the light colors of the indicator lights, instead of relying on voice announcements, thereby reducing noise generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117366782B_ABST
    Figure CN117366782B_ABST
Patent Text Reader

Abstract

The application relates to the air conditioner technical field, and discloses a method for controlling an air conditioner, which comprises the following steps: acquiring air quality information; acquiring a light color corresponding to the air quality information; and controlling an indicator light to display the light color. In this way, the air quality information can be obtained by acquiring the air quality information and controlling the indicator light to display the light color corresponding to the air quality information. The user can know the air quality information through the light color of the indicator light, and the voice broadcast for the user is no longer needed, so that the generation of noise can be reduced. The application further discloses a device for controlling the air conditioner, an air conditioner and a storage medium.
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, for example to a method, apparatus, electronic device and storage medium for controlling an air conditioner. Background Technology

[0002] In modern society, large amounts of pollutants emitted from industrial production, such as soot and sulfides, as well as exhaust fumes from transportation, severely damage air quality. Since pollutants such as soot, inhalable particulate matter, and fine particulate matter in air pollution can damage the respiratory system after being inhaled, they seriously threaten the health of the upper respiratory tract and organs such as the heart and lungs. Therefore, attention to air quality and self-protection measures are particularly important. Related technologies typically use voice announcements to provide users with information on the current air quality.

[0003] In the process of implementing the embodiments of this disclosure, at least the following problems were found in the related art:

[0004] Voice playback requires certain triggering conditions, such as the sensor detecting a human body. Therefore, if a user frequently passes by the sensor, voice announcements will occur frequently, generating noise. Summary of the Invention

[0005] To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general commentary, nor is it intended to identify key / important components or describe the scope of protection of these embodiments, but rather as a prelude to the detailed description that follows.

[0006] This disclosure provides a method, apparatus, air conditioner, and storage medium for controlling an air conditioner, which can reduce noise generation while providing air quality information to the user.

[0007] In some embodiments, the indoor unit of the air conditioner is provided with a color-changing indicator light, and the method for controlling the air conditioner includes: acquiring air quality information; acquiring a light color corresponding to the air quality information; and controlling the indicator light to display the light color.

[0008] In some embodiments, obtaining air quality information includes: sending an instruction to a cloud server to obtain air quality information at a set time, triggering the cloud server to provide air quality information.

[0009] In some embodiments, an air quality detector is installed on the outdoor unit of the air conditioner to acquire air quality information, including: sending a command to the air quality detector to acquire air quality information at a set time, triggering the air quality detector to feed back air quality information.

[0010] In some embodiments, obtaining the light color corresponding to the air quality information includes: obtaining the emotional state corresponding to the air quality information in a preset first data table; the first data table stores the correspondence between air quality information and emotional state; obtaining the light color corresponding to the emotional state in a preset second data table; the second data table stores the correspondence between emotional state and light color.

[0011] In some embodiments, the second data table is constructed as follows: when a user is watching a video, a user's facial image is captured; a video image corresponding to the facial image is obtained; the user's emotional state is obtained based on the facial image; the main color tone of the video image corresponding to the facial image is obtained, and the main color tone is determined as the light color corresponding to the emotional state; the correspondence between the emotional state and the light color is stored in the second data table.

[0012] In some embodiments, obtaining the dominant color tone of a video image corresponding to the face image includes: obtaining the color mode HSB value of each pixel in the video image, performing color clustering processing on each pixel of the video image based on the HSB value, obtaining a color clustering image corresponding to the video image, and extracting the dominant color tone of the video image based on the color clustering image.

[0013] In some embodiments, after obtaining the emotional state corresponding to the air quality information from a preset first data table, the method further includes: if the emotional state is a preset emotional state, obtaining the current date; determining whether the current date is a preset date; if the current date is a preset date, obtaining a sports venue to be recommended; and pushing the sports venue to be recommended to the user.

[0014] In some embodiments, the indoor unit of the air conditioner is provided with an indicator light that can change color. The device for controlling the air conditioner includes: a first acquisition module configured to acquire air quality information; a second acquisition module configured to acquire a light color corresponding to the air quality information; and a control module configured to control the indicator light to display the light color.

[0015] In some embodiments, the apparatus for controlling an air conditioner includes a processor and a memory storing program instructions, the processor being configured to execute the method for controlling the air conditioner described above when the program instructions are executed.

[0016] In some embodiments, the air conditioner includes the aforementioned means for controlling the air conditioner.

[0017] In some embodiments, the storage medium stores program instructions that, when executed, perform the method described above for controlling an air conditioner.

[0018] The method, apparatus, air conditioner, and storage medium for controlling an air conditioner provided in this disclosure can achieve the following technical effects: by acquiring air quality information and controlling indicator lights to display light colors corresponding to the air quality information, users can learn about the air quality information through the light colors of the indicator lights, instead of relying on voice announcements, thereby reducing noise generation.

[0019] The above general description and the description below are exemplary and illustrative only and are not intended to limit this application. Attached Figure Description

[0020] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations and drawings do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are shown as similar elements. The drawings are not to be scaled. And wherein:

[0021] Figure 1 This is a schematic diagram of a method for controlling an air conditioner provided in an embodiment of this disclosure;

[0022] Figure 2 This is a schematic diagram of another method for controlling an air conditioner provided in an embodiment of this disclosure;

[0023] Figure 3 This is a schematic diagram of another method for controlling an air conditioner provided in an embodiment of this disclosure;

[0024] Figure 4 This is a schematic diagram of another method for controlling an air conditioner provided in an embodiment of this disclosure;

[0025] Figure 5 This is a schematic diagram of a device for controlling an air conditioner provided in an embodiment of this disclosure;

[0026] Figure 6 This is a schematic diagram of another device for controlling an air conditioner provided in an embodiment of this disclosure. Detailed Implementation

[0027] To provide a more detailed understanding of the features and technical content of the embodiments of this disclosure, the implementation of the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of this disclosure. In the following technical description, for ease of explanation, several details are used to provide a full understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be simplified in their depiction to simplify the drawings.

[0028] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure 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 disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.

[0029] Unless otherwise stated, the term "multiple" means two or more.

[0030] In this embodiment of the disclosure, the character " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B means: A or B.

[0031] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.

[0032] The term "correspondence" can refer to an association or binding relationship. The correspondence between A and B means that there is an association or binding relationship between A and B.

[0033] In related technologies, air quality information is typically announced via voice to alert users to the current air quality. However, voice playback requires certain triggering conditions, such as the sensor detecting a human body. This leads to frequent voice announcements when users frequently pass by the sensor, generating noise. This application, however, obtains air quality information through the air conditioner and controls the indicator light on the air conditioner to display the corresponding light color. This allows users to understand the air quality information through the indicator light color. Compared to voice announcements, this method avoids noise. Furthermore, by using the air conditioner to detect air quality and displaying it via indicator lights, there is no need to purchase separate detection equipment, thus reducing costs.

[0034] Combination Figure 1 As shown, this disclosure provides a method for controlling an air conditioner, wherein the indoor unit of the air conditioner is equipped with a color-changing indicator light, and the method includes:

[0035] Step S101: The air conditioner acquires air quality information.

[0036] Step S102: The air conditioner obtains the light color corresponding to the air quality information.

[0037] Step S103: The air conditioner control indicator light displays a certain color.

[0038] The method for controlling an air conditioner provided in this disclosure acquires air quality information and controls an indicator light to display a color corresponding to that information. This allows the user to be informed of air quality information through the indicator light color, eliminating the need for voice announcements and thus reducing noise generation.

[0039] Optionally, the air conditioner acquires air quality information by sending a command to a cloud server at a set time to obtain air quality information, triggering the cloud server to provide the air quality information. The air conditioner connects wirelessly to the cloud server. This enables it to acquire air quality information.

[0040] In some embodiments, both the air conditioner and the cloud server are connected to the Internet of Things (IoT) via a wireless network, enabling the air conditioner to obtain air quality information from the cloud server through the IoT.

[0041] In some embodiments, the air conditioner is equipped with a backup system for acquiring air quality information. This allows the air conditioner to wirelessly connect to the cloud server and acquire air quality information even when the air conditioner is disconnected from the cloud server.

[0042] Optionally, an air quality detector is installed on the outdoor unit of the air conditioner to acquire air quality information, including: sending a command to the air quality detector at a set time to acquire air quality information, triggering the air quality detector to provide feedback on air quality information. This allows air quality information to be obtained.

[0043] Optionally, obtaining the light color corresponding to the air quality information includes: retrieving the light color corresponding to the air quality information from a preset third database. The third database stores the correspondence between air quality information and light colors.

[0044] Furthermore, after obtaining the light color corresponding to the air quality information, the process also includes: retrieving the light display mode corresponding to the air quality information from a preset fourth database. The fourth database stores the correspondence between air quality information and light display modes.

[0045] Furthermore, after obtaining the lighting display method corresponding to the air quality information, the method also includes: controlling the indicator light to display the light color corresponding to the air quality information according to the lighting display method.

[0046] Combination Figure 2 As shown in the embodiments of this disclosure, a method for controlling an air conditioner is provided, comprising:

[0047] Step S201: The air conditioner acquires air quality information.

[0048] In step S202, the air conditioner retrieves the light color corresponding to the air quality information from a preset third database. The third database stores the correspondence between air quality information and light color.

[0049] In step S203, the air conditioner retrieves the lighting display mode corresponding to the air quality information from the preset fourth database. The fourth database stores the correspondence between air quality information and lighting display modes.

[0050] In step S204, the air conditioner control indicator light displays the light color corresponding to the air quality information according to the light display method.

[0051] The method for controlling an air conditioner provided in this disclosure acquires air quality information and controls indicator lights to display colors corresponding to the air quality information in a manner consistent with the information. This allows users to understand the air quality information through the indicator light colors, eliminating the need for voice announcements and thus reducing noise generation.

[0052] In some embodiments, when the air quality information is excellent, the light color corresponding to the air quality information is green, and the light display method corresponding to the air quality information is a flowing display. Since green represents freshness, health, and comfort, and the flowing light display also conveys vitality, using flowing green light can bring users a refreshing and pleasant feeling, while also inspiring users' desire to go outdoors and experience nature.

[0053] In some embodiments, when the air quality information is good, the light color corresponding to the air quality information is green, and the light display method corresponding to the air quality information is a breathing display. This is to prompt the user to go outside and breathe fresh air.

[0054] In some embodiments, when the air quality information indicates slight pollution, the corresponding light color is orange, and the light display mode is low brightness. This is to alert the user that the outside air is slightly polluted and requires protection.

[0055] In some embodiments, when the air quality information indicates moderate pollution, the corresponding light color is orange, and the light display method is low-frequency flashing. This is to alert the user that the outside air is heavily polluted and requires protection.

[0056] In some embodiments, when the air quality information indicates severe pollution, the corresponding light color is blue, and the light display method is a flowing display. Since blue represents calmness, using flowing blue light can reduce user frustration, allowing users to view the poor air quality more calmly and objectively.

[0057] In some embodiments, when the air quality information indicates severe pollution, the corresponding light color is blue, and the light display method is a constant-on display. According to existing technology, a constantly lit blue light can help users fall asleep. Therefore, using a constantly lit blue light can help users fall back asleep and reduce the likelihood of them going outside.

[0058] Optionally, obtaining the light color corresponding to air quality information includes: obtaining the emotional state corresponding to the air quality information from a preset first data table; the first data table stores the correspondence between air quality information and emotional states; obtaining the light color corresponding to the emotional state from a preset second data table; and the second data table stores the correspondence between emotional states and light colors. Since users exhibit different emotional states when in environments with different air qualities, and users also express different emotions when seeing different colored lights, obtaining the emotional state corresponding to the air quality information and the light color corresponding to the emotional state, and then displaying the light color corresponding to the emotional state to the user, allows the indicator light color to evoke the user's emotional state corresponding to the light color. Furthermore, since the emotional state is associated with air quality information, users can more intuitively perceive air quality based on their own emotional state.

[0059] Combination Figure 3 As shown in the embodiments of this disclosure, a method for controlling an air conditioner is provided, comprising:

[0060] Step S301: The air conditioner acquires air quality information.

[0061] Step S302: The air conditioner obtains the emotional state corresponding to the air quality information from a preset first data table; the first data table stores the correspondence between air quality information and emotional state.

[0062] In step S303, the air conditioner obtains the light color corresponding to the emotional state from a preset second data table; the second data table stores the correspondence between emotional state and light color.

[0063] In step S304, the air conditioner retrieves the lighting display mode corresponding to the air quality information from the preset fourth database. The fourth database stores the correspondence between air quality information and lighting display modes.

[0064] In step S305, the air conditioner control indicator light displays the light color corresponding to the air quality information according to the light display method.

[0065] The method for controlling an air conditioner provided in this disclosure acquires an emotional state corresponding to air quality information, a light color corresponding to that emotional state, and a light display method corresponding to the air quality information. Then, the light color corresponding to the emotional state is displayed to the user according to the light display method corresponding to the air quality information. This allows the user to understand the air quality through the indicator light, eliminating the need for voice announcements and thus preventing noise. Furthermore, since the user's emotional state differs depending on the air quality environment, and different light colors evoke different emotions, acquiring the emotional state and light color corresponding to the air quality information, and then displaying that color to the user, allows the indicator light color to evoke the corresponding emotional state in the user. Simultaneously, because the emotional state is associated with air quality information, the user can more intuitively perceive the air quality based on their own emotional state.

[0066] In some embodiments, the emotional state corresponds to one of the emotions such as happiness, fear, and surprise.

[0067] In some embodiments, when the air quality information is excellent or good, the corresponding emotional state is happiness. When the air quality information is lightly polluted or moderately polluted, the corresponding emotional state is fear. When the air quality information is heavily polluted or severely polluted, the corresponding emotional state is surprise.

[0068] Optionally, the second data table can be constructed as follows: While the user is watching a video, a facial image of the user is captured. A video image corresponding to the facial image is obtained. The user's emotional state is obtained based on the facial image. The dominant color tone of the video image corresponding to the facial image is obtained, and this dominant color tone is determined as the light color corresponding to the emotional state. The correspondence between emotional state and light color is stored in the second data table. Since different users see different colors, their emotional states will differ. By establishing a correspondence between the user's emotional state and light color, a personalized correspondence between emotional state and light color can be customized for each user. This allows for a more accurate display of the light color corresponding to the user's emotional state, enabling the user to more accurately perceive air quality through the indicator light color.

[0069] Optionally, obtaining the video image corresponding to the face image includes: obtaining the time when the face image was captured, determining the time when the face image was captured as the screenshot time, performing screenshot processing on the video at the screenshot time, and obtaining the video image corresponding to the face image. This allows obtaining the video image corresponding to the face image.

[0070] Optionally, obtaining the user's emotional state based on a facial image includes: inputting the facial image into a preset emotion state recognition model to obtain the user's emotional state. This allows the user's emotional state to be obtained.

[0071] Optionally, obtaining the dominant color tone of the video image corresponding to the face image includes: obtaining the HSB (Hue-saturation-brightness) value of each pixel in the video image, and performing color clustering processing on each pixel of the video image based on the HSB values ​​to obtain a color clustering image corresponding to the video image. The dominant color tone of the video image is then extracted from the color clustering image. The video image is an image without people. This allows for the acquisition of colors corresponding to the user's emotional state.

[0072] Optionally, the dominant color tone of the video image is extracted based on the color clustering image, including: using a clustering algorithm to cluster the color clustering image by color, specifically dividing the color clustering image into blocks according to color tone, and aggregating adjacent points with similar HSB color differences into the same color block by averaging them, obtaining color block combinations of the video image, such as triangles, circles, rectangles, etc. The area proportion of each color block in the video image is calculated. The color block with the largest area proportion is determined as the dominant color tone of the video image.

[0073] Optionally, after obtaining the emotional state corresponding to the air quality information from the preset first data table, the method further includes: if the emotional state is a preset emotional state, obtaining the current date; determining whether the current date is a preset date; if the current date is a preset date, obtaining recommended exercise venues; and pushing the recommended exercise venues to the user. Since emotional states correspond to air quality information, if the emotional state is a preset emotional state, it is determined that the air quality information corresponding to the emotional state is suitable for exercise. Furthermore, if the current date is a preset date, obtaining recommended exercise venues and pushing them to the user can reduce the time users spend planning exercise venues, thereby stimulating their desire to go out for exercise.

[0074] In some embodiments, the preset emotional state is happiness. The preset date is a weekend.

[0075] Optionally, the selection of recommended sports venues includes: determining whether it will rain; if it rains, the recommended sports venues will be designated as indoors, such as billiard rooms, swimming pools, table tennis courts, and gyms. If it does not rain, the recommended sports venues will be designated as outdoors, such as parks, outdoor basketball courts, and climbing walls / zip lines.

[0076] Optionally, after obtaining the sports venue to be recommended, the method further includes: obtaining the distance between the sports venue to be recommended and the user, and pushing the distance to the user.

[0077] Combination Figure 4 As shown in the embodiments of this disclosure, a method for controlling an air conditioner is provided, comprising:

[0078] Step S401: The air conditioner acquires air quality information.

[0079] In step S402, the air conditioner obtains the emotional state corresponding to the air quality information from a preset first data table; the first data table stores the correspondence between air quality information and emotional state.

[0080] In step S403, the air conditioner obtains the light color corresponding to the emotional state from a preset second data table; the second data table stores the correspondence between emotional state and light color.

[0081] In step S404, the air conditioner retrieves the lighting display mode corresponding to the air quality information from the preset fourth database. The fourth database stores the correspondence between air quality information and lighting display modes.

[0082] In step S405, the air conditioner control indicator light displays the light color corresponding to the air quality information according to the light display method.

[0083] Step S406: When the air conditioner is in a preset emotional state, it obtains the current date.

[0084] Step S407: The air conditioner determines whether the current date is a preset date.

[0085] In step S408, if the current date is a preset date, the air conditioner obtains the recommended sports venue and the distance between the recommended sports venue and the user.

[0086] In step S409, the air conditioner pushes the recommended sports venue and the distance between the recommended sports venue and the user to the user.

[0087] The method for controlling an air conditioner provided in this disclosure acquires an emotional state corresponding to air quality information and a light color corresponding to that emotional state, then displays the light color corresponding to the emotional state to the user. This allows the user to understand the air quality information through the light color displayed by the indicator light, eliminating the need for voice announcements of air quality information and thus preventing noise. Furthermore, since the user's emotional state differs depending on the air quality environment, and the user's emotional response to different light colors also varies, using different light colors to indicate air quality information allows the user to perceive air quality information more intuitively. Additionally, when the emotional state is a preset emotional state and the current date is a preset date, acquiring recommended exercise venues and pushing them to the user reduces the time the user spends planning exercise venues, thereby stimulating the user's desire to exercise outdoors.

[0088] Combination Figure 5 As shown in the illustration, this disclosure provides a device for controlling an air conditioner. The indoor unit of the air conditioner is equipped with a color-changing indicator light. The device includes a first acquisition module 501, a second acquisition module 502, and a control module 503. The first acquisition module 501 is configured to acquire air quality information. The second acquisition module 502 is configured to acquire the light color corresponding to the air quality information. The control module 503 is configured to control the indicator light to display its color.

[0089] The device for controlling an air conditioner provided in this disclosure acquires air quality information and controls indicator lights to display light colors corresponding to that information. This allows users to understand the air quality information through the color of the indicator lights, eliminating the need for verbal announcements of air quality information and thus preventing noise pollution.

[0090] Optionally, the first acquisition module is configured to acquire air quality information by sending an instruction to the cloud server to acquire air quality information at a set time, thereby triggering the cloud server to provide air quality information.

[0091] Optionally, an air quality detector is installed on the outdoor unit of the air conditioner, and the first acquisition module is configured to acquire air quality information in the following way: send a command to the air quality detector to acquire air quality information at a set time, triggering the air quality detector to provide feedback on air quality information.

[0092] Optionally, the second acquisition module is configured to acquire the light color corresponding to the air quality information in the following ways: acquiring the emotional state corresponding to the air quality information from a preset first data table; the first data table stores the correspondence between air quality information and emotional states. Acquiring the light color corresponding to the emotional state from a preset second data table; the second data table stores the correspondence between emotional states and light colors.

[0093] Optionally, the device for controlling the air conditioner further includes a construction module configured to construct a second data table by: capturing a user's facial image while the user is watching a video; obtaining a video image corresponding to the facial image; obtaining the user's emotional state based on the facial image; obtaining the dominant color of the video image corresponding to the facial image and determining the dominant color as the light color corresponding to the emotional state; and storing the correspondence between the emotional state and the light color in the second data table.

[0094] Optionally, the construction module is configured to obtain the dominant color tone of the video image corresponding to the face image by: obtaining the HSB value of each pixel in the video image, performing color clustering processing on each pixel of the video image based on the HSB value, and obtaining a color clustering image corresponding to the video image; and extracting the dominant color tone of the video image based on the color clustering image.

[0095] Optionally, the device for controlling the air conditioner further includes a third acquisition module, configured to: receive the emotional state corresponding to the air quality information from a preset first data table in the second acquisition module; receive the emotional state sent by the second acquisition module; and, if the emotional state is a preset emotional state, acquire the current date; determine whether the current date is a preset date; if the current date is a preset date, acquire the sports venues to be recommended; and push the sports venues to be recommended to the user.

[0096] Combination Figure 6As shown, this disclosure provides an apparatus for controlling an air conditioner, including a processor 600 and a memory 601. Optionally, the apparatus may further include a communication interface 602 and a bus 603. The processor 600, communication interface 602, and memory 601 can communicate with each other via the bus 603. The communication interface 602 can be used for information transmission. The processor 600 can call logical instructions in the memory 601 to execute the method for controlling the air conditioner described in the above embodiment.

[0097] The device for controlling an air conditioner provided in this embodiment acquires air quality information and controls an indicator light to display a color corresponding to that information. This allows the user to be informed of air quality information through the indicator light color, eliminating the need for voice announcements and thus reducing noise generation.

[0098] Furthermore, the logic instructions in the aforementioned memory 601 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.

[0099] The memory 601, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this disclosure. The processor 600 executes functional applications and data processing by running the program instructions / modules stored in the memory 601, thereby implementing the method for controlling the air conditioner described in the above embodiments.

[0100] The memory 601 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 601 may include high-speed random access memory and may also include non-volatile memory.

[0101] This disclosure provides an air conditioner that includes the above-described device for controlling the air conditioner.

[0102] This disclosure provides a storage medium storing program instructions that, when executed, perform the aforementioned method for controlling an air conditioner.

[0103] This disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions that, when executed by a computer, cause the computer to perform the above-described method for controlling an air conditioner.

[0104] The aforementioned computer-readable storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0105] The technical solutions of this disclosure can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes one or more instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in this disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media capable of storing program code; it can also be a transient storage medium.

[0106] The foregoing description and accompanying drawings fully illustrate embodiments of this disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terminology used in this application is for describing embodiments only and is not intended to limit the claims. As used in the description of embodiments and claims, the singular forms “a,” “an,” and “the” are intended to equally include the plural forms unless the context clearly indicates otherwise. Similarly, the term “and / or” as used in this application means including one or more of the associated listed items and all possible combinations thereof. Additionally, when used in this application, the term "comprise" and its variations "comprises" and / or "comprising" refer to the presence of stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes said element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.

[0107] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0108] The methods and products (including but not limited to devices and equipment) disclosed in the embodiments herein can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units may be merely a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed units may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to implement this embodiment according to actual needs. Furthermore, the functional units in the embodiments of this disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0109] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than that shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

Claims

1. A method for controlling an air conditioner, characterized in that, The indoor unit of the air conditioner is equipped with an indicator light that can change color, and the method includes: Obtain air quality information; Obtain the light color corresponding to the air quality information; Control the indicator light to display the light color; The step of obtaining the light color corresponding to the air quality information includes: obtaining the emotional state corresponding to the air quality information from a preset first data table; the first data table stores the correspondence between air quality information and emotional state; obtaining the light color corresponding to the emotional state from a preset second data table; the second data table stores the correspondence between emotional state and light color.

2. The method according to claim 1, characterized in that, Obtaining air quality information includes: sending a command to a cloud server to obtain air quality information at a set time, triggering the cloud server to provide air quality information.

3. The method according to claim 1, characterized in that, An air quality detector is installed on the outdoor unit of the air conditioner to acquire air quality information, including: A command to obtain air quality information is sent to the air quality detector at a set time, triggering the air quality detector to provide feedback on air quality information.

4. The method according to claim 1, characterized in that, The second data table is constructed in the following manner: Capture the user's facial image while the user is watching a video; Obtain the video image corresponding to the face image; The user's emotional state is obtained from the facial image; Obtain the dominant color tone of the video image corresponding to the face image, and determine the dominant color tone as the light color corresponding to the emotional state; The correspondence between the emotional state and the light color is stored in the second data table.

5. The method according to claim 4, characterized in that, Obtaining the dominant color tone of the video image corresponding to the face image includes: Obtain the HSB value of each pixel in the video image, and perform color clustering processing on each pixel of the video image based on the HSB value to obtain the color clustering image corresponding to the video image; Extract the dominant color tone of the video image based on the color clustering image.

6. The method according to claim 1, characterized in that, After obtaining the emotional state corresponding to the air quality information from a preset first data table, the method further includes: If the emotional state is a preset emotional state, obtain the current date; Determine if the current date is the preset date; If the current date is a preset date, obtain the sports venues to be recommended; The recommended sports venues will be pushed to the user.

7. A device for controlling an air conditioner, characterized in that, The indoor unit of the air conditioner is equipped with a color-changing indicator light, and the device includes: The first acquisition module is configured to acquire air quality information; The second acquisition module is configured to acquire the light color corresponding to the air quality information; The control module is configured to control the indicator light to display the light color; The second acquisition module is configured to acquire the light color corresponding to the air quality information in the following ways: acquiring the emotional state corresponding to the air quality information in a preset first data table; the first data table stores the correspondence between air quality information and emotional state; acquiring the light color corresponding to the emotional state in a preset second data table; the second data table stores the correspondence between emotional state and light color.

8. A device for controlling an air conditioner, comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to execute, when running the program instructions, the method for controlling an air conditioner as described in any one of claims 1 to 6.

9. An air conditioner, characterized in that, Includes the device for controlling an air conditioner as described in claim 8.

10. A storage medium storing program instructions, characterized in that, When the program instructions are executed, they perform the method for controlling an air conditioner as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Air conditioner, indoor unit of air conditioner and air quality promoting method

    CN108278668A