Control method and device of air conditioner, air conditioner and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2023-11-13
- Publication Date
- 2026-07-21
Smart Images

Figure CN117537468B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of air conditioning technology, and in particular to an air conditioning control method, device, air conditioner, and storage medium. Background Technology
[0002] For large venues such as shopping malls, supermarkets, classrooms, restaurants, and indoor sports fields, multiple air conditioners are often installed in different locations to meet cooling / heating needs. These venues share common characteristics such as high personnel mobility, uneven distribution of people in different areas, and varying levels of personnel density.
[0003] Existing technologies, in order to save energy costs or prioritize the cooling and heating needs of densely populated areas, often rely on manual settings to operate each air conditioner according to desired modes. This method struggles to adjust air conditioning parameters based on varying pedestrian traffic patterns, resulting in low precision and efficiency in air conditioning control. There is an urgent need for an air conditioning control method that can provide regionalized temperature control for spaces with varying, uneven, and mobile population distribution, thereby improving the precision and efficiency of air conditioning control. Summary of the Invention
[0004] This invention provides an air conditioning control method, device, air conditioner, and storage medium to perform regional temperature control for scenarios with different, uneven, and highly mobile personnel distribution within a space, thereby improving the accuracy and efficiency of air conditioning control.
[0005] In a first aspect, embodiments of the present invention provide a method for controlling an air conditioner, comprising:
[0006] The sound of the target area is collected, wherein the target area is the area divided by the different swing angles of the air conditioner;
[0007] Based on the sound, voiceprint recognition and sound source localization are performed to obtain a sound source distribution map and the regional activity trajectory of the sound object.
[0008] Air conditioning control parameters are generated based on the sound source distribution map and the activity trajectory of the area, and the air conditioner is controlled according to the air conditioning control parameters.
[0009] In a second aspect, embodiments of the present invention provide an air conditioner control device, comprising:
[0010] A sound acquisition unit is used to acquire sound from a target area, wherein the target area is the area divided by different swing angles of the air conditioner;
[0011] The sound processing unit is used to perform voiceprint recognition and sound source localization based on the sound, and to obtain a sound source distribution map and the regional activity trajectory of the sound object.
[0012] An air conditioning control unit is used to generate air conditioning control parameters based on the sound source distribution map and the regional activity trajectory, and to control the air conditioner according to the air conditioning control parameters.
[0013] Thirdly, embodiments of the present invention provide an air conditioner, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the air conditioner control method described in the first aspect above.
[0014] Fourthly, embodiments of the present invention also provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, which, when executed by a processor, causes the processor to perform the air conditioner control method described in the first aspect.
[0015] This invention provides an air conditioning control method, device, air conditioner, and storage medium. The method includes: acquiring sound from a target area, wherein the target area is a region divided by different swing angles of the air conditioner; performing voiceprint recognition and sound source localization based on the sound to obtain a sound source distribution map and a regional activity trajectory of the sound object; generating air conditioning control parameters based on the sound source distribution map and the regional activity trajectory; and controlling the air conditioner according to the air conditioning control parameters. This invention acquires sound from a target area and generates a sound source distribution map and a regional activity trajectory of the sound object based on the sound, enabling the generation of air conditioning control parameters corresponding to different areas. This allows for regional temperature control in scenarios with varying, uneven, and highly mobile population distribution, thereby improving the accuracy and efficiency of air conditioning control. Attached Figure Description
[0016] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 A flowchart illustrating the air conditioner control method provided in an embodiment of the present invention;
[0018] Figure 2 This is a schematic diagram of the first installation position of the sound acquisition device provided in an embodiment of the present invention;
[0019] Figure 3 This is a second installation diagram of the fixed position of the sound acquisition device provided in an embodiment of the present invention;
[0020] Figure 4The sound acquisition device slide rail provided in this embodiment of the invention is shown in the installation diagram.
[0021] Figure 5 This is a schematic diagram of the installation of the rotating shaft of the sound collector provided in an embodiment of the present invention;
[0022] Figure 6 A schematic diagram of a sub-process of the air conditioner control method provided in an embodiment of the present invention;
[0023] Figure 7 A schematic diagram of a sub-process of the air conditioner control method provided in an embodiment of the present invention;
[0024] Figure 8 A schematic diagram of a sub-process of the air conditioner control method provided in an embodiment of the present invention;
[0025] Figure 9 A schematic diagram of a sub-process of the air conditioner control method provided in an embodiment of the present invention;
[0026] Figure 10 A schematic diagram of a sub-process of the air conditioner control method provided in an embodiment of the present invention;
[0027] Figure 11 A schematic block diagram of an air conditioner control device provided in an embodiment of the present invention;
[0028] Figure 12 This is a schematic block diagram of an air conditioner provided in an embodiment of the present invention. Detailed Implementation
[0029] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0030] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0031] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0032] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0033] Please see Figures 1 to 5 , Figure 1 A flowchart illustrating the air conditioner control method provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the first installation position of the sound acquisition device provided in an embodiment of the present invention; Figure 3 This is a second installation diagram of the fixed position of the sound acquisition device provided in an embodiment of the present invention; Figure 4 The sound acquisition device slide rail provided in this embodiment of the invention is shown in the installation diagram. Figure 5 This is a schematic diagram of the installation of the rotating shaft of the sound collector provided in an embodiment of the present invention; the air conditioner control method provided in an embodiment of the present invention is applied to an air conditioner.
[0034] S1. Collect sound from the target area, wherein the target area is the area divided by the different swing angles of the air conditioner.
[0035] In this embodiment, a sound acquisition device collects sound from a target area, which is defined by different swing angles of the air conditioner. A communication connection is established between the sound acquisition device and the air conditioner, and the sound collected by the device is transmitted to the air conditioner's main control system.
[0036] Please see Figures 2 to 5 It illustrates different installation methods for the sound acquisition device. The sound acquisition device is installed in methods including, but not limited to: 1. [Example 1] Figure 2 and 3 As shown, install it in the air conditioner body or other fixed position in the space, according to the air outlet and swing direction; 2. As Figure 4 As shown, a sliding rail is designed on the air conditioner body or other locations in the space, and the sound collector is installed on the sliding rail for periodic movement; 3. As Figure 5 As shown, the sound collector is mounted on a rotating shaft and rotates periodically at a certain angle.
[0037] Furthermore, each sound collector (or slide rail position or rotation axis angle) can be customized to associate one or more air sweep (air outlet) angles with the air conditioner, dividing each area according to the air sweep (air outlet) angle. The air conditioner communicates and interconnects with each sound collector, and the air conditioners communicate and interconnect with each other. The sound collectors collect sound in real time or within a period of time (sliding or rotation cycle). The sound data collected by the sound collectors includes, but is not limited to, volume and voiceprint information.
[0038] S2. Based on the sound, perform voiceprint recognition and sound source localization to obtain a sound source distribution map and the regional activity trajectory of the sound object.
[0039] In this embodiment, the voiceprint features of each sound are extracted and compared with those in the voiceprint database to identify each sound object and sound type. Then, sound source localization is performed to obtain a sound source distribution map and the regional activity trajectory of the sound object. The sound source distribution map is a map summarizing the distribution of each sound object in each divided region within a preset period.
[0040] Please see Figure 6 , Figure 6 A specific implementation of step S2 is shown below:
[0041] S21: Extract the voiceprint features of each of the sounds.
[0042] S22: Compare the voiceprint features with the voiceprint features in the voiceprint database to identify the sound object and sound type of each sound.
[0043] In this embodiment, the main controller of the air conditioner or each sound acquisition device analyzes and processes the sound signals corresponding to the collected sounds to extract the voiceprint features of each sound. Then, the extracted voiceprint features are compared with voiceprint features in the voiceprint database to identify the sound object and sound type corresponding to each sound. Sound types include middle-aged male or female voice types, elderly male or female voice types, young male or female voice types, footstep sound types, and other non-human sound types (such as dog barking, car sounds). The sound object distinguishes different objects emitting sounds within the same type. For example, multiple middle-aged male voice types may exist, and multiple sounds may be emitted by one or more objects. This application treats the same sound source as the same sound object. Furthermore, to improve recognition accuracy, users can manually input voiceprint data into the voiceprint database.
[0044] S23: Determine whether there is a non-human voice type among the target types.
[0045] S24: If the non-human voice type exists, delete the voice corresponding to the non-human voice type.
[0046] In this embodiment, some sounds are considered noise and cannot be used to control the air conditioner, such as non-human sounds like car noises and dog barking. Therefore, to reduce the interference of these sounds with subsequent air conditioner control parameters, they need to be deleted, thus reducing data redundancy. Therefore, in this embodiment, it is determined whether a non-human sound type exists in the target type; if such a non-human sound type exists, the sound corresponding to that non-human sound type is deleted.
[0047] S25: Mark each of the aforementioned sound objects to obtain marked sound objects.
[0048] In this embodiment of the application, each identified sound object is independently labeled, such as A (middle-aged male) and B (middle-aged male).
[0049] S26: Based on the sound corresponding to the marked sound object, perform sound source localization to obtain the sound source distribution map and the regional activity trajectory of the sound object.
[0050] Please see Figure 7 , Figure 7 A specific implementation of step S26 is shown below:
[0051] S261: Based on the volume or arrival time of the sound corresponding to the marked sound object, the sound source is located to obtain the area where each marked sound object is located.
[0052] S262: Count the number of marked sound objects in each region within a preset period to obtain the sound source distribution map.
[0053] S263: Based on the sound source distribution map and the sound source type, perform trajectory recognition to obtain the activity trajectory of the area.
[0054] In this embodiment, the system uses the principle that the greater the volume or the earliest signal arrival time of the same sound object collected at a fixed location, a certain position on a slide rail, or a certain angle on a rotating axis within a preset period, the closer the sound object is to the corresponding defined area. This is used for sound source localization, and the distribution maps of each sound object in each defined area within the preset period are compiled to obtain a sound source distribution map. Finally, based on the sound source distribution map and the sound source type, trajectory recognition is performed to obtain the activity trajectory of the area. It should be noted that the preset period is set according to actual conditions and is not limited here.
[0055] Please see Figure 8 , Figure 8 A specific implementation of step S263 is shown below:
[0056] S2631: Determine whether the target sound type exists among the sound types.
[0057] S2632: If the target sound type exists, obtain the sound object corresponding to the target sound type to obtain the target sound object.
[0058] S2633: Obtain the trajectory of each target sound object in the sound source distribution map to obtain the activity trajectory of the area.
[0059] In this embodiment, it is necessary to construct regional activity trajectories for target sound types. These target sound types are specific to certain groups, such as children's voices and elderly voices. By constructing these regional activity trajectories, the air conditioning temperature control can better cater to this group, improving the accuracy of air conditioning control. Therefore, in this embodiment, it is determined whether a target sound type exists among the sound types. If the target sound type exists, the sound object corresponding to the target sound type is obtained, thus obtaining the target sound object. The trajectory of each target sound object in the sound source distribution map is then obtained, resulting in the regional activity trajectory. For example, if the sound identification of child A within 10 cycles indicates that the location is concentrated in areas A and B, then areas A and B are set to a medium wind speed and a 24°C operating mode to prevent excessively high wind speeds and low temperatures in these areas from causing child A to catch a cold.
[0060] S3. Generate air conditioning control parameters based on the sound source distribution map and the regional activity trajectory, and control the air conditioner according to the air conditioning control parameters.
[0061] In this embodiment, air conditioning control parameters are generated for each region based on the sound source distribution map and the regional activity trajectory, and air conditioning control is performed on the corresponding region according to the air conditioning control parameters. The air conditioning control parameters include, but are not limited to, adjustments to the sweep angle and sweep cycle, airflow at the outlet, outlet speed setting, compressor frequency, and set temperature.
[0062] Please see Figure 9 , Figure 9 A specific implementation of step S3 is shown below:
[0063] S31: Compare the number of sound sources in each region of the sound source distribution map with the pre-configured parameter table to generate the first control parameter corresponding to each region.
[0064] Specifically, before implementing step S31, this embodiment of the application first sets corresponding air conditioning control parameters based on the number of people in each area to construct a preset configuration parameter table. Therefore, after obtaining the number of people in each area, it is compared with the preset configuration parameter table to generate the first control parameter corresponding to each area.
[0065] S32: Generate a second control parameter for the area through which the activity trajectory passes, based on the sound type corresponding to the activity trajectory in the area.
[0066] Specifically, before implementing step S32, the air conditioning control parameters corresponding to the target sound type are constructed. For example, the air conditioning control parameters corresponding to the sound types of the elderly and children are set. Therefore, in this embodiment, the area traversed by the regional activity trajectory is set as the air conditioning control parameters of the sound type corresponding to the regional activity trajectory, that is, the second control parameters are generated.
[0067] S33: Control the air conditioner based on the first control parameter and the second control parameter.
[0068] Please see Figure 10 , Figure 10 A specific implementation of step S33 is shown below:
[0069] S331: Obtain the different regions corresponding to the second control parameter and the first control parameter as the first region, and obtain the same regions corresponding to the second control parameter and the first control parameter as the second region.
[0070] S332: Perform air conditioning control on the first area based on the first control parameters, and perform air conditioning control on the second area based on the second control parameters.
[0071] In this embodiment, since each first control parameter corresponds to a region, and the regions traversed by the region's activity trajectory may contain regions with the same first control parameter, this embodiment obtains the different regions corresponding to the second control parameter and the first control parameter as the first region, and obtains the same regions corresponding to the second control parameter and the first control parameter as the second region; it then performs air conditioning control on the first region based on the first control parameter, and performs air conditioning control on the second region based on the second control parameter.
[0072] In this embodiment, sound is collected from a target area, which is a region divided by different swing angles of the air conditioner. Voiceprint recognition and sound source localization are performed based on the sound to obtain a sound source distribution map and the regional activity trajectory of the sound object. Air conditioner control parameters are generated based on the sound source distribution map and the regional activity trajectory, and the air conditioner is controlled according to these parameters. This embodiment of the invention collects sound from a target area and generates a sound source distribution map and the regional activity trajectory of the sound object based on the sound, enabling the generation of air conditioner control parameters corresponding to different areas. This allows for regionalized temperature control in scenarios with varying, uneven, and highly mobile population distribution, thereby improving the accuracy and efficiency of air conditioner control.
[0073] This application's embodiments address the challenge of low-cost, prioritized, precise, and regionalized temperature control in large venues such as shopping malls, supermarkets, classrooms, restaurants, and indoor sports fields, where there is high personnel mobility, uneven distribution of people in different areas, and varying degrees of personnel density. This improves the intelligence of air conditioning to achieve energy saving and power conservation.
[0074] This invention also provides an air conditioner control device, which is used to execute any of the aforementioned air conditioner control methods. Specifically, please refer to... Figure 11 , Figure 11 This is a schematic block diagram of an air conditioner control device provided in an embodiment of the present invention.
[0075] Among them, such as Figure 11 As shown, the air conditioner control device 4 includes a sound acquisition unit 41, a sound processing unit 42, and an air conditioner control unit 43.
[0076] The sound acquisition unit 41 is used to acquire sound from a target area, wherein the target area is the area divided by different swing angles of the air conditioner;
[0077] The sound processing unit 42 is used to perform voiceprint recognition and sound source localization based on the sound, and obtain a sound source distribution map and the regional activity trajectory of the sound object;
[0078] The air conditioning control unit 43 is used to generate air conditioning control parameters based on the sound source distribution map and the regional activity trajectory, and to control the air conditioner according to the air conditioning control parameters.
[0079] Furthermore, the sound processing unit 42 includes:
[0080] A voiceprint extraction unit is used to extract the voiceprint features of each of the sounds.
[0081] A voice type recognition unit is used to compare the voiceprint features with voiceprint features in a voiceprint database to identify the voice object and voice type of each voice.
[0082] The first judgment unit is used to determine whether there is a non-human voice type in the target type;
[0083] The sound deletion unit is used to delete the sound corresponding to the non-human sound type if the non-human sound type exists.
[0084] An object marking unit is used to mark each of the sound objects to obtain marked sound objects;
[0085] The sound source localization unit is used to locate the sound source based on the sound corresponding to the marked sound object, and to obtain the sound source distribution map and the regional activity trajectory of the sound object.
[0086] Furthermore, the sound source localization unit includes:
[0087] The sound region determination unit is used to locate the sound source based on the volume or signal arrival time of the sound corresponding to the marked sound object, and to obtain the region where each marked sound object is located.
[0088] The quantity statistics unit is used to count the number of marked sound objects in each area within a preset period to obtain the sound source distribution map;
[0089] The trajectory recognition unit is used to perform trajectory recognition based on the sound source distribution map and the sound source type to obtain the activity trajectory of the area.
[0090] Furthermore, the trajectory recognition unit includes:
[0091] The second judgment unit is used to determine whether the target sound type exists in the sound type;
[0092] The sound object acquisition unit is used to acquire the sound object corresponding to the target sound type if the target sound type exists, thereby obtaining the target sound object;
[0093] The trajectory acquisition unit is used to acquire the trajectory of each target sound object in the sound source distribution map to obtain the activity trajectory of the area.
[0094] Furthermore, the air conditioning control parameters include a first control parameter and a second control parameter, and the air conditioning control unit 43 includes:
[0095] The first control parameter generation unit is used to compare the number of sound sources in each region of the sound source distribution map with the pre-configured parameter table to generate the first control parameter corresponding to each region.
[0096] The second control parameter generation unit is used to generate second control parameters for the area through which the activity trajectory passes, based on the sound type corresponding to the activity trajectory in the area.
[0097] A parameter control unit is used to control the air conditioner based on the first control parameter and the second control parameter.
[0098] Furthermore, the parameter control unit includes:
[0099] The region identification unit is used to obtain different regions corresponding to the second control parameter and the first control parameter as the first region, and to obtain the same regions corresponding to the second control parameter and the first control parameter as the second region;
[0100] A zone parameter control unit is used to control the air conditioner in the first zone based on the first control parameter, and to control the air conditioner in the second zone based on the second control parameter.
[0101] In this embodiment, sound is collected from a target area, which is a region divided by different swing angles of the air conditioner. Voiceprint recognition and sound source localization are performed based on the sound to obtain a sound source distribution map and the regional activity trajectory of the sound object. Air conditioner control parameters are generated based on the sound source distribution map and the regional activity trajectory, and the air conditioner is controlled according to these parameters. This embodiment of the invention collects sound from a target area and generates a sound source distribution map and the regional activity trajectory of the sound object based on the sound, enabling the generation of air conditioner control parameters corresponding to different areas. This allows for regionalized temperature control in scenarios with varying, uneven, and highly mobile population distribution, thereby improving the accuracy and efficiency of air conditioner control.
[0102] The aforementioned air conditioner control device can be implemented as a computer program, which can, for example, Figure 12 The air conditioner shown is running.
[0103] Please see Figure 12 , Figure 12 This is a schematic block diagram of an air conditioner provided in an embodiment of the present invention. The air conditioner 500 includes a processor 502, a memory, and a network interface 505 connected via a device bus 501, wherein the memory may include a storage medium 503 and an internal memory 504.
[0104] The storage medium 503 can store the operating device 5031 and the computer program 5032. When the computer program 5032 is executed, it causes the processor 502 to execute the air conditioner control method.
[0105] The processor 502 provides computing and control capabilities to support the operation of the entire air conditioner 500.
[0106] The internal memory 504 provides an environment for the operation of the computer program 5032 in the storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute the air conditioner control method.
[0107] The network interface 505 is used for network communication, such as providing data information transmission. Those skilled in the art will understand that the structures shown in the embodiments of this application are merely block diagrams of some structures related to the present invention and do not constitute a limitation on the air conditioner 500 to which the present invention is applied. A specific air conditioner 500 may include more or fewer components than shown in the figures, or combine certain components, or have different component arrangements.
[0108] The processor 502 is used to run the computer program 5032 stored in the memory to implement the air conditioner control method disclosed in the embodiments of the present invention.
[0109] Those skilled in the art will understand that the air conditioner embodiments shown in this application do not constitute a limitation on the specific structure of the air conditioner. In other embodiments, the air conditioner may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, in some embodiments, the air conditioner may only include a memory and a processor. In such embodiments, the structure and function of the memory and processor are consistent with those shown in the above embodiments, and will not be repeated here.
[0110] It should be understood that, in this embodiment of the invention, the processor 502 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0111] In another embodiment of the present invention, a computer-readable storage medium is provided. This computer-readable storage medium may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the air conditioning control method disclosed in the embodiments of the present invention.
[0112] Those skilled in the art will readily understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this invention.
[0113] In the embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Units with the same function may be grouped into one unit. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, or may be electrical, mechanical, or other forms of connection.
[0114] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of the present invention, depending on actual needs.
[0115] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0116] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of this invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a backend server, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks.
[0117] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for controlling an air conditioner, characterized in that, include: The sound of the target area is collected, wherein the target area is the area divided by the different swing angles of the air conditioner; Based on the sound, voiceprint recognition and sound source localization are performed to obtain a sound source distribution map and the regional activity trajectory of the sound object. Air conditioning control parameters are generated based on the sound source distribution map and the regional activity trajectory, and the air conditioning is controlled according to the air conditioning control parameters; The air conditioning control parameters include a first control parameter and a second control parameter. The process of generating the air conditioning control parameters based on the sound source distribution map and the regional activity trajectory, and controlling the air conditioning according to the air conditioning control parameters, includes: The number of sound sources in each region of the sound source distribution map is compared with the pre-configured parameter table to generate the first control parameter corresponding to each region; A second control parameter is generated based on the sound type corresponding to the activity trajectory in the region, indicating the area through which the activity trajectory passes. The air conditioner is controlled based on the first control parameter and the second control parameter; The control of the air conditioner based on the first control parameter and the second control parameter includes: Obtain the different regions corresponding to the second control parameter and the first control parameter as the first region, and obtain the same regions corresponding to the second control parameter and the first control parameter as the second region; The air conditioner is controlled in the first area based on the first control parameter, and the air conditioner is controlled in the second area based on the second control parameter.
2. The air conditioning control method according to claim 1, characterized in that, The process of performing voiceprint recognition and sound source localization based on the sound to obtain a sound source distribution map and the regional activity trajectory of the sound object includes: Extract the voiceprint features of each of the aforementioned sounds; The voiceprint features are compared with voiceprint features in the voiceprint database to identify the sound object and sound type of each sound. Each of the aforementioned sound objects is marked to obtain marked sound objects; Based on the sound corresponding to the marked sound object, the sound source is located to obtain the sound source distribution map and the regional activity trajectory of the sound object.
3. The air conditioning control method according to claim 2, characterized in that, The step of locating the sound source based on the sound corresponding to the marked sound object to obtain the sound source distribution map and the regional activity trajectory of the sound object includes: The sound source is located based on the volume or arrival time of the sound corresponding to the marked sound object, thus obtaining the area where each marked sound object is located. The number of marked sound objects in each region within a preset period is counted to obtain the sound source distribution map; Based on the sound source distribution map and the sound type, trajectory recognition is performed to obtain the activity trajectory of the area.
4. The air conditioning control method according to claim 3, characterized in that, The step of obtaining the regional activity trajectory based on the sound source distribution map and the sound type includes: Determine whether the target sound type exists among the stated sound types; If the target sound type exists, then obtain the sound object corresponding to the target sound type to obtain the target sound object; The trajectory of each target sound object in the sound source distribution map is obtained to obtain the activity trajectory of the area.
5. The air conditioning control method according to claim 2, characterized in that, After comparing the voiceprint features with voiceprint features in the voiceprint database to identify the voice object and voice type of each sound, the method further includes: Determine whether any non-human voice types exist among the stated sound types; If the non-human voice type exists, the voice corresponding to the non-human voice type will be deleted.
6. A control device for an air conditioner, characterized in that, include: A sound acquisition unit is used to acquire sound from a target area, wherein the target area is the area divided by different swing angles of the air conditioner; The sound processing unit is used to perform voiceprint recognition and sound source localization based on the sound, and to obtain a sound source distribution map and the regional activity trajectory of the sound object. An air conditioning control unit is used to generate air conditioning control parameters based on the sound source distribution map and the regional activity trajectory, and to control the air conditioning according to the air conditioning control parameters; The air conditioning control parameters include a first control parameter and a second control parameter, and the air conditioning control unit includes: The first control parameter generation unit is used to compare the number of sound sources in each region of the sound source distribution map with the pre-configured parameter table to generate the first control parameter corresponding to each region. The second control parameter generation unit is used to generate second control parameters for the area through which the activity trajectory passes, based on the sound type corresponding to the activity trajectory in the area. A parameter control unit is used to control the air conditioner based on the first control parameter and the second control parameter; The parameter control unit includes: The region identification unit is used to obtain different regions corresponding to the second control parameter and the first control parameter as the first region, and to obtain the same regions corresponding to the second control parameter and the first control parameter as the second region; A zone parameter control unit is used to control the air conditioner in the first zone based on the first control parameter, and to control the air conditioner in the second zone based on the second control parameter.
7. An air conditioner, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the air conditioning control method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to perform the control method for the air conditioner as described in any one of claims 1 to 5.