Air conditioner voice control method, device and equipment and storage medium

By deploying a distance-distance radio module in the air conditioner, determining the voice source location according to the wind-sweeping mode, the problems of low speech recognition accuracy and changing usage habits in the prior art are solved, efficient air conditioning voice control is achieved, and user experience is improved and air conditioning performance.

CN118935631APending Publication Date: 2024-11-12GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411264152.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

When the existing air-conditioning voice control technology improves the accuracy of voice recognition, it sacrifices the heat exchange effect of the air-conditioning and the user's comfort, and changes the user's usage habits.

Method used

By determining the air conditioner air supply partition corresponding to the location where the voice is emitted, intelligently select the radio module to receive voice, control the air conditioner to execute corresponding commands, use multiple radio modules to deploy at intervals, determine the area where the voice source is located according to the wind sweep mode, and improve the voice Accuracy of control.

Benefits of technology

It improves the accuracy of user voice recognition, maintains the cooling and heating effect of the air conditioner, does not change the user's usage habits, and improves the accuracy and user experience of the air conditioner voice control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118935631A_ABST
    Figure CN118935631A_ABST
Patent Text Reader

Abstract

The invention provides an air conditioner voice control method, device, system and equipment and a storage medium. The method comprises the following steps: determining an air conditioner air supply zone corresponding to a voice sending position; and triggering a corresponding sound receiving module to receive the voice according to the corresponding air supply partition of the air conditioner, and controlling the air conditioner to execute an instruction corresponding to the voice. According to the scheme, the technical problem that under the complex environment condition, the accuracy of air conditioner voice recognition is not high can be solved, and the technical problems that in order to improve the accuracy of voice recognition, the use habit of a user is changed, and comfort is sacrificed can be solved. The technical effects that the accuracy of user voice recognition is improved, and the air conditioner using habit of the user is not changed are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent control technology, and in particular to an air-conditioning voice control method, device, equipment and storage medium. Background Art

[0002] The prior art has household split air conditioners with voice wake-up function. The accuracy of voice recognition is related to the environment, the noise level of the air conditioner itself, and the sound reception effect of the voice module.

[0003] The related art discloses a voice air conditioner control method, which reduces the speed of the air conditioner's internal unit or adjusts the wind sweeping angle when receiving sound to help improve the accuracy of sound reception; the related art also discloses an air conditioner and its voice command recognition method, which controls the air conditioner to stop air supply when receiving a voice command; and obtains the voice signal collected by the preset voice module. The above scheme has the disadvantage that it sacrifices the heat exchange effect of the air conditioner and the user's comfort, and also changes the user's usage habits. Summary of the invention

[0004] The main purpose of the present invention is to overcome the defects of the above-mentioned related technologies and provide an air-conditioning voice control method, device, system, equipment and storage medium, which can improve the accuracy of voice control without sacrificing the heat exchange effect of the air conditioner, reducing the user's comfort and changing the user's usage habits.

[0005] According to a first aspect of the present invention, there is provided an air conditioner voice control method, comprising:

[0006] Determine the air conditioning supply zone corresponding to the location where the voice is emitted;

[0007] The corresponding sound receiving module is triggered according to the corresponding air-conditioning air supply partition to receive the voice, and the air-conditioning is controlled to execute the instruction corresponding to the voice.

[0008] Optionally, the sound receiving module includes a first sound receiving module and a second sound receiving module, and the deployment relationship between the first sound receiving module and the second sound receiving module is that projections of the first sound receiving module and the second sound receiving module on a set projection plane are spaced apart from each other.

[0009] Optionally, the air supply zone of the air conditioner includes a first area, a second area and an air supply outlet area, and the air supply outlet area is the air outlet area determined by the air outlets corresponding to all the air sweeping blades; the first area is facing the air conditioner, and is the area on the left side of the air supply outlet area; the second area is facing the air conditioner, and is the area on the right side of the air supply outlet area.

[0010] Optionally, the step of determining the air conditioning air supply zone corresponding to the position where the voice is emitted includes:

[0011] The first sound receiving module and the second sound receiving module are respectively located on both sides of the air outlet of the air conditioner and face the air conditioner, and the first sound receiving module is located on the left side of the second sound receiving module; determining the interval distance between the projections of the first sound receiving module and the second sound receiving module on the set projection surface, determining the first distance between the projection of the voice source on the set projection surface and the projection of the first sound receiving module on the set projection surface, and determining the second distance between the projection of the voice source on the set projection surface and the projection of the second sound receiving module on the set projection surface;

[0012] Based on the wind sweeping mode of the air conditioner, the interval distance between the projections of the first sound receiving module and the second sound receiving module on the set projection surface, and the first distance and the second distance, the air supply zone of the air conditioner where the voice source is located is determined.

[0013] Optionally, based on the air sweeping mode of the air conditioner, the interval distance between the projections of the first sound receiving module and the second sound receiving module on a set projection surface, and the first distance and the second distance, determining the air supply zone of the air conditioner where the voice source is located includes:

[0014] The projection of the voice source on the set projection surface, the projection of the first sound receiving module on the set projection surface and the projection of the second sound receiving module on the set projection surface are connected to form a triangle, the inner angle corresponding to the projection position of the first sound receiving module on the set projection surface is recorded as the first angle, and the inner angle corresponding to the projection position of the second sound receiving module on the set projection surface is recorded as the second angle;

[0015] Determine a first threshold value, the first threshold value is 90+α, and the first threshold value is used to compare with the first angle; determine a second threshold value, the second threshold value is 90-α, and the second threshold value is used to compare with the second angle; wherein α is the angle of deflection of the position of the wind sweeping blade relative to the direction perpendicular to the back plate of the air conditioner, and the signs of the deflection angles α of the left wind sweeping mode and the right wind sweeping mode are opposite;

[0016] Determine the air conditioning air supply zone where the voice source is located according to the relationship between the first angle, the second angle, the first threshold, and the second threshold;

[0017] If the first angle is greater than the first threshold, the speech source is in the first area;

[0018] Otherwise, if the second angle is greater than the second threshold, the speech source is in the second area;

[0019] Otherwise, the voice source is in the air supply and outlet area.

[0020] Optionally, triggering a corresponding sound receiving module to receive the voice according to the corresponding air supply partition of the air conditioner, and controlling the air conditioner to execute a command corresponding to the voice includes:

[0021] If the voice source is in the first area, the first sound receiving module receives the voice and controls the air conditioner to execute a command corresponding to the voice;

[0022] If the voice source is in the second area, the second sound receiving module receives the voice and controls the air conditioner to execute a command corresponding to the voice;

[0023] If the voice source is in the air supply and outlet area, the first sound receiving module and the second sound receiving module receive the voice and control the air conditioner to execute a command corresponding to the voice.

[0024] Optionally, the first sound receiving module and the second sound receiving module receiving the voice, and controlling the air conditioner to execute a command corresponding to the voice, includes:

[0025] If the first sound receiving module and the second sound receiving module determine that the first instruction and the second instruction corresponding to the voice are the same, then control the air conditioner to execute the first instruction or the second instruction;

[0026] If the first sound receiving module and the second sound receiving module determine that the first instruction corresponding to the voice and the instruction content corresponding to the second instruction are different, the voice source sends the voice again, and the first sound receiving module and the second sound receiving module determine the third instruction and the fourth instruction corresponding to the voice sent again;

[0027] If there is a to-be-executed instruction content in the instruction content corresponding to each of the first instruction, the second instruction, the third instruction, and the fourth instruction, the air conditioner is controlled to execute the instruction corresponding to the to-be-executed instruction content; wherein the to-be-executed instruction content is an instruction content whose instruction number corresponding to the instruction content is greater than the instruction number corresponding to other instruction contents;

[0028] Otherwise, when the first angle is greater than or equal to the second angle, the air conditioner is controlled to execute the third instruction; when the first angle is less than the second angle, the air conditioner is controlled to execute the fourth instruction.

[0029] According to a second aspect of the present invention, there is provided an air conditioner voice control device, comprising:

[0030] A partition determination module, configured to determine the air conditioning air supply partition corresponding to the location where the voice is emitted;

[0031] The instruction execution module is configured to trigger the corresponding sound receiving module to receive the voice according to the corresponding air-conditioning air supply partition, and control the air-conditioning to execute the instruction corresponding to the voice.

[0032] According to a third aspect of the present invention, there is provided an electronic device, comprising:

[0033] A processor, which is used to execute multiple instructions;

[0034] A memory for storing a plurality of instructions;

[0035] The plurality of instructions are used to be stored by the memory and loaded and executed by the processor to implement the method as described above.

[0036] According to a fourth aspect of the present invention, there is provided a storage medium, wherein a plurality of instructions are stored in the storage medium; the plurality of instructions are used for a processor to load and execute the method as described above.

[0037] According to the above scheme of the present invention, by determining the relative position of the human body at the air outlet, the sound receiving device is intelligently and reasonably selected, and the selected sound receiving device controls the operation of the air conditioner according to the voice, thereby improving the accuracy of the voice control without sacrificing the heat exchange effect of the air conditioner and reducing the comfort of the user. The present invention solves the technical problem of low accuracy of air conditioner voice recognition in complex environments and the technical problem of changing user usage habits and sacrificing comfort in order to improve the accuracy of voice recognition. The present invention achieves the technical effects of improving the accuracy of user voice recognition, improving the cooling and heating effects of the air conditioner, and not changing the user's air conditioner usage habits.

[0038] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and implement it according to the contents of the specification, the following is a detailed description of the preferred embodiments of the present invention in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:

[0040] Figure 1 A flow chart of an air-conditioning voice control method according to a preferred embodiment of the present invention is shown.

[0041] FIG. 2(A) shows a schematic diagram of a user issuing a voice command according to a specific embodiment of the present invention.

[0042] FIG. 2(B) shows a schematic diagram of a sound source controlling an air conditioner according to a specific embodiment of the present invention.

[0043] FIG2(C) is a schematic diagram showing the projection of a sound source on a set projection surface according to a specific embodiment of the present invention.

[0044] Figure 3 A schematic diagram of air supply zones when the air conditioner is in a direct sweep air mode (sweep air in the center) according to a specific embodiment of the present invention is shown.

[0045] Figure 4 A schematic diagram showing a user in the first area of ​​the air supply zone when the air conditioner is in the straight sweep air mode (sweep air in the center) according to a specific embodiment of the present invention.

[0046] Figure 5 A schematic diagram showing a user in the second area of ​​the air supply zone when the air conditioner is in a straight sweep air mode (sweep air in the center) according to a specific embodiment of the present invention.

[0047] Figure 6 A schematic diagram showing an air supply outlet area of ​​a user in an air supply zone when the air conditioner is in a straight sweep mode (sweep air in the center) according to a specific embodiment of the present invention.

[0048] Figure 7 A schematic diagram of air supply zones when the air conditioner is in left sweep air mode according to a specific embodiment of the present invention is shown.

[0049] Figure 8 A schematic diagram showing a user in the first area of ​​the air supply zone when the air conditioner is in the left sweep air mode according to a specific embodiment of the present invention.

[0050] Fig. 9 A schematic diagram showing a user in the second area of ​​the air supply zone when the air conditioner is in the left sweep air mode according to a specific embodiment of the present invention.

[0051] Fig.10 A schematic diagram showing an air supply outlet area of ​​a user in an air supply zone when the air conditioner is in left sweep air mode according to a specific embodiment of the present invention.

[0052] Fig.11 A specific flow chart of an air conditioner voice control method according to a specific embodiment of the present invention is shown.

[0053] Fig.12 The structure diagram of the air conditioner voice control device according to a preferred embodiment of the present invention is shown. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0055] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0056] First combine Figure 1 The air conditioner voice control method of the present invention is described. Figure 1 FIG. 2 shows a flow chart of the air conditioner voice control method according to the present invention. Figure 1 As shown, the method includes:

[0057] Determine the air conditioning supply zone corresponding to the location where the voice is emitted;

[0058] The corresponding sound receiving module is triggered according to the corresponding air-conditioning air supply partition to receive the voice, and the air-conditioning is controlled to execute the instruction corresponding to the voice.

[0059] The present invention triggers a corresponding sound receiving module to receive the voice according to the corresponding air-conditioning air supply partition, thereby improving the accuracy of user voice recognition.

[0060] The sound receiving module includes a first sound receiving module and a second sound receiving module. The deployment relationship between the first sound receiving module and the second sound receiving module is that the projections of the first sound receiving module and the second sound receiving module on a set projection surface are spaced apart from each other.

[0061] The set projection plane may be the ground, or any horizontal plane. For example, the horizontal plane formed by a straight line passing through the first sound receiving module and the second sound receiving module may be used as the set projection plane.

[0062] The present invention configures multiple sound receiving modules so that users at different positions have more similar sound receiving modules to receive voices, thereby improving the accuracy of user voice recognition.

[0063] In the present invention, the sound receiving module is a module such as a microphone that can receive user voice, and the sound receiving module includes two. Preferably, the first sound receiving module and the second sound receiving module are respectively arranged on both sides of the air conditioner. Figure 2(A)-Figure 2(B)As shown, when the air conditioner is viewed from above, the first sound receiving module is preferably arranged at the first end of the air outlet of the air conditioner (the left side in the figure), and the second sound receiving module is arranged at the second end of the air outlet of the air conditioner (the right side in the figure). Figure 2(A)-Figure 2(B) Specifically, it is a diagram of a sound source controlling an air conditioner.

[0064] The air supply zone of the air conditioner is determined according to the air sweeping mode of the air conditioner, and the air sweeping mode includes a straight sweeping mode, a left sweeping mode, a right sweeping mode, and a left-right sweeping mode. In the straight sweeping mode, the sweeping blades of the air conditioner are perpendicular to the back plate of the air conditioner; in the left sweeping mode, the position of the sweeping blades of the air conditioner is deflected to the left by a left-turn sweeping angle relative to the direction perpendicular to the back plate of the air conditioner, and the left-turn sweeping angle is within the left-turn sweeping angle preset range; in the right sweeping mode, the position of the sweeping blades of the air conditioner is deflected to the right by a right-turn sweeping angle relative to the direction perpendicular to the back plate of the air conditioner, and the right-turn sweeping angle is within the right-turn sweeping angle preset range; the left-right sweeping mode is to execute the left sweeping mode and the right sweeping mode at periodic intervals.

[0065] The air supply zone of the air conditioner includes a first area, a second area and an air supply outlet area, and the air supply outlet area is an air outlet area determined by the air outlets corresponding to all the air sweeping blades; the first area is facing the air conditioner, and is the area on the left side of the air supply outlet area; the second area is facing the air conditioner, and is the area on the right side of the air supply outlet area.

[0066] In the present invention, the air supply area of ​​the air conditioner is subdivided, and the air supply area is determined by the air outlet and the sweeping direction of the sweeping blade (such as left sweeping and right sweeping). For example, when the sweeping mode is the straight sweeping mode, the air supply area includes an area with straight sweeping wind and an area without straight sweeping wind. Subdividing the air supply area of ​​the air conditioner can further consider the influence of wind on voice, which provides a basis for determining the user's position in the future, thereby more accurately recognizing voice.

[0067] like Figure 3-Figure 6 As shown, when the air sweeping mode is the straight sweeping mode, the air supply outlet area is the air outlet area determined by the air outlets corresponding to all the air sweeping blades, the first area is the left area of ​​the air supply outlet area; the second area is the right area of ​​the air supply outlet area. When the user is in different positions, he will be in different air conditioning supply zones.

[0068] like Figure 7-10As shown, when the air sweeping mode is the left sweeping mode, the air supply outlet area is the outlet area determined by the air outlets corresponding to all the air sweeping blades. Since the position of the air sweeping blades of the air conditioner is deflected to the left by a left-turned sweeping angle relative to the direction perpendicular to the back plate of the air conditioner, the air supply outlet area at this time is deflected to the left by a left-turned sweeping angle relative to the air supply outlet area of ​​the straight sweeping mode. The first area is the left area of ​​the air supply outlet area; the second area is the right area of ​​the air supply outlet area. When the user is in different positions, he will be in different air supply zones of the air conditioner.

[0069] The air conditioner voice control method provided by the present invention comprises:

[0070] Step S1, determining the air conditioning air supply zone corresponding to the location where the voice is emitted.

[0071] The step S1 of determining the air conditioning air supply zone corresponding to the location where the voice is emitted preferably includes:

[0072] Step S11: determining the interval distance between the projections of the first sound receiving module and the second sound receiving module on the set projection surface, determining the first distance between the projection of the speech source on the set projection surface and the projection of the first sound receiving module on the set projection surface, and determining the second distance between the projection of the speech source on the set projection surface and the projection of the second sound receiving module on the set projection surface;

[0073] Step S12: Based on the air sweeping mode of the air conditioner, the distance between the projections of the first sound receiving module and the second sound receiving module on the set projection surface, and the first distance and the second distance, determine the air supply zone of the air conditioner where the voice source is located. In the present invention, the method of determining the air supply zone of the air conditioner is described, so as to accurately determine the air supply zone of the air conditioner where the voice is emitted, i.e., the voice source.

[0074] Among them, the projection of the first sound receiving module on the set projection surface is recorded as A, the projection of the second sound receiving module on the set projection surface is recorded as B, the projection of the voice source on the set projection surface is recorded as C, and when the voice source is in the first area, the air supply and outlet area and the second area, its projection on the set projection surface is recorded as C1, C2, and C3 respectively; the first distance and the second distance are recorded as S1 and S2 respectively, and the interval distance between the projections of the first sound receiving module and the second sound receiving module on the set projection surface is recorded as L.

[0075] In the accompanying drawings, A, B, and C are only for illustration. There are many ways to determine the specific distance. For example, the center of the projection of the sound receiving module on the set projection plane can be used as the point for measuring the distance, the outer edges of the two projections that are closest to each other can be used as the points for measuring the distance, or other suitable methods can be used, which are not specifically limited here. In fact, the positions of the microphones on both sides of the air conditioner are fixed, so the distance L between the two microphones is fixed and unchanged. This value can be set directly in the program, and what changes are S1 and S2. The three points do not necessarily have to be projected on the ground. The projection of any horizontal plane can form a triangle. For example, the horizontal plane where the straight line L formed by the two microphones is located can be used as the projection plane (as shown in Figure 2 (C)). The position of the sound source, that is, the voice source, is actually a point, which is very small relative to the space of the entire room.

[0076] Preferably, the step S12 determines the air supply zone of the air conditioner where the voice source is located based on the air sweeping mode of the air conditioner, the interval distance between the projections of the first sound receiving module and the second sound receiving module on the set projection surface, and the first distance and the second distance, including:

[0077] The projection of the voice source on the set projection plane, the projection A of the first sound receiving module on the set projection plane, and the projection B of the second sound receiving module on the set projection plane are connected to form a triangle, and the inner angle ∠A corresponding to the projection A of the first sound receiving module on the set projection plane is recorded as the first angle ∠A, and the inner angle ∠B corresponding to the projection B of the second sound receiving module on the set projection plane is recorded as the second angle ∠B;

[0078] Determine a first threshold value, the first threshold value is 90+α, and the first threshold value is used to compare with the first angle ∠A; determine a second threshold value, the second threshold value is 90-α, and the second threshold value is used to compare with the second angle ∠B; wherein α is the angle of deflection of the position of the wind sweeping blade relative to the direction perpendicular to the back plate of the air conditioner, and the signs of the deflection angles α of the left wind sweeping mode and the right wind sweeping mode are opposite;

[0079] Determine the air conditioning air supply zone where the voice source is located according to the relationship between the first angle ∠A, the second angle ∠B and the first threshold and the second threshold;

[0080] If the first angle ∠A is greater than a first threshold, the speech source is in the first area;

[0081] Otherwise, if the second angle ∠B is greater than the second threshold, the speech source is in the second area;

[0082] Otherwise, the voice source is in the air supply and outlet area.

[0083] The values ​​of the first angle ∠A and the second angle ∠B are determined based on the first distance, the second distance, and the spacing distance between the projections of the first sound receiving module and the second sound receiving module on the set projection surface.

[0084] The present invention further illustrates a method for determining an air supply area of ​​an air conditioner, and determines a distance according to a projection position without adding other sensing equipment, thereby facilitating implementation and reducing costs.

[0085] like Fig.11 As shown, triggering the corresponding sound receiving module according to the corresponding air supply partition of the air conditioner to receive the voice and controlling the air conditioner to execute the instruction corresponding to the voice includes:

[0086] If the voice source is in the first area, the first sound receiving module receives the voice and controls the air conditioner to execute a command corresponding to the voice;

[0087] If the voice source is in the second area, the second sound receiving module receives the voice and controls the air conditioner to execute a command corresponding to the voice;

[0088] If the voice source is in the air supply and outlet area, the first sound receiving module and the second sound receiving module receive the voice and control the air conditioner to execute a command corresponding to the voice.

[0089] After determining the air supply area where the voice source is located, the present invention substantially combines the user's position information and the influence of wind on the voice uttered by the user according to the position of the voice source, thereby further reducing the misrecognition of the voice.

[0090] Optionally, the first sound receiving module and the second sound receiving module receiving the voice, and controlling the air conditioner to execute a command corresponding to the voice, includes:

[0091] If the first sound receiving module and the second sound receiving module determine that the first instruction and the second instruction corresponding to the voice are the same, then control the air conditioner to execute the first instruction or the second instruction;

[0092] If the first sound receiving module and the second sound receiving module determine that the first instruction corresponding to the voice and the instruction content corresponding to the second instruction are different, the voice source sends the voice again, and the first sound receiving module and the second sound receiving module determine the third instruction and the fourth instruction corresponding to the voice sent again;

[0093] If there is a to-be-executed instruction content in the instruction content corresponding to each of the first instruction, the second instruction, the third instruction, and the fourth instruction, the air conditioner is controlled to execute the instruction corresponding to the to-be-executed instruction content; wherein the to-be-executed instruction content is an instruction content whose instruction number corresponding to the instruction content is greater than the instruction number corresponding to other instruction contents;

[0094] Otherwise, when the first angle ∠A is greater than or equal to the second angle ∠B, the air conditioner is controlled to execute the third instruction; when the first angle ∠A is less than the second angle ∠B, the air conditioner is controlled to execute the fourth instruction.

[0095] In the present invention, the first value (s12+l2-s22) / 2s1l is calculated, the first value is used as the cosine value, and the value of the first angle ∠A is determined by checking the cosine; the second value (s22+l2-s12) / 2s2l is calculated, the second value is used as the cosine value, and the value of the second angle ∠B is determined by checking the cosine.

[0096] Specifically, Fig.11 As shown, the microphones located on both sides of the air outlet of the air conditioner detect the indoor command information, and record the line segment lengths S1 and S2 of the projection of the user on the set projection surface and the projection of the first microphone and the second microphone on the set projection surface respectively; it is also necessary to determine the line segment length L of the projection of the first microphone and the second microphone on the set projection surface;

[0097] Calculate cos∠A=(s12+l2-s22) / 2s1l; if the value is less than or equal to 0, it means that the user is close to the first microphone, and the sound is picked up through the first microphone;

[0098] If the value is greater than 0, cos∠B=(s22+l2-s12) / 2s2l is calculated; if the value is less than or equal to 0, it means that the user is close to the second microphone, and the sound is picked up through the second microphone;

[0099] Otherwise, use two microphones to pick up the sound simultaneously;

[0100] Compare the results of two microphones recording simultaneously;

[0101] If the sound reception results of the two microphones are the same, the sound reception results are output, and the air conditioner is controlled to execute the instruction corresponding to the sound reception information;

[0102] Otherwise, the different sound reception information of the two microphones is recorded as the first sound reception information, and an instruction is output: "I didn't hear it clearly, please repeat it again"; the user speaks again, and the two microphones judge again whether the sound reception information obtained for the second time is the same; if they are the same, the sound reception information obtained for the second time is output, and the air conditioner is controlled to execute the instruction corresponding to the sound reception information obtained for the second time;

[0103] Otherwise, obtain four instructions corresponding to the two sound reception information (each microphone generates an instruction for the first sound reception information and the second sound reception information); if among the four instructions, one instruction appears twice and the other instructions appear only once, the air conditioner is controlled according to the instruction that appears twice; if one instruction appears twice and the other instruction also appears twice, the sizes of the first angle ∠A and the second angle ∠B are calculated and compared: when the first angle ∠A is greater than or equal to the second angle ∠B, the instruction corresponding to the sound reception information obtained by the first microphone for the second time is executed to control the air conditioner; when the first angle ∠A is less than the second angle ∠B, the instruction corresponding to the sound reception information obtained by the second microphone for the second time is executed to control the air conditioner; if the four instructions are different, when the first angle ∠A is greater than or equal to the second angle ∠B, the instruction corresponding to the sound reception information obtained by the first microphone for the second time is executed to control the air conditioner; when the first angle ∠A is less than the second angle ∠B, the instruction corresponding to the sound reception information obtained by the second microphone for the second time is executed to control the air conditioner. The present invention identifies multiple commands corresponding to the voice according to the location of the voice source, determines the execution method according to the recognition results of the commands, fully considers potential misrecognition, and guides the re-recognition of the commands, so that the commands executed by the air conditioner are more accurate and better meet user requirements, thereby improving the user experience.

[0104] In the present invention, in case 1, when the air conditioner has a left and right wind sweeping function and the function is not turned on, the default is that the wind sweeping blades are centered and blow air in the positive direction. Figure 3 The air outlet interference area and the non-air outlet interference area are shown, where the dotted lines AP and BT are the boundary lines of the air outlet area. Figure 3 Specifically, when the wind sweeping is in the middle, if the user is in the left area of ​​the wind sweeping, the blowing area and the non-blowing area are divided into Figure 3 The three areas shown are the first area, the second area and the air supply and outlet area (i.e. the area with direct air sweep); the first area is the left area of ​​the air supply and outlet area when facing the air conditioner; the second area is the right area of ​​the air supply and outlet area when facing the air conditioner.

[0105] In order to facilitate understanding of the impact of wind on speech, in this embodiment, the first area is taken as the non-outlet interference area on the left, the second area is taken as the non-outlet interference area on the right, and the air supply outlet area is taken as the outlet outlet interference area. In this embodiment, the projection position of the speech source on the set projection surface is recorded as C. For the sake of distinction, when the speech source is in the non-outlet interference area on the left, the projection on the set projection surface is recorded as C1, and when the speech source is in the non-outlet interference area on the right, the projection on the set projection surface is recorded as C3.

[0106] The sound receiving module preferably uses a microphone. In this embodiment, the two microphones are respectively defined as a first microphone (corresponding to projection A) and a second microphone (corresponding to projection B). The projection of the voice source on the set projection plane, the projection A of the first microphone on the set projection plane, and the projection B of the second microphone on the set projection plane are connected to form a triangle. The inner angle ∠A corresponding to the projection A of the first microphone on the set projection plane is recorded as the first angle ∠A, and the inner angle ∠B corresponding to the projection B of the second microphone on the set projection plane is recorded as the second angle ∠B. First, calculate the size of the first angle ∠A, and determine whether cos∠A=(s12+l2-s22) / 2s1l is less than or equal to 0 (this formula is a trigonometric function relationship formula). If it is established, it means that the first angle ∠A is greater than or equal to 90° (according to the trigonometric cosine theorem), and it is judged that the user is at a non-air outlet (C1) and closer to the first microphone. At this time, the first microphone is used for sound reception processing to control the operation of the air conditioner, such as Figure 4 shown.

[0107] If the above condition is not met, calculate whether cos∠B=(s22+l2-s12) / 2s2l is less than or equal to 0 (this formula is a trigonometric function relationship formula). If it is met, it means that the second angle ∠B is greater than or equal to 90° (according to the trigonometric cosine theorem). At this time, the user is not at the air outlet (C3) and is closer to the second microphone. At this time, the second microphone is used for sound processing to control the operation of the air conditioner. Figure 5 shown.

[0108] If neither of the above two conditions is met, the user is judged to be in the air outlet interference area C2, which is recorded as the PT interference area. Further judgment is made as follows:

[0109] When it is detected that the user is in the interference area, the two microphones will collect sound at the same time. When the command information received by the first microphone and the second microphone is the same, the same command will be output to control the operation of the air conditioner. When the command information received by the first microphone and the second microphone for the first time is different, the two commands at this time are recorded, and the air conditioner voice replies: "I didn't hear it clearly, please say it again." If the two voice commands received by the first microphone and the second microphone for the second time are the same after the user answers, the air conditioner will be controlled according to this command. If the two voice commands received for the second time are different, the four commands received for the first and second times are compared and analyzed, and executed as follows:

[0110] 1) If one of the four instructions appears twice and the other instructions appear only once, the air conditioner will be controlled according to the instruction that appears twice.

[0111] 2) If one of the four instructions appears twice and the other instructions also appear twice; or the four instructions that appear are different, then the first angle ∠A and the second angle ∠B are calculated and compared according to the above formula, such as Figure 6 shown.

[0112] If the angle ∠A ≥ ∠B, it means that the sound source is located at the AP position to the left of the air outlet corresponding to the air outlet interference zone, and the air conditioner is controlled by the second command received by the first microphone. If the angle ∠A < ∠B, it means that the sound source is located at the BT position to the right of the air outlet corresponding to the air outlet interference zone, and the air conditioner is controlled by the second command received by the second microphone.

[0113] Case 2: When the air conditioner has a left and right sweep function and has turned on the function, the air conditioner obtains the sweep angle α in real time. When the sweep is in the middle, α=0°. When the sweep blades are located on both sides, they are recorded as ±α. Assuming that the left is positive and the right is negative, the PT blowing edge area changes with α, such as Figure 7 As shown, taking the left sweeping air as an example, AP', BT' is the boundary line of the air supply and outlet areas.

[0114] First, calculate the size of the first angle ∠A: cos∠A=(s12+l2-s22) / 2s1l (this formula is a trigonometric function relationship formula), where the first angle ∠A is an internal angle of a triangle, and is also the angle formed by C1 of the first area and the straight line determined by the projection A of the first microphone on the set projection plane, and the straight line determined by the projections of the two microphones on the set projection plane. Calculate whether the first angle ∠A is greater than or equal to 90+α (because the wind outlet angle changes the sweeping angle α, the calculation needs to increase α). If ∠A≥90+α is established, it is determined that the user is in a non-air outlet interference area and is closer to the first microphone. At this time, the first microphone is used for sound reception processing to control the operation of the air conditioner. Figure 8 shown.

[0115] If the judgment condition is not met, calculate the size of the second angle ∠B: cos∠B=(s22+l2-s12) / 2s2l, where the second angle ∠B is another internal angle of the triangle, and is also the angle formed by the projection C3 of the voice source located in the second area on the set projection plane and the straight line determined by the second microphone and the straight line determined by the projections of the two microphones on the set projection plane. If the second angle ∠B≥90-α (because the wind outlet angle changes the sweeping angle α, the calculation needs to reduce α), the user is now located in the non-air outlet interference area outside the BT' and is closer to the second microphone. Fig. 9 shown.

[0116] If neither of the above two conditions is met, it is determined that the user is in the air outlet interference area. Further judgment is made as follows:

[0117] When it is detected that the user is in the interference area, the two microphones will collect sound at the same time. When the command information received by the first microphone and the second microphone is the same, the same command will be output to control the operation of the air conditioner. When the command information received by the first microphone and the second microphone for the first time is different, the two commands at this time are recorded, and the air conditioner voice replies: "I didn't hear it clearly, please say it again." If the two voice commands received by the first microphone and the second microphone for the second time are the same after the user answers, the air conditioner will be controlled according to this command. If the two voice commands received for the second time are different, the four commands received for the first and second times are compared and analyzed, and executed as follows:

[0118] 1) If one of the four instructions appears twice and the other instructions appear only once, the air conditioner will be controlled according to the instruction that appears twice.

[0119] 2) If one of the four instructions appears twice, and the other instructions also appear twice; or the four instructions that appear are all different,

[0120] Then, according to the above formula, ∠A-α (when the wind is swept to the left, the first angle ∠A calculated has added α, so it needs to be subtracted) and ∠B+α (when the wind is swept to the left, the second angle ∠B calculated has subtracted α, so it needs to be increased), and the compensation angle is equivalent to the wind sweep angle α being 0. If ∠A-α≥∠B+α, it means that the sound source is located in the air outlet interference area and the air outlet is at the AP' position to the left. At this time, the air conditioner is controlled by the second command received by the first microphone, such as Fig.10 If ∠A–α<∠B+α, it means that the sound source is located at the BT' position to the right of the air outlet in the air outlet interference area, and the air conditioner is controlled by the second command received by the second microphone.

[0121] If the wind is sweeping to the right, the compensation relationship for α in the above calculation formula is opposite and will not be repeated.

[0122] The above two microphones collect sound, and select the microphone command to accept based on whether the sound occurs in the front air supply area or the non-front air supply area. The different command information received is judged and compared, and the command is reasonably output to control the operation of the air conditioner. Compared with the traditional single microphone, which is affected by the air outlet noise of the air conditioner and has no intelligent judgment and comparison, sacrifices comfort, and changes the user's setting habits, it has obvious advantages.

[0123] The present invention provides an air conditioner voice control device, such as Fig.12 As shown, the device comprises:

[0124] A partition determination module, configured to determine the air conditioning air supply partition corresponding to the location where the voice is emitted;

[0125] The instruction execution module is configured to trigger the corresponding sound receiving module to receive the voice according to the corresponding air-conditioning air supply partition, and control the air-conditioning to execute the instruction corresponding to the voice.

[0126] The present invention also provides an electronic device, comprising:

[0127] A processor, which is used to execute multiple instructions;

[0128] A memory for storing a plurality of instructions;

[0129] Wherein, the multiple instructions are used to be stored by the memory, and loaded and executed by the processor as any of the methods described above.

[0130] The electronic device may be an air conditioner.

[0131] The present invention also provides a storage medium, wherein a plurality of instructions are stored in the storage medium; the plurality of instructions are used for a processor to load and execute any of the above methods.

[0132] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0133] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted via a computer-readable medium. Other examples and implementations are within the scope and spirit of the present invention and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hard wiring, or a combination of any of these. In addition, each functional unit may be integrated into a processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit.

[0134] In the several embodiments provided by the present invention, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0135] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the relevant technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0136] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention are still within the scope of the technical solution of the present invention.

Claims

1. A method for controlling an air conditioner by voice, characterized in that: include: Determine the air conditioning supply zone corresponding to the location where the voice is emitted; The corresponding sound receiving module is triggered according to the corresponding air-conditioning air supply partition to receive the voice, and the air-conditioning is controlled to execute the instruction corresponding to the voice.

2. The method according to claim 1, characterized in that: The sound receiving module includes a first sound receiving module and a second sound receiving module. The deployment relationship between the first sound receiving module and the second sound receiving module is that the projections of the first sound receiving module and the second sound receiving module on a set projection surface are spaced apart from each other.

3. The method according to claim 1, characterized in that The air supply zone of the air conditioner includes a first area, a second area and an air supply outlet area, and the air supply outlet area is an air outlet area determined by the air outlets corresponding to all the air sweeping blades; the first area is facing the air conditioner, and is the area on the left side of the air supply outlet area; the second area is facing the air conditioner, and is the area on the right side of the air supply outlet area.

4. The method according to claim 3, characterized in that The step of determining the air conditioning air supply zone corresponding to the location where the voice is emitted includes: The first sound receiving module and the second sound receiving module are respectively located on both sides of the air outlet of the air conditioner and face the air conditioner, and the first sound receiving module is located on the left side of the second sound receiving module; determining the interval distance between the projections of the first sound receiving module and the second sound receiving module on the set projection surface, determining the first distance between the projection of the voice source on the set projection surface and the projection of the first sound receiving module on the set projection surface, and determining the second distance between the projection of the voice source on the set projection surface and the projection of the second sound receiving module on the set projection surface; Based on the wind sweeping mode of the air conditioner, the interval distance between the projections of the first sound receiving module and the second sound receiving module on the set projection surface, and the first distance and the second distance, the air supply zone of the air conditioner where the voice source is located is determined.

5. The method according to claim 4, characterized in that Based on the air sweeping mode of the air conditioner, the interval distance between the projections of the first sound receiving module and the second sound receiving module on the set projection surface, and the first distance and the second distance, determining the air supply zone of the air conditioner where the voice source is located, including: The projection of the voice source on the set projection surface, the projection of the first sound receiving module on the set projection surface and the projection of the second sound receiving module on the set projection surface are connected to form a triangle, the inner angle corresponding to the projection position of the first sound receiving module on the set projection surface is recorded as the first angle, and the inner angle corresponding to the projection position of the second sound receiving module on the set projection surface is recorded as the second angle; Determine a first threshold value, the first threshold value is 90+α, and the first threshold value is used to compare with the first angle; determine a second threshold value, the second threshold value is 90-α, and the second threshold value is used to compare with the second angle; wherein α is the angle of deflection of the position of the wind sweeping blade relative to the direction perpendicular to the back plate of the air conditioner, and the signs of the deflection angles α of the left wind sweeping mode and the right wind sweeping mode are opposite; Determine the air conditioning air supply zone where the voice source is located according to the relationship between the first angle, the second angle, the first threshold, and the second threshold; If the first angle is greater than the first threshold, the speech source is in the first area; Otherwise, if the second angle is greater than the second threshold, the speech source is in the second area; Otherwise, the voice source is in the air supply and outlet area.

6. The method according to claim 5, characterized in that The triggering of the corresponding sound receiving module according to the corresponding air supply partition of the air conditioner to receive the voice, and controlling the air conditioner to execute the instruction corresponding to the voice, comprises: If the voice source is in the first area, the first sound receiving module receives the voice and controls the air conditioner to execute a command corresponding to the voice; If the voice source is in the second area, the second sound receiving module receives the voice and controls the air conditioner to execute a command corresponding to the voice; If the voice source is in the air supply and outlet area, the first sound receiving module and the second sound receiving module receive the voice and control the air conditioner to execute a command corresponding to the voice.

7. The method according to claim 6, characterized in that The first sound receiving module and the second sound receiving module receive the voice, and control the air conditioner to execute a command corresponding to the voice, including: If the first sound receiving module and the second sound receiving module determine that the first instruction and the second instruction corresponding to the voice are the same, then control the air conditioner to execute the first instruction or the second instruction; If the first sound receiving module and the second sound receiving module determine that the first instruction corresponding to the voice and the instruction content corresponding to the second instruction are different, the voice source sends the voice again, and the first sound receiving module and the second sound receiving module determine the third instruction and the fourth instruction corresponding to the voice sent again; If there is a to-be-executed instruction content in the instruction content corresponding to each of the first instruction, the second instruction, the third instruction, and the fourth instruction, the air conditioner is controlled to execute the instruction corresponding to the to-be-executed instruction content; wherein the to-be-executed instruction content is an instruction content whose instruction number corresponding to the instruction content is greater than the instruction number corresponding to other instruction contents; Otherwise, when the first angle is greater than or equal to the second angle, the air conditioner is controlled to execute the third instruction; when the first angle is less than the second angle, the air conditioner is controlled to execute the fourth instruction.

8. An air conditioner voice control device, characterized in that: include: A partition determination module, configured to determine the air conditioning air supply partition corresponding to the location where the voice is emitted; The instruction execution module is configured to trigger the corresponding sound receiving module to receive the voice according to the corresponding air-conditioning air supply partition, and control the air-conditioning to execute the instruction corresponding to the voice.

9. An electronic device, characterized in that: include: A processor, which is used to execute multiple instructions; A memory for storing a plurality of instructions; The plurality of instructions are used to be stored in the memory and loaded and executed by the processor according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores a plurality of instructions; the plurality of instructions are used for a processor to load and execute the method as described in any one of claims 1 to 7.