CN114500733A - Capacitive sound control method, device, equipment and medium - Google Patents
Capacitive sound control method, device, equipment and medium Download PDFInfo
- Publication number
- CN114500733A CN114500733A CN202210073547.9A CN202210073547A CN114500733A CN 114500733 A CN114500733 A CN 114500733A CN 202210073547 A CN202210073547 A CN 202210073547A CN 114500733 A CN114500733 A CN 114500733A
- Authority
- CN
- China
- Prior art keywords
- volume
- sound
- power supply
- capacitor
- capacitive
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 239000003990 capacitor Substances 0.000 claims abstract description 77
- 210000005069 ears Anatomy 0.000 claims description 6
- 230000004807 localization Effects 0.000 claims description 4
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 239000003985 ceramic capacitor Substances 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/20—Arrangements for obtaining desired frequency or directional characteristics
- H04R1/32—Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only
- H04R1/40—Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only by combining a number of identical transducers
- H04R1/406—Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only by combining a number of identical transducers microphones
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
- Circuit For Audible Band Transducer (AREA)
- Soundproofing, Sound Blocking, And Sound Damping (AREA)
Abstract
The application discloses a capacitive sound control method, a capacitive sound control device, capacitive sound control equipment and a capacitive sound control medium, and belongs to the technical field of electronic equipment. The capacitance sound control method comprises the following steps: carrying out sound source positioning by using a microphone array, and determining the capacitance for emitting sound; and under the condition that the power supply of the capacitor which emits the sound is in the low power consumption mode, controlling the power supply of the capacitor which emits the sound to exit the low power consumption mode so as to control the capacitor sound.
Description
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a capacitive sound control method, device, equipment and medium.
Background
With the development of smart phones, the frequency of a Central Processing Unit (CPU), the frequency of a Graphics Processing Unit (GPU), the resolution of a display screen, pixels of a camera and the like of a smart phone are higher and higher, the power supply requirement on a power supply inside the smart phone is higher and higher, and the design of a power supply network is more and more difficult. In order to meet the requirement of Power Distribution Networks (PDNs) of each Power supply, small-package high-capacity ceramic capacitors are increasingly used for stabilizing the Power supply networks and achieving the purpose of the Power supply networks.
However, the ceramic capacitor has a reverse electric effect due to the packaging structure characteristics of the ceramic capacitor. In some cases, capacitive sound is present, i.e. the capacitance emits sound. The capacitive sound may be heard by the user, which affects the hearing feeling of the user and the confidence level of the user on the brand of the mobile phone.
In order to solve the capacitive sound, related technologies mainly use a Printed Circuit Board (PCB) or a noise reduction capacitor. But the development period of the modified PCB is longer and the cost is higher; noise reduction capacitors are expensive. The capacitive sound is solved through the two modes, and the cost is high.
Disclosure of Invention
An object of the embodiments of the present application is to provide a capacitive sound control method, device, apparatus, and medium, which can solve the problem of high cost of capacitive sound reduction.
In a first aspect, an embodiment of the present application provides a capacitive acoustic control method, including:
carrying out sound source positioning by using a microphone array, and determining the capacitance for emitting sound;
and under the condition that the power supply of the capacitor which emits the sound is in the low power consumption mode, controlling the power supply of the capacitor which emits the sound to exit the low power consumption mode so as to control the capacitor sound.
In a second aspect, an embodiment of the present application provides a capacitive sound control apparatus, including:
the first determining module is used for positioning a sound source by using the microphone array and determining the capacitance for emitting sound;
and the control module is used for controlling the power supply source of the capacitor which emits the sound to exit the low power consumption mode so as to control the capacitor sound under the condition that the power supply source of the capacitor which emits the sound is in the low power consumption mode.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, which includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, the sound source is positioned by using the microphone array, the capacitor which emits sound is determined, and then the power supply of the capacitor is controlled to exit from the low power consumption mode under the condition that the power supply is in the low power consumption mode, so that the problem of capacitance sound can be solved. The PCB does not need to be modified, the noise reduction capacitor with higher price does not need to be used, and the cost for solving the capacitive sound can be reduced.
Drawings
Fig. 1 is a schematic flowchart of a capacitive acoustic control method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a process for controlling capacitive sound provided by an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a capacitive sound control apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a hardware configuration diagram of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The capacitive acoustic control method, device, apparatus and medium provided in the embodiments of the present application are described in detail with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flowchart of a capacitive acoustic control method according to an embodiment of the present application. As shown in fig. 1, the capacitive acoustic control method may include:
s101: carrying out sound source positioning by using a microphone array, and determining the capacitance for emitting sound;
s102: and under the condition that the power supply of the capacitor which emits the sound is in the low power consumption mode, controlling the power supply of the capacitor which emits the sound to exit the low power consumption mode so as to control the capacitor sound.
Specific implementations of the above steps will be described in detail below.
In the embodiment of the application, the sound source is positioned by using the microphone array, the capacitor which emits sound is determined, and then the power supply of the capacitor is controlled to exit from the low power consumption mode under the condition that the power supply is in the low power consumption mode, so that the problem of capacitance sound can be solved. The PCB does not need to be modified, the noise reduction capacitor with higher price does not need to be used, and the cost for solving the capacitive sound can be reduced.
The embodiment of the application does not limit the specific process of utilizing the microphone array to perform sound source localization and determining the capacitance for emitting sound, and specifically refers to the process of performing sound source localization through the microphone array in the related art.
In some possible implementations of embodiments of the present application, S101 may include at least one of:
under the condition that the distance between the electronic equipment provided with the microphone array and a user is smaller than a distance threshold value, positioning a sound source by using the microphone array, and determining the capacitance for emitting sound;
under the condition that human ears or human heads exist in the images acquired by the electronic equipment, the microphone array is utilized to carry out sound source positioning, and the capacitance for emitting sound is determined.
In some possible implementations of embodiments of the present application, the distance of the electronic device to the user may be detected by a distance sensor.
In some possible implementations of the embodiments of the present application, in detecting the distance from the electronic device to the user by using the distance sensor, a Time of flight (TOF) method may be used to detect the distance from the electronic device to the user.
The embodiment of the present application does not limit the specific manner for detecting the distance from the electronic device to the user, and any available manner may be applied to the embodiment of the present application.
In the embodiment of the application, when the electronic equipment is far away from the user, even if capacitive sound occurs, the capacitive sound cannot be easily heard by the user, and the capacitive sound does not need to be controlled. When the electronic device is close to the user, the capacitive sound is easily heard by the user, and the capacitive sound needs to be controlled.
In the embodiment of the application, the capacitor sound is controlled only when the electronic equipment is close to the user, so that the problem that when the electronic equipment is far away from the user, the power supply for controlling the capacitor exits from a low power consumption mode and the power consumption of the power supply is high can be solved.
In some possible implementations of the embodiment of the present application, a camera of an electronic device may be used to collect an image, and then it is determined whether a human ear or a human head exists in the image collected by the camera. When no human ear or head exists in the image acquired by the camera (for example, the electronic device is in a user pocket), it indicates that the electronic device is not close to the human ear, and the capacitance sound does not need to be controlled; when the human ear or the human head exists in the image collected by the camera, the electronic equipment is close to the human ear, and the capacitance sound is easy to hear by a user and needs to be controlled.
The embodiment of the present application does not limit the manner of detecting whether the human ear or the human head exists in the image, and any available manner may be applied to the embodiment of the present application. For example, ear features are extracted by a high-order invariant matrix to perform ear recognition, and head detection recognition is performed by OpenCV.
In some possible implementations of the embodiment of the present application, a camera of an electronic device may be used to acquire an image, and then it is determined whether a human ear or a human head exists in the image acquired by the camera. When the electronic equipment is close to the user and no human ear or head exists in the image acquired by the camera (for example, the electronic equipment is in a user pocket), it indicates that the electronic equipment is not close to the human ear, and at this time, the capacitance sound does not need to be controlled; when the human ear or the human head exists in the image collected by the camera and the distance between the electronic equipment and the user is short, the electronic equipment is close to the human ear, and the capacitance sound is easy to hear by the user and needs to be controlled.
In the embodiment of the application, the capacitor sound is controlled only when the electronic equipment is close to the user and the human ear or the human head exists in the image, so that the problem that the power supply for controlling the capacitor exits from the low power consumption mode and the power consumption of the power supply is high when the electronic equipment is close to the user and the human ear or the human head does not exist in the image can be solved.
In some possible implementations of embodiments of the present application, S102 may include at least one of:
adjusting the working mode of a power supply of a capacitor which emits sound to be a Pulse Width Modulation (PWM) mode;
and adjusting the switch state of the power supply of the capacitor which emits the sound to be a normally open state.
In this application embodiment, the power switch frequency of PWM mode work is invariable, and the power of PWM mode work can output steady voltage, and the ripple is less, can reduce the vibrations of electric capacity, and then reduces the electric capacity sound.
In the embodiment of the application, when the power supply of the capacitor is switched on and off, the voltage applied to two ends of the capacitor has larger variation amplitude, the vibration amplitude of the capacitor is larger, and the capacitor sound is more obvious. The power supply of the capacitor which makes sound is adjusted to be in a normally open state, at the moment, the voltage applied to the two ends of the capacitor cannot change, the capacitor does not vibrate any more, and the capacitor makes sound messages.
In some possible implementations of the embodiments of the present application, S102 may include: and controlling the power supply to exit the low power consumption mode under the condition that the first volume of the capacitive sound is greater than the first volume threshold.
In the embodiment of the application, when the capacitive sound is low, the capacitive sound is not heard by the user generally, and in this case, the capacitive sound does not need to be controlled. When the capacitive sound is high, it may be audible to the user, and the capacitive sound needs to be controlled.
In the embodiment of the application, the capacitive sound is controlled only when the capacitive sound is high and is possibly heard by a user, so that the problem that the power supply for controlling the capacitor exits from a low power consumption mode and the power consumption of the power supply is high when the capacitive sound is low can be solved.
In some possible implementations of the embodiment of the present application, before S102, the method for controlling capacitive sound, provided by the embodiment of the present application, may further include: acquiring a second volume of the background noise; and determining a first volume threshold according to the second volume.
The background noise is also called background noise (simply referred to as "background noise") and refers to ambient noise other than the noise source to be measured.
In some possible implementations of embodiments of the present application, the volume of the background noise may be obtained by the microphone array, and then the corresponding volume threshold may be determined according to the volume of the background noise.
In some possible implementations of embodiments of the present application, determining the first volume threshold from the second volume includes: setting the first volume threshold value as a third volume when the second volume is greater than or equal to the second volume threshold value; and under the condition that the second volume is smaller than the second volume threshold, setting the first volume threshold as a fourth volume, wherein the fourth volume is smaller than the third volume.
It is understood that the larger the volume of the background noise, the less easily the capacitive sound is heard by the user, and the smaller the volume of the background noise, the more easily the capacitive sound is heard by the user.
When the volume of the background noise is larger than or equal to the second volume threshold, the environment is noisy, the capacitance sound is not easy to hear by the user, and if the capacitance sound is heard by the user, the capacitance sound is large, and the capacitance sound needs to be controlled.
When the volume of the background noise is less than the second volume threshold, it indicates that the environment is quiet, and since the capacitive sound is easily heard by the user, the capacitive sound also needs to be controlled, and when the capacitive sound is small, the capacitive sound may be heard by the user.
In some possible implementations of embodiments of the present application, different volume thresholds may be set for different environments. Specifically, in the case where the second volume is greater than or equal to the second volume threshold, the first volume threshold is set to X (i.e., the third volume); in the case where the second volume is less than the second volume threshold, the first volume threshold is set to Y (i.e., a fourth volume), where Y is less than X.
The capacitive sound control method provided by the embodiment of the present application is described below by a specific example. As shown in fig. 2, fig. 2 is a schematic diagram of a process for controlling capacitive sound according to an embodiment of the present application. The process of controlling the capacitive sound comprises:
s201: the distance sensor detects the distance from the electronic equipment to a user;
s202: starting a camera to collect an image under the condition that the distance from the electronic equipment to the user is smaller than a distance threshold value;
s203: carrying out ear recognition or head recognition on the image acquired by the camera;
s204: detecting background noise, capacitance sound and capacitance sound source positioning by using a microphone array under the condition that human ears or human heads exist in an image acquired by a camera, and determining the capacitance of the emitted sound;
s205: determining a power supply of a capacitor according to the capacitor which emits the sound;
s206: determining a corresponding volume threshold according to the volume of the background noise;
s207: and controlling the power supply of the capacitor which emits the sound to exit the low power consumption mode under the condition that the volume of the capacitor sound is larger than the determined volume threshold value.
It should be noted that, in the capacitive sound control method provided in the embodiment of the present application, the execution subject may be a capacitive sound control apparatus. In the embodiment of the present application, a capacitive sound control apparatus is taken as an example to execute a capacitive sound control method, and the capacitive sound control apparatus provided in the embodiment of the present application is described.
Fig. 3 is a schematic structural diagram of a capacitive sound control apparatus according to an embodiment of the present application. As shown in fig. 3, the capacitive sound control apparatus 300 may include:
a first determining module 301, configured to perform sound source localization by using a microphone array, and determine a capacitance for emitting sound;
the control module 302 is configured to, when the power supply of the capacitor that generates the sound is in the low power consumption mode, control the power supply of the capacitor that generates the sound to exit the low power consumption mode, so as to control the capacitor sound.
In the embodiment of the application, the sound source is positioned by using the microphone array, the capacitor which emits sound is determined, and then the power supply of the capacitor is controlled to exit from the low power consumption mode under the condition that the power supply is in the low power consumption mode, so that the problem of capacitance sound can be solved. The PCB does not need to be modified, the noise reduction capacitor with higher price does not need to be used, and the cost for solving the capacitive sound can be reduced.
In some possible implementations of embodiments of the present application, the control module 302 is specifically configured to at least one of:
adjusting the working mode of a power supply of a capacitor which emits sound to a PWM mode;
and adjusting the switch state of the power supply of the capacitor which emits the sound to be a normally open state.
In the embodiment of the application, the working mode of the power supply of the capacitor which emits the sound is adjusted to be the PWM mode; and/or the switch state of the power supply of the capacitor which emits the sound is adjusted to be in a normally open state, so that the capacitor sound can be solved. The PCB does not need to be modified, the noise reduction capacitor with higher price does not need to be used, and the cost for solving the capacitive sound can be reduced.
In some possible implementations of embodiments of the present application, the first determining module 301 is specifically configured to at least one of:
under the condition that the distance between the electronic equipment provided with the microphone array and a user is smaller than a distance threshold value, positioning a sound source by using the microphone array, and determining the capacitance for emitting sound;
under the condition that human ears or human heads exist in the images acquired by the electronic equipment, the microphone array is utilized to carry out sound source positioning, and the capacitance for emitting sound is determined.
In the embodiment of the application, the capacitor sound is controlled only when the electronic equipment is close to the user and/or the human ear or the human head exists in the image acquired by the electronic equipment, so that the problems that the power supply of the capacitor is controlled to exit from the low power consumption mode and the power consumption of the power supply is high when the electronic equipment is far from the user or the human ear or the human head does not exist in the image acquired by the electronic equipment can be reduced.
In some possible implementations of the embodiments of the present application, the control module 302 is specifically configured to:
and under the condition that the first volume of the capacitor sound is larger than a first volume threshold value, controlling the power supply of the capacitor which emits the sound to exit the low power consumption mode.
In the embodiment of the application, the capacitive sound is controlled only when the capacitive sound is high and is possibly heard by a user, so that the problem that the power supply for controlling the capacitor exits from a low power consumption mode and the power consumption of the power supply is high when the capacitive sound is low can be solved.
In some possible implementations of the embodiments of the present application, the capacitive sound control apparatus 300 further includes:
the acquisition module is used for acquiring a second volume of the background noise;
and the second determining module is used for determining the first volume threshold according to the second volume.
In some possible implementations of the embodiments of the present application, the second determining module is specifically configured to:
setting the first volume threshold value as a third volume when the second volume is greater than or equal to the second volume threshold value;
and under the condition that the second volume is smaller than the second volume threshold, setting the first volume threshold as a fourth volume, wherein the fourth volume is smaller than the third volume.
In this application embodiment, can set up great volume threshold value to noisy environment, can set up less volume threshold value to quieter environment, different environment can set up different volume threshold values, can carry out electric capacity acoustic control correspondingly to different environment, avoids the power supply who sends the electric capacity of sound to withdraw from the low-power consumption mode for a long time, problem that the power supply consumption is high.
The capacitive sound control apparatus in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The capacitive sound control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The capacitive sound control device provided in the embodiment of the present application can implement each process in the capacitive sound control method embodiments of fig. 1 and fig. 2, and is not described here again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 400 is further provided in this embodiment of the present application, and includes a processor 401 and a memory 402, where the memory 402 stores a program or an instruction that can be executed on the processor 401, and when the program or the instruction is executed by the processor 401, the steps of the embodiment of the capacitance-sound control method are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
In some possible implementations of embodiments of the present Application, the processor 401 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of embodiments of the present Application.
In some possible implementations of embodiments of the present application, the Memory 402 may include a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash Memory device, an electrical, optical, or other physical/tangible Memory storage device. Thus, in general, the memory 402 comprises one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the capacitive acoustic control method according to embodiments of the application.
Fig. 5 is a hardware configuration diagram of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and the like.
Those skilled in the art will appreciate that the electronic device 500 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein processor 510 is configured to: carrying out sound source positioning by using a microphone array, and determining the capacitance for emitting sound; and under the condition that the power supply of the capacitor which emits the sound is in the low power consumption mode, controlling the power supply of the capacitor which emits the sound to exit the low power consumption mode so as to control the capacitor sound.
In the embodiment of the application, the sound source is positioned by using the microphone array, the capacitor which emits sound is determined, and then the power supply of the capacitor is controlled to exit from the low power consumption mode under the condition that the power supply is in the low power consumption mode, so that the problem of capacitance sound can be solved. The PCB does not need to be modified, the noise reduction capacitor with higher price does not need to be used, and the cost for solving the capacitive sound can be reduced.
In some possible implementations of embodiments of the present application, processor 510 is specifically configured to at least one of:
adjusting the working mode of a power supply of a capacitor which emits sound to a PWM mode;
and adjusting the switch state of the power supply of the capacitor which emits the sound to be a normally open state.
In the embodiment of the application, the working mode of the power supply of the capacitor which emits the sound is adjusted to be the PWM mode; and/or the switch state of the power supply of the capacitor which emits the sound is adjusted to be in a normally open state, so that the capacitor sound can be solved. The PCB does not need to be modified, the noise reduction capacitor with higher price does not need to be used, and the cost for solving the capacitive sound can be reduced.
In some possible implementations of embodiments of the present application, processor 510 is specifically configured to at least one of:
under the condition that the distance between the electronic equipment provided with the microphone array and a user is smaller than a distance threshold value, positioning a sound source by using the microphone array, and determining the capacitance for emitting sound;
under the condition that human ears or human heads exist in the images acquired by the electronic equipment, the microphone array is utilized to carry out sound source positioning, and the capacitance for emitting sound is determined.
In the embodiment of the application, the capacitor sound is controlled only when the electronic equipment is close to the user and/or the human ear or the human head exists in the image acquired by the electronic equipment, so that the problems that the power supply of the capacitor is controlled to exit from the low power consumption mode and the power consumption of the power supply is high when the electronic equipment is far from the user or the human ear or the human head does not exist in the image acquired by the electronic equipment can be reduced.
In some possible implementations of embodiments of the present application, processor 510 is specifically configured to:
and under the condition that the first volume of the capacitor sound is larger than a first volume threshold value, controlling the power supply of the capacitor which emits the sound to exit the low power consumption mode.
In the embodiment of the application, the capacitive sound is controlled only when the capacitive sound is high and is possibly heard by a user, so that the problem that the power supply for controlling the capacitor exits from a low power consumption mode and the power consumption of the power supply is high when the capacitive sound is low can be solved.
In some possible implementations of embodiments of the present application, processor 510 is further configured to:
acquiring a second volume of the background noise;
and determining a first volume threshold according to the second volume.
In some possible implementations of embodiments of the present application, processor 510 is specifically configured to:
setting the first volume threshold value as a third volume when the second volume is greater than or equal to the second volume threshold value;
and under the condition that the second volume is smaller than the second volume threshold, setting the first volume threshold as a fourth volume, wherein the fourth volume is smaller than the third volume.
In this application embodiment, can set up great volume threshold value to noisy environment, can set up less volume threshold value to quieter environment, different environment can set up different volume threshold values, can carry out electric capacity acoustic control correspondingly to different environment, avoids the power supply who sends the electric capacity of sound to withdraw from the low-power consumption mode for a long time, problem that the power supply consumption is high.
It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in further detail herein.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 509 may include volatile memory or non-volatile memory, or the memory 509 may include both volatile and non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 509 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 310 may include one or more processing units; optionally, the processor 310 integrates an application processor, which mainly handles operations related to the operating system, user interface, application programs, etc., and a modem processor, which mainly handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the capacitance sound control method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, and examples of the computer readable storage medium include non-transitory computer readable storage media such as ROM, RAM, magnetic or optical disks, and the like.
The embodiment of the present application further provides a chip, which includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the embodiment of the capacitive sound control method, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
The present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the processes of the above embodiments of the capacitive sound control method, and achieve the same technical effects, and in order to avoid repetition, the descriptions of the processes are omitted here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (14)
1. A capacitive acoustic control method, the method comprising:
carrying out sound source positioning by using a microphone array, and determining the capacitance for emitting sound;
and under the condition that the power supply of the capacitor is in a low power consumption mode, controlling the power supply to exit the low power consumption mode so as to control the capacitor sound.
2. The method of claim 1, wherein the controlling the power supply to exit the low power consumption mode comprises at least one of:
adjusting the working mode of the power supply to a pulse width modulation mode;
and adjusting the switch state of the power supply to be in a normally open state.
3. The method of claim 1, wherein the sound source localization using a microphone array, determining a capacitance of an emitted sound, comprises at least one of:
under the condition that the distance between the electronic equipment provided with the microphone array and a user is smaller than a distance threshold value, carrying out sound source positioning by using the microphone array, and determining the capacitance for emitting sound;
and under the condition that human ears or human heads exist in the images acquired by the electronic equipment, the microphone array is utilized to carry out sound source positioning, and the capacitance for emitting sound is determined.
4. The method of claim 1, wherein the controlling the power supply to exit the low power consumption mode comprises:
and controlling the power supply to exit the low power consumption mode under the condition that the first volume of the capacitive sound is larger than a first volume threshold.
5. The method of claim 4, wherein before the controlling the power supply to exit the low power consumption mode, the method further comprises:
acquiring a second volume of the background noise;
and determining the first volume threshold according to the second volume.
6. The method of claim 5, wherein determining the first volume threshold based on the second volume comprises:
setting the first volume threshold to a third volume if the second volume is greater than or equal to a second volume threshold;
and under the condition that the second volume is smaller than the second volume threshold, setting the first volume threshold to be a fourth volume, wherein the fourth volume is smaller than the third volume.
7. A capacitive sound control apparatus, comprising:
the first determining module is used for positioning a sound source by using the microphone array and determining the capacitance for emitting sound;
and the control module is used for controlling the power supply to exit the low power consumption mode so as to control the capacitor sound under the condition that the power supply of the capacitor is in the low power consumption mode.
8. The apparatus of claim 7, wherein the control module is specifically configured to at least one of:
adjusting the working mode of the power supply to a pulse width modulation mode;
and adjusting the switch state of the power supply to be in a normally open state.
9. The apparatus of claim 7, wherein the first determining module is specifically configured to at least one of:
under the condition that the distance between the electronic equipment provided with the microphone array and a user is smaller than a distance threshold value, carrying out sound source positioning by using the microphone array, and determining the capacitance for emitting sound;
and under the condition that human ears or human heads exist in the images acquired by the electronic equipment, the microphone array is utilized to carry out sound source positioning, and the capacitance for emitting sound is determined.
10. The apparatus of claim 7, wherein the control module is specifically configured to:
and controlling the power supply to exit the low power consumption mode under the condition that the first volume of the capacitive sound is larger than a first volume threshold.
11. The apparatus of claim 10, further comprising:
the acquisition module is used for acquiring a second volume of the background noise;
and the second determining module is used for determining the first volume threshold according to the second volume.
12. The apparatus of claim 11, wherein the second determining module is specifically configured to:
setting the first volume threshold to a third volume if the second volume is greater than or equal to a second volume threshold;
and under the condition that the second volume is smaller than the second volume threshold, setting the first volume threshold to be a fourth volume, wherein the fourth volume is smaller than the third volume.
13. An electronic device, characterized in that the electronic device comprises: a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the capacitive acoustic control method of any one of claims 1 to 6.
14. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the capacitive acoustic control method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210073547.9A CN114500733B (en) | 2022-01-21 | 2022-01-21 | Capacitance sound control method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210073547.9A CN114500733B (en) | 2022-01-21 | 2022-01-21 | Capacitance sound control method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114500733A true CN114500733A (en) | 2022-05-13 |
CN114500733B CN114500733B (en) | 2024-02-20 |
Family
ID=81472099
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210073547.9A Active CN114500733B (en) | 2022-01-21 | 2022-01-21 | Capacitance sound control method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114500733B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109164414A (en) * | 2018-09-07 | 2019-01-08 | 深圳市天博智科技有限公司 | Localization method, device and storage medium based on microphone array |
CN112822001A (en) * | 2020-12-31 | 2021-05-18 | 维沃移动通信有限公司 | Control method of electronic equipment and electronic equipment |
CN113053368A (en) * | 2021-03-09 | 2021-06-29 | 锐迪科微电子(上海)有限公司 | Speech enhancement method, electronic device, and storage medium |
-
2022
- 2022-01-21 CN CN202210073547.9A patent/CN114500733B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109164414A (en) * | 2018-09-07 | 2019-01-08 | 深圳市天博智科技有限公司 | Localization method, device and storage medium based on microphone array |
CN112822001A (en) * | 2020-12-31 | 2021-05-18 | 维沃移动通信有限公司 | Control method of electronic equipment and electronic equipment |
CN113053368A (en) * | 2021-03-09 | 2021-06-29 | 锐迪科微电子(上海)有限公司 | Speech enhancement method, electronic device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114500733B (en) | 2024-02-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10769464B2 (en) | Facial recognition method and related product | |
EP2879095A1 (en) | Method, apparatus and terminal device for image processing | |
US9760998B2 (en) | Video processing method and apparatus | |
CN107749046B (en) | Image processing method and mobile terminal | |
CN109272917B (en) | Screen brightness adjusting method and device, storage medium and electronic equipment | |
CN112703534B (en) | Image processing method and related product | |
CN111182236A (en) | Image synthesis method and device, storage medium and terminal equipment | |
CN108958587B (en) | Split screen processing method and device, storage medium and electronic equipment | |
CN112488914A (en) | Image splicing method, device, terminal and computer readable storage medium | |
CN114740996A (en) | Signal acquisition method and electronic equipment | |
CN111556248B (en) | Shooting method, shooting device, storage medium and mobile terminal | |
EP3993438B1 (en) | Mobile terminal and control method | |
CN114500733B (en) | Capacitance sound control method, device, equipment and medium | |
CN114759782A (en) | Control method and device of power supply circuit, electronic equipment and readable storage medium | |
CN111064886B (en) | Shooting method of terminal equipment, terminal equipment and storage medium | |
CN112199050A (en) | Storage method, device, storage medium and terminal equipment | |
CN109040427B (en) | Split screen processing method and device, storage medium and electronic equipment | |
CN108829600B (en) | Method and device for testing algorithm library, storage medium and electronic equipment | |
CN111143580A (en) | Multimedia data storage method and device, storage medium and electronic equipment | |
CN111163223A (en) | Flash lamp control method and device, storage medium and terminal equipment | |
CN111026488B (en) | Communication data saving method, device, terminal equipment and storage medium | |
CN111343335B (en) | Image display processing method, system, storage medium and mobile terminal | |
CN108521545B (en) | Image adjusting method and device based on augmented reality, storage medium and electronic equipment | |
CN107846287B (en) | Power supply control method and mobile terminal | |
CN112468725B (en) | Photo shooting method and device, storage medium and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |