Nothing Special   »   [go: up one dir, main page]

CN108471575B - Liquid discharge method for loudspeaker of mobile terminal and mobile terminal - Google Patents

Liquid discharge method for loudspeaker of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN108471575B
CN108471575B CN201810458570.3A CN201810458570A CN108471575B CN 108471575 B CN108471575 B CN 108471575B CN 201810458570 A CN201810458570 A CN 201810458570A CN 108471575 B CN108471575 B CN 108471575B
Authority
CN
China
Prior art keywords
loudspeaker
mobile terminal
audio signal
gain value
speaker
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.)
Active
Application number
CN201810458570.3A
Other languages
Chinese (zh)
Other versions
CN108471575A (en
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201810458570.3A priority Critical patent/CN108471575B/en
Publication of CN108471575A publication Critical patent/CN108471575A/en
Application granted granted Critical
Publication of CN108471575B publication Critical patent/CN108471575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

A liquid discharging method for a loudspeaker of a mobile terminal and the mobile terminal are provided, wherein the method comprises the following steps: detecting the liquid residual quantity of the loudspeaker, and adjusting the current signal gain value of the loudspeaker to a first signal gain value corresponding to the liquid residual quantity; and controlling the loudspeaker to play a target audio signal with a specific frequency according to the first signal gain value so as to discharge the liquid from the loudspeaker through vibration when the target audio signal is played by the loudspeaker. By implementing the embodiment of the invention, the damage to the loudspeaker can be reduced in the loudspeaker liquid discharging process.

Description

Liquid discharge method for loudspeaker of mobile terminal and mobile terminal
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a liquid discharging method for a loudspeaker of a mobile terminal and the mobile terminal.
Background
With the continuous development of waterproof technology, more and more mobile terminals such as cell-phones, intelligent wrist-watch have possessed waterproof function. At present, a waterproof technology appears on the market: the vibration when audio is played through the speaker discharges water that enters the inside of the speaker, thereby keeping the inside of the speaker dry. However, in practice, it is found that the draining method generally requires the mobile terminal to play audio at a higher volume level, and due to the limitation of the material of the speaker itself, the draining method may damage the speaker, thereby reducing the sound quality of the speaker.
Disclosure of Invention
The embodiment of the invention discloses a loudspeaker liquid discharging method of a mobile terminal and the mobile terminal, which can reduce damage to a loudspeaker in the loudspeaker liquid discharging process.
The embodiment of the invention discloses a liquid discharging method for a loudspeaker of a mobile terminal in a first aspect, which comprises the following steps:
detecting the liquid residual quantity of the loudspeaker, and adjusting the current signal gain value of the loudspeaker to a first signal gain value corresponding to the liquid residual quantity;
and controlling the loudspeaker to play a target audio signal with a specific frequency according to the first signal gain value so as to discharge the liquid from the loudspeaker through vibration when the target audio signal is played by the loudspeaker.
As an alternative implementation manner, in the first aspect of the embodiment of the present invention, the detecting a residual liquid amount of the speaker includes:
controlling a microphone of the mobile terminal to receive a first audio signal played by the loudspeaker so as to obtain a second audio signal;
and determining the liquid residual quantity of the loudspeaker according to the matching degree of the first audio signal and the second audio signal.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the controlling the speaker to play the target audio signal according to the first signal gain value includes:
judging whether the output power of the target audio signal which is amplified according to the first signal gain value and then output to the loudspeaker exceeds the rated maximum input power of the loudspeaker;
if the output power exceeds the maximum input power, adjusting the first signal gain value until the output power is equal to or lower than the maximum input power;
and controlling a loudspeaker to play the target audio signal according to the adjusted first signal gain value.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the controlling the speaker to play the target audio signal of a specific frequency according to the first signal gain value, the method further includes:
judging whether a vibrating membrane of the loudspeaker deflects towards a direction far away from a sound outlet of the loudspeaker when the loudspeaker is in a non-working state, wherein the non-working state is a state that the loudspeaker does not play audio signals;
and if the vibrating membrane deflects towards the direction far away from the sound outlet of the loudspeaker, controlling the loudspeaker to play the target audio signal with the specific frequency according to the first signal gain value.
As an alternative implementation manner, in the first aspect of the embodiments of the present invention, if the diaphragm is not deflected in a direction away from the speaker sound outlet, the heat generating source of the mobile terminal is controlled to generate heat to discharge the liquid from the speaker.
A second aspect of an embodiment of the present invention discloses a mobile terminal, including:
a detection unit for detecting a liquid residual amount of the speaker;
the gain adjusting unit is used for adjusting the current signal gain value of the loudspeaker to a first signal gain value corresponding to the liquid residual quantity;
and the playing unit is used for controlling the loudspeaker to play a target audio signal with a specific frequency according to the first signal gain value so as to discharge the liquid from the loudspeaker through vibration when the target audio signal is played by the loudspeaker.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the detection unit includes:
the control subunit is used for controlling a microphone of the mobile terminal to receive the first audio signal played by the loudspeaker so as to obtain a second audio signal;
a determining subunit, configured to determine a liquid residual amount of the speaker according to a matching degree of the first audio signal and the second audio signal.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the playing unit includes:
the judgment subunit is configured to judge whether the output power output to the speaker after the target audio signal is subjected to signal amplification according to the first signal gain value exceeds the rated maximum input power of the speaker;
an adjusting subunit, configured to adjust the first signal gain value until the output power is equal to or lower than the maximum input power;
and the playing subunit is used for controlling the loudspeaker to play the target audio signal according to the adjusted first signal gain value.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the mobile terminal further includes:
the deflection judging unit is used for judging whether a vibrating membrane of the loudspeaker deflects towards a direction far away from a sound outlet of the loudspeaker when the loudspeaker is in a non-working state before the playing unit controls the loudspeaker to play a target audio signal with a specific frequency according to the first signal gain value; wherein the non-working state is a state that the loudspeaker does not play audio signals;
the mode that the playing unit is used for controlling the loudspeaker to play the target audio signal with the specific frequency according to the first signal gain value is specifically as follows:
the playing unit is used for controlling the loudspeaker to play a target audio signal with a specific frequency according to the first signal gain value when the deflection judging unit judges that the vibrating membrane deflects towards the direction far away from the sound outlet of the loudspeaker.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the mobile terminal further includes:
and the heating control unit is used for controlling the heating source of the mobile terminal to generate heat so as to generate heat to discharge liquid from the loudspeaker when the deflection judging unit judges that the vibrating membrane does not deflect towards the direction far away from the sound outlet of the loudspeaker.
A third aspect of the embodiments of the present invention discloses a mobile terminal, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute any one of the methods disclosed in the first aspect of the embodiments of the present invention.
A fourth aspect of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute any one of the methods disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of the embodiments of the present invention discloses a computer program product, which, when running on a computer, causes the computer to execute any one of the methods disclosed in the first aspect of the embodiments of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the terminal equipment can detect the liquid residual quantity of the loudspeaker and adjust the current signal gain value of the loudspeaker to a first signal gain value corresponding to the liquid residual quantity; and then controlling the loudspeaker to play the target audio signal with a specific frequency according to the first signal gain value so as to discharge the liquid from the loudspeaker through vibration when the target audio signal is played by the loudspeaker. Therefore, in the embodiment of the invention, the mobile terminal can select different signal gain values according to different liquid residual quantities, so that the energy generated when the target audio signal is played can be adapted to the liquid residual quantities, and further the damage to the loudspeaker can be reduced in the liquid discharging process of the loudspeaker.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a speaker liquid draining method of a mobile terminal according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a speaker draining method of another mobile terminal according to an embodiment of the disclosure;
FIG. 3 is a flow chart illustrating a speaker draining method of another mobile terminal according to an embodiment of the disclosure;
fig. 4 is a schematic front view of a speaker sound outlet of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a speaker of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal disclosed in the embodiment of the present invention;
fig. 7 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention;
fig. 8 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 invention.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a loudspeaker liquid discharging method of a mobile terminal and the mobile terminal, which can reduce damage to a loudspeaker in the loudspeaker liquid discharging process. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a speaker draining method of a mobile terminal according to an embodiment of the present invention. The speaker liquid discharge method of the mobile terminal depicted in fig. 1 is suitable for mobile terminals with speakers, such as smart watches, smart phones, tablet computers, and home education machines, and the embodiment of the present invention is not limited thereto. The operating system of the mobile terminal may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a BlackBerry operating system, a Windows Phone8 operating system, and the like. Taking a mobile terminal with a speaker as an example, as shown in fig. 1, the speaker draining method of the mobile terminal may include the following steps:
101. the mobile terminal detects the liquid residual quantity of the loudspeaker of the mobile terminal and adjusts the current signal gain value of the loudspeaker to a first signal gain value corresponding to the liquid residual quantity.
In this embodiment of the present invention, the speaker may be a moving-coil speaker, an electromagnetic speaker, an electrostatic speaker, or a piezoelectric speaker, which is not limited in this embodiment of the present invention. In addition, one way for the mobile terminal to detect the liquid residual quantity of its speaker may be:
the mobile terminal controls a microphone of the mobile terminal to receive a first audio signal played by a loudspeaker so as to obtain a second audio signal; and the mobile terminal determines the liquid residual quantity of the loudspeaker according to the matching degree of the first audio signal and the second audio signal.
In the above embodiment, due to the liquid residue, the humidity inside the speaker may be higher than the humidity during drying, which may affect the diaphragm of the speaker, and thus the degree of restoration of the sound signal after the speaker converts the audio signal into the sound signal is poor, and generally, the higher the humidity is, the lower the degree of restoration is. In addition, the residual liquid also affects the transmission of the sound signal, so that a difference exists between the sound signal received by the microphone and the sound signal played by the loudspeaker, and the difference is more obvious when the residual liquid is larger. Therefore, the mobile terminal can determine the matching degree of the first audio signal and the second audio signal according to the signal intensity difference value of the first audio signal and the second audio signal and/or the spectrum difference of the first audio signal and the second audio signal, so as to determine the liquid residual quantity of the loudspeaker.
As another alternative, the mobile terminal may also detect the residual liquid amount of its speaker by:
the mobile terminal acquires a real-time impedance value of the loudspeaker in the process of playing sound by the loudspeaker, and determines the liquid residual quantity of the loudspeaker according to the difference value of the real-time impedance value and the standard impedance value; wherein, the standard impedance value is the impedance value when no residual liquid exists in the loudspeaker. When residual liquid exists in the loudspeaker, the residual liquid may block the sound outlet hole above the diaphragm of the loudspeaker, so that the air vibration space is compressed, the upward vibration resistance of the diaphragm is increased, and the impedance value of the loudspeaker in playing sound is equivalently reduced. It will be appreciated that the residual amount of liquid may affect the volume of the air vibration space and the amount of resistance experienced by the diaphragm as it vibrates upward, and thus may be expressed as a function related to the impedance value of the loudspeaker. In addition, the standard impedance value may be a specific value or a range of values, and the embodiment of the present invention is not limited.
Further, after the mobile terminal detects the liquid residual quantity, whether the liquid residual quantity exceeds a specified threshold value can be judged, and if the liquid residual quantity exceeds the specified threshold value, the mobile terminal adjusts the current signal gain value of the loudspeaker to a first signal gain value corresponding to the liquid residual quantity; if the humidity of the ambient air is not over, the mobile terminal directly ends the process, so that the possibility that the mobile terminal misjudges that residual liquid exists in the loudspeaker due to the fact that the humidity of the ambient air is too high can be reduced.
102. And the mobile terminal controls the loudspeaker to play the target audio signal with the specific frequency according to the first signal gain value.
In the embodiment of the invention, the terminal equipment can discharge the liquid from the loudspeaker through vibration when the loudspeaker plays the target audio signal. It can be understood that the degree of vibration of the speaker varies when the target audio signal is played according to different signal gain values, and the force acting on the residual liquid varies. In order to discharge the liquid remaining in the speaker, a force is applied to the liquid, and a critical value of the force required to discharge the liquid from the speaker is different depending on the residual amount of the liquid, and a correspondence between the residual amount of the liquid and the force applied to the liquid, and further, a correspondence between the residual amount of the liquid and the signal gain value can be established based on a large number of experimental data. Therefore, when the liquid discharging operation of the loudspeaker is carried out by playing the target audio signal, the corresponding signal gain value is selected according to the residual liquid amount, so that the probability that the loudspeaker is damaged when the audio signal is played according to the excessively high signal gain value (in order to discharge the liquid from the loudspeaker) is favorably reduced.
Optionally, the target audio signal may be an ultrasonic signal, the frequency of the specific target audio signal may be 110kHz, 1.7MHz, or 2.4MHz, and accordingly, the speaker may be a piezoelectric speaker, so that ultrasonic atomization processing may be performed on the residual liquid, and the liquid remaining in the speaker is converted into a vapor state, and is more easily discharged from the speaker.
It can be seen that, in the method described in fig. 1, the mobile terminal may detect the liquid residual amount of the speaker, and adjust the current signal gain value of the speaker to the first signal gain value corresponding to the liquid residual amount; and then the loudspeaker is controlled to play the target audio signal with the specific frequency according to the first signal gain value, so that the liquid discharge effect is ensured, the probability of damage to the loudspeaker is reduced, and the damage to the loudspeaker is reduced in the liquid discharge process of the loudspeaker.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating another speaker draining method of a mobile terminal according to an embodiment of the present invention. As shown in fig. 2, the speaker draining method of the mobile terminal includes:
201. the mobile terminal controls a microphone of the mobile terminal to receive the first audio signal played by the loudspeaker so as to obtain a second audio signal.
202. And the mobile terminal determines the liquid residual quantity of the loudspeaker according to the matching degree of the first audio signal and the second audio signal.
203. The mobile terminal adjusts the current signal gain value of the loudspeaker to a first signal gain value corresponding to the liquid residual quantity.
204. The mobile terminal judges whether the output power of the target audio signal output to the loudspeaker after signal amplification according to the first signal gain value exceeds the rated maximum input power of the loudspeaker, if so, step 205 is executed, and if not, step 206 is executed.
205. The mobile terminal adjusts the first signal gain value until the output power is equal to or lower than the maximum input power and controls the loudspeaker to play the target audio signal according to the adjusted first signal gain value.
In the embodiment of the invention, the mobile terminal can amplify the target audio signal through modules such as the power amplifier and the like and then output the amplified target audio signal to the loudspeaker, wherein the amplification degree of the target audio signal by the power amplifier is limited by the signal gain value. However, the speaker is generally set with a rated maximum input power due to limitations of materials, structures, and the like, and if the power of a certain audio signal input to the speaker exceeds the maximum input power, components of the speaker are easily damaged, resulting in a reduction in performance of the speaker. Because the maximum input powers of different speakers are different, in the embodiment of the present invention, after the signal gain value is adjusted to the first signal gain value, it is further determined whether the target audio signal is amplified according to the first signal gain value and the speaker is easily damaged, if so (i.e., the output power exceeds the maximum input power), the first signal gain value is adjusted, and preferably, the mobile terminal decreases the first signal gain value.
206. And the mobile terminal controls the loudspeaker to play the target audio signal according to the first signal gain value corresponding to the residual liquid amount.
In the embodiment of the present invention, if the mobile terminal executes step 204 to determine that the output power does not exceed the maximum input power of the speaker, the speaker may be controlled to play the target audio signal directly according to the first signal gain value determined according to the liquid residue without adjusting the first signal gain value.
In addition, in the embodiment of the present invention, the first audio signal played by the speaker may be any audio signal, such as a call audio in a call process of a smart phone, or a music played by a music application; before the mobile terminal executes step 201, wading detection may also be performed, and after wading of the mobile terminal is detected, if any application of the mobile terminal triggers the speaker to play the first audio signal, the mobile terminal executes step 201 to step 206, so that the mobile terminal can automatically perform a draining operation on the speaker without manual triggering by a user.
It can be seen that in the method described in fig. 2, after determining the first signal gain value corresponding to the residual liquid amount, the mobile terminal may further determine whether the target audio signal is amplified according to the first signal gain value and the speaker is easily damaged, and if so, the mobile terminal may adjust the first signal gain value, thereby further reducing damage to the speaker during the liquid discharge process of the speaker.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating another speaker draining method of a mobile terminal according to an embodiment of the present invention. As shown in fig. 3, the speaker draining method of the mobile terminal includes:
301. the mobile terminal controls a microphone of the mobile terminal to receive the first audio signal played by the loudspeaker so as to obtain a second audio signal.
302. And the mobile terminal determines the liquid residual quantity of the loudspeaker according to the matching degree of the first audio signal and the second audio signal.
303. The mobile terminal adjusts the current signal gain value of the loudspeaker to a first signal gain value corresponding to the liquid residual quantity.
304. The mobile terminal judges whether the vibrating membrane of the loudspeaker deflects towards the direction far away from the sound outlet of the loudspeaker when the loudspeaker is in the non-working state, if so, the steps 305 to 307 are executed, and if not, the step 308 is executed.
In the embodiment of the present invention, the non-operating state is a state where the speaker does not play an audio signal, the diaphragm of the speaker is at a normal position, if there is residual liquid in the speaker, the diaphragm may deflect from the normal position, and particularly, the diaphragm deflects towards a direction away from the sound outlet of the speaker due to the action of the liquid, and at this time, the residual liquid accumulated in the speaker is large, so the mobile terminal performs steps 305 to 309, and discharges the liquid from the speaker by playing a target audio signal.
In the embodiment of the invention, the mobile terminal can judge whether the vibrating membrane deflects towards the direction far away from the sound outlet of the loudspeaker according to the distance value detected by the distance sensor. Specifically, referring to fig. 4 and fig. 5, for example, in a moving-coil speaker, when the speaker is in a non-operating state and there is no residual liquid in the speaker (especially in the sound cavity 10), the diaphragm 20 does not deflect, and the distance between the diaphragm 20 and the distance sensor 30 is L1; when residual liquid exists in the sound cavity 10, and particularly the residual liquid is attached to the diaphragm 20, the diaphragm 20 deflects, and the distance between the diaphragm 20 and the distance sensor 30 is L2; whether or not the diaphragm 20 is deflected in a direction away from the speaker sound outlet 40 can be determined by calculating the difference Δ ═ L1-L2| between L1 and L2. Specifically, it may be determined whether Δ is greater than a specified difference, and if yes, it may be determined that the diaphragm 20 is deflected in a direction away from the speaker sound outlet 40, and if no, it may be determined that the diaphragm 20 is not deflected in a direction away from the speaker sound outlet 40.
305. The mobile terminal judges whether the output power of the target audio signal which is output to the loudspeaker after signal amplification according to the first signal gain value exceeds the rated maximum input power of the loudspeaker, if so, the steps 306 to 307 are executed, and if not, the step 307 is directly executed.
306. The mobile terminal adjusts the first signal gain value until the output power is equal to or lower than the maximum input power.
307. And the mobile terminal controls the loudspeaker to play the target audio signal according to the adjusted first gain value.
It is understood that, in the embodiment of the present invention, if the mobile terminal performs step 305 to determine that the output power exceeds the maximum input power, the adjusted first gain value in step 307 is different from the first gain value determined in step 303; if the step 305 is executed to determine that the output power does not exceed the maximum input power, the adjusted first gain value is the same as the first gain value determined in the step 303 when the step 307 is executed.
308. The mobile terminal controls the heating source to generate heat so as to discharge the liquid from the loudspeaker.
In this embodiment of the present invention, if the mobile terminal performs step 304 to determine that the diaphragm of the speaker is not deflected in the direction away from the sound outlet, it may be considered that the liquid remaining in the speaker is relatively less, and the mobile terminal may not perform any liquid discharging operation, and may also perform step 308: the liquid is discharged from the speaker by using heat generated from a heat generating source of the mobile terminal. The heat generating source of the mobile terminal may include a battery, a Central Processing Unit (CPU), and other components capable of generating heat. Specifically, the mobile terminal can increase the output current when the battery supplies power to each component; or awakening all application programs in the background process, and increasing the operation amount of the CPU so as to increase the heat generated by the CPU. Further, to reduce the impact of heat generation on the user experience, the mobile terminal may limit the duration of performing step 308. It should be noted that, in some possible embodiments, while the mobile terminal performs step 304, the mobile terminal may also perform step 308 to discharge the liquid from the speaker by playing an audio signal and controlling the heat source to generate heat, so as to improve the liquid discharge efficiency.
It can be seen that, in the method described in fig. 3, the mobile terminal may select different signal gain values according to different liquid residue amounts, and may also select different draining operations according to the liquid residue amounts: playing a target audio signal or controlling a heating source to heat; when the residual amount of the liquid is relatively small, a target audio signal does not need to be played for liquid drainage operation, and damage to the loudspeaker in the liquid preparation process is reduced.
Example four
Referring to fig. 6, fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in fig. 6, the mobile terminal may include:
a detection unit 601 for detecting a liquid remaining amount of the speaker;
a gain adjustment unit 602 for adjusting a current signal gain value of the speaker to a first signal gain value corresponding to the liquid remaining amount detected by the detection unit 601;
a playing unit 603, configured to control the speaker to play the target audio signal with a specific frequency according to the first signal gain value determined by the gain adjusting unit 602, so as to discharge the liquid from the speaker through vibration when the target audio signal is played by the speaker.
In the mobile terminal shown in fig. 6, the liquid residual amount of the speaker may be detected, and the current signal gain value of the speaker may be adjusted to the first signal gain value corresponding to the liquid residual amount; and then the loudspeaker is controlled to play the target audio signal with the specific frequency according to the first signal gain value, so that the liquid discharge effect is ensured, the probability of damage to the loudspeaker is reduced, and the damage to the loudspeaker is reduced in the liquid discharge process of the loudspeaker.
EXAMPLE five
Referring to fig. 7, fig. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the disclosure. The mobile terminal shown in fig. 7 is optimized by the mobile terminal shown in fig. 6. Compared with the mobile terminal shown in fig. 6, in the mobile terminal shown in fig. 7:
the detection unit 601 may include:
a control subunit 6011, configured to control a microphone of the mobile terminal to receive the first audio signal played by the speaker to obtain a second audio signal;
the determining subunit 6012 is configured to determine the liquid residual amount of the speaker according to the matching degree of the first audio signal and the second audio signal received by the control subunit 6011.
Optionally, in the mobile terminal shown in fig. 7, the playing unit 603 may include:
a judgment sub-unit 6031 configured to judge whether the output power output to the speaker after the target audio signal is subjected to signal amplification according to the first signal gain value determined by the gain adjustment unit 602 exceeds the maximum input power rated for the speaker;
an adjusting sub-unit 6032, configured to, when the determining sub-unit 6031 determines that the output power exceeds the maximum input power, adjust the first signal gain value until the output power is equal to or lower than the maximum input power;
a playing sub-unit 6033, configured to control the speaker to play the target audio signal according to the first signal gain value adjusted by the adjusting sub-unit 6032.
Further optionally, the mobile terminal shown in fig. 7 may further include:
a deflection judging unit 604, configured to judge whether a diaphragm of the speaker deflects in a direction away from a sound outlet of the speaker when the speaker is in a non-operating state before the playing unit 603 controls the speaker to play the target audio signal with the specific frequency according to the first signal gain value; the non-working state is the state that the loudspeaker does not play audio signals;
accordingly, the manner for controlling the speaker to play the target audio signal with a specific frequency according to the first signal gain value by the playing unit 603 may specifically be:
the playing unit 603 is configured to control the speaker to play the target audio signal with the specific frequency according to the first signal gain value when the deflection determining unit 604 determines that the diaphragm deflects towards the direction away from the sound outlet of the speaker.
In addition, the mobile terminal shown in fig. 7 may further include:
and a heating control unit 605 for controlling the heating source of the mobile terminal to generate heat to discharge the liquid from the speaker when the deflection judging unit 604 judges that the diaphragm is not deflected in the direction away from the sound outlet of the speaker.
It can be seen that, with the mobile terminal shown in fig. 7, when the target audio signal is played for the liquid discharging operation, the damage to the speaker can be reduced by adjusting the signal gain value. And the damage to the loudspeaker in the liquid discharging process can be further reduced by judging the input power and switching the specific execution mode of the liquid discharging operation (playing a target audio signal or controlling heating).
EXAMPLE seven
Referring to fig. 8, fig. 8 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention. For convenience of explanation, only the parts related to the embodiments of the present invention are shown, and details of the specific techniques are not disclosed. This mobile terminal can be for including arbitrary mobile terminal such as smart mobile phone, intelligent wrist-watch, intelligent bracelet, panel computer to mobile terminal is intelligent wrist-watch:
fig. 8 is a block diagram illustrating a partial structure of a smart watch according to an embodiment of the present invention. Referring to fig. 8, the smart watch includes: memory 1120, audio circuitry 1160, processor 1180, and power supply 1190. Those skilled in the art will appreciate that the smart watch configuration shown in fig. 8 does not constitute a limitation of a smart watch, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
The following specifically describes each component of the smart watch with reference to fig. 8:
the memory 1120 may be used to store software programs, modules and executable codes, and the processor 1180 may execute various functional applications and data processing of the smart watch by operating the software programs, modules and executable codes stored in the memory 1120, and in particular, may execute a speaker drainage method of any one of the mobile terminals of fig. 1 to 3. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the stored data area may store data (such as audio data, a phonebook, etc.) created according to the use of the smart watch, and the like. Further, the memory 1120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
Audio circuitry 1160, speaker 1161, and microphone 1162 may provide an audio interface between a user and the smart watch. The audio circuit 1160 may transmit the electrical signal converted from the received audio data to the speaker 1161, and convert the electrical signal into a sound signal for output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signals into electrical signals, which are received by the audio circuit 1160 and converted into audio data, which are then processed by the audio data output processor 1180, and then transmitted to, for example, another smart watch via the RF circuit, or output to the memory 1120 for further processing. Specifically, the audio circuit 1160, the speaker 1161 and the microphone 1162 perform the following steps in the embodiment of the present invention:
the microphone 1162 receives the first audio signal played by the speaker 1161 to obtain a second audio signal, the audio circuit 1160 converts the second audio signal received by the microphone 1162 into audio data and then transmits the audio data to the processor 1180, and the processor 1180 determines the liquid residual quantity of the speaker and a first signal gain value corresponding to the liquid residual quantity. The audio circuit 1160 adjusts the current signal gain value to a first signal gain value and performs signal amplification on the target audio signal according to the first signal gain value. The audio circuit 1160 transmits the amplified target audio signal to the speaker 1161, and the speaker 1161 outputs the target audio signal to discharge the liquid from the speaker through vibration when the target audio signal is played by the speaker 1161.
The processor 1180 is a control center of the smart watch, is coupled to the memory 1120, connects various parts of the whole smart watch by using various interfaces and lines, performs various functions of the smart watch and processes data by running or executing executable codes, software programs and/or modules stored in the memory 1120 and calling data stored in the memory 1120, and particularly, performs a speaker drain method of any one of the mobile terminals of fig. 1 to 3. Optionally, processor 1180 may include one or more processing units; preferably, the processor 1180 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 within processor 1180.
The smart watch may further include a power supply 1190 (e.g., a battery) for providing power to various components, which may be logically coupled to the processor 1180 via a power management system, such that the power management system may manage charging, discharging, and power consumption.
Although not shown, the smart watch may further include a display unit, at least one sensor, an RF circuit, a Wi-Fi module, a camera, a bluetooth module, input keys, etc., which are not described herein again.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute a loudspeaker liquid drainage method of any one of a mobile terminal in figures 1-3.
An embodiment of the invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute a speaker draining method of any one of the mobile terminals of fig. 1 to 3.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are exemplary and alternative embodiments, and that the acts and modules illustrated are not required in order to practice the invention.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The above detailed description is provided for the speaker draining method of the mobile terminal and the mobile terminal, and the specific examples are applied herein to explain the principle and the implementation of the present invention, and the above description of the embodiments is only used to help understanding the method and the core idea of the present invention. Meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A speaker draining method of a mobile terminal, the method comprising:
detecting the liquid residual quantity of the loudspeaker, and adjusting the current signal gain value of the loudspeaker to a first signal gain value corresponding to the liquid residual quantity;
controlling the loudspeaker to play a target audio signal with a specific frequency according to the first signal gain value so as to discharge liquid from the loudspeaker through vibration when the target audio signal is played by the loudspeaker;
and, before said controlling said speaker to play a target audio signal of a specific frequency according to said first signal gain value, said method further comprises:
judging whether a vibrating membrane of the loudspeaker deflects towards a direction far away from a sound outlet of the loudspeaker when the loudspeaker is in a non-working state, wherein the non-working state is a state that the loudspeaker does not play audio signals;
and if the vibrating membrane deflects towards the direction far away from the sound outlet of the loudspeaker, controlling the loudspeaker to play the target audio signal with the specific frequency according to the first signal gain value.
2. The method for draining the liquid of the speaker of the mobile terminal according to claim 1, wherein the detecting the residual liquid level of the speaker comprises:
controlling a microphone of the mobile terminal to receive a first audio signal played by the loudspeaker so as to obtain a second audio signal;
and determining the liquid residual quantity of the loudspeaker according to the matching degree of the first audio signal and the second audio signal.
3. The speaker draining method of claim 1, wherein the controlling the speaker to play the target audio signal according to the first signal gain value comprises:
judging whether the output power of the target audio signal which is amplified according to the first signal gain value and then output to the loudspeaker exceeds the rated maximum input power of the loudspeaker;
if the output power exceeds the maximum input power, adjusting the first signal gain value until the output power is equal to or lower than the maximum input power;
and controlling a loudspeaker to play the target audio signal according to the adjusted first signal gain value.
4. The liquid discharge method for the loudspeaker of the mobile terminal according to claim 1, wherein if the diaphragm is not deflected away from the sound outlet hole of the loudspeaker, the heat generating source of the mobile terminal is controlled to generate heat to discharge the liquid from the loudspeaker.
5. A mobile terminal, comprising:
a detection unit for detecting a liquid residual amount of the speaker;
the gain adjusting unit is used for adjusting the current signal gain value of the loudspeaker to a first signal gain value corresponding to the liquid residual quantity;
the playing unit is used for controlling the loudspeaker to play a target audio signal with a specific frequency according to the first signal gain value so as to discharge liquid from the loudspeaker through vibration when the target audio signal is played by the loudspeaker;
the mobile terminal further includes:
the deflection judging unit is used for judging whether a vibrating membrane of the loudspeaker deflects towards a direction far away from a sound outlet of the loudspeaker when the loudspeaker is in a non-working state before the playing unit controls the loudspeaker to play a target audio signal with a specific frequency according to the first signal gain value; wherein the non-working state is a state that the loudspeaker does not play audio signals;
the mode that the playing unit is used for controlling the loudspeaker to play the target audio signal with the specific frequency according to the first signal gain value is specifically as follows:
the playing unit is used for controlling the loudspeaker to play a target audio signal with a specific frequency according to the first signal gain value when the deflection judging unit judges that the vibrating membrane deflects towards the direction far away from the sound outlet of the loudspeaker.
6. The mobile terminal according to claim 5, wherein the detecting unit comprises:
the control subunit is used for controlling a microphone of the mobile terminal to receive the first audio signal played by the loudspeaker so as to obtain a second audio signal;
a determining subunit, configured to determine a liquid residual amount of the speaker according to a matching degree of the first audio signal and the second audio signal.
7. The mobile terminal according to claim 5, wherein the play unit comprises:
the judgment subunit is configured to judge whether the output power output to the speaker after the target audio signal is subjected to signal amplification according to the first signal gain value exceeds the rated maximum input power of the speaker;
the adjusting subunit is configured to, when the determining subunit determines that the output power exceeds the maximum input power, adjust the first signal gain value until the output power is equal to or lower than the maximum input power;
and the playing subunit is used for controlling the loudspeaker to play the target audio signal according to the adjusted first signal gain value.
8. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
and the heating control unit is used for controlling the heating source of the mobile terminal to generate heat so as to generate heat to discharge liquid from the loudspeaker when the deflection judging unit judges that the vibrating membrane does not deflect towards the direction far away from the sound outlet of the loudspeaker.
CN201810458570.3A 2018-05-14 2018-05-14 Liquid discharge method for loudspeaker of mobile terminal and mobile terminal Active CN108471575B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810458570.3A CN108471575B (en) 2018-05-14 2018-05-14 Liquid discharge method for loudspeaker of mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810458570.3A CN108471575B (en) 2018-05-14 2018-05-14 Liquid discharge method for loudspeaker of mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN108471575A CN108471575A (en) 2018-08-31
CN108471575B true CN108471575B (en) 2020-07-03

Family

ID=63261136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810458570.3A Active CN108471575B (en) 2018-05-14 2018-05-14 Liquid discharge method for loudspeaker of mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN108471575B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109698989B (en) * 2018-12-28 2019-11-12 出门问问信息科技有限公司 A kind of loudspeaker water discharge method and device
CN110691302A (en) * 2019-09-25 2020-01-14 深圳传音控股股份有限公司 Cleaning method, device and terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1925647A (en) * 2005-08-31 2007-03-07 艾可慕株式会社 Wireless communication device
CN104503297A (en) * 2014-11-25 2015-04-08 宁波中荣声学科技有限公司 DSP audio digital signal processing system and method
CN105049966A (en) * 2014-04-30 2015-11-11 苹果公司 Evacuation of liquid from acoustic space
CN106851515A (en) * 2017-03-03 2017-06-13 广东欧珀移动通信有限公司 Speaker voice giving hole plug detection method and device
CN106878880A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 The dust collection method in speaker voice giving hole, device and terminal device
CN106959838A (en) * 2017-03-03 2017-07-18 广东欧珀移动通信有限公司 Audio control method, audio control apparatus and electronic installation
CN106961652A (en) * 2017-03-03 2017-07-18 广东欧珀移动通信有限公司 Electronic installation and the detection method based on distance
CN107391078A (en) * 2017-07-14 2017-11-24 维沃移动通信有限公司 A kind of sound adjusting method and mobile terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7568552B2 (en) * 2004-01-15 2009-08-04 Bose Corporation Acoustic passive radiator rocking mode reducing
JP6040561B2 (en) * 2012-04-26 2016-12-07 アイコム株式会社 Electronics
US10219090B2 (en) * 2013-02-27 2019-02-26 Analog Devices Global Method and detector of loudspeaker diaphragm excursion
US9980026B2 (en) * 2013-09-30 2018-05-22 Apple Inc. Method for clearing water from acoustic port and membrane
US9451354B2 (en) * 2014-05-12 2016-09-20 Apple Inc. Liquid expulsion from an orifice
US10209123B2 (en) * 2016-08-24 2019-02-19 Apple Inc. Liquid detection for an acoustic module
CN107027083B (en) * 2017-05-24 2022-07-26 深圳市欢太科技有限公司 Electroacoustic transducer and electronic device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1925647A (en) * 2005-08-31 2007-03-07 艾可慕株式会社 Wireless communication device
CN105049966A (en) * 2014-04-30 2015-11-11 苹果公司 Evacuation of liquid from acoustic space
CN104503297A (en) * 2014-11-25 2015-04-08 宁波中荣声学科技有限公司 DSP audio digital signal processing system and method
CN106851515A (en) * 2017-03-03 2017-06-13 广东欧珀移动通信有限公司 Speaker voice giving hole plug detection method and device
CN106878880A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 The dust collection method in speaker voice giving hole, device and terminal device
CN106959838A (en) * 2017-03-03 2017-07-18 广东欧珀移动通信有限公司 Audio control method, audio control apparatus and electronic installation
CN106961652A (en) * 2017-03-03 2017-07-18 广东欧珀移动通信有限公司 Electronic installation and the detection method based on distance
CN107391078A (en) * 2017-07-14 2017-11-24 维沃移动通信有限公司 A kind of sound adjusting method and mobile terminal

Also Published As

Publication number Publication date
CN108471575A (en) 2018-08-31

Similar Documents

Publication Publication Date Title
US10225652B2 (en) Systems and methods for using a speaker as a microphone
CN107509153B (en) Detection method and device of sound playing device, storage medium and terminal
CN110806849A (en) Intelligent device, volume adjusting method thereof and computer-readable storage medium
CN108471575B (en) Liquid discharge method for loudspeaker of mobile terminal and mobile terminal
US9197731B2 (en) Method and device for changing dynamic display effect of mobile phone application by way of voice control
CN113099352B (en) Audio signal processing method, audio signal processing device, electronic equipment and storage medium
CN113728660B (en) Electronic device including actuator configured to output sound and operating method thereof
CN111343540B (en) Piano audio processing method and electronic equipment
CN107621933B (en) Audio playing method and device and related medium product
CN108668199B (en) Loudspeaker liquid drainage method based on gain adjustment and electronic equipment
CN107506172A (en) Control method, mobile terminal and the storage medium that a kind of In Call automatically adjusts
CN111416909A (en) Volume self-adaptive adjusting method, system, storage medium and mobile terminal
CN105472128A (en) Call control method and call control device
CN113824838B (en) Sounding control method and device, electronic equipment and storage medium
CN107493376A (en) A kind of ringing volume adjusting method and device
CN114286216B (en) Wrist-worn equipment and air pressure adjusting method, device and system thereof
US10514726B2 (en) Mobile terminal sending out sound via multifunctional battery cover and method thereof
CN105376674B (en) A kind of method for controlling volume and device
CN109660653A (en) Method for controlling volume and device
CN104917613B (en) Dynamic password generator and authentication device based on dynamic password generator
CN114125649B (en) Volume adjusting method and device
CN112437373B (en) Audio processing method, headphone device, and readable storage medium
CN115457925A (en) Audio playing parameter adjusting method, device, equipment and storage medium
CN103188585B (en) Audio frequency adjusting device and method of adjustment thereof
JP3290122B2 (en) Operation sound generator for electrical equipment

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