CN112235700B - Amplitude adjustment method for electroacoustic device, terminal device and readable storage medium - Google Patents
Amplitude adjustment method for electroacoustic device, terminal device and readable storage medium Download PDFInfo
- Publication number
- CN112235700B CN112235700B CN202011200676.7A CN202011200676A CN112235700B CN 112235700 B CN112235700 B CN 112235700B CN 202011200676 A CN202011200676 A CN 202011200676A CN 112235700 B CN112235700 B CN 112235700B
- Authority
- CN
- China
- Prior art keywords
- amplitude
- value
- calculating
- sound
- pressure value
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R9/00—Transducers of moving-coil, moving-strip, or moving-wire type
- H04R9/06—Loudspeakers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/03—Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses an amplitude adjustment method of an electroacoustic device, a terminal device and a readable storage medium, which are used for the terminal device to avoid the problem that the electroacoustic device of the terminal device fails due to overlarge amplitude under low pressure, so that the electroacoustic device is effectively protected, and the service life of the electroacoustic device is prolonged. The method provided by the embodiment of the invention comprises the following steps: acquiring an air pressure value, atmospheric density, sound velocity and angular velocity of the current altitude; calculating to obtain an amplitude difference value according to the air pressure value of the current altitude, the atmospheric density, the sound velocity and the angular velocity; and controlling the electroacoustic device to operate at the working amplitude which is less than or equal to the preset amplitude threshold value under the condition that the amplitude difference value is greater than the preset amplitude threshold value.
Description
Technical Field
The invention relates to the field of terminal equipment application, in particular to an amplitude adjustment method for an electroacoustic device, terminal equipment and a readable storage medium.
Background
With the rapid development of science and technology, terminal equipment is more and more popular, and the use region and the environment of the terminal equipment are more and more extensive. There are significant differences in air pressure from region to region or from environment to environment. For example: the pressure in plateau areas is significantly lower than that in coastal areas, and sometimes the difference in pressure can reach 0.6 standard atmosphere.
In the prior art, an electroacoustic device is generally installed in a terminal device. The electroacoustic device may include a moving coil speaker, and the like. In order to ensure the normal operation of the electroacoustic device, the terminal equipment generally makes the electroacoustic device operate at a certain operating amplitude, that is, the operating amplitude of the electroacoustic device is generally not allowed to exceed the maximum amplitude.
However, upon entering a low pressure environment, the operating amplitude of the electroacoustic device may increase significantly, even beyond the maximum amplitude. When the electroacoustic device is operated at an operating amplitude exceeding the maximum amplitude, noise is easily generated and even the electroacoustic device is disabled. Therefore, the terminal equipment capable of protecting the electroacoustic device under low pressure becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides an amplitude adjustment method of an electroacoustic device, a terminal device and a readable storage medium, which are used for the terminal device to avoid the problem that the electroacoustic device of the terminal device fails due to overlarge amplitude under different air pressures, so that the electroacoustic device is effectively protected, and the service life of the electroacoustic device is prolonged.
In view of this, a first aspect of the embodiments of the present invention provides an amplitude adjustment method for an electroacoustic device, which may include:
acquiring an air pressure value, atmospheric density, sound velocity and angular velocity of the current altitude;
calculating to obtain an amplitude difference value according to the air pressure value of the current altitude, the atmospheric density, the sound velocity and the angular velocity;
and controlling the electroacoustic device to operate at the working amplitude which is less than or equal to the preset amplitude threshold value under the condition that the amplitude difference value is greater than the preset amplitude threshold value.
Another aspect of the embodiments of the present invention provides a terminal device, where the terminal device includes an electroacoustic device, and the terminal device may include:
the acquisition module is used for acquiring the air pressure value, the atmospheric density, the sound velocity and the angular velocity of the current altitude;
the processing module is used for calculating to obtain an amplitude difference value according to the air pressure value of the current altitude, the atmospheric density, the sound velocity and the angular velocity;
the processing module is used for controlling the electroacoustic device to operate at the working amplitude which is less than or equal to the preset amplitude threshold value under the condition that the amplitude difference value is greater than the preset amplitude threshold value.
Another aspect of the embodiments of the present invention provides a terminal device, where the terminal device includes an electroacoustic device, and the terminal device may include:
a memory storing executable program code;
and a processor coupled to the memory;
the processor calls the executable program code stored in the memory for performing the method according to the first aspect of the embodiment of the present invention.
A further aspect of the embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method according to the first aspect of the embodiments of the present invention.
In another aspect, an embodiment 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 embodiment of the present invention.
In another aspect, an embodiment of the present invention discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where when the computer program product runs on a computer, the computer is caused to execute any one of the methods disclosed in the first aspect of the embodiment of the present invention.
According to the technical scheme, the embodiment of the invention has the following advantages:
in the embodiment of the application, the air pressure value, the atmospheric density, the sound velocity and the angular velocity of the current altitude are obtained; calculating to obtain an amplitude difference value according to the air pressure value of the current altitude, the atmospheric density, the sound velocity and the angular velocity; and controlling the electroacoustic device to operate at the working amplitude which is less than or equal to the preset amplitude threshold value under the condition that the amplitude difference value is greater than the preset amplitude threshold value. Since the electroacoustic device is controlled to operate at an operating amplitude which is less than or equal to a preset amplitude threshold in the case where the amplitude difference is greater than the preset amplitude threshold. Therefore, the terminal equipment can avoid the electroacoustic device of the terminal equipment under low air pressure, and the problem of failure of the electroacoustic device is caused by overlarge amplitude of the electroacoustic device, so that the electroacoustic device is effectively protected, and the service life of the electroacoustic device is prolonged.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the embodiments and the drawings used in the description of the prior art, and obviously, the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained according to the drawings.
FIG. 1 is a schematic diagram of an embodiment of an amplitude adjustment method for an electroacoustic device in an embodiment of the present invention;
FIG. 2 is a schematic diagram of another embodiment of an amplitude adjustment method for an electroacoustic device in an embodiment of the present invention;
fig. 3 is a schematic diagram of an embodiment of displaying a prompt message in text form by a terminal device in the embodiment of the present invention;
FIG. 4 is a schematic diagram of another embodiment of an amplitude adjustment method for an electroacoustic device in an embodiment of the present invention;
FIG. 5 is a diagram of an embodiment of a terminal device in an embodiment of the present invention;
fig. 6 is a schematic diagram of another embodiment of the terminal device in the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides an amplitude adjustment method of an electroacoustic device, a terminal device and a readable storage medium, which are used for the terminal device to avoid the problem that the electroacoustic device of the terminal device fails due to overlarge amplitude under different air pressures, so that the electroacoustic device is effectively protected, and the service life of the electroacoustic device is prolonged.
In order to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be 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 embodiments. The embodiments based on the present invention should fall into the protection scope of the present invention.
It is understood that the terminal device according to the embodiment of the present invention may include a general handheld electronic terminal device, such as a mobile phone, a smart phone, a portable terminal, a Personal Digital Assistant (PDA), a Portable Multimedia Player (PMP) device, a notebook computer, a notebook (Note Pad), a wireless broadband (Wibro) terminal, a tablet computer (PC), a smart PC, a Point of Sales (POS), a car computer, and the like.
The terminal device may also comprise a wearable device. The wearable device may be worn directly on the user or may be a portable electronic device integrated into the user's clothing or accessory. Wearable equipment is not only a hardware equipment, can realize powerful intelligent function through software support and data interaction, high in the clouds interaction more, for example: the system has the functions of calculation, positioning and alarming, and can be connected with a mobile phone and various terminals. Wearable devices may include, but are not limited to, wrist-supported watch types (e.g., wrist watches, wrist-supported products), foot-supported shoes types (e.g., shoes, socks, or other leg-worn products), head-supported Glass types (e.g., glasses, helmets, headbands, etc.), and various types of non-mainstream products such as smart clothing, bags, crutches, accessories, and the like.
The following further describes the technical solution of the present invention by way of an embodiment, as shown in fig. 1, which is a schematic diagram of an embodiment of an amplitude adjustment method for an electroacoustic device in an embodiment of the present invention, and the method may include:
101. and acquiring the air pressure value, the atmospheric density, the sound velocity and the angular velocity of the current altitude.
Optionally, the terminal device obtains an air pressure value of the current altitude through the air pressure sensor, and obtains a sound velocity of the previous altitude through the sound velocity sensor. After the terminal device obtains the air pressure value of the current altitude, the terminal device may obtain the atmospheric density of the current altitude according to a formula PV ═ nRT or a formula PV ═ mRT/M; and the electroacoustic device of the terminal equipment acquires the sound velocity through the sound velocity sensor and acquires the angular velocity according to a formula omega-2 pi f. The terminal equipment forwards the air pressure value, the atmospheric density, the sound velocity and the angular velocity of the current altitude to an electroacoustic device in the terminal equipment.
Wherein, in the above formula: p represents the pressure value, P is expressed in units of pressure (symbol: pa) or kilopascal (symbol: kpa), V represents the volume of the gas, and V is expressed in units of cubic meters (symbol: m)3) N represents the amount of a substance, and the unit of n is mole (symbol: mol), R represents a constant, R is 8.31J/(mol · K), T represents kelvin temperature, and T is in K. Where T is T +273.15, T represents temperature, and T is given in degrees celsius (symbol:. degree. c.).
Where n is M/M, M denotes the gas mass, M is in kilograms (symbol: kg), M denotes the molar mass of the gas, M is in kilograms per mole (symbol: kg/mol) or grams per mole (symbol: g/mol), and the molar mass M of air is 28.9634 g/mol.
Therefore, the formula PV ═ nRT can be transformed into PV ═ mRT/M; shift V to the right: p ═ mRT/(MV) ═ m/V) X (RT/M). Where m/V is ρ, i.e. m/V is the gas density ρ, ρ being expressed in kilograms per cubic meter (symbol: kg/m)3)。
Then, ρ is P/(RT/M), since the gas pressure P has been obtained by the gas pressure sensor, R is 8.31J/(mol · K), M is 28.9634g/mol, and the temperature T is obtained by the temperature sensor, so that the atmospheric density ρ can be obtained. When the temperature T remains constant, the gas pressure P is proportional to the atmospheric density ρ.
Wherein, in the formula ω ═ 2 pi f, ω denotes an angular velocity, and the unit of ω is revolutions per second (symbol: rad/s); f denotes the operating frequency, f being in hertz (symbol: Hz). Although the value of f varies in real time, f may be set manually or may be a preset constant value, so ω can be obtained.
Illustratively, when the user is located in a pizza, the altitude of the location of the pizza is 3658 meters. An electroacoustic device of the terminal equipment obtains an air pressure value of 65kpa at 3658m and an atmospheric density of 0.81kg/m3The speed of sound is 330.83 meters per second (symbol: m/s).
It will be appreciated that one atmosphere is 101kPa at normal atmospheric pressure and the density of the atmosphere is 1.293kg/m at normal atmospheric pressure3The sound velocity under the standard atmospheric pressure is 344m/s, the temperature under the standard atmospheric pressure is 25-27 ℃, the preset amplitude threshold value under the standard atmospheric pressure is 0.4mm, and the angular velocity under the standard atmospheric pressure changes in real time along with the change of the working frequency and can be regarded as a constant. Altitude is about 100 meters, and temperature is about 0.6 deg.C; as the temperature decreases by 1 c, the speed of sound, i.e. the speed of sound propagation, decreases by about 0.6 m/s.
It is to be understood that the timing at which the electroacoustic device of the terminal device acquires the barometric pressure value, the atmospheric density, the sound velocity, and the angular velocity of the current altitude is not particularly limited. The angular velocity of the electroacoustic device is the angular velocity of the electroacoustic device vibration system, which may include, but is not limited to: the angular velocity of the diaphragm, the angular velocity of the voice coil, and the angular velocity of the dome.
It should be noted that the execution subject of the embodiment of the present invention may be an electroacoustic device, a terminal device, or other electronic devices. If the terminal equipment or other electronic equipment, the terminal equipment or other electronic equipment comprises the electroacoustic device.
It will be appreciated that the electro-acoustic device may comprise a loudspeaker; the speakers may in turn include tweeters, midrange speakers, woofers, and full-band speakers. Wherein, the high-frequency part of the audio signal output by the power amplifier is specially played by the high-frequency loudspeaker, and the working frequency range of the high-frequency loudspeaker is generally 2.5kHz-25 kHz; the midrange loudspeaker is a middle frequency part which is specially used for replaying the audio signal output by the power amplifier, and the working frequency range of the midrange loudspeaker is generally 500Hz-7500 Hz; compared with a high pitch loudspeaker and a middle pitch loudspeaker, the low pitch loudspeaker is specially used for reproducing low frequency signals, and the working frequency of the low pitch loudspeaker is generally 15Hz-5000 Hz; full-band speakers refer to speakers that operate at frequencies that cover the full high, medium, and low frequency bands of audio.
102. And calculating to obtain an amplitude difference value according to the air pressure value of the current altitude, the atmospheric density, the sound velocity and the angular velocity.
Optionally, the terminal device calculates an amplitude difference according to the barometric pressure value of the current altitude, the atmospheric density, the sound velocity, and the angular velocity, and may include but is not limited to the following implementation manners:
implementation mode 1: the terminal equipment calculates to obtain an air pressure difference value according to the air pressure value of the current altitude and the standard atmospheric pressure value; and the terminal equipment calculates to obtain an amplitude difference value according to the air pressure difference value, the atmospheric density, the sound velocity and the angular velocity.
It is understood that P is given by the formula Δ P1-P2And calculating to obtain the air pressure difference value.
Wherein, P1Is the standard atmospheric pressure value, P2Δ P represents the air pressure difference value for the current altitude.
Where Δ ρ represents the atmospheric density difference, Δ c represents the sound velocity difference, ω represents the angular velocity, and Δ a represents the amplitude difference.
Illustratively, when the user is located in a pizza, the altitude of a certain position of the pizza is 3658 meters, and ω is 800 rad/s. Electroacoustic device of terminal equipment obtains air pressure value P at 3658m265kpa, atmospheric density at 3658m of 0.81kg/m3The speed of sound at 3658 meters is 330.83 m/s. The standard atmospheric pressure was 101kPa, and the atmospheric density at the standard atmospheric pressure was 1.293kg/m3The sound velocity at standard atmospheric pressure was 344 m/s.
The electroacoustic device of the terminal equipment calculates and obtains an air pressure difference value:
ΔP=P1-P2=101kPa-65kpa=36kpa;
calculating to obtain an amplitude difference value:
implementation mode 2: the terminal equipment calculates to obtain a current amplitude value according to the air pressure value of the current altitude, the atmospheric density, the sound velocity and the angular velocity; and the terminal equipment calculates to obtain an amplitude difference value according to the current amplitude value and the amplitude value under the standard atmospheric pressure value.
Wherein A is2Is the current amplitude value, ρ, of the current altitude2Is the high air density at the current altitude, c2Is the speed of sound, ω, of the current altitude2Is the angular velocity of the current altitude.
By the formulaAnd calculating to obtain the amplitude value under the standard atmospheric pressure value.
Wherein, A1Is the amplitude value at the standard atmospheric pressure value, rho1Is the atmospheric density at this standard atmospheric pressure value, c1Is the sound velocity, omega, at this standard atmospheric pressure value1Is the angular velocity at the standard atmospheric pressure value, the amplitude value A at the standard atmospheric pressure value1Is 0.4 mm.
Using the formula Δ A ═ A1-A2And calculating to obtain an amplitude difference value.
Illustratively, when the user is located in a pizza, the altitude of a certain position of the pizza is 3658 meters, and ω is 800 rad/s. Electroacoustic device of terminal equipment obtains air pressure value P at 3658m2At 65kpa, atmospheric density ρ2Is 0.81kg/m3Speed of sound c2Is 330.83 m/s.
The electroacoustic device of the terminal equipment calculates to obtain a current amplitude value:
calculating to obtain an amplitude value under a standard atmospheric pressure value:
calculating to obtain an amplitude difference value:
ΔA=A1-A2=0.4287mm-0.4014mm=0.0273mm。
103. and controlling the electroacoustic device to operate at the working amplitude which is less than or equal to the preset amplitude threshold value under the condition that the amplitude difference value is greater than the preset amplitude threshold value.
It will be appreciated that the amplitude difference is a positive number greater than 0.4mm since the preset amplitude threshold is typically set at 0.4mm, which is greater than 0.4 mm.
Optionally, the controlling, by the terminal device, the electroacoustic device to operate at the working amplitude less than or equal to the preset amplitude threshold may include: and the terminal equipment adjusts the intensity of the signal to be input or the frequency to be cut off corresponding to the electroacoustic device according to the current amplitude difference between the amplitude difference and the preset amplitude threshold value, so that the electroacoustic device operates at the working amplitude less than or equal to the preset amplitude threshold value.
It will be appreciated that when the air pressure is relatively low, the input signal power may be reduced; when the air pressure value is relatively high, the power of the input signal can be improved. Wherein the air pressure value and the input signal power may be in a negative correlation relationship. The terminal device adjusts the intensity of the signal to be input corresponding to the electroacoustic device according to the preset amplitude threshold, specifically, the intensity may be output voltage adjustment, output current adjustment, or output voltage and output current adjustment at the same time. The output voltage and the output current can be used for adjusting the power of the input signal.
It will be appreciated that the amplitude of the electro-acoustic device is dependent on the force applied to the voice coil, and F-BIL. BL is the magnetic circuit characteristic, I represents the current, which is equal to the voltage divided by the resistance. The voltage change can control the force of the voice coil, so that the amplitude value of the electroacoustic device is controlled.
It will be appreciated that the electroacoustic device is operated at an operating amplitude less than or equal to the preset amplitude threshold, which effectively protects the electroacoustic device from damage. If the electroacoustic device is operated for a period of time at an operating amplitude greater than a preset amplitude threshold, the electroacoustic device is prone to failure. The working amplitude may be any working amplitude less than or equal to a preset amplitude threshold, and any working amplitude less than or equal to the preset amplitude threshold may include the amplitude difference calculated in the above steps.
In the embodiment of the invention, the terminal equipment calculates to obtain an amplitude difference value according to the obtained air pressure value, the atmospheric density, the sound velocity and the angular velocity of the current altitude; and controlling the electroacoustic device to operate at the working amplitude which is less than or equal to the preset amplitude threshold value under the condition that the amplitude difference value is greater than the preset amplitude threshold value. Wherein the working amplitude is less than or equal to the preset amplitude threshold. Therefore, the terminal equipment can avoid the electroacoustic device of the terminal equipment under low air pressure, and the problem that the electroacoustic device fails due to overlarge amplitude of the electroacoustic device is solved, so that the electroacoustic device is effectively protected, and the service life of the electroacoustic device is prolonged.
As shown in fig. 2, which is a schematic diagram of another embodiment of an amplitude adjustment method for an electroacoustic device in an embodiment of the present invention, the method may include:
201. and acquiring the air pressure value, the atmospheric density, the sound velocity and the angular velocity of the current altitude.
It should be noted that step 201 is similar to step 101 shown in fig. 1 in this embodiment, and is not described here again.
202. And calculating to obtain a sound intensity value according to the air pressure value of the current altitude, the standard atmospheric pressure value, the atmospheric density and the sound velocity.
Optionally, the calculating, by the terminal device, a sound intensity value according to the barometric pressure value of the current altitude, the standard barometric pressure value, the atmospheric density, and the sound velocity may include: the terminal equipment calculates to obtain an air pressure difference value according to a first formula;
the first formula is: Δ P ═ P1-P2;
Wherein, P1Is the standard atmospheric pressure value, P2Is the air pressure value of the current altitude, and Δ P represents the air pressure difference value;
the terminal equipment calculates to obtain a sound intensity value according to a second formula;
wherein ρ represents the atmospheric density, c represents the sound velocity, and I represents the sound intensity value;
the unit of c is m/s, and the unit of I is decibels (symbol: dB).
203. And calculating to obtain an amplitude difference value according to the sound intensity value, the atmospheric density, the sound velocity and the angular velocity.
Optionally, the calculating, by the terminal device, an amplitude difference according to the sound intensity value, the atmospheric density, the sound velocity, and the angular velocity may include: the terminal equipment calculates to obtain an amplitude difference value according to a third formula;
where ω represents the angular velocity and Δ a represents the amplitude difference.
The unit of ω is rad/s, and the unit of Δ A is meter (symbol: m).
It should be noted that the first formula, the second formula and the third formula are combined to obtain the final productThe amplitude difference can be obtained. It is understood that the sound intensity values referred to in step 202 and step 203 are obtainedAn intermediate variable of (2).
204. And controlling the electroacoustic device to operate at the working amplitude which is less than or equal to the preset amplitude threshold value under the condition that the amplitude difference value is greater than the preset amplitude threshold value.
It should be noted that step 204 is similar to step 103 shown in fig. 1 in this embodiment, and is not described here again.
205. And acquiring the continuous use time length of the electroacoustic device, wherein the amplitude difference value of the electroacoustic device is greater than the preset amplitude difference value.
It will be appreciated that an amplitude difference of the electro-acoustic device greater than the preset amplitude difference indicates a greater operating amplitude value of the electro-acoustic device, which would cause the electro-acoustic device to fail if the electro-acoustic device were operated continuously at the greater operating amplitude for a period of time. Wherein the larger working amplitude value may be an amplitude value of more than sixty percent of the maximum amplitude value. It will be appreciated that the greater the operating amplitude value, the greater the amplitude difference, again resulting in failure of the electro-acoustic device.
Illustratively, the preset amplitude difference is 0.4 mm. The amplitude difference value of the electroacoustic device collected by the terminal equipment is 0.65mm, the amplitude difference value of 0.65mm is larger than the preset amplitude difference value of 0.4mm, and at the moment, the continuous use time of the electroacoustic device running with the amplitude difference value of 0.65mm is obtained.
206. And generating and outputting a prompt message under the condition that the continuous use time length is greater than the preset use time length.
Wherein the prompt message is used for prompting the failure of the electroacoustic device.
Illustratively, the preset usage period is 50 minutes. The continuous use time collected by the electroacoustic device of the terminal equipment is 60 minutes, the continuous use time is longer than the preset use time by 50 minutes, and at the moment, the terminal equipment generates and outputs a prompt message of 'failure of the electroacoustic device'.
Optionally, the terminal device generates and outputs the prompt message, which may include but is not limited to the following implementation manners:
implementation mode 1: the terminal equipment broadcasts the prompt message in a voice mode.
Implementation mode 2: the terminal device displays the prompting message on the application software or the small program of the terminal device in a text form or an animation form.
Exemplarily, as shown in fig. 3, a schematic diagram of an embodiment of the present invention is shown in which a terminal device displays a prompt message in a text form.
Implementation mode 3: the terminal device sends the prompting message to the associated terminal device and displays the prompting message on the application software or the small program of the associated terminal device.
It will be appreciated that the associated terminal device, upon receiving the alert message sent by the terminal device, displays the alert message on its application software or applet.
Implementation mode 4: and the terminal equipment sends the prompt message to the associated terminal equipment, and the associated terminal equipment broadcasts the prompt message in a voice mode.
Illustratively, the terminal device generates a message of "electroacoustic device failure" and sends the message of "electroacoustic device failure" to the associated terminal device, which broadcasts "electroacoustic device failure" in the form of voice.
The implementation method 5 comprises the following steps: the terminal equipment sends the prompting message to the associated terminal equipment, and displays the prompting message on the application software or the small program of the associated terminal equipment in a text form or an animation form.
In the embodiment of the invention, the terminal equipment calculates the sound intensity value according to the acquired air pressure value, atmospheric density, sound velocity and angular velocity of the current altitude; the terminal equipment calculates to obtain an amplitude difference value according to the acquired sound intensity value, the atmospheric density, the sound velocity and the angular velocity; and controlling the electroacoustic device to operate at the working amplitude which is less than or equal to the preset amplitude threshold value under the condition that the amplitude difference value is greater than the preset amplitude threshold value. Therefore, the terminal equipment can avoid the electroacoustic device of the terminal equipment under low air pressure, and the problem that the electroacoustic device fails due to overlarge amplitude of the terminal equipment is solved, so that the electroacoustic device is effectively protected, the service life of the electroacoustic device is prolonged, a user can timely master the service condition of the electroacoustic device, and corresponding measures are taken under the condition that the electroacoustic device fails.
As shown in fig. 4, which is a schematic diagram of another embodiment of an amplitude adjustment method for an electroacoustic device in an embodiment of the present invention, the method may include:
401. a plurality of altitudes and a plurality of air pressure values corresponding to the altitudes are stored in advance.
Wherein the plurality of altitudes and the plurality of barometric pressure values are inversely related.
It will be appreciated that different altitudes correspond to different barometric pressure values. As altitude increases, the barometric pressure value decreases accordingly. For example, in the altitude range of 3000m, the barometric pressure value decreases by 1mmHg and is approximately 133Pa for every 12m increase in altitude. The magnitude of the barometric pressure value is related to altitude, atmospheric temperature, atmospheric density, etc., and generally decreases exponentially as altitude increases. Therefore, the altitudes and barometric pressure values are inversely related.
Illustratively, the altitude is 30m, which corresponds to an air pressure value of 101 kpa; altitude 3658m, which corresponds to an air pressure value of 65 kpa.
402. And acquiring the geographical position information of the electroacoustic device.
It is understood that different geographical location information corresponds to different altitudes. The terminal equipment acquires the geographical position information of the electroacoustic device, and the altitude corresponding to the geographical position information can be acquired.
Illustratively, the altitude of Beijing is 30m and the altitude of Lhasa is 3568 m.
403. And acquiring the current altitude according to the geographical position information.
It can be understood that the altitude of the geographical position information can be determined at the terminal device according to the acquired geographical position information of the electroacoustic device; and the terminal equipment acquires the air pressure value corresponding to the altitude from the corresponding relation between the altitude and the air pressure value which is stored in advance according to the altitude.
Illustratively, as shown in table 1, the geographical location information, the altitude, and the corresponding relationship of the barometric pressure value corresponding to the altitude are shown in this embodiment.
Geographical location information | Altitude height | Air pressure value |
Beijing | 30m | 101kpa |
Shenzhen (Shenzhen medicine) | 70m | 101kpa |
Lasa | 3658m | 65kpa |
TABLE 1
It is to be understood that table 1 merely lists the correspondence relationship between partial geographic position information, altitude, and barometric pressure value corresponding to the altitude, and does not merely list the correspondence relationship between the three pieces of geographic position information, altitude, and barometric pressure value corresponding to the altitude.
It can be understood that the terminal device may obtain the barometric pressure value of the altitude where the electroacoustic device is located from a preset port, for example, the electroacoustic device is located in the terminal device, and the positioning device installed on the terminal device can obtain the geographical location information of the terminal device in real time, and then obtain the barometric pressure value of the altitude where the electroacoustic device is located from the port provided by the network weather station according to the geographical location information. Therefore, the air pressure value acquired by the terminal equipment is more accurate.
404. And acquiring the air pressure value, the atmospheric density, the sound velocity and the angular velocity of the current altitude under the condition that the altitude is greater than the preset altitude threshold value.
It can be understood that the terminal device obtains the barometric pressure value, the atmospheric density, the sound velocity and the angular velocity at a certain altitude to determine the working amplitude of the electroacoustic device of the terminal device.
405. And calculating to obtain an amplitude difference value according to the air pressure value of the current altitude, the atmospheric density, the sound velocity and the angular velocity.
406. And controlling the electroacoustic device to operate at the working amplitude which is less than or equal to the preset amplitude threshold value under the condition that the amplitude difference value is greater than the preset amplitude threshold value.
It should be noted that the steps 405 and 406 are similar to the steps 102 and 103 shown in fig. 1 in this embodiment, and are not described herein again.
In the embodiment of the invention, the terminal equipment acquires the atmospheric pressure value, the atmospheric density, the sound velocity and the angular velocity under a certain altitude from the pre-stored corresponding relation among the geographical position information, the altitude and the atmospheric pressure value corresponding to the altitude, and calculates to obtain the amplitude difference; and controlling the electroacoustic device to operate at the working amplitude which is less than or equal to the preset amplitude threshold value under the condition that the amplitude difference value is greater than the preset amplitude threshold value. Therefore, the terminal equipment can not only obtain the required parameters from the pre-stored corresponding relation, so that the obtaining time is saved, but also the problem that the electroacoustic device of the terminal equipment fails due to overlarge amplitude of the electroacoustic device can be avoided under low pressure, so that the electroacoustic device is effectively protected, and the service life of the electroacoustic device is prolonged.
It should be noted that the embodiments shown in fig. 1, fig. 2, and fig. 4 may be implemented in combination, and the obtained embodiments are also within the protection scope of the present invention, and are not described in detail herein.
As shown in fig. 5, which is a schematic diagram of an embodiment of a terminal device in the embodiment of the present invention, the schematic diagram may include:
an obtaining module 501, configured to obtain an air pressure value, an atmospheric density, a sound velocity, and an angular velocity of a current altitude;
a processing module 502, configured to calculate an amplitude difference according to the barometric pressure value at the current altitude, the atmospheric density, the sound velocity, and the angular velocity;
a processing module 502, configured to control the electroacoustic device to operate at an operating amplitude less than or equal to a preset amplitude threshold if the amplitude difference is greater than the preset amplitude threshold.
Alternatively, in some embodiments of the present invention,
an obtaining module 501, configured to calculate a sound intensity value according to the air pressure value of the current altitude, the standard atmospheric pressure value, the atmospheric density, and the sound velocity; and calculating to obtain an amplitude difference value according to the sound intensity value, the atmospheric density, the sound velocity and the angular velocity.
Alternatively, in some embodiments of the present invention,
an obtaining module 501, configured to calculate an air pressure difference according to a first formula; the first formula is: Δ P ═ P1-P2(ii) a Wherein, P1Is the standard atmospheric pressure value, P2Is the air pressure value of the current altitude, and Δ P represents the air pressure difference value; calculating to obtain a sound intensity value according to a second formula; the second formula is:wherein ρ represents the atmospheric density, c represents the sound velocity, and I represents the sound intensity value; calculating to obtain an amplitude difference value according to a third formula; the third formula is:where ω represents the angular velocity and Δ a represents the amplitude difference.
Alternatively, in some embodiments of the present invention,
an obtaining module 501, configured to calculate an air pressure difference according to the air pressure value of the current altitude and a standard atmospheric pressure value; and calculating to obtain an amplitude difference value according to the air pressure difference value, the atmospheric density, the sound velocity and the angular velocity.
Alternatively, in some embodiments of the present invention,
an obtaining module 501, configured to calculate a current amplitude value according to the barometric pressure value of the current altitude, the atmospheric density, the sound velocity, and the angular velocity; and calculating to obtain an amplitude difference value according to the current amplitude value and the amplitude value under the standard atmospheric pressure value.
Alternatively, in some embodiments of the present invention,
the processing module 502 is further configured to adjust the intensity of the signal to be input or the frequency to be cut off corresponding to the electroacoustic device according to the current amplitude difference between the amplitude difference and the preset amplitude threshold, so that the electroacoustic device operates at a working amplitude less than or equal to the preset amplitude threshold.
Alternatively, in some embodiments of the present invention,
the obtaining module 501 is further configured to acquire a continuous use duration that the amplitude difference of the electroacoustic device is greater than a preset amplitude difference;
the processing module 502 is further configured to generate and output a prompt message when the continuous use duration is greater than a preset use duration, where the prompt message is used to prompt that the electroacoustic device fails.
Fig. 6 is a schematic diagram of another embodiment of a terminal device in an embodiment of the present invention, and fig. 6 is a block diagram of a partial structure of a mobile phone related to the terminal device provided in the embodiment of the present invention. Referring to fig. 6, the handset includes: radio Frequency (RF) circuit 610, memory 620, input unit 630, display unit 640, sensor 650, audio circuit 660, wireless fidelity (WiFi) module 670, processor 680, and power supply 690. Those skilled in the art will appreciate that the handset configuration shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 6:
the RF circuit 610 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 680; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 610 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 610 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 620 may be used to store software programs and modules, and the processor 680 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 620. The memory 620 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 storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 620 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.
The input unit 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 630 may include a touch panel 631 and other input devices 632. The touch panel 631, also referred to as a touch screen, may collect touch operations of a user (e.g., operations of the user on the touch panel 631 or near the touch panel 631 by using any suitable object or accessory such as a finger or a stylus) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 631 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 680, and can receive and execute commands sent by the processor 680. In addition, the touch panel 631 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 630 may include other input devices 632 in addition to the touch panel 631. In particular, other input devices 632 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 640 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 640 may include a display panel 641, and optionally, the display panel 641 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 631 can cover the display panel 641, and when the touch panel 631 detects a touch operation thereon or nearby, the touch panel is transmitted to the processor 680 to determine the type of the touch event, and then the processor 680 provides a corresponding visual output on the display panel 641 according to the type of the touch event. Although in fig. 6, the touch panel 631 and the display panel 641 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 631 and the display panel 641 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 650, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 641 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 641 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 670, and provides wireless broadband Internet access for the user. Although fig. 6 shows the WiFi module 670, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 680 is a control center of the mobile phone, and connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 620 and calling data stored in the memory 620, thereby performing overall monitoring of the mobile phone. Optionally, processor 680 may include one or more processing units; preferably, the processor 680 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 680.
The handset also includes a power supply 690 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 680 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In this embodiment of the present invention, the processor 680 included in the terminal device further has the following functions:
acquiring an air pressure value, atmospheric density, sound velocity and angular velocity of the current altitude;
calculating to obtain an amplitude difference value according to the air pressure value of the current altitude, the atmospheric density, the sound velocity and the angular velocity;
and controlling the electroacoustic device to operate at an operating amplitude less than or equal to a preset amplitude threshold in the case that the amplitude difference is greater than the preset amplitude threshold.
Optionally, the processor 680 further has the following functions:
calculating to obtain a sound intensity value according to the air pressure value of the current altitude, the standard atmospheric pressure value, the atmospheric density and the sound velocity; and calculating to obtain an amplitude difference value according to the sound intensity value, the atmospheric density, the sound velocity and the angular velocity.
Optionally, the processor 680 further has the following functions:
calculating to obtain an air pressure difference value according to a first formula; the first formula is: Δ P ═ P1-P2(ii) a Wherein, P1Is the standard atmospheric pressure value, P2Is the air pressure value of the current altitude, and Δ P represents the air pressure difference value; calculating to obtain a sound intensity value according to a second formula; the second formula is:wherein ρ represents the atmospheric density, c represents the sound velocity, and I represents the sound intensity value; calculating to obtain an amplitude difference value according to a third formula; the third formula is:where ω represents the angular velocity and Δ a represents the amplitude difference.
Optionally, the processor 680 further has the following functions:
calculating to obtain an air pressure difference value according to the air pressure value of the current altitude and the standard atmospheric pressure value; and calculating to obtain an amplitude difference value according to the air pressure difference value, the atmospheric density, the sound velocity and the angular velocity.
Optionally, the processor 680 further has the following functions:
calculating to obtain a current amplitude value according to the air pressure value of the current altitude, the atmospheric density, the sound velocity and the angular velocity; and calculating to obtain an amplitude difference value according to the current amplitude value and the amplitude value under the standard atmospheric pressure value.
Optionally, the processor 680 further has the following functions:
and adjusting the intensity of the signal to be input or the frequency to be cut off corresponding to the electroacoustic device according to the current amplitude difference between the amplitude difference and the preset amplitude threshold value, so that the electroacoustic device operates at the working amplitude less than or equal to the preset amplitude threshold value.
Optionally, the processor 680 further has the following functions:
acquiring the continuous use time length of the electroacoustic device, wherein the amplitude difference value of the electroacoustic device is greater than the preset amplitude difference value;
and generating and outputting a prompt message under the condition that the continuous use time length is greater than the preset use time length, wherein the prompt message is used for prompting that the electroacoustic device fails.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (ssd)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
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 unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (8)
1. An amplitude adjustment method for an electroacoustic device, comprising:
acquiring an air pressure value, atmospheric density, sound velocity and angular velocity of the current altitude;
calculating to obtain an amplitude difference value according to the air pressure value of the current altitude, the atmospheric density, the sound velocity and the angular velocity; or, calculating to obtain a sound intensity value according to the air pressure value of the current altitude, the standard atmospheric pressure value, the atmospheric density and the sound velocity; calculating to obtain an amplitude difference value according to the sound intensity value, the atmospheric density, the sound velocity and the angular velocity;
under the condition that the amplitude difference value is larger than a preset amplitude threshold value, controlling the electroacoustic device to operate at a working amplitude smaller than or equal to the preset amplitude threshold value;
wherein, the calculating according to the barometric pressure value of the current altitude, the standard barometric pressure value, the atmospheric density and the sound velocity to obtain the sound intensity value comprises:
calculating to obtain an air pressure difference value according to a first formula;
the first formula is: Δ P = P1-P2;
wherein P1 is the standard barometric pressure value, P2 is the barometric pressure value for the current altitude, Δ P represents the barometric pressure difference;
calculating to obtain a sound intensity value according to a second formula;
wherein ρ represents the atmospheric density, c represents the sound velocity, and I represents the sound intensity value;
calculating to obtain an amplitude difference value according to the sound intensity value, the atmospheric density, the sound velocity and the angular velocity, wherein the amplitude difference value comprises:
calculating to obtain an amplitude difference value according to a third formula;
where ω represents the angular velocity and Δ a represents the amplitude difference.
2. The method of claim 1, wherein said calculating an amplitude difference from said barometric pressure value for said current altitude, said barometric density, said speed of sound, and said angular velocity comprises:
calculating to obtain an air pressure difference value according to the air pressure value of the current altitude and a standard atmospheric pressure value;
and calculating to obtain an amplitude difference value according to the air pressure difference value, the atmospheric density, the sound velocity and the angular velocity.
3. The method of claim 1, wherein said calculating an amplitude difference from said barometric pressure value for said current altitude, said barometric density, said speed of sound, and said angular velocity comprises:
calculating to obtain a current amplitude value according to the air pressure value of the current altitude, the atmospheric density, the sound velocity and the angular velocity;
and calculating to obtain an amplitude difference value according to the current amplitude value and the amplitude value under the standard atmospheric pressure value.
4. The method of claim 1, wherein said controlling said electroacoustic device to operate at an operating amplitude less than or equal to said preset amplitude threshold comprises:
and adjusting the intensity of the signal to be input or the frequency to be cut off corresponding to the electroacoustic device according to the current amplitude difference between the amplitude difference and the preset amplitude threshold value, so that the electroacoustic device operates at the working amplitude which is less than or equal to the preset amplitude threshold value.
5. The method of claim 1, wherein after said calculating yields an amplitude difference value, the method further comprises:
acquiring the continuous use time length of the electroacoustic device, wherein the amplitude difference value of the electroacoustic device is greater than the preset amplitude difference value;
and generating and outputting a prompt message under the condition that the continuous use time length is longer than the preset use time length, wherein the prompt message is used for prompting that the electroacoustic device fails.
6. A terminal device, characterized in that the terminal device comprises an electroacoustic device, comprising:
the acquisition module is used for acquiring an air pressure value, atmospheric density, sound velocity and angular velocity of the current altitude;
the processing module is used for calculating to obtain an amplitude difference value according to the air pressure value of the current altitude, the atmospheric density, the sound velocity and the angular velocity; or, calculating to obtain a sound intensity value according to the air pressure value of the current altitude, the standard atmospheric pressure value, the atmospheric density and the sound velocity; calculating to obtain an amplitude difference value according to the sound intensity value, the atmospheric density, the sound velocity and the angular velocity;
the processing module is used for controlling the electroacoustic device to operate at a working amplitude less than or equal to a preset amplitude threshold value under the condition that the amplitude difference value is greater than the preset amplitude threshold value;
the processing module is specifically used for calculating to obtain an air pressure difference value according to a first formula; the first formula is: Δ P = P1-P2; wherein P1 is the standard barometric pressure value, P2 is the barometric pressure value for the current altitude, Δ P represents the barometric pressure difference; calculating to obtain a sound intensity value according to a second formula; the second formula is:(ii) a Wherein ρ represents the atmospheric density, c represents the sound velocity, and I represents the sound intensity value; calculating to obtain an amplitude difference value according to a third formula; the third formula is:(ii) a Where ω represents the angular velocity and Δ a represents the amplitude difference.
7. A terminal device, characterized in that the terminal device comprises an electroacoustic device, comprising:
a memory storing executable program code;
and a processor coupled to the memory;
the processor calls the executable program code stored in the memory for performing the method of any of claims 1-5.
8. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011200676.7A CN112235700B (en) | 2020-10-30 | 2020-10-30 | Amplitude adjustment method for electroacoustic device, terminal device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011200676.7A CN112235700B (en) | 2020-10-30 | 2020-10-30 | Amplitude adjustment method for electroacoustic device, terminal device and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112235700A CN112235700A (en) | 2021-01-15 |
CN112235700B true CN112235700B (en) | 2022-05-17 |
Family
ID=74123036
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011200676.7A Active CN112235700B (en) | 2020-10-30 | 2020-10-30 | Amplitude adjustment method for electroacoustic device, terminal device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112235700B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113132850B (en) * | 2021-04-28 | 2023-05-26 | Oppo广东移动通信有限公司 | Speaker parameter configuration method and related device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108040316A (en) * | 2017-11-24 | 2018-05-15 | 维沃移动通信有限公司 | A kind of amplitude detection method and mobile terminal |
CN109168108A (en) * | 2018-10-24 | 2019-01-08 | 维沃移动通信有限公司 | Electro-acoustic element amplitude method of adjustment, device and mobile terminal |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017179219A1 (en) * | 2016-04-12 | 2017-10-19 | 株式会社 Trigence Semiconductor | Speaker drive device, speaker device, and program |
CN108563387A (en) * | 2018-04-13 | 2018-09-21 | Oppo广东移动通信有限公司 | Display control method and device, terminal, computer readable storage medium |
CN108430004B (en) * | 2018-04-16 | 2020-09-25 | 维沃移动通信有限公司 | Loudspeaker amplitude adjusting device, adjusting method and mobile terminal |
CN109040360B (en) * | 2018-07-27 | 2020-08-21 | 维沃移动通信有限公司 | Geographic information acquisition method and mobile terminal |
CN109547894B (en) * | 2018-10-24 | 2021-06-29 | 维沃移动通信有限公司 | Amplitude adjustment method and device for electroacoustic device and mobile terminal |
-
2020
- 2020-10-30 CN CN202011200676.7A patent/CN112235700B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108040316A (en) * | 2017-11-24 | 2018-05-15 | 维沃移动通信有限公司 | A kind of amplitude detection method and mobile terminal |
CN109168108A (en) * | 2018-10-24 | 2019-01-08 | 维沃移动通信有限公司 | Electro-acoustic element amplitude method of adjustment, device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN112235700A (en) | 2021-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106911848B (en) | Method for outputting prompt message and terminal equipment | |
CN106487984B (en) | A kind of method and apparatus adjusting volume | |
CN106506437B (en) | Audio data processing method and device | |
CN109168108B (en) | Amplitude adjusting method and device for electroacoustic device and mobile terminal | |
CN108681413B (en) | Control method of display module and mobile terminal | |
CN106445457A (en) | Headphone sound channel switching method and device | |
CN108834013B (en) | Wearable equipment electric quantity balancing method and related product | |
CN108882084B (en) | Wearable equipment electric quantity balancing method and related product | |
JP7274036B2 (en) | Uplink transmission discard method, uplink transmission discard configuration method and related equipment | |
CN107977276A (en) | A kind of based reminding method of Changes in weather, device and mobile terminal | |
CN107786751A (en) | A kind of method for broadcasting multimedia file and mobile terminal | |
CN103647868B (en) | Reduce the method and apparatus that the tinkle of bells is bothered | |
CN110234068B (en) | Positioning method and terminal equipment | |
CN110022405B (en) | Radio frequency parameter adjusting method, device and storage medium | |
CN106161800A (en) | Incoming call reminding method and device and mobile communication terminal | |
CN112235700B (en) | Amplitude adjustment method for electroacoustic device, terminal device and readable storage medium | |
CN109062533B (en) | Sound production control method, sound production control device, electronic device, and storage medium | |
CN109041190B (en) | Power control method and terminal | |
CN108650041B (en) | Signal quality display method and mobile terminal | |
KR20190117753A (en) | Message notification method and terminal | |
CN114520672A (en) | Power calibration method for maximum power fluctuation, terminal device and storage medium | |
CN112414370A (en) | Building floor positioning method, electronic device and computer storage medium | |
CN106817324B (en) | Frequency response correction method and device | |
CN106713668B (en) | Method and device for controlling vibration of terminal | |
CN105159655B (en) | Behavior event playing method and device |
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 |