Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention and are not to be construed as limiting the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The features of the terms first and second in the description and in the claims of the present application may explicitly or implicitly include one or more of such features. Further, "and/or" in the specification and claims means at least one of the connected objects.
In the description of the present invention, it is to be noted that, unless otherwise explicitly specified or limited, the term "connected" is to be interpreted broadly, e.g. as a fixed connection, a detachable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
The embodiment of the present application provides an electronic device 10, which may be a mobile phone, a tablet computer, a notebook computer, or the like.
As shown in fig. 1, the electronic device 10 includes a piezoelectric ceramic 110, a microphone module 120, and a digital signal processor 130, where the piezoelectric ceramic 110 is located in a housing of the electronic device 10, and the digital signal processor 130 is connected to the piezoelectric ceramic 110 and the microphone module 120, respectively.
In this embodiment, the application scenario is a sound recording scenario, and in the sound recording scenario, the piezoelectric ceramic has a microphone function. The first voice signal may be a recorded voice signal and an external sound signal such as, but not limited to, a frog call voice signal including summer night, a concert voice signal.
The above piezoelectric ceramic 110 has low sensitivity, and the piezoelectric ceramic 110 is an electronic ceramic material having piezoelectric characteristics. The piezoelectric ceramics 110 are used to pick up the first voice signal.
In this embodiment, the piezoelectric ceramic 110 is configured to obtain a first voice signal, and transmit the first voice signal to the digital signal processor 130 when a signal value of the first voice signal is greater than a set signal threshold, where the digital signal processor 130 is configured to perform digital signal processing on the first voice signal to obtain a second voice signal.
The above digital signal processing includes, for example and without limitation, filtering processing and noise reduction processing.
The set signal threshold may be a value set according to an actual application scenario and an actual requirement, and the set signal threshold may be 100dB, or may also be 120dB, or of course, may also be another value. When the signal value of the first voice signal is greater than the set signal threshold, it indicates that a large-volume voice signal or an ultra-large-volume voice signal is picked up, and since the piezoelectric ceramic 110 has low sensitivity, the first voice signal picked up by the piezoelectric ceramic 110 is transmitted to the digital signal processor 130 for output such as filtering processing and noise reduction processing, no noise is generated, and thus, the large-volume voice signal or the ultra-large-volume voice signal is picked up.
In this embodiment, the microphone module 120 is configured to acquire the first voice signal, and transmit the first voice signal to the digital signal processor 130 when a signal value of the first voice signal is smaller than or equal to the set signal threshold. The digital signal processor 130 is configured to perform digital signal processing on the first voice signal to obtain a third voice signal.
When the signal value of the first voice signal is less than or equal to the set signal threshold, it indicates that the picked-up sound signal is a normal volume sound signal or a low volume sound signal, at this time, the first voice signal picked up by the microphone module 120 is transmitted to the digital signal processor 130 for filtering and noise reduction, and then output, and no noise is generated, so that the picking-up of the normal volume sound signal or the low volume sound signal is realized.
According to the electronic device of the embodiment, the electronic device comprises piezoelectric ceramics, a microphone module and a digital signal processor, the piezoelectric ceramics are located in a shell of the electronic device, the digital signal processor is respectively connected with the piezoelectric ceramics and the microphone module, and after the piezoelectric ceramics pick up a first voice signal, the piezoelectric ceramics can transmit the first voice signal to the digital signal processor for digital signal processing under the condition that the signal value of the first voice signal is greater than a set signal threshold value. Generally, when the signal value of the first voice signal is greater than the set signal threshold, it indicates that the piezoelectric ceramic picks up a sound signal with a large volume or an ultra-large volume, and since the sensitivity of the piezoelectric ceramic is low, the piezoelectric ceramic picks up the sound signal with the large volume or the ultra-large volume more optimally, so that noise is not easily generated.
Meanwhile, the pickup of various different types of sound signals such as high-volume sound signals, normal-volume sound signals and low-volume sound signals can be realized simultaneously, so that the sound recording requirements of users in different scenes can be well met.
In one embodiment, as shown in fig. 2, the electronic device 10 further comprises a first signal processing module 140 and a second signal processing module 150, wherein the first signal processing module 140 is connected between the piezoelectric ceramic 110 and the digital signal processor 130, and the second signal processing module 150 is connected between the microphone module 120 and the digital signal processor 130.
The first signal processing module 140 includes a first amplifier 1401 and a first analog-to-digital conversion module 1402 connected in series, the first amplifier 1401 is further connected to the piezoelectric ceramic 110, and the first analog-to-digital conversion module 1402 is further connected to the digital signal processor 130.
The second signal processing module 150 includes a second amplifier 1501 and a second analog-to-digital conversion module 1502 connected in series, the second amplifier 1501 is further connected to the microphone module 120, and the second analog-to-digital conversion module 1502 is further connected to the digital signal processor 130.
The first Amplifier 1401 and the second Amplifier 1501 may be Programmable Gain Amplifiers (PGA), which are very versatile amplifiers, and Gain values of the PGA and the PGA may be controlled as needed. The first amplifier 1401 is configured to amplify the signal output by the piezoelectric ceramic 110 to increase the amplitude of the signal. The second amplifier 1501 is configured to amplify the signal output by the microphone module 120 to increase the amplitude of the signal.
The first analog-to-digital conversion module 1402 is used for converting the signal output by the first amplifier 1401 into a digital signal. The second analog-to-digital conversion module 1502 is configured to convert the signal output by the second amplifier 1501 into a digital signal.
Illustratively, when recording voice, the piezoelectric ceramic 110 and the microphone module 120 simultaneously pick up a first voice signal, when the signal value of the first voice signal is greater than a set signal threshold, the piezoelectric ceramic 110 sends the first voice signal to the first amplifier 1401, the first amplifier 1401 amplifies the first voice signal and sends the amplified signal to the first analog-to-digital conversion module 1402, the first analog-to-digital conversion module 1402 converts the amplified signal into a digital signal and sends the converted digital signal to the digital signal processor 130, and the digital signal processor 130 outputs the converted digital signal after performing filtering processing and noise reduction processing.
When the signal value of the first voice signal is smaller than the set signal threshold, the microphone module 120 sends the first voice signal to the second amplifier 1501, the second amplifier 1501 amplifies the first voice signal and sends the amplified signal to the second analog-to-digital conversion module 1502, the second analog-to-digital conversion module 1502 converts the amplified signal into a digital signal and sends the converted digital signal to the digital signal processor 130, and the digital signal processor 130 performs filtering processing and noise reduction processing on the converted digital signal and outputs the digital signal.
In one embodiment, as shown in fig. 3, the electronic device 10 further includes a first switch 160 and a driving module 170, the piezoelectric ceramic 110 is connected to the driving module 170 and the first signal processing module 140 through the first switch 160, and the first switch 160 can be switched between multiple states.
As shown in fig. 3, the first switch 160 is a single pole double throw switch that includes a moving contact, a first stationary contact, and a second stationary contact. The moving contact is connected to the piezoelectric ceramic 110, the first stationary contact is connected to the driving module 170, and the second stationary contact is connected to the first signal processing module 140.
In this embodiment, when the first switch 160 is in the first state, the piezoelectric ceramic 110 and the driving module 170 are turned on, so as to play an audio signal through the piezoelectric ceramic 110. When the first switch 160 is in the second state, the piezoelectric ceramic 110 and the first signal processing module 140 are turned on, so as to obtain the first voice signal through the piezoelectric ceramic 110.
Specifically, when the piezoelectric ceramic 110 is used as a speaker to play an audio signal, the movable contact of the first switch 160 is connected to the first fixed contact, so that the piezoelectric ceramic 110 and the driving module 170 are conducted to play the audio signal, that is, by utilizing the reversibility of the piezoelectric effect, an audio voltage is applied to the piezoelectric ceramic 110, and then mechanical vibration is generated, thereby generating sound. Meanwhile, because the piezoelectric ceramic 160 does not need to be perforated for sound production, the surrounding air is pushed to produce sound through vibration, and a non-porous design is realized.
When piezoelectric ceramic 110 is used as a microphone for recording, the movable contact of first switch 160 is connected to the second stationary contact, so that piezoelectric ceramic 110 picks up the first voice signal.
In this embodiment, an additional linear motor or a vibrator motor is not required, and the inverse piezoelectric effect of the piezoelectric ceramic 110 is utilized to make the piezoelectric ceramic 110 generate sound to generate vibration, thereby replacing the conventional motor.
In one embodiment, the electronic device 10 includes M piezoceramics that are each disposed within the housing and adjacent to a bezel of the housing. Wherein M is an integer greater than 1.
The M piezoelectric ceramics are four piezoelectric ceramics, the M piezoelectric ceramics are arranged at the included angles of the adjacent frames adjacent to the shell, and the M piezoelectric ceramics are adjacent to different included angles.
As shown in fig. 4, the electronic device 10 includes four piezoelectric ceramics, that is, piezoelectric ceramics 1, piezoelectric ceramics 2, piezoelectric ceramics 3, and piezoelectric ceramics 4, where piezoelectric ceramics 1 is adjacent to the upper left corner, piezoelectric ceramics 2 is adjacent to the upper right corner, piezoelectric ceramics 3 is adjacent to the lower left corner, and piezoelectric ceramics 4 is adjacent to the lower right corner, so that different vibration effects and sound recording effects can be achieved.
In the embodiment, the arrangement of the piezoelectric ceramics on the electronic equipment can realize the recording of vibration and sound in different directions, so that better use experience is brought.
Please refer to fig. 5, which is a flowchart illustrating a signal processing method according to an embodiment of the present application. The method can be applied to an electronic device, which can be a mobile phone, a tablet computer, a notebook computer, etc. as shown in fig. 1, fig. 2, fig. 3 and fig. 4. The electronic device includes a piezoelectric ceramic, a microphone module, and a digital signal processor. As shown in fig. 5, the signal processing method may include steps 5100 to 5200, which will be described in detail below.
Step 1100, acquiring a first voice signal through the piezoelectric ceramic.
In this embodiment, the application scenario is a sound recording scenario, and in the sound recording scenario, the piezoelectric ceramic has a microphone function. The first voice signal may be a recorded voice signal and an external sound signal such as, but not limited to, a frog call voice signal including summer night, a concert voice signal.
The above piezoelectric ceramic 110 has low sensitivity, and the piezoelectric ceramic 110 is an electronic ceramic material having piezoelectric characteristics. The piezoelectric ceramics 110 are used to pick up the first voice signal.
Step 1200, performing digital signal processing on the first voice signal through the digital signal processor to obtain a second voice signal under the condition that the signal value of the first voice signal is greater than a set signal threshold value.
The above digital signal processing includes, for example and without limitation, filtering processing and noise reduction processing.
The set signal threshold may be a value set according to an actual application scenario and an actual requirement, and the set signal threshold may be 100dB, or may also be 120dB, or of course, may also be another value. When the signal value of the first voice signal is greater than the set signal threshold, it indicates that a large-volume voice signal or an ultra-large-volume voice signal is picked up, and since the piezoelectric ceramic 110 has low sensitivity, the first voice signal picked up by the piezoelectric ceramic 110 is transmitted to the digital signal processor 130 for output such as filtering processing and noise reduction processing, no noise is generated, and thus, the large-volume voice signal or the ultra-large-volume voice signal is picked up.
According to the method of the embodiment, since the electronic device comprises the piezoelectric ceramic, the microphone module and the digital signal processor, the piezoelectric ceramic is located in the shell of the electronic device, and the digital signal processor is respectively connected with the piezoelectric ceramic and the microphone module, after the piezoelectric ceramic picks up the first voice signal, the piezoelectric ceramic transmits the first voice signal to the digital signal processor for digital signal processing under the condition that the signal value of the first voice signal is greater than the set signal threshold value. Generally, when the signal value of the first voice signal is greater than the set signal threshold, it indicates that the piezoelectric ceramic picks up a sound signal with a large volume or an ultra-large volume, and since the sensitivity of the piezoelectric ceramic is low, the piezoelectric ceramic picks up the sound signal with the large volume or the ultra-large volume more optimally, so that noise is not easily generated.
In one embodiment, before the step 5100 is executed to acquire the first voice signal through the piezoelectric ceramic, the signal processing method according to the embodiment of the disclosure further includes the following steps 6100 to 6200:
step 6100, obtaining the first voice signal through the microphone module.
And 6200, performing digital signal processing on the first voice signal through the digital signal processor to obtain a third voice signal when the signal value of the first voice signal is less than or equal to the set signal threshold.
In this embodiment, the microphone module 120 obtains the first voice signal, and transmits the first voice signal to the digital signal processor 130 for filtering and denoising and then outputs the first voice signal when the signal value of the first voice signal is smaller than or equal to the set signal threshold, and usually no noise is generated, so as to achieve the pickup of the normal volume sound signal or the low volume sound signal.
According to the embodiment, the high-volume sound signal, the normal-volume sound signal, the low-volume sound signal and other different types of sound signals can be picked up simultaneously, so that the sound recording requirements of users in different scenes can be well met.
In correspondence with the above embodiments, referring to fig. 6, an embodiment of the present application further provides a signal processing apparatus 600 applied to an electronic device, where the electronic device includes a piezoelectric ceramic, a microphone module, and a digital signal processor, and the apparatus 600 includes:
an obtaining module 610, configured to obtain a first voice signal through the piezoelectric ceramic.
The signal processing module 620 is configured to perform digital signal processing on the first voice signal through the digital signal processor to obtain a second voice signal when the signal value of the first voice signal is greater than a set signal threshold.
In an embodiment, the obtaining module 610 is further configured to obtain the first voice signal through the microphone module.
The signal processing module 620 is further configured to perform digital signal processing on the first voice signal through the digital signal processor to obtain a third voice signal when the signal value of the first voice signal is less than or equal to the set signal threshold.
In this embodiment, because the electronic device includes piezoelectric ceramics, a microphone module and a digital signal processor, the piezoelectric ceramics is located in a housing of the electronic device, and the digital signal processor is connected with the piezoelectric ceramics and the microphone module respectively, after the piezoelectric ceramics picks up the first voice signal, the piezoelectric ceramics can transmit the first voice signal to the digital signal processor for digital signal processing under the condition that the signal value of the first voice signal is greater than a set signal threshold value. Generally, when the signal value of the first voice signal is greater than the set signal threshold, it indicates that the piezoelectric ceramic picks up a sound signal with a large volume or an ultra-large volume, and since the sensitivity of the piezoelectric ceramic is low, the piezoelectric ceramic picks up the sound signal with the large volume or the ultra-large volume more optimally, so that noise is not easily generated.
The signal processing device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The signal processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The signal processing apparatus provided in the embodiment of the present application can implement each process implemented by the foregoing method embodiment, and is not described here again to avoid repetition.
Corresponding to the foregoing embodiment, optionally, as shown in fig. 7, an electronic device 700 is further provided in the embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and capable of running on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the foregoing signal processing method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 8 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.
The processor 810 is configured to obtain a first voice signal through the piezoelectric ceramic; and under the condition that the signal value of the first voice signal is greater than a set signal threshold value, carrying out digital signal processing on the first voice signal through the digital signal processor to obtain a second voice signal.
In one embodiment, the processor 810 is further configured to obtain the first voice signal through the microphone module; and under the condition that the signal value of the first voice signal is smaller than or equal to the set signal threshold, carrying out digital signal processing on the first voice signal through the digital signal processor to obtain a third voice signal.
In this embodiment, because the electronic device includes the piezoelectric ceramic, the microphone module, and the digital signal processor, the piezoelectric ceramic is located in the casing of the electronic device, and the digital signal processor is connected with the piezoelectric ceramic and the microphone module, after the piezoelectric ceramic picks up the first voice signal, the piezoelectric ceramic transmits the first voice signal to the digital signal processor for digital signal processing under the condition that the signal value of the first voice signal is greater than the set signal threshold. Generally, when the signal value of the first voice signal is greater than the set signal threshold, it is indicated that the piezoelectric ceramic picks up a large-volume or ultra-large-volume sound signal, and since the piezoelectric ceramic has low sensitivity, the piezoelectric ceramic picks up the large-volume or ultra-large-volume sound signal more optimally, so that noise is not easily generated.
It should be understood that in the embodiment of the present application, the input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics Processing Unit 8041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072. A touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two portions of a touch detection device and a touch controller. Other input devices 8072 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 detail herein. The memory 809 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
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 signal processing method embodiment, 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 described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, 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 signal processing method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
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.
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 apparatuses in 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 recited, e.g., the described methods may be performed in an order different from 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 (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as 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.