Air conditioner control method, device and equipment based on audio and air conditioner
By separating and processing the ambient audio of the air conditioner, extracting the human voice audio and determining the control parameters, the air conditioner temperature is adjusted to achieve a comfortable temperature, which solves the problem that the existing air conditioner cannot be controlled by audio, improves the user experience and saves resources.
Patent Information
- Application Number
- CN202310356967.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-04
- Publication Date
- 2024-10-15
AI Technical Summary
Existing air conditioners cannot be flexibly controlled through audio and cannot provide a better user experience.
By obtaining the ambient audio of the indoor environment, separate processing is performed to extract the target human voice audio, and the control parameters are determined based on the audio characteristics, and then the air conditioner temperature is adjusted to achieve the most comfortable temperature.
It realizes the control of indoor temperature based on user audio, improves user experience, and automatically turns off the air conditioner to save resources by detecting idle time.
Smart Images

Figure CN118776079A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioners, and in particular to an audio-based air conditioner control method, device, equipment and air conditioner. Background Art
[0002] An air conditioner is a mechanical device that can be used for heating or cooling, giving users a better experience.
[0003] However, existing air conditioners are all turned on or off by remote control, and some air conditioners can support smart terminals such as smart phones and smart tablets to control turning on or off, which cannot bring a good experience to users.
[0004] The existing technology cannot flexibly control the air conditioner through audio. Therefore, how to control the air conditioner based on audio information is a technical problem that needs to be solved urgently. Summary of the invention
[0005] The present invention provides an audio-based air conditioner control method, device, equipment and air conditioner, which can determine the control parameters corresponding to the human voice audio by analyzing the user audio, and then adjust the indoor temperature to the most comfortable temperature according to the human voice audio, thereby improving the user experience.
[0006] In a first aspect, the present invention provides an audio-based air conditioner control method, comprising:
[0007] Obtain the ambient audio and initial indoor temperature of the indoor environment where the air conditioner is located;
[0008] Separating and processing the environmental audio to obtain target human voice audio;
[0009] Determining, according to the target human voice audio, a control parameter corresponding to the target human voice audio;
[0010] The air conditioner is temperature-controlled according to the control parameter, and the initial indoor temperature is adjusted to a target temperature corresponding to the control parameter.
[0011] Preferably, according to an audio-based air conditioner control method provided by the present invention,
[0012] The separating and processing the environmental audio to obtain the target human voice audio includes:
[0013] Analyze and process the ambient audio, and when it is determined that human voice audio exists in the ambient audio, perform ambient noise separation processing on the ambient audio to obtain effective ambient audio;
[0014] According to a preset human voice tone, the human voice audio is extracted from the effective environmental audio to obtain the target human voice audio.
[0015] Preferably, according to an audio-based air conditioner control method provided by the present invention,
[0016] The step of determining a control parameter corresponding to the target human voice audio according to the target human voice audio comprises:
[0017] Performing timbre analysis on the target human voice audio to determine user information;
[0018] The user information is processed to determine the control parameter.
[0019] Preferably, according to an audio-based air conditioner control method provided by the present invention,
[0020] The control parameters include at least: a first parameter, a second parameter, and a third parameter;
[0021] The processing of the user information to determine the control parameter includes:
[0022] When it is determined according to the user information that the current user is a plurality of mixed users, determining a corresponding first parameter from a preset control parameter table;
[0023] When it is determined according to the user information that the current user is a young male or female user, determining a corresponding second parameter from the control parameter table;
[0024] When it is determined according to the user information that the current user is an elderly or child user, a corresponding third parameter is determined from the control parameter table.
[0025] Preferably, according to an audio-based air conditioner control method provided by the present invention,
[0026] The target temperature includes at least: a first temperature, a second temperature, and a third temperature;
[0027] The step of controlling the temperature of the air conditioner according to the control parameter to adjust the initial indoor temperature to a target temperature corresponding to the control parameter includes:
[0028] According to the first parameter, adjusting the initial indoor temperature to a first temperature corresponding to the first parameter;
[0029] According to the second parameter, adjusting the initial indoor temperature to a second temperature corresponding to the second parameter;
[0030] According to the third parameter, the initial indoor temperature is adjusted to a third temperature corresponding to the third parameter.
[0031] Preferably, according to an audio-based air conditioner control method provided by the present invention,
[0032] After the step of controlling the temperature of the air conditioner according to the control parameter and adjusting the initial indoor temperature to a target temperature corresponding to the control parameter, the method further includes:
[0033] During each first preset time period, users in the indoor environment are detected and processed, and when it is determined that there are no users in the indoor environment during a second preset time period, an air conditioner shutdown instruction is generated, and the air conditioner is shut down according to the air conditioner shutdown instruction.
[0034] In a second aspect, the present invention further provides an audio-based air conditioner control device, comprising:
[0035] An acquisition module, used to acquire the ambient audio and initial indoor temperature of the indoor environment where the air conditioner is located;
[0036] A separation module, used to separate the ambient audio to obtain target human voice audio;
[0037] A determination module, used to determine a control parameter corresponding to the target human voice audio according to the target human voice audio;
[0038] The control module is used to control the temperature of the air conditioner according to the control parameter, and adjust the initial indoor temperature to a target temperature corresponding to the control parameter.
[0039] In a third aspect, the present invention further provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the audio-based air conditioner control methods described above are implemented.
[0040] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the audio-based air conditioner control methods described above.
[0041] In a fifth aspect, the present invention further provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of any of the above-mentioned audio-based air conditioner control methods are implemented.
[0042] The present invention provides an audio-based air conditioner control method, device, equipment and air conditioner, which obtains the ambient audio and initial indoor temperature of the indoor environment where the air conditioner is located; separates and processes the ambient audio to obtain target human voice audio; determines the control parameters corresponding to the target human voice audio according to the target human voice audio; and controls the temperature of the air conditioner according to the control parameters to adjust the initial indoor temperature to the target temperature corresponding to the control parameters. The control parameters corresponding to the human voice audio are determined by analyzing the user audio, and the indoor temperature is adjusted to the most comfortable temperature according to the human voice audio, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 is a flow chart of an audio-based air conditioner control method provided by the present invention;
[0045] Figure 2 is a structural schematic diagram of an audio-based air conditioner control device provided by the present invention;
[0046] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] Combine the following Figure 1-Figure 3 The present invention describes an audio-based air conditioner control method, device, equipment and air conditioner, which analyzes user audio to determine control parameters corresponding to human voice audio, and then controls the indoor temperature to the most comfortable temperature according to the human voice audio, thereby improving the user experience.
[0049] like Figure 1As shown, it is a schematic diagram of an implementation flow of an audio-based air conditioner control method provided by an embodiment of the present invention. An audio-based air conditioner control method may include but is not limited to steps S100 to S400.
[0050] S100, obtaining ambient audio and initial indoor temperature of the indoor environment where the air conditioner is located;
[0051] S200, separating and processing the environmental audio to obtain target human voice audio;
[0052] S300, determining a control parameter corresponding to the target human voice audio according to the target human voice audio;
[0053] S400, performing temperature control on the air conditioner according to the control parameter, and adjusting the initial indoor temperature to a target temperature corresponding to the control parameter.
[0054] It should be noted that the executor of the audio-based air conditioner control method of the embodiment of the present application may be a hardware device with data information processing capabilities and / or the necessary software required to drive the hardware device to work.
[0055] Optionally, the execution subject may include but is not limited to workstations, servers, computers, user terminals and other intelligent devices. Among them, user terminals include but are not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, etc.
[0056] In step S100 of some embodiments, the ambient audio and initial indoor temperature of the indoor environment where the air conditioner is located are obtained.
[0057] It can be understood that the ambient audio of the indoor environment where the air conditioner is located is collected by using the audio collection device, and the temperature of the indoor environment is monitored by using a preset temperature sensor to obtain the initial indoor temperature.
[0058] In step S200 of some embodiments, the environmental audio is separated and processed to obtain target human voice audio.
[0059] It can be understood that after executing step S100 to obtain the ambient audio and the initial indoor temperature of the indoor environment where the air conditioner is located, the ambient audio is analyzed and processed, and when it is determined that there is human voice audio in the ambient audio, the ambient audio is subjected to ambient noise separation processing to obtain effective ambient audio;
[0060] According to a preset human voice tone, the human voice audio is extracted from the effective environmental audio to obtain the target human voice audio.
[0061] It can be further understood that the ambient audio can be analyzed and processed by inputting the ambient audio into an audio analysis model for analysis, and outputting an output result that includes human voice audio in the ambient audio, or outputting an output result that does not include human voice audio in the ambient audio.
[0062] It should be noted that the audio analysis model is obtained by training a neural network on a large number of environmental audio samples.
[0063] When it is determined that there is human voice audio in the ambient audio, the ambient audio is subjected to ambient noise separation processing. The ambient audio may contain interfering audio information such as construction noise and TV playback noise. Therefore, it is necessary to perform ambient noise separation processing on the ambient audio to obtain effective ambient audio, which can greatly speed up the efficiency of obtaining the target human voice audio.
[0064] Then, according to the preset human voice pitch, the human voice audio is extracted from the ambient audio to obtain the target human voice audio. Because each person's human voice pitch is different, and the human voice pitch and the pitch of other sounds are also different, the target human voice audio can be extracted from the ambient audio according to different human voice pitches.
[0065] In step S300 of some embodiments, a control parameter corresponding to the target human voice audio is determined according to the target human voice audio.
[0066] It can be understood that after executing step S200 of separating the ambient audio to obtain the target human voice audio, the specific execution steps may be: performing timbre analysis on the target human voice audio to determine user information;
[0067] The user information is processed to determine the control parameter.
[0068] It can be further understood that, since each person has a different timbre, the timbre analysis of the target vocal audio can be performed according to preset timbre information to determine the corresponding user information.
[0069] That is, the user's timbre information is analyzed, and matching processing is performed in the database according to the pre-stored timbre information. The user information is pre-bound with the timbre information and pre-stored in the database, so as to obtain the corresponding user information.
[0070] The step of processing the user information to determine the control parameter may specifically include:
[0071] When it is determined according to the user information that the current user is a plurality of mixed users, determining a corresponding first parameter from a preset control parameter table;
[0072] When it is determined according to the user information that the current user is a young male or female user, determining a corresponding second parameter from the control parameter table;
[0073] When it is determined according to the user information that the current user is an elderly or child user, a corresponding third parameter is determined from the control parameter table.
[0074] It should be noted that the control parameters at least include: a first parameter, a second parameter, and a third parameter.
[0075] It is understandable that when it is determined according to the user information that the current user is a plurality of mixed users, a corresponding first parameter is determined from a preset control parameter table, and the initial indoor temperature is adjusted to a first temperature corresponding to the first parameter according to the first parameter.
[0076] When it is determined according to the user information that the current user is a young male or female user, a corresponding second parameter is determined from the control parameter table, and the initial indoor temperature is adjusted to a second temperature corresponding to the second parameter according to the second parameter.
[0077] When it is determined according to the user information that the current user is an elderly or child user, a corresponding third parameter is determined from the control parameter table, and the initial indoor temperature is adjusted to a third temperature corresponding to the third parameter according to the third parameter.
[0078] In step S400 of some embodiments, the air conditioner is temperature-controlled according to the control parameter, and the initial indoor temperature is adjusted to a target temperature corresponding to the control parameter.
[0079] It can be understood that after performing step S300 of determining the control parameters corresponding to the target human voice audio according to the target human voice audio, the specific execution steps may be:
[0080] According to the first parameter, adjusting the initial indoor temperature to a first temperature corresponding to the first parameter;
[0081] According to the second parameter, adjusting the initial indoor temperature to a second temperature corresponding to the second parameter;
[0082] According to the third parameter, the initial indoor temperature is adjusted to a third temperature corresponding to the third parameter.
[0083] It should be noted that the target temperature includes at least: a first temperature, a second temperature, and a third temperature.
[0084] When the user information determines that the current user is a plurality of mixed users, a first parameter is determined, and according to the first parameter, the initial indoor temperature is adjusted to a first temperature corresponding to the first parameter.
[0085] For example, when there are multiple mixed users, when it is determined that there are elderly people or children among the mixed users, for example, during cooling, the initial indoor temperature is 21 degrees Celsius, then the initial indoor temperature is adjusted to the first temperature, assuming that the first temperature is 25 degrees Celsius.
[0086] When there are no elderly people and children but there are women among the mixed users, the initial indoor temperature is adjusted to the first temperature, assuming that the first temperature is 23 degrees Celsius.
[0087] When it is determined based on the user information that the current user is a young male or female user, a second parameter is determined, and based on the second parameter, the initial indoor temperature is adjusted to a second temperature corresponding to the second parameter.
[0088] It is understandable that when it is determined that the current user is a young male or female user, the initial indoor temperature is adjusted from 21 degrees Celsius to a second temperature, assuming that the second temperature is 23 degrees Celsius.
[0089] When it is determined according to the user information that the current user is an elderly or child user, a third parameter is determined, and according to the third parameter, the initial indoor temperature is adjusted to a third temperature corresponding to the third parameter.
[0090] It is understandable that when it is determined that the current user is an elderly person or a child, the initial indoor temperature is adjusted to the third temperature, assuming that the third temperature is 28 degrees Celsius.
[0091] In some embodiments of the present invention, when the number of male voices is less than or equal to 3, the initial indoor temperature is adjusted to t1; when the number of male voices is greater than 3 and less than or equal to 6, the initial indoor temperature is adjusted to t2; when the number of male voices is greater than 6, the initial indoor temperature is adjusted to t3.
[0092] When there are less than or equal to 3 female voices, the initial indoor temperature is adjusted to t4; when there are more than 3 female voices and less than or equal to 6 female voices, the initial indoor temperature is adjusted to t5; when there are more than 6 female voices, the initial indoor temperature is adjusted to t6. Re-judgment is performed every 30 minutes.
[0093] When male and female voices are mixed, the average temperature ta is set according to the ratio of the number of people. If it is close to 0.5, it is set as the average temperature. In other cases, the initial indoor temperature is adjusted based on the gender with the larger ratio. Re-judgment is made every 30 minutes.
[0094] In the case of elderly and children, if the number of elderly and children is less than or equal to 3, the initial indoor temperature will be adjusted to t7; if the number of elderly and children is greater than 3 and less than or equal to 6, the initial indoor temperature will be adjusted to t8; if the number of elderly and children is greater than 6, the initial indoor temperature will be adjusted to t9. Re-judgment will be made every 20 minutes.
[0095] In some embodiments of the present invention, after the step of controlling the temperature of the air conditioner according to the control parameter and adjusting the initial indoor temperature to a target temperature corresponding to the control parameter, the method further includes:
[0096] During each first preset time period, users in the indoor environment are detected and processed, and when it is determined that there are no users in the indoor environment during a second preset time period, an air conditioner shutdown instruction is generated, and the air conditioner is shut down according to the air conditioner shutdown instruction.
[0097] It can also be understood that in order to better save resources, at preset time intervals, such as 30 minutes, infrared sensors are used to detect and process users in the indoor environment to determine whether there are still users in the indoor environment. When it is determined that there are no users in the indoor environment within a second preset time period, such as 20 minutes, it means that the user may have left. Therefore, an air conditioner shutdown instruction is automatically generated to shut down the air conditioner according to the air conditioner shutdown instruction, thereby saving resources.
[0098] The present invention provides an audio-based air conditioner control method, device, equipment and air conditioner, which obtains the ambient audio and initial indoor temperature of the indoor environment where the air conditioner is located; separates and processes the ambient audio to obtain target human voice audio; determines the control parameters corresponding to the target human voice audio according to the target human voice audio; and controls the temperature of the air conditioner according to the control parameters to adjust the initial indoor temperature to the target temperature corresponding to the control parameters. The control parameters corresponding to the human voice audio are determined by analyzing the user audio, and the indoor temperature is adjusted to the most comfortable temperature according to the human voice audio, thereby improving the user experience.
[0099] The audio-based air conditioner control device provided by the present invention is described below. The audio-based air conditioner control device described below and the audio-based air conditioner control method described above can refer to each other.
[0100] like Figure 2 FIG. 1 is a schematic diagram of the structure of an audio-based air conditioner control device provided by the present invention, an audio-based air conditioner control device comprising:
[0101] An acquisition module 210 is used to acquire the ambient audio and initial indoor temperature of the indoor environment where the air conditioner is located;
[0102] A separation module 220 is used to separate the ambient audio to obtain target human voice audio;
[0103] A determination module 230, configured to determine a control parameter corresponding to the target human voice audio according to the target human voice audio;
[0104] The control module 240 is used to control the temperature of the air conditioner according to the control parameter, and adjust the initial indoor temperature to a target temperature corresponding to the control parameter.
[0105] Optionally, according to the audio-based air conditioner control device provided by the present invention, the separation module 220 is used to analyze and process the ambient audio, and when it is determined that there is human voice audio in the ambient audio, perform ambient noise separation processing on the ambient audio to obtain effective ambient audio;
[0106] According to a preset human voice tone, the human voice audio is extracted from the effective environmental audio to obtain the target human voice audio.
[0107] Optionally, according to the audio-based air conditioner control device provided by the present invention, the determination module 230 is used to perform timbre analysis processing on the target human voice audio to determine user information;
[0108] The user information is processed to determine the control parameter.
[0109] Optionally, according to the audio-based air conditioner control device provided by the present invention, the control parameters at least include: a first parameter, a second parameter, and a third parameter;
[0110] A determination module 230, configured to determine a corresponding first parameter from a preset control parameter table when it is determined according to the user information that the current user is a plurality of mixed users;
[0111] When it is determined according to the user information that the current user is a young male or female user, determining a corresponding second parameter from the control parameter table;
[0112] When it is determined according to the user information that the current user is an elderly or child user, a corresponding third parameter is determined from the control parameter table.
[0113] Optionally, according to the audio-based air conditioner control device provided by the present invention, the target temperature includes at least: a first temperature, a second temperature, and a third temperature; the control module 240 is used to adjust the initial indoor temperature to a first temperature corresponding to the first parameter according to the first parameter;
[0114] According to the second parameter, adjusting the initial indoor temperature to a second temperature corresponding to the second parameter;
[0115] According to the third parameter, the initial indoor temperature is adjusted to a third temperature corresponding to the third parameter.
[0116] Optionally, according to the audio-based air conditioner control device provided by the present invention, after the step of controlling the temperature of the air conditioner according to the control parameters and adjusting the initial indoor temperature to the target temperature corresponding to the control parameters, the device is used to detect and process users in the indoor environment at intervals of a first preset time period, and when it is determined that there are no users in the indoor environment within a second preset time period, generate an air conditioner shutdown instruction, and shut down the air conditioner according to the air conditioner shutdown instruction.
[0117] The present invention provides an audio-based air conditioner control method, device, equipment and air conditioner, which obtains the ambient audio and initial indoor temperature of the indoor environment where the air conditioner is located; separates and processes the ambient audio to obtain target human voice audio; determines the control parameters corresponding to the target human voice audio according to the target human voice audio; and controls the temperature of the air conditioner according to the control parameters to adjust the initial indoor temperature to the target temperature corresponding to the control parameters. The control parameters corresponding to the human voice audio are determined by analyzing the user audio, and the indoor temperature is adjusted to the most comfortable temperature according to the human voice audio, thereby improving the user experience.
[0118] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3 As shown, the electronic device may include: a processor 310, a communication interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other through the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute an audio-based air conditioner control method, the method comprising: obtaining the ambient audio and the initial indoor temperature of the indoor environment where the air conditioner is located; separating and processing the ambient audio to obtain the target human voice audio; determining the control parameters corresponding to the target human voice audio according to the target human voice audio; and controlling the temperature of the air conditioner according to the control parameters, and adjusting the initial indoor temperature to the target temperature corresponding to the control parameters.
[0119] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0120] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the audio-based air conditioner control method provided by the above-mentioned methods, which includes: obtaining the ambient audio and initial indoor temperature of the indoor environment where the air conditioner is located; separating and processing the ambient audio to obtain target human voice audio; determining control parameters corresponding to the target human voice audio based on the target human voice audio; and temperature-controlling the air conditioner based on the control parameters, and adjusting the initial indoor temperature to the target temperature corresponding to the control parameters.
[0121] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the audio-based air conditioner control method provided by the above-mentioned methods, the method comprising: obtaining the ambient audio and initial indoor temperature of the indoor environment in which the air conditioner is located; separating and processing the ambient audio to obtain target human voice audio; determining control parameters corresponding to the target human voice audio based on the target human voice audio; and temperature-controlling the air conditioner based on the control parameters to adjust the initial indoor temperature to the target temperature corresponding to the control parameters.
[0122] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0123] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0124] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An audio-based air conditioner control method, characterized in that: include: Obtain the ambient audio and initial indoor temperature of the indoor environment where the air conditioner is located; Separating and processing the environmental audio to obtain target human voice audio; Determining, according to the target human voice audio, a control parameter corresponding to the target human voice audio; The air conditioner is temperature-controlled according to the control parameter, and the initial indoor temperature is adjusted to a target temperature corresponding to the control parameter.
2. The air conditioner control method based on audio according to claim 1, characterized in that: The separating and processing the environmental audio to obtain the target human voice audio includes: Analyze and process the ambient audio, and when it is determined that human voice audio exists in the ambient audio, perform ambient noise separation processing on the ambient audio to obtain effective ambient audio; According to a preset human voice tone, the human voice audio is extracted from the effective environmental audio to obtain the target human voice audio.
3. The audio-based air conditioner control method according to claim 1, characterized in that: The step of determining a control parameter corresponding to the target human voice audio according to the target human voice audio comprises: Performing timbre analysis on the target human voice audio to determine user information; The user information is processed to determine the control parameter.
4. The air conditioner control method based on audio according to claim 3, characterized in that: The control parameters at least include: a first parameter, a second parameter, and a third parameter; The processing of the user information to determine the control parameter includes: When it is determined according to the user information that the current user is a plurality of mixed users, determining a corresponding first parameter from a preset control parameter table; When it is determined according to the user information that the current user is a young male or female user, determining a corresponding second parameter from the control parameter table; When it is determined according to the user information that the current user is an elderly or child user, a corresponding third parameter is determined from the control parameter table.
5. The air conditioner control method based on audio according to claim 4, characterized in that: The target temperature includes at least: a first temperature, a second temperature, and a third temperature; The step of controlling the temperature of the air conditioner according to the control parameter to adjust the initial indoor temperature to a target temperature corresponding to the control parameter includes: According to the first parameter, adjusting the initial indoor temperature to a first temperature corresponding to the first parameter; According to the second parameter, adjusting the initial indoor temperature to a second temperature corresponding to the second parameter; According to the third parameter, the initial indoor temperature is adjusted to a third temperature corresponding to the third parameter.
6. The air conditioner control method based on audio according to any one of claims 1 to 5, characterized in that: After the step of controlling the temperature of the air conditioner according to the control parameter and adjusting the initial indoor temperature to a target temperature corresponding to the control parameter, the method further includes: During each first preset time period, users in the indoor environment are detected and processed, and when it is determined that there are no users in the indoor environment during a second preset time period, an air conditioner shutdown instruction is generated, and the air conditioner is shut down according to the air conditioner shutdown instruction.
7. An audio-based air conditioner control device, characterized in that: include: An acquisition module, used to acquire the ambient audio and initial indoor temperature of the indoor environment where the air conditioner is located; A separation module, used to separate the ambient audio to obtain target human voice audio; A determination module, used to determine a control parameter corresponding to the target human voice audio according to the target human voice audio; The control module is used to control the temperature of the air conditioner according to the control parameter, and adjust the initial indoor temperature to a target temperature corresponding to the control parameter.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the audio-based air conditioner control method according to any one of claims 1 to 6 are implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the audio-based air conditioner control method according to any one of claims 1 to 6 are implemented.
10. An air conditioner, comprising a controller, characterized in that: The controller executes the steps of implementing the audio-based air conditioner control method according to any one of claims 1 to 6.
