Air conditioning control methods, devices, electronic equipment and storage media

By acquiring ambient sound signals from the air conditioner and pre-set buzzer sound characteristic information, and adjusting the buzzer sound characteristics to distinguish it from ambient sounds, the problem of the air conditioner remote control being difficult to identify under ambient noise interference is solved, achieving higher operational accuracy and user experience.

CN116951676BActive Publication Date: 2026-03-13GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-24
Publication Date
2026-03-13

Smart Images

  • Figure CN116951676B_ABST
    Figure CN116951676B_ABST
Patent Text Reader

Abstract

This application relates to a control method, device, electronic device, and storage medium for an air conditioner, applied in the field of device control technology. The method includes: acquiring a sound signal from the environment in which the air conditioner is located; determining first characteristic information of the sound signal, the first characteristic information indicating the user's sensitivity to ambient sound; acquiring second characteristic information of a preset buzzer sound from the air conditioner, the second characteristic information indicating the user's sensitivity to the preset buzzer sound; and determining third characteristic information of the buzzer sound output by the air conditioner based on the first and second characteristic information, the third characteristic information indicating a sound distinct from the ambient sound. This addresses the problem in the prior art where ambient noise interference makes it difficult for users to distinguish whether the remote control is working properly, or even leads to misoperation or operational failure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Currently, air conditioners typically use a beeping sound as a feedback signal for remote control operation. When a user presses a button on the infrared remote control, the air conditioner emits a short beep to indicate that it has received the user's operation signal and is executing the corresponding operation. However, due to ambient noise interference, such as the sounds of televisions, air conditioners, washing machines, and other external noises, the beeping sound can be mixed with the air conditioner's beeping sound, making it difficult for users to determine whether the remote control is working properly, or even leading to misoperation or operation failure. Summary of the Invention

[0003] This application provides a control method, device, electronic device, and storage medium for an air conditioner, which solves the problem in the prior art where noise interference from the surrounding environment makes it difficult for users to distinguish whether the remote control is working properly, or even leads to misoperation or operation failure.

[0004] In a first aspect, embodiments of this application provide a method for controlling an air conditioner, including:

[0005] Acquire sound signals from the environment where the air conditioner is located;

[0006] Determine first feature information of the sound signal, the first feature information being used to indicate the user's sensitivity to ambient sounds;

[0007] The second characteristic information of the preset beep sound of the air conditioner is obtained, and the second characteristic information is used to indicate the user's sensitivity to the preset beep sound;

[0008] Based on the first feature information and the second feature information, a third feature information is determined for the beeping sound output by the air conditioner, wherein the sound indicated by the third feature information is different from the ambient sound.

[0009] Optionally, determining the first feature information of the sound signal includes:

[0010] The sound signal is transformed to obtain a digital signal;

[0011] Time-frequency analysis is performed on the digital signal to obtain the first feature information of the sound signal.

[0012] Optionally, the step of performing time-frequency analysis on the digital signal to obtain the first feature information of the sound signal includes:

[0013] Determine the first amplitude of the digital signal within each unit time window;

[0014] The digital signal is subjected to time-frequency transformation using at least one time-frequency transformation method to obtain at least one time-frequency transformation result, wherein the time-frequency transformation result includes the initial frequency within each unit time window;

[0015] A first frequency for each of the unit time windows is determined based on at least one of the initial frequencies;

[0016] The first frequency and the first amplitude are determined to be the first feature information.

[0017] Optionally, determining the third characteristic information of the air conditioner's output buzzer sound based on the first characteristic information and the second characteristic information includes:

[0018] Determine the approximation between the first feature information and the second feature information;

[0019] The second feature information is adjusted based on the approximation to obtain the third feature information.

[0020] Optionally, the first feature information includes a first frequency and a first decibel, and the second feature information includes a second frequency and a second decibel;

[0021] The step of adjusting the second feature information based on the approximation to obtain the third feature information includes:

[0022] If the approximation is not approximation, the second decibel is increased or decreased to obtain a third decibel, wherein the third decibel is greater than the first decibel.

[0023] If the approximation is approximate, increase the second decibel to obtain a third decibel, the third decibel being greater than the first decibel; and / or, adjust the second frequency to obtain a third frequency, the third frequency being a preset frequency interval from the first frequency.

[0024] Optionally, determining the approximation between the first feature information and the second feature information includes:

[0025] Determine whether the first feature information and the second feature information satisfy the approximation condition within multiple consecutive unit time windows;

[0026] If so, the first feature information and the second feature information are determined to be approximately similar;

[0027] If not, the first feature information and the second feature information are determined to be not similar.

[0028] Optionally, the first feature information includes a first frequency and a first amplitude, the second feature information includes a second frequency and a second amplitude, and the approximation conditions include: the first frequency is within a first preset range of the second frequency, and the first amplitude is within a second preset range of the second amplitude.

[0029] Secondly, embodiments of this application provide an air conditioner control device, comprising:

[0030] The first acquisition module is used to acquire sound signals from the environment where the air conditioner is located;

[0031] The first determining module is used to determine the first feature information of the sound signal, wherein the first feature information is used to indicate the user's sensitivity to the sound of the surrounding environment;

[0032] The second acquisition module is used to acquire the second characteristic information of the preset buzzer sound of the air conditioner, and the second characteristic information is used to indicate the user's sensitivity to the preset buzzer sound.

[0033] The second determining module is used to determine a third characteristic information of the beeping sound output by the air conditioner based on the first characteristic information and the second characteristic information, wherein the sound indicated by the third characteristic information is different from the ambient sound.

[0034] Thirdly, embodiments of this application provide an electronic device, including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

[0035] The memory is used to store computer programs;

[0036] The processor is used to execute the program stored in the memory to implement the air conditioner control method described in the first aspect.

[0037] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the air conditioner control method described in the first aspect.

[0038] Compared with the prior art, the technical solution provided in this application has the following advantages: The method provided in this application acquires the sound signal of the environment in which the air conditioner is located; determines the first feature information of the sound signal, the first feature information being used to indicate the user's sensitivity to the sound of the environment; acquires the second feature information of the preset buzzer sound of the air conditioner, the second feature information being used to indicate the user's sensitivity to the preset buzzer sound; and determines the third feature information of the buzzer sound output by the air conditioner based on the first feature information and the second feature information. Thus, the determined third feature information of the buzzer sound output by the air conditioner indicates a sound different from the ambient sound, thereby enabling the user to distinguish it even when there is interference in the environment, improving the accuracy of air conditioner operation. Attached Figure Description

[0039] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0040] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 This is an application scenario diagram of an air conditioning control method provided in an embodiment of this application;

[0042] Figure 2 A flowchart illustrating an embodiment of the air conditioning control method provided in this application;

[0043] Figure 3 A flowchart of an air conditioning control method provided in another embodiment of this application;

[0044] Figure 4 A structural diagram of an air conditioner control device provided in an embodiment of this application;

[0045] Figure 5 This is a structural diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0046] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0047] Before providing a further detailed description of the embodiments of the present invention, the nouns and terms involved in the embodiments of the present invention will be explained, and the nouns and terms involved in the embodiments of the present invention shall be subject to the following interpretations.

[0048] The loudness of a sound is related to both the amplitude and frequency of the vibration of the object. For sounds of the same frequency, the greater the amplitude, the louder the sound. The pitch of a sound (high note, low note) is determined by its frequency; the higher the frequency, the higher the pitch.

[0049] An embodiment of this application provides a method for controlling an air conditioner. Optionally, in this embodiment, the above-described air conditioner control method can be applied to, for example... Figure 1 The hardware environment shown consists of terminal 101 and server 102. For example... Figure 1 As shown, server 102 is connected to terminal 101 via a network and can be used to provide services (such as application services) to the terminal or clients installed on the terminal. A database can be set up on the server or independently of the server to provide data storage services for server 102. The network mentioned above includes, but is not limited to, wide area network, metropolitan area network or local area network. Terminal 101 is not limited to air conditioner, PC, mobile phone, tablet computer, etc.

[0050] The air conditioner control method of this application embodiment can be executed by server 102, terminal 101, or jointly by server 102 and terminal 101. The air conditioner control method of this application embodiment can be executed by terminal 101, or by a client installed on it.

[0051] Taking the air conditioner control method of this application embodiment as an example, Figure 2 This is a flowchart illustrating an optional air conditioner control method according to an embodiment of this application, as shown below. Figure 2 As shown, the process of this method may include the following steps:

[0052] Step 201: Obtain the sound signal of the environment where the air conditioner is located.

[0053] In some embodiments, a microphone array can be installed on the air conditioner to collect ambient sound signals in real time. To improve the accuracy of air conditioner control, noise reduction and filtering operations can be performed on the acquired sound signals to improve their quality and reliability.

[0054] It should be noted that the sound signal can be collected when the air conditioner does not emit the preset beeping sound, so as to avoid the preset beeping sound being mixed into the collected sound signal and causing interference to the control results.

[0055] Step 202: Determine the first feature information of the sound signal, the first feature information being used to indicate the user's sensitivity to ambient sounds.

[0056] In some embodiments, the first characteristic information of the sound signal indicates the user's sensitivity to the environment. This information may include the frequency and amplitude of the ambient sound. The frequency and amplitude can indicate the magnitude and frequency of the ambient sound. The larger the amplitude and the higher the frequency, the more sensitive the user is to the ambient sound, i.e., the higher the sensitivity.

[0057] In an optional embodiment, determining the first feature information of the sound signal includes:

[0058] The sound signal is transformed to obtain a digital signal;

[0059] Time-frequency analysis is performed on the digital signal to obtain the first feature information of the sound signal.

[0060] In some embodiments, an analog-to-digital conversion can be performed on the sound signal to obtain a digital signal, which represents the relationship between the time and amplitude of the ambient sound.

[0061] After obtaining the digital signal, it can be analyzed in the time and frequency domains to determine the relationship between the time and frequency of the ambient sound.

[0062] Specifically, the step of performing time-frequency analysis on the digital signal to obtain the first feature information of the sound signal includes:

[0063] Determine the first amplitude of the digital signal within each unit time window;

[0064] The digital signal is subjected to time-frequency transformation using at least one time-frequency transformation method to obtain at least one time-frequency transformation result, wherein the time-frequency transformation result includes the initial frequency within each unit time window;

[0065] A first frequency for each of the unit time windows is determined based on at least one of the initial frequencies;

[0066] The first frequency and the first amplitude are determined to be the first feature information.

[0067] In some embodiments, since the digital signal represents the relationship between time and amplitude, the first amplitude can be determined directly from the digital signal. The unit time window can be set based on actual conditions; for example, it could be 10 milliseconds or 5 milliseconds.

[0068] To improve the accuracy of the first feature information, multi-mode time-frequency analysis can be performed using short-time Fourier transform (STFT) or wavelet transform. The time-frequency transformation results obtained from multiple algorithms can be comprehensively compared and corrected to ensure that the final first frequency accurately describes the relationship between time and frequency.

[0069] Specifically, for the multiple initial frequencies obtained, excessively large and small values ​​can be filtered out first, and the average of the remaining initial frequencies can be calculated to obtain the first frequency. Alternatively, the frequency range can be determined using the remaining initial frequencies and used as the first frequency.

[0070] Step 203: Obtain the second characteristic information of the preset beep sound of the air conditioner. The second characteristic information is used to indicate the user's sensitivity to the preset beep sound.

[0071] In some embodiments, the second characteristic information of the preset beep sound can be stored in a database in advance.

[0072] Step 204: Based on the first feature information and the second feature information, determine the third feature information of the beeping sound output by the air conditioner, wherein the sound indicated by the third feature information is different from the ambient sound.

[0073] In some embodiments, a third feature information is obtained by adjusting the second feature information using the first and second feature information. After the air conditioner receives a control signal from the remote control, it can respond with a sound indicated by the third feature information, thereby enabling the user to determine that the air conditioner has responded to the control signal. The sound indicated by the determined third feature information is different from the ambient sound, allowing the user to recognize the "beep" sound of the air conditioner's response in the environment where the air conditioner is located.

[0074] It is understandable that the air conditioner acquires sound signals in real time and can then determine the third characteristic information in real time. This allows the air conditioner to emit a beeping sound according to the determined third characteristic information when controlled by the user, distinguishing the "beep" sound from ambient sounds and making it easier for the user to identify. The distinction between the sound indicated by the third characteristic information and the ambient sound can be based on the user's higher sensitivity to ambient sounds compared to the sound indicated by the third characteristic information.

[0075] In an optional embodiment, determining the third characteristic information of the air conditioner's output buzzer sound based on the first characteristic information and the second characteristic information includes:

[0076] Determine the approximation between the first feature information and the second feature information;

[0077] The second feature information is adjusted based on the approximation to obtain the third feature information.

[0078] In some embodiments, the similarity between the first feature information and the second feature information can be determined by comparing them. If they are similar, it means that the ambient sound is close to the preset beeping sound of the air conditioner. If the response is based on the preset beeping sound, it is not easy for the user to distinguish. Therefore, the second feature information needs to be adjusted to distinguish the obtained third feature information from the first feature information.

[0079] In an optional embodiment, the first feature information includes a first frequency and a first decibel, and the second feature information includes a second frequency and a second decibel;

[0080] The step of adjusting the second feature information based on the approximation to obtain the third feature information includes:

[0081] If the approximation is not approximation, the second decibel is increased or decreased to obtain a third decibel, wherein the third decibel is greater than the first decibel.

[0082] If the approximation is approximate, increase or decrease the second decibel to obtain a third decibel, the third decibel being greater than the first decibel; or, adjust the second frequency to obtain a third frequency, the third frequency being a preset frequency interval from the first frequency.

[0083] Decibels (dB) can be used to describe the volume of a sound. The volume of a sound in decibels can be determined by the amplitude of the sound. The relevant formula is SPL (dB) = 20 * log10(A / A0), where A represents the amplitude of the sound (i.e., the amplitude value mentioned above), and A0 represents the reference amplitude (usually 20 μPa).

[0084] In some embodiments, when the first feature information and the second feature information are not similar, the second decibel can be reduced to avoid the buzzing sound being too loud and prominent; or the second decibel can be increased to avoid the ambient sound masking the air conditioner buzzing sound.

[0085] Set the third decibel level to be greater than the first decibel level preset level. The preset level can be set according to the actual situation, for example, any value between 15 and 20 decibels, such as 17 decibels.

[0086] If the first feature information and the second feature information are similar, it can be assumed that the current ambient sound will affect the user's ability to distinguish the air conditioner buzzing sound. The first feature information can be adjusted by adjusting the decibel or frequency so that the user can distinguish the buzzing sound.

[0087] During the adjustment process, the brightness of the surrounding environment can also be considered. For example, if the brightness is greater than the preset level, indicating it's daytime, the second decibel level can be increased to make the resulting third decibel level greater than the first, thus making it easier for users to distinguish the buzzer sound from ambient sounds. Alternatively, if the brightness is less than the preset level, indicating it's nighttime, to avoid user discomfort due to an excessively loud or piercing buzzer sound, the second frequency of the preset buzzer sound can be adjusted, and the resulting third frequency can be set to a frequency that is a preset interval from the first frequency. This allows the ambient sound and the buzzer sound to be emitted alternately, making it easier for users to distinguish them.

[0088] The preset frequency can be set based on actual conditions. For example, it can be set to any frequency between 100 Hz and 500 Hz, and preferably, it can be set to 200 Hz.

[0089] In an optional embodiment, determining the approximation between the first feature information and the second feature information includes:

[0090] Determine whether the first feature information and the second feature information satisfy the approximation condition within multiple consecutive unit time windows;

[0091] If so, the first feature information and the second feature information are determined to be approximately similar;

[0092] If not, the first feature information and the second feature information are determined to be not similar.

[0093] In some embodiments, there are multiple ways to determine the approximation of the first feature information and the second feature information, such as comparing whether the two feature information are the same or within a certain range.

[0094] By judging the approximation of the first feature information and the second feature information within multiple consecutive time windows, and considering the existence of time-frequency accuracy errors, the first feature information of multiple consecutive time windows is used as the judgment condition to avoid the influence of random errors and improve the accuracy of control.

[0095] The first feature information includes a first frequency and a first amplitude, the second feature information includes a second frequency and a second amplitude, and the approximation conditions include: the first frequency is within a first preset range of the second frequency, and the first amplitude is within a second preset range of the second amplitude.

[0096] Both the first and second preset ranges can be set based on actual conditions.

[0097] In one specific embodiment, the air conditioner may include a microphone array, a voice module, and a control module. The microphone array is used to collect sound signals from the environment. The voice module is used to process and analyze the sound signals, including real-time analysis using short-time Fourier transform or wavelet transform algorithms. The control module adjusts the frequency and intensity of the beeping sound based on the sound recognition results, thereby optimizing the beeping sound of the air conditioner.

[0098] For the air conditioning control method described in this application, please refer to [link / reference needed]. Figure 3 ,include:

[0099] First, the air conditioner collects ambient sound data in real time.

[0100] The air conditioner can collect sound signals from the environment in real time through a microphone array and transmit them to the voice module for processing.

[0101] Second, the air conditioner records the sound amplitude information at every moment in real time and obtains the frequency information of the corresponding time window through short-time Fourier or wavelet transform algorithms.

[0102] The air conditioner voice module preprocesses the sound signal, such as removing noise and filtering, to improve the signal quality and reliability, and converts it into a digital signal, which can be displayed through a time-amplitude diagram (a sound graph that represents the relationship between time and amplitude).

[0103] The air conditioner voice module uses short-time Fourier transform (STFT) or wavelet transform to perform multi-mode time-frequency analysis, analyzing the digital signal in the time and frequency domains to obtain the time-frequency transformation result. This video transformation result can be displayed through a time-frequency graph (a sound graph representing the relationship between time and frequency).

[0104] To avoid misjudgments, various pattern recognition algorithms are used to identify environmental sound information for multi-mode time-frequency analysis. For example, Fourier transform, wavelet transform, and other time-frequency analysis algorithms can be used simultaneously, and their results can be comprehensively analyzed to improve the accuracy and stability of the time-frequency plot.

[0105] The digital signal is divided into multiple time windows, each with a fixed signal length, such as 10 milliseconds. This segments the signal over time and ensures that the signal remains stationary within each time window. For each time window, the signal can be converted into a time-frequency graph using STFT and wavelet transform algorithms to analyze its frequency.

[0106] Third, the air conditioner determines whether there are ambient sounds with similar amplitude and frequency to the preset beeping sound based on the analyzed real-time sound amplitude and local sound frequency, and thus determines whether the air conditioner beeping sound is covered by ambient sounds.

[0107] The air conditioner voice control panel compares the time amplitude diagram and the time frequency diagram to find out if there are multiple consecutive time windows with frequencies and amplitudes similar to the preset beeping sound.

[0108] Fourth, if the air conditioner's beeping sound is not covered by ambient sound, the air conditioner will optimize and adjust the beeping sound according to the preset intensity and frequency to achieve the comfort requirement, and instantly trigger the beeping sound generated by the remote control; if the air conditioner's beeping sound is covered by ambient sound, the air conditioner will automatically adjust the intensity or frequency to avoid the nearby area, and instantly trigger the beeping sound generated by the remote control.

[0109] If it does not exist, optimize the preset beep sound response for remote control, as follows:

[0110] Optimize the experience by adjusting the sound intensity. Increase or decrease the output intensity of the beeping sound so that the user can comfortably and clearly notice the beeping feedback. The adjusted intensity needs to be higher than the sound intensity over multiple consecutive time windows, ensuring it exceeds 15 dB but does not exceed 20 dB.

[0111] If so, consider adjusting the intensity or frequency of the buzzer "beep" sound to avoid interference from ambient noise. The specific method is as follows:

[0112] During the daytime, prioritize using sound intensity adjustment to avoid interference. Increase the output intensity of the beeping sound so that the user can clearly hear the beeping feedback. The adjusted intensity needs to be higher than the sound intensity within multiple consecutive time windows at that time, ensuring it exceeds 15 decibels but does not exceed 20 decibels.

[0113] At night, prioritize using sound frequency adjustment to avoid interference. Increase or decrease the output frequency of the buzzer "beep" sound so that the user can clearly hear the "beep" feedback. The adjusted frequency should be at least 100Hz apart from the sound frequencies within multiple consecutive time windows in that local time (the interval should be between 100Hz and 500Hz).

[0114] Specifically, during sleep at night, users need to use remote controls to operate home appliances such as air conditioners and televisions, but worry that the "beep" sound produced by the remote control will disturb their own and others' rest. The air conditioner control method described in this application uses a microphone to collect sound signals in real time, and employs a short-time Fourier transform and wavelet transform algorithm model through a voice module to identify in real time whether the "beep" sound during remote control is clearly audible to the user in the current environmental spectrum. If it is not clearly audible, the frequency of the "beep" sound is adjusted to avoid other noises, or the sound intensity is increased to exceed other noises; if it is clearly audible, the intensity is analyzed to see if it is too prominent and interferes with the user's auditory experience, especially since this is more sensitive during sleep at night. In such cases, the sound intensity is reduced to minimize the impact on the user.

[0115] By dynamically adjusting the frequency and intensity of the air conditioner's beeping sound to avoid other noises or reduce interference with the user, the system allows the user to hear the beeping sound more clearly, improving the remote control experience. It features real-time performance, accuracy, and adaptability, effectively handling complex environmental noise and enhancing the accuracy of remote control operation and user satisfaction.

[0116] Based on the same concept, this application provides an air conditioner control device. Specific implementation of this device can be found in the description of the method embodiments section; repeated details will not be repeated here. Figure 4 As shown, the device mainly includes:

[0117] The first acquisition module 401 is used to acquire the sound signal of the environment where the air conditioner is located;

[0118] The first determining module 402 is used to determine the first feature information of the sound signal, wherein the first feature information is used to indicate the user's sensitivity to the sound of the surrounding environment.

[0119] The second acquisition module 403 is used to acquire the second feature information of the preset buzzer sound of the air conditioner, and the second feature information is used to indicate the user's sensitivity to the preset buzzer sound.

[0120] The second determining module 404 is used to determine the third characteristic information of the beeping sound output by the air conditioner based on the first characteristic information and the second characteristic information, wherein the sound indicated by the third characteristic information is different from the ambient sound.

[0121] Based on the same concept, this application also provides an electronic device, such as... Figure 5As shown, the electronic device mainly includes a processor 501, a memory 502, and a communication bus 503. The processor 501 and the memory 502 communicate with each other via the communication bus 503. The memory 502 stores programs that can be executed by the processor 501. The processor 501 executes the programs stored in the memory 502 to perform the following steps:

[0122] Acquire sound signals from the environment where the air conditioner is located;

[0123] Determine first feature information of the sound signal, the first feature information being used to indicate the user's sensitivity to ambient sounds;

[0124] The second characteristic information of the preset beep sound of the air conditioner is obtained, and the second characteristic information is used to indicate the user's sensitivity to the preset beep sound;

[0125] Based on the first feature information and the second feature information, a third feature information is determined for the beeping sound output by the air conditioner, wherein the sound indicated by the third feature information is different from the ambient sound.

[0126] The communication bus 503 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus 503 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0127] The memory 502 may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor 501.

[0128] The processor 501 mentioned above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., or a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0129] In another embodiment of this application, a computer-readable storage medium is provided, which stores a computer program that, when run on a computer, causes the computer to perform the air conditioning control method described in the above embodiments.

[0130] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. This computer program product includes one or more computer instructions. When these computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape, etc.), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.

[0131] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0132] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for controlling an air conditioner, characterized in that, include: Acquire sound signals from the environment where the air conditioner is located; Determine first feature information of the sound signal, the first feature information being used to indicate the user's sensitivity to ambient sounds; The second characteristic information of the preset beep sound of the air conditioner is obtained, and the second characteristic information is used to indicate the user's sensitivity to the preset beep sound; Based on the first feature information and the second feature information, a third feature information is determined for the beeping sound output by the air conditioner, wherein the sound indicated by the third feature information is different from the ambient sound. The step of determining the first feature information of the sound signal includes: transforming the sound signal to obtain a digital signal; and performing time-frequency analysis on the digital signal to obtain the first feature information of the sound signal. The step of performing time-frequency analysis on the digital signal to obtain the first feature information of the sound signal includes: determining the first amplitude of the digital signal within each unit time window; performing time-frequency transformation on the digital signal using at least one time-frequency transformation method to obtain at least one time-frequency transformation result, the time-frequency transformation result including the initial frequency within each unit time window; determining the first frequency of each unit time window based on at least one initial frequency; and determining the first frequency and the first amplitude as the first feature information.

2. The air conditioning control method according to claim 1, characterized in that, The step of determining the third characteristic information of the air conditioner's output buzzer sound based on the first characteristic information and the second characteristic information includes: Determine the approximation between the first feature information and the second feature information; The second feature information is adjusted based on the approximation to obtain the third feature information.

3. The air conditioning control method according to claim 2, characterized in that, The first feature information includes a first frequency and a first decibel, and the second feature information includes a second frequency and a second decibel; The step of adjusting the second feature information based on the approximation to obtain the third feature information includes: If the approximation is not approximation, the second decibel is increased or decreased to obtain a third decibel, wherein the third decibel is greater than the first decibel. If the approximation is approximate, increase the second decibel to obtain a third decibel, the third decibel being greater than the first decibel; and / or, adjust the second frequency to obtain a third frequency, the third frequency being a preset frequency interval from the first frequency.

4. The air conditioning control method according to claim 2, characterized in that, Determining the approximation between the first feature information and the second feature information includes: Determine whether the first feature information and the second feature information satisfy the approximation condition within multiple consecutive unit time windows; If so, the first feature information and the second feature information are determined to be approximately similar; If not, the first feature information and the second feature information are determined to be not similar.

5. The air conditioning control method according to claim 4, characterized in that, The first feature information includes a first frequency and a first amplitude, the second feature information includes a second frequency and a second amplitude, and the approximation conditions include: the first frequency is within a first preset range of the second frequency, and the first amplitude is within a second preset range of the second amplitude.

6. A control device for an air conditioner, characterized in that, include: The first acquisition module is used to acquire sound signals from the environment where the air conditioner is located; The first determining module is used to determine the first feature information of the sound signal, wherein the first feature information is used to indicate the user's sensitivity to the sound of the surrounding environment; The second acquisition module is used to acquire the second characteristic information of the preset buzzer sound of the air conditioner, and the second characteristic information is used to indicate the user's sensitivity to the preset buzzer sound. The second determining module is used to determine the third characteristic information of the beeping sound output by the air conditioner based on the first characteristic information and the second characteristic information, wherein the sound indicated by the third characteristic information is different from the ambient sound. The step of determining the first feature information of the sound signal includes: transforming the sound signal to obtain a digital signal; and performing time-frequency analysis on the digital signal to obtain the first feature information of the sound signal. The step of performing time-frequency analysis on the digital signal to obtain the first feature information of the sound signal includes: determining the first amplitude of the digital signal within each unit time window; performing time-frequency transformation on the digital signal using at least one time-frequency transformation method to obtain at least one time-frequency transformation result, the time-frequency transformation result including the initial frequency within each unit time window; determining the first frequency of each unit time window based on at least one initial frequency; and determining the first frequency and the first amplitude as the first feature information.

7. An electronic device, characterized in that, include: The processor, communication interface, memory, and communication bus are connected, with the processor, communication interface, and memory communicating with each other via the communication bus. The memory is used to store computer programs; The processor is used to execute the program stored in the memory to implement the air conditioner control method according to any one of claims 1-5.

8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the air conditioning control method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Air conditioner control method, air conditioner control device and air conditioner

    CN104728994A