CN111510531A - Noise reduction method and device for telescopic lens of terminal, terminal and storage medium - Google Patents

Noise reduction method and device for telescopic lens of terminal, terminal and storage medium Download PDF

Info

Publication number
CN111510531A
CN111510531A CN202010332909.2A CN202010332909A CN111510531A CN 111510531 A CN111510531 A CN 111510531A CN 202010332909 A CN202010332909 A CN 202010332909A CN 111510531 A CN111510531 A CN 111510531A
Authority
CN
China
Prior art keywords
signal
noise signal
noise
terminal
lens
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.)
Pending
Application number
CN202010332909.2A
Other languages
Chinese (zh)
Inventor
金修禄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010332909.2A priority Critical patent/CN111510531A/en
Publication of CN111510531A publication Critical patent/CN111510531A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
    • G10K11/1785Methods, e.g. algorithms; Devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/03Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/19Arrangements of transmitters, receivers, or complete sets to prevent eavesdropping, to attenuate local noise or to prevent undesired transmission; Mouthpieces or receivers specially adapted therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The application discloses a noise reduction method and device for a telescopic lens of a terminal, the terminal and a storage medium, wherein the method comprises the following steps: acquiring a change instruction of the telescopic lens; acquiring a first noise signal picked up by a microphone, wherein the first noise signal is a noise signal generated by the change of a telescopic lens; outputting a second noise signal to the receiver, wherein the second noise signal is a reverse signal of the first noise signal; determining that a superimposed signal of the first noise signal and the second noise signal is less than a signal threshold. According to the method, noise reduction of noise generated when the telescopic lens is changed can be realized without adding other noise, and user experience is improved.

Description

Noise reduction method and device for telescopic lens of terminal, terminal and storage medium
Technical Field
The present invention relates to the field of noise reduction technologies, and in particular, to a noise reduction method and apparatus for a telescopic lens of a terminal, and a storage medium.
Background
With the development of the technology, the screen of the smart phone accounts for more and more, and a telescopic front lens is designed on part of smart phones. The telescopic lens adopts a stepping motor to drive the telescopic lens to extend and retract, and the noise is high in the movement process.
In the prior art, the noise is usually masked by adding other music signals. The processing mode not only does not remove the motion noise of the telescopic lens, but also adds new sound, and the user experience is worse.
Disclosure of Invention
In view of the above-mentioned drawbacks and deficiencies of the prior art, it is desirable to provide a method, an apparatus, a terminal and a storage medium for noise reduction of a telescopic lens of a terminal.
In a first aspect, the present application provides a noise reduction method for a telescopic lens of a terminal, including:
acquiring a change instruction of the telescopic lens;
acquiring a first noise signal picked up by a microphone, wherein the first noise signal is a noise signal generated by the change of a telescopic lens;
outputting a second noise signal to the receiver, wherein the second noise signal is a reverse signal of the first noise signal;
determining that a superimposed signal of the first noise signal and the second noise signal is less than a signal threshold.
In one embodiment, before outputting the second noise signal to the earpiece, the method includes:
carrying out reverse processing on the first noise signal to obtain a reverse noise signal;
and converting the reverse noise signal into a second noise signal through an audio coding and decoding chip.
In one embodiment, determining that a superimposed signal of the first noise signal and the second noise signal is less than a signal threshold comprises:
and if the superposed signal is greater than or equal to the signal threshold, adjusting the second noise signal by adjusting the gain of the power amplifier until the superposed signal is less than the signal threshold.
In one embodiment, the zoom lens change command includes an extend command and a retract command.
In a second aspect, the present application provides a noise reduction apparatus for a telescopic lens of a terminal, including:
the first acquisition module is used for acquiring a change instruction of the telescopic lens;
the second acquisition module is used for acquiring a first noise signal picked up by the microphone, wherein the first noise signal is a noise signal generated by the change of the telescopic lens;
the output module is used for outputting a second noise signal to the receiver, wherein the second noise signal is a reverse signal of the first noise signal;
a determination module to determine that a superimposed signal of the first noise signal and the second noise signal is less than a signal threshold.
In one embodiment, before the outputting module, the method comprises:
the processing module is used for carrying out reverse processing on the first noise signal to obtain a reverse noise signal;
and the conversion module is used for converting the reverse noise signal into a second noise signal through the audio coding and decoding chip.
In one embodiment, the determining module is further configured to:
and if the superposed signal is greater than or equal to the signal threshold, adjusting the second noise signal by adjusting the gain of the power amplifier until the superposed signal is less than the signal threshold.
In one embodiment, the zoom lens change command includes an extend command and a retract command.
In a third aspect, the present application provides a terminal, including a retractable lens, a microphone, a receiver, and a processor; the telescopic lens, the microphone and the receiver are all connected with the processor;
a telescopic lens which is changed under the control of the instruction;
a microphone picking up a first noise signal;
the receiver receives a second noise signal, wherein the second noise signal is a reverse signal of the first noise signal;
and the processor controls the telescopic lens, the microphone and the receiver to execute any one of the noise reduction methods.
In one embodiment, the distance between the earphone and the telescopic lens is not more than the preset distance.
In one embodiment, the retractable lens, the microphone and the receiver are located on the same side of the terminal, the receiver is located at a center line of the terminal, and the second microphone is located between the receiver and the retractable lens.
In one embodiment, the retractable lens, the microphone and the receiver are all located at the top end of the terminal, and the top end of the terminal is the upper portion of the terminal when the terminal is used longitudinally.
In a fourth aspect, the present application provides a readable storage medium, on which a computer program is stored, which when executed by a processor, implements any of the noise reduction methods described above.
In the method, a first noise signal generated by the change of the telescopic lens is picked up by a microphone, a second noise signal obtained by inverting the first noise signal is output to a receiver, and when a superposed signal of the first noise signal and the second noise signal is smaller than a signal threshold, noise reduction of noise generated by the telescopic lens is completed. According to the method, noise reduction of noise generated when the telescopic lens is changed can be realized without adding other noise, and user experience is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a schematic diagram of a terminal structure;
FIG. 2 is a diagram illustrating a hardware structure of a terminal;
fig. 3 is a schematic flow chart of a noise reduction method for a telescopic lens of a terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a noise reduction device of a terminal telescopic lens according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a noise reduction device for a telescopic lens of a terminal according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
The noise reduction method for the telescopic lens of the terminal is suitable for the terminal with the telescopic lens arranged on the terminal. The telescopic lens can be a telescopic front lens on the terminal, the terminal is stretched out when the picture is taken, and the terminal is retracted when the picture is taken. The terminal can be a portable computer, a mobile phone, a tablet computer and the like. The terminal may also include a processor, memory, interface devices, communication devices, display devices, input devices, ear pieces, microphones, and so forth. The processor may be a central processing unit CPU, a microprocessor MCU, or the like. The memory includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device includes, for example, a USB interface, a headphone interface, and the like. The communication means is capable of wired or wireless communication, for example, and may specifically include Wifi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. The display device is, for example, a liquid crystal display panel, a touch panel, or the like. The input means may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. A user can input/output voice information through the handset and the microphone.
In the following embodiments, the terminal is a mobile phone, and a schematic structural diagram of the terminal is shown in fig. 1, where a mobile phone 100 includes a retractable lens 110, a microphone 120, and an earphone 130. The mobile phone 100 further includes a processor, and the retractable lens 100, the microphone 120, and the earphone 130 are all connected to the processor, and it should be noted that the processor is not shown in fig. 1.
The retractable lens 110 is changed under the control of the command;
a microphone 120 picking up a first noise signal;
the receiver 130, which receives a second noise signal, wherein the second noise signal is an inverse signal of the first noise signal;
and the processor controls the telescopic lens, the microphone and the receiver to execute any one of the following noise reduction methods.
Optionally, the distance between the earpiece 130 and the retractable lens 110 is not greater than a preset distance.
Specifically, the preset distance may be specifically set according to an application scenario. For example, when the size of the mobile phone is larger, the value of the preset distance is set to be larger, and when the size of the mobile phone is smaller, the value of the preset distance is set to be smaller. For example, assuming that the size of the mobile phone is 14cm × 7cm, the value of the preset distance may be set to 2cm, and assuming that the size of the mobile phone is 18cm × 9cm, the value of the preset distance may be set to 3 cm.
It can be understood that the smaller the distance between the earpiece 130 and the zoom lens 110 is, the smaller the superimposed signal of the first noise signal and the second noise signal is, and the better the noise reduction effect is.
Optionally, the retractable lens 110, the microphone 120, and the earphone 130 are located on the same side of the terminal, the earphone 130 is located at a center line of the terminal 100, and the microphone 120 is located between the earphone 130 and the retractable lens 110. Optionally, the retractable lens 110, the microphone 120, and the earphone 130 are all located at the top end of the terminal 100, and the top end of the terminal 100 is the upper portion of the terminal when the terminal is used in the longitudinal direction.
In particular practice, referring to FIG. 1, one configuration may be that the earpiece 130 is positioned at the midline of the top end of the handset 100, the retractable lens 110 and the microphone 120 are also positioned at the top end of the handset 100, and the microphone 120 is positioned between the earpiece 130 and the retractable lens 110. The distance between the earpiece 130 and the zoom lens 110 is set to the minimum distance that can be achieved, so that the noise reduction effect is the best.
The schematic diagram of the terminal hardware structure is shown in fig. 2, the mobile phone 100 further includes a processor 140, the processor 140 is electrically connected to the audio codec chip 150 and the stepping motor driver chip 160, the stepping motor driver chip 160 is electrically connected to the motor 170, the motor 170 is used for driving the retractable lens 110, and the stepping motor driver chip 160 is used for controlling the motor 170 to operate; the audio codec chip 150 is electrically connected to the microphone 120 and the power amplifier 180, the power amplifier 180 is electrically connected to the receiver 130, and the power amplifier 180 is configured to adjust an amplitude of a noise signal output by the receiver 130. It should be noted that the retractable lens 110 can also be moved in a retractable manner by hydraulic or magnetic levitation.
Referring to fig. 3, a flowchart illustrating a noise reduction method for a telescopic lens of a terminal according to an embodiment of the present application is shown.
As shown in fig. 3, a method for reducing noise of a zoom lens of a terminal may include:
s310, acquiring a change instruction of the telescopic lens.
Specifically, when the retractable lens 110 needs to be extended or retracted, the processor 140 acquires a change instruction of the retractable lens 110 by clicking a corresponding key for controlling the retractable lens to be extended or retracted, and optionally, the change instruction of the retractable lens 110 includes an extension instruction and a retraction instruction.
It should be noted that, when the zoom lens 110 is obtained to change, a microphone path and an earphone path are opened, the microphone path is used for picking up a first noise signal generated by the change of the zoom lens 110, the earphone path is used for emitting a second noise signal, the first noise signal and the second noise signal are opposite signals, that is, if the first noise signal is an opposite-phase noise signal, the second noise signal is a normal-phase noise signal; on the contrary, if the first noise signal is a normal phase noise signal, the second noise signal is an inverse phase noise signal. Generally, the first noise signal generated by the variation of the retractable lens 110 is an inverse phase noise signal, and the second noise signal emitted by the receiver path is a positive phase noise signal.
S320, acquiring a first noise signal picked up by the microphone, where the first noise signal is a noise signal generated by the zoom lens.
Specifically, the first noise signal picked up by the microphone 120 is sent to the processor 140.
According to the type of the microphone 120, the microphone 120 may output a digital signal or an analog signal, if the microphone 120 outputs a digital signal, the digital signal is directly transmitted to the processor 140 without encoding, and if the microphone 120 outputs an analog signal, the microphone 120 encodes the output analog signal by the audio codec chip 150, encodes the analog signal into a digital signal, and then transmits the digital signal to the processor 140.
And S330, outputting a second noise signal to the receiver, wherein the second noise signal is a reverse signal of the first noise signal.
Specifically, the processor 140 outputs the inverse of the first noise signal, i.e., the second noise signal, to the earpiece 130. The receiver 130 sends out the received second noise signal, and the second noise signal is superimposed with the first noise signal sent out when the retractable lens is retracted in the air.
Optionally, before outputting the second noise signal to the earpiece, the following steps may be further included:
carrying out reverse processing on the first noise signal to obtain a reverse noise signal; and converting the reverse noise signal into a second noise signal through an audio coding and decoding chip, wherein the second noise signal is an analog signal.
Specifically, after receiving the first noise signal, the processor 140 performs an inverse process on the first noise signal to obtain an inverse noise signal, where the inverse process changes a 0 signal in the digital signal to 1 and changes a 1 signal in the digital signal to 0.
The reverse noise signal is converted into an analog signal after being decoded by the audio coding and decoding chip, namely the second noise signal is the analog signal. The processor 140 sends the second noise signal to the earpiece 130, and the earpiece 130 sends the received second noise signal.
And S340, determining that the superposed signal of the first noise signal and the second noise signal is smaller than a signal threshold value.
Specifically, the signal threshold is set in advance according to actual conditions. For example, the signal threshold may be 30 decibels.
The second noise signal output from the earpiece 130 is superimposed with the first noise signal output from the motor 170 driving the retractable lens 110 to generate a superimposed signal.
The microphone 120 picks up the superimposed signal and transmits the superimposed signal to the processor 140, and the processor 140 determines whether to repeatedly execute S120 to S140 by comparing the magnitude of the superimposed signal with a signal threshold.
If the superimposed signal is smaller than the signal threshold, it indicates that the noise signal generated by the movement of the retractable lens 110 has been eliminated to a quiet sound acceptable to the user, and ends the noise reduction. If the superimposed signal is greater than or equal to the signal threshold, it indicates that the noise generated by the variation of the retractable lens 110 is still relatively large, and S120 to S140 need to be repeatedly executed until the superimposed signal is less than the threshold signal.
Optionally, if the superimposed signal is greater than or equal to the signal threshold, the second noise signal may be adjusted by adjusting the gain of the power amplifier until the superimposed signal is less than the signal threshold.
Specifically, the audio codec chip 150 decodes the reverse noise signal to obtain a decoded noise signal, and sends the decoded noise signal to the power amplifier 180 to amplify the decoded noise signal to obtain a second noise signal.
When the power amplifier 180 is used to adjust the decoded noise signal, if the obtained second noise signal is too large, the gain of the power amplifier 180 is increased, and if the obtained second noise signal is too small, the gain of the power amplifier 180 is decreased until the superimposed signal is adjusted to be smaller than the signal threshold. It should be noted that the initial gain value of the power amplifier 180 is set in advance according to actual conditions.
It should be noted that the microphone 120 picks up a first noise signal generated by the variation of the retractable lens 110, the processor 140 processes the first noise signal into a second noise signal and outputs the second noise signal to the receiver, and then the microphone 120 picks up a superimposed signal of the first noise signal and the second noise signal. That is, the microphone 120 needs to pick up the first noise signal generated by the zoom lens variation and also needs to pick up the superimposed signal of the first noise signal and the second noise signal, so that the microphone can be disposed between the zoom lens and the earphone. It can be understood that the closer the distance between the receiver and the telescopic lens is, the better the noise reduction effect is.
In this embodiment, a first noise signal generated by the change of the retractable lens is picked up by the microphone, and a second noise signal obtained by inverting the first noise signal is output to the receiver. The noise reduction of the noise generated when the telescopic lens is changed can be realized without adding other noise, and the user experience is improved. And the mechanical structure of a motor for driving the telescopic lens to change is not required to be changed, and the cost required by the mechanical structure is not required to be changed.
Fig. 4 is a schematic structural diagram of a noise reduction apparatus 400 for a telescopic lens of a terminal according to an embodiment of the present invention. As shown in fig. 4, the apparatus may implement the method shown in fig. 1, and the apparatus may include:
a first obtaining module 410, configured to obtain a change instruction of the zoom lens;
a second obtaining module 420, configured to obtain a first noise signal picked up by a microphone, where the first noise signal is a noise signal generated by a zoom lens change;
the output module 430 is configured to output a second noise signal to the receiver, where the second noise signal is an inverse signal of the first noise signal;
a determining module 440 configured to determine that a superimposed signal of the first noise signal and the second noise signal is smaller than a signal threshold.
As shown in fig. 5, before the output module, optionally, the method may include:
the processing module 450 is configured to perform inverse processing on the first noise signal to obtain an inverse noise signal;
the converting module 460 is configured to convert the reverse noise signal into a second noise signal through the audio codec chip.
Optionally, the determining module 440 is further configured to:
and if the superposed signal is greater than or equal to the signal threshold, adjusting the second noise signal by adjusting the gain of the power amplifier until the superposed signal is less than the signal threshold.
Optionally, the zoom command includes an extension command and a retraction command.
The noise reduction device for the telescopic lens of the terminal provided by the embodiment can execute the embodiment of the method, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of an apparatus according to an embodiment of the present invention. As shown in fig. 6, a schematic structural diagram of a computer system 600 suitable for implementing a terminal device or a server according to an embodiment of the present application is shown.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 606 is also connected to bus 604.
To the I/O interface 605, AN input section 606 including a keyboard, a mouse, and the like, AN output section 607 including a network interface card such as a Cathode Ray Tube (CRT), a liquid crystal display (L CD), and the like, a speaker, and the like, a storage section 608 including a hard disk, and the like, and a communication section 609 including a network interface card such as a L AN card, a modem, and the like, the communication section 609 performs communication processing via a network such as the internet, a drive 610 is also connected to the I/O interface 606 as necessary, a removable medium 611 such as a magnetic disk, AN optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted into the storage section 608 as necessary.
In particular, the process described above with reference to fig. 1 may be implemented as a computer software program, according to an embodiment of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program containing program code for performing the above-described method of noise reduction for a telescopic lens of a terminal. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor. The names of these units or modules do not in some cases constitute a limitation of the unit or module itself.
As another aspect, the present application also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the foregoing device in the foregoing embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer-readable storage medium stores one or more programs for executing the noise reduction method for a telescopic lens of a terminal described in the present application by one or more processors.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (13)

1. A noise reduction method for a telescopic lens of a terminal is characterized by comprising the following steps:
acquiring a change instruction of the telescopic lens;
acquiring a first noise signal picked up by a microphone, wherein the first noise signal is a noise signal generated by the change of the telescopic lens;
outputting a second noise signal to an earphone, wherein the second noise signal is a reverse signal of the first noise signal;
determining that a superimposed signal of the first noise signal and the second noise signal is less than a signal threshold.
2. The method of reducing noise according to claim 1, wherein before outputting the second noise signal to the receiver, the method comprises:
carrying out reverse processing on the first noise signal to obtain a reverse noise signal;
and converting the reverse noise signal into the second noise signal through an audio coding and decoding chip.
3. The method of reducing noise according to claim 1, wherein the determining that the superimposed signal of the first noise signal and the second noise signal is less than a signal threshold comprises:
and if the superposed signal is greater than or equal to the signal threshold, adjusting the second noise signal by adjusting the gain of the power amplifier until the superposed signal is less than the signal threshold.
4. The noise reduction method according to any one of claims 1 to 3, wherein the zoom lens change command includes an extension command and a retraction command.
5. The utility model provides a device of making an uproar falls in terminal retractable lens which characterized in that includes:
the first acquisition module is used for acquiring a change instruction of the telescopic lens;
the second acquisition module is used for acquiring a first noise signal picked up by a microphone, wherein the first noise signal is a noise signal generated by the change of the telescopic lens;
the output module is used for outputting a second noise signal to the receiver, wherein the second noise signal is a reverse signal of the first noise signal;
a determination module to determine that a superimposed signal of the first noise signal and the second noise signal is less than a signal threshold.
6. The noise reduction device according to claim 5, wherein the output module is preceded by:
the processing module is used for carrying out reverse processing on the first noise signal to obtain a reverse noise signal;
and the conversion module is used for converting the reverse noise signal into the second noise signal through an audio coding and decoding chip.
7. The noise reduction apparatus of claim 5, wherein the determination module is further configured to:
and if the superposed signal is greater than or equal to the signal threshold, adjusting the second noise signal by adjusting the gain of the power amplifier until the superposed signal is less than the signal threshold.
8. The noise reduction device according to any one of claims 5 to 7, wherein the changing instruction of the telescopic lens includes an extension instruction and a retraction instruction.
9. A terminal is characterized by comprising a telescopic lens, a microphone, a receiver and a processor; the telescopic lens, the microphone and the receiver are all connected with the processor;
the telescopic lens is changed under the control of the instruction;
the microphone picks up a first noise signal;
the receiver receives a second noise signal, wherein the second noise signal is a reverse signal of the first noise signal;
the processor controls the zoom lens, the microphone and the earphone to execute the noise reduction method according to any one of claims 1 to 4.
10. The terminal of claim 9, wherein a distance between the earpiece and the retractable lens is not greater than a preset distance.
11. The terminal according to claim 9 or 10, wherein the retractable lens, the microphone and the earphone are located on the same side of the terminal, the earphone is located at a center line of the terminal, and the microphone is located between the earphone and the retractable lens.
12. The terminal of claim 11, wherein the retractable lens, the microphone and the earphone are all located at a top end of the terminal, and the top end of the terminal is an upper portion of the terminal when the terminal is used in a longitudinal direction.
13. A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the noise reduction method according to any one of claims 1 to 4.
CN202010332909.2A 2020-04-24 2020-04-24 Noise reduction method and device for telescopic lens of terminal, terminal and storage medium Pending CN111510531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010332909.2A CN111510531A (en) 2020-04-24 2020-04-24 Noise reduction method and device for telescopic lens of terminal, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010332909.2A CN111510531A (en) 2020-04-24 2020-04-24 Noise reduction method and device for telescopic lens of terminal, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN111510531A true CN111510531A (en) 2020-08-07

Family

ID=71864880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010332909.2A Pending CN111510531A (en) 2020-04-24 2020-04-24 Noise reduction method and device for telescopic lens of terminal, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111510531A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114727005A (en) * 2021-01-06 2022-07-08 北京小米移动软件有限公司 Lens adjusting method, lens adjusting device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030043872A (en) * 2003-05-09 2003-06-02 (주)케이티에프테크놀로지스 Mobile Phone Equipped Camera Photographing Two Side by Using Sliding Reflector
JP2006211436A (en) * 2005-01-31 2006-08-10 Casio Comput Co Ltd Electronic camera, noise reduction apparatus, noise reduction control program and noise reduction method
CN109147754A (en) * 2018-08-01 2019-01-04 Oppo广东移动通信有限公司 A kind of audio generation method, terminal and computer storage medium
CN110246513A (en) * 2019-07-08 2019-09-17 维沃移动通信有限公司 The processing method and mobile terminal of voice signal
CN110381186A (en) * 2019-07-29 2019-10-25 维沃移动通信(杭州)有限公司 A kind of mobile terminal and call method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030043872A (en) * 2003-05-09 2003-06-02 (주)케이티에프테크놀로지스 Mobile Phone Equipped Camera Photographing Two Side by Using Sliding Reflector
JP2006211436A (en) * 2005-01-31 2006-08-10 Casio Comput Co Ltd Electronic camera, noise reduction apparatus, noise reduction control program and noise reduction method
CN109147754A (en) * 2018-08-01 2019-01-04 Oppo广东移动通信有限公司 A kind of audio generation method, terminal and computer storage medium
CN110246513A (en) * 2019-07-08 2019-09-17 维沃移动通信有限公司 The processing method and mobile terminal of voice signal
CN110381186A (en) * 2019-07-29 2019-10-25 维沃移动通信(杭州)有限公司 A kind of mobile terminal and call method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114727005A (en) * 2021-01-06 2022-07-08 北京小米移动软件有限公司 Lens adjusting method, lens adjusting device and storage medium
CN114727005B (en) * 2021-01-06 2024-02-02 北京小米移动软件有限公司 Lens adjusting method, lens adjusting device and storage medium

Similar Documents

Publication Publication Date Title
KR101901202B1 (en) Method and apparatus for outputting audio
US20210217433A1 (en) Voice processing method and apparatus, and device
CN105027637B (en) Use loudspeaker as the device and method of microphone in a mobile device
US11388403B2 (en) Video encoding method and apparatus, storage medium, and device
CN109144463B (en) Transmission control method and device and electronic equipment
KR101634134B1 (en) System, method, and computer program product for decompression of block compressed images
CN103430532A (en) Generating a zoomed image
KR20160075060A (en) Method for controlling function based on battery information and electronic device thereof
CN108320751B (en) Voice interaction method, device, equipment and server
KR100664961B1 (en) Mobile device for supporting multi-audio output
CN107633849B (en) Bluetooth device volume adjusting method, device and computer readable storage medium
CN105679300A (en) Mobile terminal and noise reduction method
CN111916102B (en) Recording method and recording device of electronic equipment
WO2022262410A1 (en) Sound recording method and apparatus
WO2022199288A1 (en) Audio signal processing method and apparatus, terminal, and storage medium
CN111510531A (en) Noise reduction method and device for telescopic lens of terminal, terminal and storage medium
EP4270387A1 (en) Coding method and apparatus, and electronic device and storage medium
CN110351419B (en) Intelligent voice system and voice processing method thereof
CN112599144B (en) Audio data processing method, audio data processing device, medium and electronic equipment
US11087778B2 (en) Speech-to-text conversion based on quality metric
CN116055951B (en) Signal processing method and electronic equipment
CN111402876A (en) Data transmission method, device and equipment
CN106293607B (en) Method and system for automatically switching audio output modes
CN109286922B (en) Bluetooth prompt tone processing method, system, readable storage medium and Bluetooth device
CN203014945U (en) 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200807