Equipment sound control method and system, electronic equipment and storage medium

By receiving and processing sound signals at different locations, positioning the sound source position and controlling the functional direction of the electronic device, the problem of insufficient sound control accuracy of electronic devices is solved, and higher sound control accuracy is achieved.

CN119943042AInactive Publication Date: 2025-05-06GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411938620.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-05-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing electronic devices have problems with insensitive microphone audio recording and noise interference in the voice control function, resulting in insufficient accuracy of the device's voice control control.

Method used

By receiving the sounds emitted by the same object at different locations, multiple sound signals are obtained, noise reduction processing and time delay difference evaluation are performed, sound source position information is positioned, and the functional direction of the target electronic device is controlled based on this information.

Benefits of technology

Improve the accuracy of device voice control, ensure that electronic devices can accurately capture the object's voice control behavior and accurately realize device functions towards the object.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119943042A_ABST
    Figure CN119943042A_ABST
Patent Text Reader

Abstract

The invention relates to an equipment sound control method and system, electronic equipment and a storage medium. The method comprises the following steps: receiving sound emitted by the same object at different positions to obtain a plurality of sound signals; according to the plurality of sound signals, positioning a sound source position commonly corresponding to the plurality of sound signals to obtain sound source position information; according to the sound source position information, the function action direction of the target electronic equipment is controlled, and the function action direction comprises the corresponding action direction when the target electronic equipment achieves the equipment function. By adopting the method, the voice control accuracy of the equipment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent electronic technology, and in particular to a device voice control method, system, electronic device and storage medium. Background Art

[0002] With the development of science and technology, electronic devices have been widely used. When it is inconvenient for users to directly operate the electronic devices, users can remotely control the electronic devices. Usually, voice control functions are added to the electronic devices.

[0003] At present, due to problems with electronic devices such as insensitive microphone reception and easy interference from other noises; the broadcast produced by the speaker itself interferes with the microphone's reception effect, etc., electronic devices are unable to provide users with corresponding service functions, resulting in the accuracy of device voice control. Summary of the invention

[0004] Based on this, it is necessary to provide a device voice control method, system, apparatus, electronic device, computer-readable storage medium and computer program product that can improve the accuracy of device voice control in response to the above technical problems.

[0005] In a first aspect, the present application provides a device voice control method. The method comprises:

[0006] Receiving the sound emitted by the same object at different positions to obtain multiple sound signals;

[0007] According to the multiple sound signals, locate the sound source position corresponding to the multiple sound signals to obtain the sound source position information;

[0008] The functional action direction of the target electronic device is controlled according to the sound source position information, wherein the functional action direction includes the action direction corresponding to when the target electronic device implements the device function.

[0009] In one embodiment, controlling the functional direction of the target electronic device according to the sound source location information includes: generating a direction control instruction for the target electronic device according to the sound source location information, wherein, when the target electronic device does not have a mobile function, the direction control instruction includes a direction control instruction, and when the target electronic device has a mobile function, the direction control instruction includes at least one of a direction control instruction and a moving direction control instruction; and controlling the functional direction of the target electronic device according to the direction control instruction.

[0010] In one of the embodiments, locating the sound source position corresponding to the multiple sound signals based on the multiple sound signals to obtain sound source position information includes: performing noise reduction processing on the multiple sound signals to obtain multiple noise reduction signals; evaluating the time delay difference between the multiple noise reduction signals to obtain time delay difference information; evaluating the phase difference between the multiple noise reduction signals based on the time delay difference information to obtain phase difference information; locating the sound source position corresponding to the multiple sound signals based on the phase difference information to obtain sound source position information.

[0011] In one of the embodiments, the delay difference information includes the delay difference between at least one pair of the noise reduction signals; the delay difference between the multiple noise reduction signals is evaluated to obtain the delay difference information, including: obtaining the signal reception time difference between each pair of the noise reduction signals; based on the signal reception time difference, the delay difference between each pair of the noise reduction signals is evaluated to obtain the delay difference between each pair of the noise reduction signals.

[0012] In one of the embodiments, the phase difference information includes the phase difference between at least one pair of the noise reduction signals; and the phase difference between the multiple noise reduction signals is evaluated based on the delay difference information to obtain the phase difference information, including: constructing a relationship between the phase difference and the delay difference based on the relationship between the period and frequency of the sound wave; and converting the delay difference between each pair of the noise reduction signals into the phase difference between each pair of the noise reduction signals based on the relationship between the phase difference and the delay difference.

[0013] In one embodiment, the phase difference information includes the phase difference between at least one pair of the noise reduction signals; and locating the sound source position corresponding to the multiple sound signals based on the multiple sound signals to obtain the sound source position information, including: obtaining the relationship between the phase difference and the sound source distance difference; converting the phase difference between each pair of the noise reduction signals into the sound source distance difference between each pair of the noise reduction signals based on the relationship between the phase difference and the sound source distance difference; locating the sound source position corresponding to the multiple sound signals based on the sound source distance difference between each pair of the noise reduction signals to obtain the sound source position information corresponding to the voice command.

[0014] In a second aspect, the present application provides a device voice control system. Used to execute a device voice control method, the system includes:

[0015] a plurality of voice receiving components connected to the target electronic device;

[0016] a voice processing component that communicates with the at least two voice receiving components respectively, and is used to perform noise reduction processing and sound source location positioning on the sound signals received by the multiple voice receiving components to obtain sound source location information;

[0017] A device voice control component for controlling the target electronic device communicates with the voice processing component, the device voice control component includes a controller and a control motor, the controller is used to convert the sound source position information into a direction control instruction, and the control motor is used to control the functional direction of the target electronic device according to the direction control instruction.

[0018] In one of the embodiments, the control motor includes at least one of a moving direction control motor and a heading direction control motor.

[0019] In a third aspect, the present application also provides a device voice control apparatus. The device comprises:

[0020] A receiving module, used for receiving sounds emitted by the same object at different positions to obtain multiple sound signals;

[0021] A positioning module, used to locate the sound source position corresponding to the multiple sound signals according to the multiple sound signals, and obtain the sound source position information;

[0022] The control module is used to control the functional action direction of the target electronic device according to the sound source position information, wherein the functional action direction includes the corresponding action direction when the target electronic device realizes the device function.

[0023] In a fourth aspect, the present application further provides an electronic device. The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0024] Receiving the sound emitted by the same object at different positions to obtain multiple sound signals;

[0025] According to the multiple sound signals, locate the sound source position corresponding to the multiple sound signals to obtain the sound source position information;

[0026] The functional action direction of the target electronic device is controlled according to the sound source position information, wherein the functional action direction includes the action direction corresponding to when the target electronic device implements the device function.

[0027] In a fifth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0028] Receiving the sound emitted by the same object at different positions to obtain multiple sound signals;

[0029] According to the multiple sound signals, locate the sound source position corresponding to the multiple sound signals to obtain the sound source position information;

[0030] The functional action direction of the target electronic device is controlled according to the sound source position information, wherein the functional action direction includes the action direction corresponding to when the target electronic device implements the device function.

[0031] In a sixth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0032] Receiving the sound emitted by the same object at different positions to obtain multiple sound signals;

[0033] According to the multiple sound signals, locate the sound source position corresponding to the multiple sound signals to obtain the sound source position information;

[0034] The functional action direction of the target electronic device is controlled according to the sound source position information, wherein the functional action direction includes the action direction corresponding to when the target electronic device implements the device function.

[0035] The above-mentioned device voice control system, method, apparatus, electronic device and storage medium receive sounds emitted by the same object at different positions to obtain multiple sound signals; locate the sound source position corresponding to the multiple sound signals according to the multiple sound signals to obtain sound source position information; control the functional action direction of the target electronic device according to the sound source position information, wherein the functional action direction includes the corresponding action direction when the target electronic device implements the device function, and locates the sound source position based on the multiple sound signals emitted by the same object at different positions, that is, the positioning of the object is realized, which not only ensures that the electronic device can accurately capture the object's voice control behavior on the electronic device, but also enables the electronic device to accurately face the object to implement the device function, thereby improving the accuracy of device voice control. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A schematic diagram of an application scenario of a device voice control method in an embodiment;

[0037] Figure 2 A schematic diagram of an application scenario of a device voice control method in another embodiment;

[0038] Figure 3 A schematic diagram of a flow chart of a device voice control method in one embodiment;

[0039] Figure 4A flowchart of a step of locating the sound source positions corresponding to the multiple sound signals to obtain the sound source position information according to the multiple sound signals in one embodiment;

[0040] Figure 5 A schematic diagram of the structure of a device voice control system in one embodiment;

[0041] Figure 6 is a structural block diagram of a device voice control apparatus in one embodiment;

[0042] Figure 7 FIG. 4 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0044] The device voice control method provided in the embodiment of the present application can be applied to Figure 1 In the application scenario shown. The device voice control system 102 includes a plurality of voice receiving components 10 connected to the target electronic device 104, a voice processing component 20 communicating with the plurality of voice receiving components 10, and a device voice control component 30 communicating with the voice processing component 20 for controlling the target electronic device 104. The plurality of voice receiving components 10 receive the sounds emitted by the same object at different positions to obtain a plurality of voice signals; the voice processing component 20 locates the sound source positions corresponding to the plurality of sound signals according to the plurality of sound signals to obtain the sound source position information; the device voice control component 30 controls the functional direction of the target electronic device 104 according to the sound source position information.

[0045] In another application scenario, it is applied to Figure 2In the application scenario shown. Among them, the server 202 communicates with the target electronic device 104 through the network, and the server 202 communicates with multiple sound collection devices 204 through the network. The multiple sound collection devices 204 are used to receive the sound emitted by the same object at different locations to obtain multiple sound signals. The data storage system can store the data that the server 202 needs to process (for example, multiple sound signals, etc.), and the server 202 receives the multiple sound signals received by the sound collection device 204. According to the multiple sound signals, the sound source position corresponding to the multiple sound signals is located to obtain the sound source position information. According to the sound source position information, the functional action direction of the target electronic device 104 is controlled, wherein the functional action direction includes the corresponding action direction when the target electronic device realizes the device function. The data storage system can be integrated on the server 202, or it can be placed on the cloud or other network servers. The server 202 can be implemented with an independent server or a server cluster composed of multiple servers. The sound collection device 204 can be a microphone, a microphone, a sound card, a pickup, etc.

[0046] In one embodiment, Figure 3 As shown, a device voice control method is provided, and the method is applied to Figure 1 The device voice control system 102 in the example is used for illustration, and includes the following steps:

[0047] Step 302: receiving sounds emitted by the same object at different locations to obtain multiple sound signals.

[0048] As an embodiment, step 302 includes: receiving the sound emitted by the same object through multiple voice receiving components located in different positions to obtain multiple sound signals.

[0049] Step 304: locate the sound source position corresponding to the multiple sound signals according to the multiple sound signals to obtain the sound source position information.

[0050] Exemplarily, step 304 includes: locating the sound source positions corresponding to the multiple sound signals according to the time delay difference information between the multiple sound signals, and obtaining the sound source position information.

[0051] Step 306: Control the functional action direction of the target electronic device according to the sound source position information, wherein the functional action direction includes the action direction corresponding to when the target electronic device implements the device function.

[0052] Exemplarily, step 306 includes: generating a direction control instruction for the target electronic device based on the sound source position information, wherein, when the target electronic device does not have a mobile function, the direction control instruction includes a direction control instruction, and when the target electronic device has a mobile function, the direction control instruction includes at least one of a direction control instruction and a moving direction control instruction; and controlling the functional direction of the target electronic device according to the direction control instruction.

[0053] Among them, when the target electronic device has a mobile function, the target electronic device includes a cleaning robot, or is deployed with a mobile device and a device that drives the mobile device to move. The mobile device can be a roller or a pulley, etc. The device that drives the mobile device to move can be a power device or a built-in motor, and there is no limitation here.

[0054] As an embodiment, when the target electronic device includes a wind sweeping blade device, the orientation direction control instruction includes a blade direction control instruction, wherein the wind sweeping blade device can be an air conditioner, or can be any device with a blade wind sweeping function, such as a wind sweeping blade fan; based on the sound source position information, the orientation direction control instruction of the target electronic device is generated, including: obtaining the current blade position information of the wind sweeping blade device, and generating the blade direction control instruction of the wind sweeping blade device based on the sound source position information and the current blade position information.

[0055] In this way, a method for adjusting the blade position of the wind sweeping blade device according to the sound source position information is provided, ensuring that when the wind sweeping blade device is used, the wind sweeping blade device can directly blow the user corresponding to the sound source position information, thereby improving the user experience.

[0056] Furthermore, based on the sound source position information and the current baffle position information, a blade direction control instruction of the wind sweeping blade device is generated, including: based on the sound source position information and the current blade position information, the relative position between the air outlet direction of the wind sweeping blade device and the sound source direction of the object is located to obtain first relative position information; based on the first relative position information, a blade adjustment direction of the wind sweeping blade device is determined; based on the blade adjustment direction, a blade direction control instruction of the wind sweeping blade device is generated.

[0057] As one embodiment, when the target electronic device includes a shaking head and sweeping air device, the direction control instruction includes a shaking head direction control instruction, wherein the shaking head and sweeping air device can be a fan, or it can be any device with a shaking head and sweeping air function, such as a heater; based on the sound source position information, the direction control instruction of the target electronic device is generated, including: obtaining the current direction position information of the shaking head and sweeping air device, and generating a shaking head direction control instruction for the shaking head and sweeping air device based on the sound source position information and the current direction position information.

[0058] In this way, a method is provided for adjusting the shaking direction of the shaking head and sweeping air device according to the sound source position information, ensuring that when the shaking head and sweeping air device is used, the shaking head and sweeping air device can directly blow the user corresponding to the sound source position information, thereby improving the user experience.

[0059] Furthermore, based on the sound source position information and the current direction position information, a shaking direction control instruction of the shaking head sweeping device is generated, including: based on the sound source position information and the current direction position information, the relative position between the air outlet direction of the shaking head sweeping device and the sound source direction where the object is located is located to obtain second relative position information; based on the second relative position information, the shaking adjustment direction of the shaking head sweeping device is determined; based on the shaking adjustment direction, a shaking direction control instruction of the shaking head sweeping device is generated.

[0060] As one embodiment, when the target electronic device has a moving function, the functional direction of the target electronic device is controlled according to a direction control instruction, including: when the target electronic device also has a wind-sweeping function, the moving direction control instruction and the orientation direction control instruction of the target electronic device are determined according to the sound source position information, and the moving direction of the target electronic device is controlled according to the moving direction control instruction, and the wind-sweeping direction of the target electronic device is controlled according to the orientation direction control instruction.

[0061] In this embodiment, multiple sound signals are obtained by receiving sounds emitted by the same object at different positions; based on the multiple sound signals, the sound source position corresponding to the multiple sound signals is located to obtain sound source position information; based on the sound source position information, the functional action direction of the target electronic device is controlled, wherein the functional action direction includes the corresponding action direction when the target electronic device implements the device function. The sound source position is located based on the multiple sound signals received from the same object at different positions, that is, the object is located, which not only ensures that the electronic device can accurately capture the object's voice control behavior on the electronic device, but also enables the electronic device to accurately implement the device function toward the object, thereby improving the accuracy of the device voice control.

[0062] In one embodiment, Figure 4 As shown, a method for locating a sound source position is provided, in which: Figure 3 The step 304 of locating the sound source position corresponding to the multiple sound signals according to the multiple sound signals to obtain the sound source position information includes:

[0063] Step 402: Perform noise reduction processing on multiple sound signals to obtain multiple noise reduction signals.

[0064] Exemplarily, step 402 includes: for each sound signal, screening a noise signal from the sound signal, generating a complementary suppression signal according to the noise signal, and performing noise reduction processing on the sound signal by using the complementary suppression signal to obtain a noise reduction signal.

[0065] Furthermore, filtering noise signals from sound signals includes: obtaining distribution information of each frequency band in the sound signal, and filtering noise signals whose corresponding frequency bands belong to high frequency bands or low frequency bands from the sound signal according to the distribution information of each frequency band in the sound signal.

[0066] As an embodiment, generating a complementary suppression signal according to a noise signal includes: acquiring phase information of the noise signal, and generating a complementary suppression signal having a complementary phase corresponding to the phase information of the noise signal according to the phase information of the noise signal.

[0067] Step 404: Evaluate the delay differences between the multiple noise reduction signals to obtain delay difference information.

[0068] Exemplarily, step 404 includes: the delay difference information includes the delay difference between at least one pair of noise reduction signals; obtaining the signal reception time difference between each pair of noise reduction signals; and evaluating the delay difference between each pair of noise reduction signals based on the signal reception time difference to obtain the delay difference between each pair of noise reduction signals.

[0069] As an embodiment, obtaining a signal reception time difference between each pair of noise reduction signals includes: each pair of noise reduction signals includes a first noise reduction signal and a second noise reduction signal, obtaining a first signal reception time corresponding to the first noise reduction signal, and obtaining a second signal reception time corresponding to the second noise reduction signal; and determining the time difference between the first signal reception time and the second signal reception time as the signal reception time difference between each pair of noise reduction signals.

[0070] The greater the signal receiving time difference between each pair of noise reduction signals, the greater the delay difference between each pair of noise reduction signals.

[0071] As an embodiment, the signal receiving time difference between each pair of noise reduction signals is determined as the delay difference between each pair of noise reduction signals.

[0072] Step 406: Evaluate the phase difference between the multiple noise reduction signals according to the delay difference information to obtain phase difference information.

[0073] Exemplarily, step 406 includes: the phase difference information includes the phase difference between at least one pair of noise reduction signals; based on the relationship between the period and frequency of the sound wave, constructing the relationship between the phase difference and the time delay difference; based on the relationship between the phase difference and the time delay difference, converting the time delay difference between each pair of noise reduction signals into the phase difference between each pair of noise reduction signals.

[0074] As one embodiment, according to the relationship between the period and frequency of a sound wave, a relationship between a phase difference and a time delay difference is constructed, including: obtaining the relationship between the frequency and phase of the sound wave, and obtaining the relationship between the period and time delay of the sound wave; substituting the relationship between the frequency and phase of the sound wave, and the relationship between the period and time delay of the sound wave into the relationship between the period and frequency of the sound wave to obtain the relationship between the phase and the time delay; according to the relationship between the phase and the time delay, a relationship between the phase difference and the time delay difference is constructed.

[0075] Furthermore, based on the relationship between phase and delay, a relationship between phase difference and delay difference is constructed, including: substituting the phase difference into the phase in the relationship between phase and delay, substituting the delay difference into the delay in the relationship between phase and delay, to obtain the relationship between phase difference and delay difference.

[0076] As an embodiment, according to the relationship between the phase difference and the delay difference, the delay difference between each pair of noise reduction signals is converted into the phase difference between each pair of noise reduction signals, including: substituting the delay difference between each pair of noise reduction signals into the relationship between the phase difference and the delay difference to obtain the phase difference between each pair of noise reduction signals.

[0077] Step 408: locate the sound source position corresponding to the multiple sound signals according to the phase difference information to obtain the sound source position information.

[0078] Among them, the sound source position information in step 408 can be the sound source position corresponding to the sound signal, the position coordinates in the coordinate system constructed based on the environment where the target electronic device is located. The sound source position information can also be the relative position information between the sound source position corresponding to the sound signal and a reference position (for example, it can be the location of the target electronic device, or it can be the location of any voice receiving component). The relative position information includes at least one of the relative orientation information and the relative distance information, for example, a position of 2 meters in the direction 30° east-south of the reference position.

[0079] Exemplarily, step 408 includes: obtaining the relationship between the phase difference and the sound source distance difference; converting the phase difference between each pair of noise reduction signals into the sound source distance difference between each pair of noise reduction signals according to the relationship between the phase difference and the sound source distance difference; locating the sound source position corresponding to multiple sound signals according to the sound source distance difference between each pair of noise reduction signals, and obtaining the sound source position information corresponding to the voice command.

[0080] The relationship between the phase difference and the sound source distance difference can be expressed as follows: the phase difference is the ratio of the sound source distance difference to the sound wave propagation speed. The sound source distance difference includes the difference between the first sound source distance and the second sound source distance, the first sound source distance is the distance between the voice receiving component corresponding to the first noise reduction signal in each pair of noise reduction signals and the object emitting the sound, and the second sound source distance is the distance between the voice receiving component corresponding to the second noise reduction signal in each pair of noise reduction signals and the object emitting the sound.

[0081] As an embodiment, according to the relationship between the phase difference and the sound source distance difference, the phase difference between each pair of noise reduction signals is converted into the sound source distance difference between each pair of noise reduction signals, including: substituting the phase difference and sound wave propagation speed between each pair of noise reduction signals into the relationship between the phase difference and the sound source distance difference, to obtain the sound source distance difference between each pair of noise reduction signals.

[0082] As an embodiment, according to the sound source distance difference between each pair of noise reduction signals, the sound source position corresponding to multiple sound signals is located to obtain the sound source position information corresponding to the voice command, including: for each pair of noise reduction signals, obtaining the relative position information between the voice receiving components corresponding to each pair of noise reduction signals, and constructing the geometric distance calculation relationship corresponding to each pair of noise reduction signals according to the relative position information between the voice receiving components corresponding to each pair of noise reduction signals and the sound source distance difference between each pair of noise reduction signals; substituting the relative position information between the voice receiving components corresponding to each pair of noise reduction signals and the sound source distance difference between each pair of noise reduction signals into the geometric distance calculation relationship corresponding to each pair of noise reduction signals to obtain the sound source position information corresponding to the voice command.

[0083] The geometric distance calculation relationship may be a triangle side length calculation formula, or a side length calculation formula for other geometric shapes, which is not limited here.

[0084] In this way, by establishing a geometric relationship between a plurality of voice receiving components and the sound source position, the sound source position is located, thereby improving the accuracy of the sound source position location.

[0085] In this embodiment, multiple noise reduction signals are obtained by performing noise reduction processing on multiple sound signals; the time delay difference between the multiple noise reduction signals is evaluated to obtain time delay difference information; based on the time delay difference information, the phase difference between the multiple noise reduction signals is evaluated to obtain phase difference information; based on the phase difference information, the sound source position corresponding to the multiple sound signals is located to obtain sound source position information. Based on the principle of sound signal propagation, the sound source position is finally located by performing noise reduction processing, delay difference evaluation and phase difference evaluation processing on multiple sound signals, thereby improving the accuracy of sound source position positioning.

[0086] The device voice control system provided in the embodiment of the present application can be as follows Figure 1The structure shown in FIG. 1 , wherein the device voice control system 102 includes a plurality of voice receiving components 10 connected to a target electronic device 104;

[0087] The voice processing components 20 communicate with the multiple voice receiving components 10 respectively, and are used to perform noise reduction processing and sound source location positioning on the sound signals received by the multiple voice receiving components 10 to obtain sound source location information;

[0088] A device voice control component 30 for controlling the target electronic device 104 communicates with the voice processing component 20 .

[0089] In this embodiment, by setting up multiple voice receiving components 10, a multi-directional positioning basis is provided, and noise reduction processing and sound source positioning are performed based on the sound signals received by the multiple voice receiving components 10, thereby achieving accurate positioning of the sound source. The sound source position information is the basis for controlling the target electronic device 104, which can ensure that the target electronic device 104 can accurately capture the object's voice control behavior on the electronic device, thereby improving the accuracy of the device's voice control control.

[0090] As an example, it can be Figure 5 The structure shown in FIG. 3 includes a controller 31 and a control motor 32 .

[0091] The controller 31 is used to convert the sound source position information obtained by the voice processing component into a direction control instruction.

[0092] The control motor 32 is used to control the functional direction of the target electronic device 104 according to the direction control instruction.

[0093] In this embodiment, a controller 31 is used to convert the sound source position information obtained by positioning the voice processing component into a direction control instruction, and a control motor 32 is used to control the functional direction of the target electronic device 104 according to the direction control instruction. This can enable the target electronic device 104 to accurately face the object to realize the device function, thereby improving the accuracy of the device voice control.

[0094] As an embodiment, the control motor 32 includes at least one of a moving direction control motor and a heading direction control motor.

[0095] Further, when the target electronic device 104 includes a shaking wind sweeping device or a wind sweeping blade device, the control motor 32 includes a direction control motor; when the target electronic device 104 has a moving function, the control motor 32 includes a moving direction control motor.

[0096] In this way, the target electronic device 104 can be operated according to its achievable functions, so that the action position of the target electronic device 104 is as close as possible to the sound source position, thereby improving the accuracy of the device voice control.

[0097] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0098] Based on the same inventive concept, the embodiment of the present application also provides a device voice control device for implementing the device voice control method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more device voice control device embodiments provided below can refer to the limitations of the device voice control method above, and will not be repeated here.

[0099] In one embodiment, Figure 6 As shown, a device voice control apparatus 600 is provided, including: a receiving module 602, a positioning module 604 and a control module 606, wherein:

[0100] A receiving module 602 is used to receive sounds emitted by the same object at different locations to obtain multiple sound signals;

[0101] A positioning module 604 is used to locate the sound source position corresponding to the multiple sound signals according to the multiple sound signals to obtain the sound source position information;

[0102] The control module 606 is used to control the functional action direction of the target electronic device according to the sound source position information, wherein the functional action direction includes the corresponding action direction when the target electronic device implements the device function.

[0103] In one embodiment, the control module 606 is also used to: generate a direction control instruction for the target electronic device based on the sound source position information, wherein, when the target electronic device does not have a mobile function, the direction control instruction includes a direction control instruction, and when the target electronic device has a mobile function, the direction control instruction includes at least one of a direction control instruction and a moving direction control instruction; and control the functional direction of the target electronic device according to the direction control instruction.

[0104] In one embodiment, the positioning module 604 is also used to perform noise reduction processing on multiple sound signals to obtain multiple noise reduction signals; evaluate the delay difference between the multiple noise reduction signals to obtain delay difference information; evaluate the phase difference between the multiple noise reduction signals based on the delay difference information to obtain phase difference information; and locate the sound source position corresponding to the multiple sound signals based on the phase difference information to obtain sound source position information.

[0105] In one embodiment, the delay difference information includes the delay difference between at least one pair of noise reduction signals; the positioning module 604 is also used to obtain the signal reception time difference between each pair of noise reduction signals; based on the signal reception time difference, the delay difference between each pair of noise reduction signals is evaluated to obtain the delay difference between each pair of noise reduction signals.

[0106] In one embodiment, the phase difference information includes the phase difference between at least one pair of noise reduction signals; the positioning module 604 is also used to construct a relationship between the phase difference and the time delay difference based on the relationship between the period and frequency of the sound wave; and according to the relationship between the phase difference and the time delay difference, convert the time delay difference between each pair of noise reduction signals into the phase difference between each pair of noise reduction signals.

[0107] In one embodiment, the phase difference information includes the phase difference between at least one pair of noise reduction signals; the positioning module 604 is also used to obtain the relationship between the phase difference and the sound source distance difference; according to the relationship between the phase difference and the sound source distance difference, the phase difference between each pair of noise reduction signals is converted into the sound source distance difference between each pair of noise reduction signals; according to the sound source distance difference between each pair of noise reduction signals, the sound source position corresponding to multiple sound signals is located to obtain the sound source position information corresponding to the voice command.

[0108] Each module in the above-mentioned device voice control device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0109] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as follows: Figure 7As shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and the external device. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a device voice control method is implemented. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.

[0110] Those skilled in the art will understand that Figure 7 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0111] In one embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0112] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0113] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0114] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0115] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0116] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A device voice control method, characterized in that: The method comprises: Receiving the sound emitted by the same object at different positions to obtain multiple sound signals; According to the multiple sound signals, locate the sound source position corresponding to the multiple sound signals to obtain the sound source position information; The functional action direction of the target electronic device is controlled according to the sound source position information, wherein the functional action direction includes the action direction corresponding to when the target electronic device implements the device function.

2. The method according to claim 1, characterized in that The controlling the functional direction of the target electronic device according to the sound source position information includes: Generate a direction control instruction for the target electronic device according to the sound source position information, wherein, when the target electronic device does not have a mobile function, the direction control instruction includes a heading direction control instruction, and when the target electronic device has a mobile function, the direction control instruction includes at least one of a heading direction control instruction and a moving direction control instruction; According to the direction control instruction, the functional direction of the target electronic device is controlled.

3. The method according to claim 1, characterized in that The method of locating the sound source positions corresponding to the multiple sound signals according to the multiple sound signals to obtain the sound source position information includes: Performing noise reduction processing on the multiple sound signals to obtain multiple noise reduction signals; Evaluate the delay difference between the multiple noise reduction signals to obtain delay difference information; According to the delay difference information, the phase difference between the multiple noise reduction signals is evaluated to obtain phase difference information; The sound source positions commonly corresponding to the multiple sound signals are located according to the phase difference information to obtain the sound source position information.

4. The method according to claim 3, characterized in that The delay difference information includes a delay difference between at least one pair of the noise reduction signals; and the delay difference between the multiple noise reduction signals is evaluated to obtain the delay difference information, including: Obtaining a signal reception time difference between each pair of the noise reduction signals; The delay difference between each pair of the noise reduction signals is evaluated according to the signal reception time difference to obtain the delay difference between each pair of the noise reduction signals.

5. The method according to claim 4, characterized in that The phase difference information includes a phase difference between at least one pair of the noise reduction signals; and the phase difference between the multiple noise reduction signals is evaluated according to the delay difference information to obtain the phase difference information, including: According to the relationship between the period and frequency of the sound wave, the relationship between the phase difference and the time delay difference is constructed; According to the relationship between the phase difference and the time delay difference, the time delay difference between each pair of the noise reduction signals is converted into the phase difference between each pair of the noise reduction signals.

6. The method according to claim 3, characterized in that: The phase difference information includes a phase difference between at least one pair of the noise reduction signals; and locating the sound source positions corresponding to the multiple sound signals according to the multiple sound signals to obtain the sound source position information, including: Obtain the relationship between the phase difference and the sound source distance difference; According to the relationship between the phase difference and the sound source distance difference, converting the phase difference between each pair of the noise reduction signals into the sound source distance difference between each pair of the noise reduction signals; According to the sound source distance difference between each pair of the noise reduction signals, the sound source position corresponding to the multiple sound signals is located to obtain the sound source position information corresponding to the voice command.

7. A device voice control system, characterized in that: For executing the device voice control method according to any one of claims 1 to 6, the system comprises: a plurality of voice receiving components connected to the target electronic device; A voice processing component that communicates with the multiple voice receiving components respectively, and is used to perform noise reduction processing and sound source location positioning on the sound signals received by the multiple voice receiving components to obtain sound source location information; A device voice control component for controlling the target electronic device communicates with the voice processing component, the device voice control component includes a controller and a control motor, the controller is used to convert the sound source position information into a direction control instruction, and the control motor is used to control the functional direction of the target electronic device according to the direction control instruction.

8. The system according to claim 7, characterized in that The control motor includes at least one of a moving direction control motor and a heading direction control motor.

9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Sound source locating system and method

    CN101295015A

  • Positioning method, positioning device and user equipment

    CN104502893A

  • Sound source positioning method, device and electronic device

    CN107290723A

  • Fan device air supply method and fan device

    CN107762948A

  • High-accuracy simulation device and method for ultrasonic array signal interchannel time delay difference

    CN109765302A