Air conditioner control method and device, storage medium and electronic equipment
By processing voice data and estimating the location of sound sources for air conditioner control, the air supply mode is automatically adjusted, solving the problems of traditional air conditioner air supply affecting sleep quality and privacy leakage, and achieving a user experience improvement that is both secure and cost-effective.
Patent Information
- Application Number
- CN202610203048.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-02-11
- Publication Date
- 2026-05-15
AI Technical Summary
Traditional air conditioning airflow patterns affect users' sleep quality, and infrared sensing or camera-based airflow positioning poses privacy risks and high costs.
By acquiring effective voice data related to sleep scenarios, filtering and processing the data to obtain target voice data, estimating the sleep area range using sound source location data, and automatically controlling the air conditioning to deliver air.
It enables accurate estimation of sleep zones and appropriate airflow without compromising user privacy, thereby improving user experience and reducing costs.
Smart Images

Figure CN122041331A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of air conditioning technology, specifically to an air conditioning control method, device, storage medium, and electronic device. Background Technology
[0002] Users of smart air conditioners have increasingly higher requirements for user experience. The user experience of traditional fixed air supply mode or manual air supply adjustment is poor, especially when users are sleeping, fixed air supply will seriously affect sleep quality. On the other hand, if infrared sensors or cameras are used to locate the user's position to control the air supply, there are problems such as privacy leakage, high cost and low recognition rate at night. Summary of the Invention
[0003] This application provides an air conditioning control scheme that can effectively improve the user experience of air conditioning air supply, and is highly safe and low in cost.
[0004] The embodiments of this application provide the following technical solutions:
[0005] According to one embodiment of this application, an air conditioning control method includes: acquiring multiple valid voice data related to a sleep scenario, each valid voice data including sound source location data corresponding to a historical air conditioning control voice; filtering the multiple valid voice data to obtain target voice data, the target voice data including the valid voice data corresponding to the historical air conditioning control voice emitted by the user in a concentrated sleep area; estimating the sleep area range based on the sound source location data in the target voice data, so as to control the air conditioning air supply according to the sleep area range.
[0006] In some embodiments of this application, the step of filtering the multiple valid voice data to obtain target voice data includes: clustering the multiple valid voice data to obtain multiple clusters; selecting a cluster that meets predetermined data conditions from the multiple clusters to obtain a target cluster, wherein the target voice data includes the valid voice data in the target cluster.
[0007] In some embodiments of this application, the step of estimating the sleep region range based on the sound source location data in the target speech data includes: performing distribution analysis on the sound source location data in the target cluster to obtain the sound source distribution range; and / or, performing central region analysis based on the sound source location data in the cluster center of the target cluster to obtain the sound source central region; the sleep region range includes at least one of the sound source distribution range and the sound source central region.
[0008] In some embodiments of this application, before acquiring multiple valid voice data related to the sleep scenario, the method further includes: acquiring voice-related information of the historical air conditioning control voice; determining, based on the voice-related information, whether the historical air conditioning control voice is a voice command related to the sleep scenario; if so, recording valid voice data, wherein the valid voice data includes at least the sound source location data corresponding to the historical air conditioning control voice.
[0009] In some embodiments of this application, the voice-related information includes the intent to which the user command belongs; obtaining the voice-related information of the historical air conditioning control voice includes: converting the historical air conditioning control voice to obtain a phoneme sequence; converting the phoneme sequence into text; and using an intent recognition model to perform intent recognition on the text to obtain the intent to which the user command belongs.
[0010] In some embodiments of this application, the historical air conditioning control voice is collected through a preset microphone array; the method for obtaining the sound source azimuth data corresponding to the historical air conditioning control voice includes: determining the acquisition time difference of the historical air conditioning control voice by multiple microphones in the preset microphone array; estimating the horizontal azimuth angle and pitch angle of the sound source corresponding to the historical air conditioning control voice relative to the air conditioner based on the acquisition time difference and the microphone spacing between the multiple microphones, wherein the sound source azimuth data includes the horizontal azimuth angle and the pitch angle.
[0011] In some embodiments of this application, controlling the air conditioner's air supply according to the sleep area range includes: controlling the air conditioner to supply air in a sleep air supply mode for the sleep area range; or, controlling the air conditioner to supply air within a preset angle range outside the sleep area range.
[0012] According to one embodiment of this application, an air conditioning control device includes: a data acquisition module, configured to: acquire multiple valid voice data related to a sleep scenario, each valid voice data including sound source location data corresponding to a historical air conditioning control voice; a data filtering module, configured to: filter the multiple valid voice data to obtain target voice data, the target voice data including the valid voice data corresponding to the historical air conditioning control voice emitted by the user in a concentrated sleep area; and a range estimation module, configured to: estimate the sleep area range based on the sound source location data in the target voice data, so as to control the air conditioning air supply according to the sleep area range.
[0013] According to another embodiment of this application, a storage medium stores a computer program thereon, which, when executed by a processor of an electronic device, causes the electronic device to perform the methods described in the embodiments of this application.
[0014] According to another embodiment of this application, an electronic device may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the methods described in the embodiments of this application.
[0015] According to another embodiment of this application, a computer program product or computer program includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the methods provided in the various optional implementations described in the embodiments of this application.
[0016] In this embodiment, multiple valid voice data related to the sleep scenario are acquired, each of which includes sound source location data corresponding to a historical air conditioning control voice. The multiple valid voice data are filtered to obtain target voice data, which includes the valid voice data corresponding to the historical air conditioning control voice emitted by the user in the concentrated sleep area. The sleep area range is estimated based on the sound source location data in the target voice data, so as to control the air conditioning air supply according to the sleep area range.
[0017] In this embodiment of the application, by filtering and processing multiple valid voice data related to the sleep scenario, the user's sleep area can be conveniently and accurately estimated based on the sound source location data in the filtered target voice data. This avoids the high cost and privacy leakage issues associated with using infrared sensors or cameras, thus achieving high security and low cost. Moreover, airflow can be appropriately directed to this sleep area without requiring manual adjustment by the user, improving the user experience. Therefore, overall, the user experience of air conditioning airflow can be effectively improved, while maintaining high security and low cost. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 A flowchart of an air conditioning control method according to an embodiment of this application is shown.
[0020] Figure 2 A data recording flowchart according to one embodiment of this application is shown.
[0021] Figure 3 A data filtering flowchart according to one embodiment of this application is shown.
[0022] Figure 4 A schematic diagram of the sleep area range according to an embodiment of this application is shown.
[0023] Figure 5 A schematic diagram of the sleep area range according to another embodiment of this application is shown.
[0024] Figure 6 A schematic diagram of the sleep area range according to another embodiment of this application is shown.
[0025] Figure 7 A block diagram of an air conditioning control device according to an embodiment of this application is shown.
[0026] Figure 8 A block diagram of an electronic device according to an embodiment of this application is shown. Detailed Implementation
[0027] The present disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the embodiments provided herein are merely illustrative of the present disclosure and are not intended to limit the present disclosure. Furthermore, the embodiments provided below are some embodiments for implementing the present disclosure, and not all embodiments for implementing the present disclosure. Unless otherwise specified, the technical solutions described in the embodiments of the present disclosure can be implemented in any combination.
[0028] It should be noted that, in the embodiments of this disclosure, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a method or apparatus that includes a list of elements includes not only the elements expressly described, but also other elements not expressly listed, or elements inherent to implementing the method or apparatus. Without further limitations, an element defined by the phrase "comprising a..." does not exclude the presence of other related elements (e.g., steps in the method or units in the apparatus; for example, a unit may be a portion of circuitry, a portion of a processor, a portion of a program or software, etc.) in the method or apparatus that includes that element.
[0029] For example, the air conditioning control method provided in this embodiment includes a series of steps, but the air conditioning control method provided in this embodiment is not limited to the steps described. Similarly, the air conditioning control device provided in this embodiment includes a series of units, but the device provided in this embodiment is not limited to the units explicitly described, but may also include units that need to be set up for obtaining relevant information or processing based on information.
[0030] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of this disclosure.
[0031] It is understood that in the specific implementation of this application, relevant data is involved. When the embodiments in this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards.
[0032] Users of smart air conditioners have increasingly higher requirements for user experience. The user experience of traditional fixed air supply mode or manual air supply adjustment is poor, especially when users are sleeping, fixed air supply will seriously affect sleep quality. On the other hand, if infrared sensors or cameras are used to locate the user's position to control the air supply, there are problems such as privacy leakage, high cost and low recognition rate at night.
[0033] To address these issues, this application provides an air conditioning control solution that can effectively improve the user experience of air conditioning delivery, while also being highly safe and cost-effective.
[0034] The following is a detailed description of the relevant embodiments of the air conditioning control scheme provided in this application.
[0035] Figure 1 A flowchart illustrating an embodiment of an air conditioning control method according to this application is shown. The execution entity of this air conditioning control method can be an electronic device with processing capabilities and / or a server, wherein the electronic device includes, for example, the air conditioner itself, a remote control, a wired controller, a mobile phone, a computer, a smartwatch, and other home appliances. The server can be, for example, a cloud server or a physical server.
[0036] For example, in one embodiment of this application, the air conditioner itself can be the executing entity of the air conditioning control method. The air conditioner may include a processor and a memory, and the memory stores a computer program. Thus, the processor in the air conditioner can read the computer program stored in the memory to execute the methods of the various embodiments of this application.
[0037] like Figure 1 As shown, the air conditioning control method may include steps S110 to S130.
[0038] Step S110: Obtain multiple valid voice data related to the sleep scenario. Each valid voice data includes the sound source location data corresponding to a historical air conditioning control voice. Step S120: Filter and process multiple valid voice data to obtain target voice data. The target voice data includes valid voice data corresponding to historical air conditioning control voices issued by the user in the sleep concentration area. Step S130: Estimate the sleep area range based on the sound source location data in the target speech data, and control the air conditioning air supply according to the sleep area range.
[0039] Historical air conditioning control voice messages refer to voice messages used by the user to control the air conditioning at times prior to the current time (i.e., the time when the air conditioning is controlled this time). Sound source location data refers to the location data of the sound source (such as the user) that issued the historical air conditioning control voice messages. For example, sound source location data may include the horizontal azimuth angle and pitch angle of the sound source relative to the air conditioner.
[0040] By estimating the sound source location of historical air conditioner control voice commands, sound source location data can be obtained and recorded in the valid voice data. Furthermore, intent recognition can be performed on historical air conditioner control voice commands, and the intent of the recognized user command can be recorded in the valid voice data. The valid voice data can also record the timestamps (e.g., the time the voice command was issued). For example, the valid voice data may include: {timestamp, horizontal azimuth angle A, pitch angle B, and the intent of the user command}. The valid voice data corresponding to all historical air conditioner control voice commands related to sleep scenarios can form a valid voice data set.
[0041] When the predetermined air supply self-adjustment conditions are met (such as when the air conditioner is in sleep mode, or when the current time is within the predetermined sleep time period, or when the user indicates that air supply self-adjustment control is required, etc.), multiple valid voice data related to the sleep scenario can be obtained from the pre-collected valid voice data set.
[0042] Then, multiple valid voice data related to the sleep scenario are filtered to identify valid voice data corresponding to historical air conditioning control voice commands issued by the user in the concentrated sleep area (i.e., the area where the user sleeps most frequently, such as the area around the bed or sofa), thus obtaining the target voice data. Based on the sound source location data in the target voice data, the core sleep area range can be accurately estimated. This sleep area range may not be equal to the area of the concentrated sleep region; it is only a reference area range used to control the air conditioning's airflow mode to aid sleep.
[0043] By controlling the air conditioning's airflow according to the sleep zone range, more reasonable airflow can be delivered to the sleep zone without the user having to manually adjust it, improving the user experience. In other words, the user does not need to manually adjust the air conditioning's airflow area while sleeping; this embodiment can automatically and accurately determine the sleep zone range and automatically adjust the airflow mode accordingly, resulting in a better sleep experience. Moreover, the sleep zone range can be accurately obtained solely through voice control of the air conditioning, avoiding the high cost and privacy issues associated with using infrared sensors or cameras, thus ensuring high security and low cost. Furthermore, valid voice data can be continuously collected and analyzed, and the accuracy of the sleep zone range increases over time.
[0044] In summary, by filtering and processing multiple valid voice data related to the sleep scenario using the method described in this application embodiment, the user's sleep area can be conveniently and accurately estimated based on the sound source location data in the filtered target voice data. This avoids the high cost and privacy leakage issues associated with using infrared sensors or cameras, resulting in high security and low cost. Moreover, airflow can be appropriately directed to this sleep area without requiring manual adjustment by the user, improving the user experience. Therefore, overall, this method effectively improves the user experience of air conditioning airflow while maintaining high security and low cost.
[0045] The following description Figure 1 Further optional specific embodiments are provided for each step performed when controlling the air conditioner in the example implementation.
[0046] See Figure 2 In one embodiment, before obtaining multiple valid voice data related to the sleep scenario in step S110, the method may further include: step S210, obtaining voice-related information of historical air conditioning control voice; step S220, determining whether the historical air conditioning control voice is a voice command related to the sleep scenario based on the voice-related information; step S230, if so, recording valid voice data, wherein the valid voice data includes at least the sound source location data corresponding to the historical air conditioning control voice.
[0047] After receiving historical air conditioning control voice commands from the user, relevant voice information (such as the time the voice command was sent and the user's intent) can be obtained. Based on the relevant voice information, it can be accurately determined whether the historical air conditioning control voice command is related to a sleep scenario.
[0048] When it is determined that a historical air conditioning control voice command is related to a sleep scenario, the valid voice data corresponding to that historical air conditioning control voice command is recorded. This valid voice data must include at least the location data of the sound source corresponding to the historical air conditioning control voice command. In this way, valid voice data corresponding to all historical air conditioning control voice commands related to sleep scenarios can be recorded to form a valid voice data set. Based on this recorded valid voice data related to sleep scenarios, the sleep area range can be accurately estimated.
[0049] Furthermore, in one embodiment, the voice-related information includes the intent to which the user command belongs; step S110, obtaining the voice-related information of historical air conditioning control voice, may include: converting the historical air conditioning control voice to obtain a phoneme sequence; converting the phoneme sequence into text; and using an intent recognition model to perform intent recognition on the text to obtain the intent to which the user command belongs.
[0050] A phoneme sequence is a sequence of phonemes arranged in chronological order, and it can represent the pronunciation content of speech. Converting historical air conditioner control voice commands can yield the corresponding phoneme sequence. For example, if the historical air conditioner control voice command was "fan speed low," the converted phoneme sequence could be " / f". ŋ / / su / / di / / dɑŋ / . Furthermore, the phoneme sequence can be converted into the corresponding text, for example, " / f ŋ / / su / / di / / dɑŋ / ” can be accurately translated into “low wind speed”. Furthermore, by using an intent recognition model (i.e., an NLP model such as BERT, LSTM, etc.) to perform intent recognition on the text, the intent of the user command corresponding to the historical air conditioning control voice can be obtained. For example, the intent of the user command corresponding to “low wind speed” could be “adjust the wind speed”.
[0051] Furthermore, in one embodiment, the voice-related information includes at least one of the voice issuance time of the historical air conditioning control voice and the intent of the user command; in step S120, determining whether the historical air conditioning control voice is a voice command related to a sleep scenario based on the voice-related information may include: determining whether the historical air conditioning control voice is a voice command related to a sleep scenario based on at least one of the voice issuance time and the intent of the user command.
[0052] The voice data can be used to determine the voice transmission time (timestamp) and / or the intent of the user command for historical air conditioning control voice commands. Based on the voice transmission time (timestamp) and / or the intent of the user command, it can be accurately determined whether historical air conditioning control voice commands are related to sleep scenarios.
[0053] Specifically, in one example, if the voice transmission time (timestamp) falls within a predetermined time period, then the historical air conditioning control voice is determined to be a voice command related to a sleep scenario. For example, if a predetermined time period is from 22:00 to 7:00, and the voice transmission time is 23:00, then 23:00 falls within the 22:00 to 7:00 time period, and the historical air conditioning control voice is determined to be a voice command related to a sleep scenario. In another example, if the intent of the user command is a predetermined sleep scenario intent, then the historical air conditioning control voice is determined to be a voice command related to a sleep scenario. For example, predetermined sleep scenario intents may include "sleep monitoring," "closing curtains," "setting an alarm clock," "playing sleep aid songs," etc. If the intent of the user command determined this time is "playing sleep aid songs," then the intent of the user command is a predetermined sleep scenario intent, and thus the historical air conditioning control voice can be determined to be a voice command related to a sleep scenario. In one example, if the voice transmission time (timestamp) is within a predetermined time period and the user's instruction belongs to a predetermined sleep scenario intent, then the historical air conditioning control voice is determined to be a voice instruction related to the sleep scenario; for example, if the voice transmission time is 23:00 and the user's instruction belongs to the intent of "playing sleep aid songs", then the historical air conditioning control voice is determined to be a voice instruction related to the sleep scenario.
[0054] Furthermore, in one embodiment, the historical air conditioning control voice is collected through a preset microphone array; the method for obtaining the sound source azimuth data corresponding to the historical air conditioning control voice may be: determining the acquisition time difference of the historical air conditioning control voice by multiple microphones in the preset microphone array; estimating based on the acquisition time difference and the microphone spacing between the multiple microphones to obtain the horizontal azimuth angle and pitch angle of the sound source corresponding to the historical air conditioning control voice relative to the air conditioner, the sound source azimuth data including the horizontal azimuth angle and pitch angle.
[0055] In this embodiment, the horizontal azimuth angle A and pitch angle B of the sound source relative to the air conditioner are estimated as the sound source location data. For example, the valid voice data may include: {timestamp, horizontal azimuth angle A, pitch angle B, and the intent of the user command}. The horizontal azimuth angle A and pitch angle B can accurately reflect the angular region of the sound source relative to the air conditioner, and the sleep area range can be accurately estimated based on the horizontal azimuth angle A and pitch angle B.
[0056] Historical air conditioner control voice can be received through a preset microphone array. This array can include multiple microphones, each capable of capturing historical air conditioner control voice. The difference in acquisition time between two microphones for the historical air conditioner control voice is the acquisition time difference. Based on acoustic propagation principles and geometric relationships, the horizontal azimuth and pitch angles of the sound source relative to the air conditioner can be accurately estimated by combining the acquisition time difference and the microphone spacing. Specifically, the relative angle θ (such as the horizontal azimuth or pitch angle) can be calculated using the formula θ = arccos(Δd / L) = arccos(Δt*c / L), where Δd is the distance difference from the sound source to the two microphones, L is the microphone spacing between the two microphones, Δt is the acquisition time difference between the two microphones, and c is the speed of sound.
[0057] For example, such as Figure 4 As shown, the time difference between microphones 430 and 440 in acquiring a historical air conditioning control voice message emitted by sound source S1 is Δt1. Therefore, the first distance difference between sound source S1 and microphones 430 and 440 is Δd1 = Δt1 * c. When the microphone spacing between microphones 430 and 440 is L1, then Bmin = θ1 = arccos(Δd1 / L1). For example, as... Figure 4 As shown, the time difference between microphones 450 and 460 in acquiring a certain historical air conditioning control voice emitted by sound source S2 is Δt2. Therefore, the second distance difference between sound source S2 and microphones 450 and 460 is Δd2=Δt2*c. When the microphone spacing between microphones 450 and 460 is L2, then Amax=θ2=arccos(Δd2 / L2).
[0058] See Figure 3 In one embodiment, step S120 involves filtering multiple valid voice data to obtain target voice data from the multiple valid voice data, including: step S310, clustering multiple valid voice data to obtain multiple clusters; step S320, selecting a cluster that meets predetermined data conditions from the multiple clusters to obtain a target cluster, wherein the target voice data includes the valid voice data in the target cluster.
[0059] Multiple valid speech data points are clustered to obtain multiple clusters. Each cluster may include at least one valid speech data point, and the sound source location data of at least one valid speech data point within the same cluster must be located within the same directional region. The clustering process can employ algorithms such as K-Means or K-Prototypes; this application does not impose any specific limitations on this method. Specifically, multiple valid speech data points related to the sleep scenario can be converted into vectors composed of sound source location data. Then, a clustering algorithm is applied to these vectors to obtain multiple clusters.
[0060] Clusters that meet predetermined data conditions are selected from multiple clusters as target clusters. In one approach, the cluster meeting the predetermined data conditions is the cluster with the most valid voice data entries among the multiple clusters. Furthermore, the historical air conditioning control voice corresponding to the valid voice data in this target cluster is emitted by the user in their most concentrated sleep area. The sound source location data in the valid voice data of the target cluster can accurately reflect the sleep area range of the user's core sleep region. In another approach, the clusters meeting the predetermined data conditions can also be the top few clusters with the most valid voice data entries among the multiple clusters. Each of these top few clusters can be considered as a target cluster. The sound source location data in the valid voice data of these multiple target clusters can reflect the sleep area range of multiple concentrated sleep areas where the user frequently sleeps. By estimating based on the sound source location data in each target cluster, a corresponding sleep area range can be accurately estimated. Furthermore, in one embodiment, estimating the sleep region range based on the sound source location data in the target speech data may include: performing distribution analysis on the sound source location data in the target cluster to obtain the sound source distribution range; and / or performing central region analysis based on the sound source location data in the cluster center of the target cluster to obtain the sound source central region; the sleep region range includes at least one of the sound source distribution range and the sound source central region.
[0061] The sound source distribution range refers to the geographical extent of a sound source. The maximum azimuth range formed by the azimuth data of multiple valid speech data points within a target cluster is the sound source distribution range. For example, the range formed by the "maximum horizontal azimuth angle Amax, minimum horizontal azimuth angle Amin, maximum elevation angle Bmax, and minimum elevation angle Bmin" among multiple azimuth data points within a target cluster is the sound source distribution range. For example, as... Figure 4 As shown, for air conditioner 410, the horizontal azimuth angle of sound source S1 on bed 420 relative to air conditioner 410 is Amin and the pitch angle is Bmin, and the horizontal azimuth angle of sound source S2 on bed 420 relative to air conditioner 410 is Amax and the pitch angle is Bmax. At this time, the sound source distribution range can be the range "Amin-max and Bmin-max" composed of "Amax, Amin, Bmax, Bmin".
[0062] Furthermore, based on the sound source azimuth data within the cluster center of the target cluster, the sound source center region can be obtained. Each target cluster includes a cluster center (i.e., a valid speech data point serving as the center), and the region formed by the sound source azimuth data within the cluster center is the sound source center region. For example, if the sound source azimuth data in a cluster center is "horizontal azimuth C, pitch angle D," then the sound source center region can be determined based on "horizontal azimuth C, pitch angle D." Each target cluster can define a corresponding sleep region range. For example, as... Figure 5As shown, for air conditioner 410, the horizontal azimuth angle of sound source S3 on bed 420 relative to air conditioner 410 is C and the pitch angle is D. The intersection of Bmin and D is D1, and the central region of the sound source can be "C and D1".
[0063] Furthermore, the sleep zone range can include at least one of the sound source distribution range and the sound source center region. For example, in one example, the sleep zone range can include the sound source distribution ranges "Amin-max and Bmin-max", and in another example, the sleep zone range can include the sound source distribution ranges "Amin-max and Bmin-max" as well as "C and D1". Defining the combination of the sound source center region and the sound source distribution range as the sleep zone range, and controlling the air supply according to the sleep zone range, can further improve the user experience. For example, no airflow is blown in the sound source center region, while airflow is supplied in the sleep air supply mode in the area outside the sound source center region within the sound source distribution range, and airflow is supplied in the preset air supply mode in the area outside the sound source distribution range.
[0064] Furthermore, in one embodiment, the sleep zone range can be calibrated through user interaction. For example, the user can initiate the calibration process through an application or voice. Then, the executing entity can prompt the user to issue several new air conditioning control voice commands at different locations in the sleep zone. Subsequently, the executing entity can update the sleep zone range by combining the sound source location data of the new air conditioning control voice commands and historical air conditioning control voice commands, thereby further improving the accuracy of the sleep zone range and enhancing the user's sleep experience.
[0065] In one embodiment, step S130, controlling the air conditioner's air supply according to the sleep area range, may include: in one way, controlling the air conditioner to supply air in a sleep air supply mode for the sleep area range; or in another way, controlling the air conditioner to supply air within a preset angle range outside the sleep area range.
[0066] In the first method, the air supply mode for the sleep area can specifically be described as "sweeping and avoiding the sleep area." Specifically, when the airflow control module (such as an air deflector) sweeps left and right and up and down within the room, once it reaches the boundary of the sleep area, the module (air deflector) quickly sweeps across the sleep area or reduces the airflow speed to ensure that airflow does not linger in the sleep area for too long or that excessively strong airflow is not delivered within it. Furthermore, the airflow control module (air deflector) can be controlled to avoid blowing air through the center of the sound source within the sleep area, instead quickly sweeping across the sound source distribution area within the sleep area at a preset low airflow speed.
[0067] In the second method, controlling the air conditioner to deliver air within a preset angle range outside the sleep zone can specifically involve fixing the airflow direction of the airflow control module (air guide plate) to one or more preset angle ranges away from the sleep zone (such as an angle range towards the wall or ceiling). That is, no airflow is delivered within the sleep zone, but airflow is delivered within the preset angle range outside the sleep zone, utilizing natural air diffusion to regulate the experience within the sleep zone. The preset angle range outside the sleep zone can include one or more, and the distance between this preset angle range and the sleep zone can be set according to actual conditions. For example, ... Figure 6 As shown in one example, when the sleep area range is "Amin-max and Bmin-max", preset angle ranges such as J1, J2 and / or J3 outside the sleep area range "Amin-max and Bmin-max" can be set, so that the air delivery direction of the wind direction control module (air guide plate) is limited to the preset angle ranges such as J1, J2 and / or J3, and the cold or hot air is diffused into "Amin-max and Bmin-max" by utilizing the natural diffusion of air.
[0068] To facilitate better implementation of the air conditioning control method provided in this application, this application also provides an air conditioning control device based on the above-described air conditioning control method. The meanings of the terms used are the same as in the above-described air conditioning control method, and specific implementation details can be found in the descriptions within the method embodiments. Figure 7 A block diagram of an air conditioning control device according to an embodiment of this application is shown.
[0069] like Figure 7 As shown, the air conditioning control device 500 may include: a data acquisition module 510, which can be used to: acquire multiple valid voice data related to the sleep scenario, each of the valid voice data including sound source location data corresponding to a historical air conditioning control voice; a data filtering module 520, which can be used to: filter the multiple valid voice data to obtain target voice data, the target voice data including the valid voice data corresponding to the historical air conditioning control voice issued by the user in the sleep concentration area; and a range estimation module 530, which can be used to: estimate the sleep area range based on the sound source location data in the target voice data, so as to control the air conditioning air supply according to the sleep area range.
[0070] In some embodiments of this application, when filtering the multiple valid voice data to obtain target voice data, the data filtering module 520 can be used to: perform clustering processing on the multiple valid voice data to obtain multiple clusters; select a cluster that meets predetermined data conditions from the multiple clusters to obtain a target cluster, wherein the target voice data includes the valid voice data in the target cluster.
[0071] In some embodiments of this application, when estimating the sleep region range based on the sound source location data in the target speech data, the range estimation module 530 can be used to: perform distribution analysis on the sound source location data in the target cluster to obtain the sound source distribution range; and / or, perform central region analysis based on the sound source location data in the cluster center of the target cluster to obtain the sound source central region; the sleep region range includes at least one of the sound source distribution range and the sound source central region.
[0072] In some embodiments of this application, before acquiring multiple valid voice data related to the sleep scenario, the device further includes a data recording module that can be used to: acquire voice-related information of the historical air conditioning control voice; determine whether the historical air conditioning control voice is a voice command related to the sleep scenario based on the voice-related information; if so, record valid voice data, wherein the valid voice data includes at least the sound source location data corresponding to the historical air conditioning control voice.
[0073] In some embodiments of this application, the voice-related information includes the intent of the user command; when obtaining the voice-related information of the historical air conditioning control voice, the data recording module can be used to: convert the historical air conditioning control voice to obtain a phoneme sequence; convert the phoneme sequence into text; and use an intent recognition model to perform intent recognition on the text to obtain the intent of the user command.
[0074] In some embodiments of this application, the historical air conditioning control voice is collected through a preset microphone array; the method for obtaining the sound source azimuth data corresponding to the historical air conditioning control voice includes: determining the acquisition time difference of the historical air conditioning control voice by multiple microphones in the preset microphone array; estimating the horizontal azimuth angle and pitch angle of the sound source corresponding to the historical air conditioning control voice relative to the air conditioner based on the acquisition time difference and the microphone spacing between the multiple microphones, wherein the sound source azimuth data includes the horizontal azimuth angle and the pitch angle.
[0075] In some embodiments of this application, when the air conditioner is controlled to supply air according to the sleep area range, the device further includes a control module that can be used to: control the air conditioner to supply air in a sleep air supply mode for the sleep area range; or control the air conditioner to supply air within a preset angle range outside the sleep area range.
[0076] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0077] Furthermore, embodiments of this application also provide an electronic device, such as... Figure 8 As shown, Figure 8 A block diagram of an electronic device according to an embodiment of this application is shown, specifically: The electronic device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will understand that... Figure 8 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 601 is the control center of the electronic device, connecting various parts of the computer device via various interfaces and lines. It executes software programs and / or modules stored in the memory 602, and calls data stored in the memory 602, to perform various functions of the computer device and process data. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user page, and application programs, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 601.
[0078] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
[0079] The electronic device also includes a power supply 603 that supplies power to the various components. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 603 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0080] The electronic device may also include an input unit 604, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0081] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 601 in the electronic device can load the executable files corresponding to the processes of one or more computer programs into the memory 602 according to the following instructions, and the processor 601 runs the computer programs stored in the memory 602, thereby realizing the various functions in the foregoing embodiments of this application.
[0082] For example, processor 601 can perform the following: acquire multiple valid voice data related to the sleep scenario, each valid voice data including sound source location data corresponding to a historical air conditioning control voice; filter the multiple valid voice data to obtain target voice data, the target voice data including the valid voice data corresponding to the historical air conditioning control voice issued by the user in the concentrated sleep area; estimate the sleep area range based on the sound source location data in the target voice data, so as to control the air conditioning air supply according to the sleep area range.
[0083] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by a computer program, or by a computer program controlling related hardware. The computer program can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0084] Therefore, embodiments of this application also provide a storage medium storing a computer program that can be loaded by a processor to execute the steps in any of the methods provided in embodiments of this application.
[0085] The storage medium can be a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0086] Since the computer program stored in the storage medium can execute the steps of any of the methods provided in the embodiments of this application, the beneficial effects that the methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.
[0087] According to another embodiment of this application, a computer program product or computer program includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the methods provided in the various optional implementations described in the embodiments of this application.
[0088] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.
[0089] It should be understood that this application is not limited to the embodiments described above and shown in the accompanying drawings, but various modifications and changes can be made without departing from its scope.
Claims
1. An air conditioning control method, characterized in that, include: Acquire multiple valid voice data related to sleep scenarios, each of which includes sound source location data corresponding to a historical air conditioning control voice; The multiple valid voice data are filtered to obtain target voice data, which includes the valid voice data corresponding to the historical air conditioning control voices issued by the user in the sleep concentration area. The sleep region range is estimated based on the sound source location data in the target speech data, and the air conditioning supply is controlled according to the sleep region range.
2. The method according to claim 1, characterized in that, The process of filtering the multiple valid voice data to obtain the target voice data includes: The multiple valid voice data are clustered to obtain multiple clusters; A target cluster is obtained by selecting a cluster that meets the predetermined data conditions from the plurality of clusters, and the target speech data includes the valid speech data in the target cluster.
3. The method according to claim 2, characterized in that, The step of estimating the sleep region range based on the sound source location data in the target speech data includes: The distribution analysis of the sound source location data in the target cluster is performed to obtain the sound source distribution range; And / or, based on the sound source orientation data in the cluster center of the target cluster, perform central region analysis to obtain the sound source central region; The sleep area range includes at least one of the sound source distribution range and the sound source center region.
4. The method according to claim 1, characterized in that, Before acquiring multiple valid voice data related to the sleep scenario, the method further includes: Obtain the voice-related information of the historical air conditioning control voice commands; Based on the voice-related information, determine whether the historical air conditioning control voice is a voice command related to the sleep scenario; If so, then record the valid voice data, which includes at least the sound source location data corresponding to the historical air conditioning control voice.
5. The method according to claim 4, characterized in that, The voice-related information includes the intent of the user command; the voice-related information for obtaining the historical air conditioning control voice includes: The historical air conditioning control voice is converted and processed to obtain a phoneme sequence; Convert the phoneme sequence into text; An intent recognition model is used to identify the intent of the text, thereby obtaining the intent to which the user command belongs.
6. The method according to any one of claims 1 to 5, characterized in that, The historical air conditioning control voice commands were collected through a preset microphone array; The method for obtaining the sound source location data corresponding to the historical air conditioning control voice commands includes: Determine the time difference between the acquisition of the historical air conditioning control voice by multiple microphones in the preset microphone array; Based on the acquisition time difference and the microphone spacing between the multiple microphones, the horizontal azimuth and pitch angles of the sound source corresponding to the historical air conditioning control voice are estimated relative to the air conditioner. The sound source azimuth data includes the horizontal azimuth and the pitch angle.
7. The method according to any one of claims 1 to 5, characterized in that, The step of controlling the air conditioner's airflow according to the sleep zone range includes: Control the air conditioner to supply air to the sleep area in sleep air supply mode; Alternatively, the air conditioner can be controlled to deliver air within a preset angle range outside the sleep area.
8. An air conditioning control device, characterized in that, include: The data acquisition module is used to: acquire multiple valid voice data related to the sleep scenario, each of the valid voice data includes a sound source location data corresponding to a historical air conditioning control voice; The data filtering module is used to: filter the multiple valid voice data to obtain target voice data, wherein the target voice data is the valid voice data corresponding to the historical air conditioning control voice issued by the user in the sleep concentration area; The range estimation module is used to: estimate the sleep area range based on the sound source location data in the target speech data, so as to control the air conditioner's air supply according to the sleep area range.
9. A storage medium, characterized in that, It stores a computer program that, when executed by the processor of the electronic device, causes the electronic device to perform the method described in any one of claims 1 to 7.
10. An electronic device, characterized in that, include: Memory, which stores computer programs; A processor reads a computer program stored in memory to perform the method described in any one of claims 1 to 7.