CN103929692B - Audio information processing method and electronic equipment - Google Patents
Audio information processing method and electronic equipment Download PDFInfo
- Publication number
- CN103929692B CN103929692B CN201410111922.XA CN201410111922A CN103929692B CN 103929692 B CN103929692 B CN 103929692B CN 201410111922 A CN201410111922 A CN 201410111922A CN 103929692 B CN103929692 B CN 103929692B
- Authority
- CN
- China
- Prior art keywords
- output unit
- audio output
- audio
- displacement
- parameter
- 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
Landscapes
- Circuit For Audible Band Transducer (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses an audio information processing method and electronic equipment, wherein the method comprises the following steps: acquiring at least one hardware parameter of an audio output unit; determining a group of audio playing parameters based on the at least one hardware parameter according to a preset rule, wherein the audio playing parameters are matched with the hardware parameters of the audio output unit; acquiring a first instruction, and determining a first multimedia file according to the first instruction; and controlling the audio output unit to play the first multimedia file according to the audio playing parameter. The invention can ensure that the audio output unit can be kept in the optimal playing state.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to an audio information processing method and an electronic device.
Background
More and more users are focusing on the listening experience when using electronic devices. However, when the loudspeaker of the smart phone plays the audio to the maximum, the multimedia file may break the audio; or when the playing sound is always kept too loud, the temperature of the loudspeaker can be increased, so that parts on the loudspeaker are loosened, and the working quality of the loudspeaker is affected. Therefore, in the prior art, the volume and the tone quality of the audio output unit of the electronic equipment cannot be ensured.
Disclosure of Invention
In view of the above, an object of the present invention is to provide an audio information processing method and an electronic device, which can ensure that an audio output unit can be maintained in an optimal playing state.
The invention provides an audio information processing method, which is applied to electronic equipment with an audio output unit and comprises the following steps:
acquiring at least one hardware parameter of an audio output unit;
determining an audio playing parameter based on the at least one hardware parameter according to a preset rule, wherein the audio playing parameter is matched with the hardware parameter of the audio output unit;
acquiring a first instruction, and determining a first multimedia file according to the first instruction;
and controlling the audio output unit to play the first multimedia file according to the audio playing parameter.
In the above scheme, the audio playing parameter represents a corresponding relationship between a diaphragm displacement amount and a temperature of a speaker of the audio output unit;
the hardware parameters comprise: the maximum displacement of a diaphragm of a loudspeaker of the electronic equipment audio output unit, and/or the maximum power, and/or a curve corresponding to the power and the temperature.
In the foregoing solution, when the audio output unit is controlled to play the first multimedia file according to the audio playing parameter, the method further includes:
acquiring a first diaphragm displacement of the loudspeaker, and determining a first temperature corresponding to the loudspeaker of the audio output unit according to the first diaphragm displacement and the audio playing parameter;
and when the first temperature is higher than a preset threshold value, adjusting the output power of the audio output unit to reduce the output power of the audio output unit by a preset value.
In the above scheme, the method further comprises: acquiring a first diaphragm displacement of the loudspeaker, and judging whether the first diaphragm displacement is greater than a preset displacement threshold value; and when the displacement is larger than the displacement threshold, adjusting the output power of the audio output unit to reduce the output power of the audio output unit by a preset value.
In the above scheme, the method further comprises: presetting one or more groups of equalizer parameters; and when the first operation of the selected equalizer parameter is obtained, adjusting the output power of the corresponding frequency band according to the selected equalizer parameter.
The present invention also provides an electronic device, including:
the parameter generating unit is used for acquiring at least one hardware parameter of the audio output unit; determining an audio playing parameter based on the at least one hardware parameter according to a preset rule, wherein the audio playing parameter is matched with the hardware parameter of the audio output unit;
the information processing unit is used for acquiring a first instruction and determining a first multimedia file according to the first instruction;
and the audio output unit is used for controlling the audio output unit to play the first multimedia file according to the audio playing parameter.
In the above scheme, the audio playing parameter represents a corresponding relationship between a diaphragm displacement amount and a temperature of a speaker of the audio output unit;
the hardware parameters comprise: the maximum displacement of a diaphragm of a loudspeaker of the electronic equipment audio output unit, and/or the maximum power, and/or a curve corresponding to the power and the temperature.
In the above solution, the electronic device further includes: the first detection unit is used for acquiring a first diaphragm displacement of the loudspeaker of the audio output unit; determining a first temperature corresponding to a loudspeaker of the audio output unit according to the first diaphragm displacement and the audio playing parameter; and when the first temperature is higher than a preset threshold value, adjusting the output power of the audio output unit to reduce the output power of the audio output unit by a preset value.
In the above solution, the electronic device further includes: the second detection unit is used for acquiring the first diaphragm displacement of the loudspeaker of the audio output unit; judging whether the displacement of the first diaphragm is larger than a preset displacement threshold value or not; and when the displacement is larger than the displacement threshold, adjusting the output power of the audio output unit to reduce the output power of the audio output unit by a preset value.
In the above solution, the electronic device further includes: the parameter storage unit is used for storing one or more preset equalizer parameters; correspondingly, the information processing unit is further configured to adjust the output power of the frequency band corresponding to the audio output unit according to the selected equalizer parameter.
The audio information processing method and the electronic equipment provided by the invention can control the audio output unit to play files through the audio playing parameters, and monitor the power and the temperature of the audio output unit when playing audio, thereby ensuring that the audio output unit can be kept in the optimal playing state, and ensuring the volume and the tone quality of the audio output unit of the electronic equipment.
Drawings
FIG. 1 is a first flowchart illustrating an audio information processing method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second exemplary embodiment of an audio information processing method;
FIG. 3 is a third flowchart illustrating an audio information processing method according to an embodiment of the invention;
FIG. 4 is a fourth flowchart illustrating an audio information processing method according to an embodiment of the present invention;
FIG. 5 is a first schematic view of an electronic device according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a second exemplary embodiment of an electronic device;
FIG. 7 is a third schematic view of a component structure of an electronic device according to an embodiment of the present invention;
fig. 8 is a schematic view of a composition structure of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The first embodiment,
The audio information processing method provided by the embodiment of the invention is applied to electronic equipment with an audio output unit, for example, the electronic equipment can be a desktop computer, a notebook computer, a smart phone, a tablet computer and the like; as shown in fig. 1, includes:
step 101: acquiring at least one hardware parameter of an audio output unit;
step 102: determining an audio playing parameter based on the at least one hardware parameter according to a preset rule, wherein the audio playing parameter is matched with the hardware parameter of the audio output unit;
step 103: acquiring a first instruction, and determining a first multimedia file according to the first instruction;
step 104: and controlling the audio output unit to play the first multimedia file according to the audio playing parameter.
Here, the audio playing parameter represents a corresponding relationship between a diaphragm displacement amount and a temperature of a speaker of the audio output unit; the hardware parameters comprise: the maximum displacement of a diaphragm of a loudspeaker of the electronic equipment audio output unit, and/or the maximum power, and/or a curve corresponding to the power and the temperature.
The maximum displacement of the diaphragm of the loudspeaker may be a parameter detected therefrom.
The audio playing parameter can be calculated according to a hardware parameter to obtain a change corresponding relation between the displacement of the diaphragm and the temperature; for example, the displacement of the diaphragm of the speaker and the output power of the speaker are linearly corresponding, so that the curve of the power corresponding to the temperature can be converted into a corresponding curve of the power corresponding to the temperature.
Therefore, by adopting the scheme, the audio output unit can be controlled to play files through the audio playing parameters, and the power and the temperature of the audio output unit during audio playing are monitored, so that the audio output unit can be kept in the optimal playing state, and the volume and the tone quality of the audio output unit of the electronic equipment are guaranteed.
Example II,
The audio information processing method provided by the embodiment of the invention is applied to electronic equipment with an audio output unit, for example, the electronic equipment can be a desktop computer, a notebook computer, a smart phone, a tablet computer and the like; as shown in fig. 2, includes:
step 201: acquiring at least one hardware parameter of an audio output unit;
step 202: determining an audio playing parameter based on the at least one hardware parameter according to a preset rule, wherein the audio playing parameter is matched with the hardware parameter of the audio output unit;
step 203: acquiring a first instruction, and determining a first multimedia file according to the first instruction;
step 204: controlling the audio output unit to play the first multimedia file according to the audio playing parameter;
step 205: acquiring a first diaphragm displacement of the loudspeaker, and determining a first temperature corresponding to the loudspeaker of the audio output unit according to the first diaphragm displacement and the audio playing parameter;
step 206: and when the first temperature is higher than a preset threshold value, adjusting the output power of the audio output unit to reduce the output power of the audio output unit by a preset value.
Here, the audio playing parameter represents a corresponding relationship between a diaphragm displacement amount and a temperature of a speaker of the audio output unit; the hardware parameters comprise: the maximum displacement of a diaphragm of a loudspeaker of the electronic equipment audio output unit, and/or the maximum power, and/or a curve corresponding to the power and the temperature.
The maximum displacement of the diaphragm of the loudspeaker may be a parameter detected therefrom.
The audio playing parameter can be calculated according to a hardware parameter to obtain a change corresponding relation between the displacement of the diaphragm and the temperature; for example, the displacement of the diaphragm of the speaker and the output power of the speaker are linearly corresponding, so that the curve of the power corresponding to the temperature can be converted into a corresponding curve of the power corresponding to the temperature.
Preferably, the step 205 may be executed at the same time as the step 204 is executed;
in addition, the steps 205 to 206 may be executed in a loop, that is, the step of obtaining the displacement of the first diaphragm of the loudspeaker is executed in real time or periodically while the step 204 is executed.
Wherein the preset threshold may be 95% of the maximum temperature, for example, 80 degrees, and the threshold may be set to 76 degrees.
For example, when the preset value is 10dB, the step may be to automatically reduce the power of the audio output unit by 10dB, so as to slowly reduce the temperature of the speaker, thereby ensuring the playing quality of the speaker.
Therefore, by adopting the scheme, the audio output unit can be controlled to play files through the audio playing parameters, and the power and the temperature of the audio output unit during audio playing are monitored, so that the audio output unit can be kept in the optimal playing state, and the volume and the tone quality of the audio output unit of the electronic equipment are guaranteed.
Example III,
The audio information processing method provided by the embodiment of the invention is applied to electronic equipment with an audio output unit, for example, the electronic equipment can be a desktop computer, a notebook computer, a smart phone, a tablet computer and the like; as shown in fig. 3, includes:
step 301: acquiring at least one hardware parameter of an audio output unit;
step 302: determining an audio playing parameter based on the at least one hardware parameter according to a preset rule, wherein the audio playing parameter is matched with the hardware parameter of the audio output unit;
step 303: acquiring a first instruction, and determining a first multimedia file according to the first instruction;
step 304: controlling the audio output unit to play the first multimedia file according to the audio playing parameter;
step 305: acquiring a first diaphragm displacement of the loudspeaker, and judging whether the first diaphragm displacement is greater than a preset displacement threshold value;
step 306: and when the displacement is larger than the displacement threshold, adjusting the output power of the audio output unit to reduce the output power of the audio output unit by a preset value.
Here, the audio playing parameter represents a corresponding relationship between a diaphragm displacement amount and a temperature of a speaker of the audio output unit; the hardware parameters comprise: the maximum displacement of a diaphragm of a loudspeaker of the electronic equipment audio output unit, and/or the maximum power, and/or a curve corresponding to the power and the temperature.
The maximum displacement of the diaphragm of the loudspeaker may be a parameter detected therefrom.
The audio playing parameter can be calculated according to a hardware parameter to obtain a change corresponding relation between the displacement of the diaphragm and the temperature; for example, the displacement of the diaphragm of the speaker and the output power of the speaker are linearly corresponding, so that the curve of the power corresponding to the temperature can be converted into a corresponding curve of the power corresponding to the temperature.
Preferably, the step 305 may be performed at the same time as the step 304 is performed;
in addition, the steps 305 to 306 may be executed in a loop, that is, the step of obtaining the displacement of the first diaphragm of the loudspeaker is executed in real time or periodically while the step 304 is executed.
The displacement threshold may be a maximum displacement value of the speaker, for example, when the displacement amount of the first diaphragm reaches the maximum displacement value, that is, the displacement amount of the first diaphragm reaches a preset displacement threshold.
For example, when the preset value is 10dB, the step may be to automatically reduce the power of the audio output unit by 10dB, so as to slowly reduce the temperature of the speaker, thereby ensuring the playing quality of the speaker.
Preferably, this embodiment may further include the following steps:
step 307: determining a first temperature corresponding to a loudspeaker of the audio output unit according to the first diaphragm displacement and the audio playing parameter;
step 308: and when the first temperature is higher than a preset threshold value, adjusting the output power of the audio output unit to reduce the output power of the audio output unit by a preset value.
The above steps 307 and 308 may be executed simultaneously with the steps 305 to 306, that is, while detecting whether the first diaphragm displacement is greater than the preset displacement threshold, the current temperature of the audio output unit is determined according to the first diaphragm displacement and the audio playing parameter, and then, whether the temperature of the audio output unit is higher than the preset threshold is determined, and once it is determined that any one of the first diaphragm displacement or the temperature is higher than the preset threshold, the output power of the audio output unit is adjusted.
Therefore, by adopting the scheme, the audio output unit can be controlled to play files through the audio playing parameters, and the power and the temperature of the audio output unit during audio playing are monitored, so that the audio output unit can be kept in the optimal playing state, and the volume and the tone quality of the audio output unit of the electronic equipment are guaranteed.
Example four,
The audio information processing method provided by the embodiment of the invention is applied to electronic equipment with an audio output unit, for example, the electronic equipment can be a desktop computer, a notebook computer, a smart phone, a tablet computer and the like; as shown in fig. 4, includes:
step 401: presetting one or more groups of equalizer parameters;
step 402: acquiring at least one hardware parameter of an audio output unit;
step 403: determining an audio playing parameter based on the at least one hardware parameter according to a preset rule, wherein the audio playing parameter is matched with the hardware parameter of the audio output unit;
step 404: adjusting the output power of the corresponding frequency band according to the selected equalizer parameter;
step 405: acquiring a first instruction, and determining a first multimedia file according to the first instruction;
step 406: controlling the audio output unit to play the first multimedia file according to the audio playing parameter;
step 407: acquiring a first diaphragm displacement of the loudspeaker, and determining a first temperature corresponding to the loudspeaker of the audio output unit according to the first diaphragm displacement and the audio playing parameter;
step 408: and when the first temperature is higher than a preset threshold value, adjusting the output power of the audio output unit to reduce the output power of the audio output unit by a preset value.
Here, the audio playing parameter represents a corresponding relationship between a diaphragm displacement amount and a temperature of a speaker of the audio output unit; the hardware parameters comprise: the maximum displacement of a diaphragm of a loudspeaker of the electronic equipment audio output unit, and/or the maximum power, and/or a curve corresponding to the power and the temperature.
The maximum displacement of the diaphragm of the loudspeaker may be a parameter detected therefrom.
The audio playing parameter can be calculated according to a hardware parameter to obtain a change corresponding relation between the displacement of the diaphragm and the temperature; for example, the displacement of the diaphragm of the speaker and the output power of the speaker are linearly corresponding, so that the curve of the power corresponding to the temperature can be converted into a corresponding curve of the power corresponding to the temperature.
Preferably, the step 407 may be performed simultaneously with the step 406;
in addition, the steps 407 to 408 may be executed in a loop, that is, the step of obtaining the displacement of the first diaphragm of the loudspeaker is executed in real time or periodically while the step 406 is executed.
For example, when the preset value is 10dB, the step may be to automatically reduce the power of the audio output unit by 10dB, so as to slowly reduce the temperature of the speaker, thereby ensuring the playing quality of the speaker.
Therefore, by adopting the scheme, the audio output unit can be controlled to play files through the audio playing parameters, and the power and the temperature of the audio output unit during audio playing are monitored, so that the audio output unit can be kept in the optimal playing state, and the volume and the tone quality of the audio output unit of the electronic equipment are guaranteed.
Example V,
According to the electronic equipment provided by the embodiment of the invention, the electronic equipment can be a desktop computer, a notebook computer, a smart phone, a tablet computer and the like; as shown in fig. 5, includes:
a parameter generating unit 51 for acquiring at least one hardware parameter of the audio output unit; determining an audio playing parameter based on the at least one hardware parameter according to a preset rule, wherein the audio playing parameter is matched with the hardware parameter of the audio output unit;
an information processing unit 52, configured to obtain a first instruction, and determine a first multimedia file according to the first instruction;
and the audio output unit 53 is configured to control the audio output unit to play the first multimedia file according to the audio playing parameter.
Here, the audio playing parameter represents a corresponding relationship between a diaphragm displacement amount and a temperature of a speaker of the audio output unit; the hardware parameters comprise: the maximum displacement of a diaphragm of a loudspeaker of the electronic equipment audio output unit, and/or the maximum power, and/or a curve corresponding to the power and the temperature.
The maximum displacement of the diaphragm of the loudspeaker may be a parameter detected therefrom.
The audio playing parameter can be calculated according to a hardware parameter to obtain a change corresponding relation between the displacement of the diaphragm and the temperature; for example, the displacement of the diaphragm of the speaker and the output power of the speaker are linearly corresponding, so that the curve of the power corresponding to the temperature can be converted into a corresponding curve of the power corresponding to the temperature.
Therefore, by adopting the scheme, the audio output unit can be controlled to play files through the audio playing parameters, and the power and the temperature of the audio output unit during audio playing are monitored, so that the audio output unit can be kept in the optimal playing state, and the volume and the tone quality of the audio output unit of the electronic equipment are guaranteed.
Example six,
The electronic equipment provided by the embodiment of the invention can be a desktop computer, a notebook computer, a smart phone, a tablet computer and the like; as shown in fig. 6, includes:
a parameter generating unit 61 for acquiring at least one hardware parameter of the audio output unit; determining an audio playing parameter based on the at least one hardware parameter according to a preset rule, wherein the audio playing parameter is matched with the hardware parameter of the audio output unit;
the information processing unit 62 is configured to obtain a first instruction, and determine a first multimedia file according to the first instruction;
and the audio output unit 63 is configured to control the audio output unit to play the first multimedia file according to the audio playing parameter.
The electronic device further includes: a first detection unit 64 for acquiring a first diaphragm displacement amount of the speaker of the audio output unit 63; determining a first temperature corresponding to a loudspeaker of the audio output unit according to the first diaphragm displacement and the audio playing parameter; when the first temperature is higher than a preset threshold value, the output power of the audio output unit is adjusted to reduce the output power of the audio output unit 63 by a predetermined value.
Here, the audio playing parameter represents a corresponding relationship between a diaphragm displacement amount and a temperature of a speaker of the audio output unit; the hardware parameters comprise: the maximum displacement of a diaphragm of a loudspeaker of the electronic equipment audio output unit, and/or the maximum power, and/or a curve corresponding to the power and the temperature.
The maximum displacement of the diaphragm of the loudspeaker may be a parameter detected therefrom.
The audio playing parameter can be calculated according to a hardware parameter to obtain a change corresponding relation between the displacement of the diaphragm and the temperature; for example, the displacement of the diaphragm of the speaker and the output power of the speaker are linearly corresponding, so that the curve of the power corresponding to the temperature can be converted into a corresponding curve of the power corresponding to the temperature.
Preferably, the first detecting unit 64 obtains the first diaphragm displacement amount of the speaker of the audio output unit 63 when the audio output unit 63 outputs the first multimedia file.
In addition, the first detection unit 64 may perform the operation of acquiring the first diaphragm displacement amount of the speaker in real time or periodically.
Wherein the preset threshold may be 95% of the maximum temperature, for example, 80 degrees, and the threshold may be set to 76 degrees.
For example, when the preset value is 10dB, the step may be to automatically reduce the power of the audio output unit by 10dB, so as to slowly reduce the temperature of the speaker, thereby ensuring the playing quality of the speaker.
Therefore, by adopting the scheme, the audio output unit can be controlled to play files through the audio playing parameters, and the power and the temperature of the audio output unit during audio playing are monitored, so that the audio output unit can be kept in the optimal playing state, and the volume and the tone quality of the audio output unit of the electronic equipment are guaranteed.
Example seven,
The electronic equipment provided by the embodiment of the invention can be a desktop computer, a notebook computer, a smart phone, a tablet computer and the like; as shown in fig. 7, includes:
a parameter generating unit 71, configured to obtain at least one hardware parameter of the audio output unit; determining an audio playing parameter based on the at least one hardware parameter according to a preset rule, wherein the audio playing parameter is matched with the hardware parameter of the audio output unit;
an information processing unit 72, configured to obtain a first instruction, and determine a first multimedia file according to the first instruction;
and the audio output unit 73 is configured to control the audio output unit to play the first multimedia file according to the audio playing parameter.
The electronic device further includes: a second detecting unit 74, configured to obtain a first diaphragm displacement amount of the speaker of the audio output unit 73; judging whether the displacement of the first diaphragm is larger than a preset displacement threshold value or not; and when the displacement is larger than the displacement threshold, adjusting the output power of the audio output unit to reduce the output power of the audio output unit by a preset value.
Here, the audio playing parameter represents a corresponding relationship between a diaphragm displacement amount and a temperature of a speaker of the audio output unit; the hardware parameters comprise: the maximum displacement of a diaphragm of a loudspeaker of the electronic equipment audio output unit, and/or the maximum power, and/or a curve corresponding to the power and the temperature.
The maximum displacement of the diaphragm of the loudspeaker may be a parameter detected therefrom.
The audio playing parameter can be calculated according to a hardware parameter to obtain a change corresponding relation between the displacement of the diaphragm and the temperature; for example, the displacement of the diaphragm of the speaker and the output power of the speaker are linearly corresponding, so that the curve of the power corresponding to the temperature can be converted into a corresponding curve of the power corresponding to the temperature.
Preferably, the second detecting unit 74 obtains the first diaphragm displacement amount of the speaker of the audio output unit 73 when the audio output unit 73 outputs the first multimedia file.
In addition, the second detecting unit 74 may perform the operation of acquiring the displacement amount of the first diaphragm of the speaker in real time or periodically.
The displacement threshold may be a maximum displacement value of the speaker, for example, when the displacement amount of the first diaphragm reaches the maximum displacement value, that is, the displacement amount of the first diaphragm reaches a preset displacement threshold.
For example, when the preset value is 10dB, the step may be to automatically reduce the power of the audio output unit by 10dB, so as to slowly reduce the temperature of the speaker, thereby ensuring the playing quality of the speaker.
Preferably, the electronic device may further include: a first detecting unit 75, configured to determine a first temperature corresponding to a speaker of the audio output unit according to the first diaphragm displacement and the audio playing parameter; and when the first temperature is higher than a preset threshold value, adjusting the output power of the audio output unit to reduce the output power of the audio output unit by a preset value.
The first detection unit 75 may operate simultaneously with the second detection unit 74, that is, while detecting whether the first diaphragm displacement is greater than the preset displacement threshold, the temperature of the current audio output unit is determined according to the first diaphragm displacement and the audio playing parameter, and then, whether the temperature of the audio output unit is greater than the preset threshold is determined, and once it is determined that any one of the first diaphragm displacement or the temperature is greater than the preset threshold, the output power of the audio output unit is adjusted.
Therefore, by adopting the scheme, the audio output unit can be controlled to play files through the audio playing parameters, and the power and the temperature of the audio output unit during audio playing are monitored, so that the audio output unit can be kept in the optimal playing state, and the volume and the tone quality of the audio output unit of the electronic equipment are guaranteed.
Example eight,
The electronic equipment provided by the embodiment of the invention can be a desktop computer, a notebook computer, a smart phone, a tablet computer and the like; as shown in fig. 8, includes:
a parameter generating unit 81 for acquiring at least one hardware parameter of the audio output unit; determining an audio playing parameter based on the at least one hardware parameter according to a preset rule, wherein the audio playing parameter is matched with the hardware parameter of the audio output unit;
the information processing unit 82 is configured to obtain a first instruction, and determine a first multimedia file according to the first instruction;
and the audio output unit 83 is configured to control the audio output unit to play the first multimedia file according to the audio playing parameter.
The electronic device further includes: the first detection unit 84 is configured to obtain a first diaphragm displacement amount of the speaker, and determine a first temperature corresponding to the speaker of the audio output unit according to the first diaphragm displacement amount and the audio playing parameter; and when the first temperature is higher than a preset threshold value, adjusting the output power of the audio output unit to reduce the output power of the audio output unit by a preset value.
The electronic device further includes: a parameter storage unit 85, configured to store one or more preset equalizer parameters; correspondingly, the information processing unit 82 is further configured to, when the first operation of obtaining the selected equalizer parameter is performed, adjust the output power of the frequency band corresponding to the audio output unit 83 according to the selected equalizer parameter.
The audio playing parameters represent the corresponding relation between the diaphragm displacement and the temperature of the loudspeaker of the audio output unit; the hardware parameters comprise: the maximum displacement of a diaphragm of a loudspeaker of the electronic equipment audio output unit, and/or the maximum power, and/or a curve corresponding to the power and the temperature.
The maximum displacement of the diaphragm of the loudspeaker may be a parameter detected therefrom.
The audio playing parameter can be calculated according to a hardware parameter to obtain a change corresponding relation between the displacement of the diaphragm and the temperature; for example, the displacement of the diaphragm of the speaker and the output power of the speaker are linearly corresponding, so that the curve of the power corresponding to the temperature can be converted into a corresponding curve of the power corresponding to the temperature.
Preferably, the first detection unit 84 described above may operate while the audio output unit 83 outputs the first multimedia file; in addition, the first detecting unit 84 may perform the step of obtaining the displacement of the first diaphragm of the loudspeaker in real time or periodically.
For example, when the preset value is 10dB, the step may be to automatically reduce the power of the audio output unit by 10dB, so as to slowly reduce the temperature of the speaker, thereby ensuring the playing quality of the speaker.
Preferably, the electronic device in this embodiment may further include a second detection unit for adjusting the output power of the audio output unit according to the displacement amount.
Therefore, by adopting the scheme, the audio output unit can be controlled to play files through the audio playing parameters, and the power and the temperature of the audio output unit during audio playing are monitored, so that the audio output unit can be kept in the optimal playing state, and the volume and the tone quality of the audio output unit of the electronic equipment are guaranteed.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
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, that is, 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, all the functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (10)
1. An audio information processing method applied to an electronic device provided with an audio output unit, the method comprising:
acquiring at least one hardware parameter of an audio output unit;
determining an audio playing parameter based on the at least one hardware parameter according to a preset rule, wherein the audio playing parameter represents a corresponding relation between a diaphragm displacement and temperature of a loudspeaker of the audio output unit;
acquiring a first instruction, and determining a first multimedia file according to the first instruction;
and controlling the audio output unit to play the first multimedia file according to the audio playing parameter.
2. The method of claim 1, wherein the hardware parameters comprise: the maximum displacement of a diaphragm of a loudspeaker of the electronic equipment audio output unit, and/or the maximum power, and/or the corresponding relation between the power and the temperature.
3. The method according to claim 1, wherein when controlling the audio output unit to play the first multimedia file according to the audio playing parameter, the method further comprises:
acquiring a first diaphragm displacement of a loudspeaker, and determining a first temperature corresponding to the loudspeaker of the audio output unit according to the first diaphragm displacement and the audio playing parameter;
and when the first temperature is higher than a preset threshold value, adjusting the output power of the audio output unit to reduce the output power of the audio output unit by a preset value.
4. The method of claim 1, further comprising:
acquiring a first diaphragm displacement of a loudspeaker, and judging whether the first diaphragm displacement is greater than a preset displacement threshold value;
and when the displacement is larger than the displacement threshold, adjusting the output power of the audio output unit to reduce the output power of the audio output unit by a preset value.
5. The method according to any one of claims 1-4, further comprising:
presetting one or more groups of equalizer parameters;
and adjusting the output power of the corresponding frequency band according to the selected equalizer parameter.
6. An electronic device, the electronic device comprising:
the parameter generating unit is used for acquiring at least one hardware parameter of the audio output unit; determining an audio playing parameter based on the at least one hardware parameter according to a preset rule, wherein the audio playing parameter represents a corresponding relation between a diaphragm displacement and temperature of a loudspeaker of the audio output unit;
the information processing unit is used for acquiring a first instruction and determining a first multimedia file according to the first instruction;
and the audio output unit is used for controlling the audio output unit to play the first multimedia file according to the audio playing parameter.
7. The electronic device of claim 6, wherein the hardware parameters comprise: the maximum displacement of a diaphragm of a loudspeaker of the electronic equipment audio output unit, and/or the maximum power, and/or the corresponding relation between the power and the temperature.
8. The electronic device of claim 6, further comprising:
the first detection unit is used for acquiring a first diaphragm displacement of a loudspeaker of the audio output unit; determining a first temperature corresponding to a loudspeaker of the audio output unit according to the first diaphragm displacement and the audio playing parameter; and when the first temperature is higher than a preset threshold value, adjusting the output power of the audio output unit to reduce the output power of the audio output unit by a preset value.
9. The electronic device of any of claims 6-8, further comprising:
the second detection unit is used for acquiring the first diaphragm displacement of the loudspeaker of the audio output unit; judging whether the displacement of the first diaphragm is larger than a preset displacement threshold value or not; and when the displacement is larger than the displacement threshold, adjusting the output power of the audio output unit to reduce the output power of the audio output unit by a preset value.
10. The electronic device of claim 9, further comprising:
the parameter storage unit is used for storing one or more preset equalizer parameters;
correspondingly, the information processing unit is further configured to adjust the output power of the frequency band corresponding to the audio output unit according to the selected equalizer parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410111922.XA CN103929692B (en) | 2014-03-24 | 2014-03-24 | Audio information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410111922.XA CN103929692B (en) | 2014-03-24 | 2014-03-24 | Audio information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103929692A CN103929692A (en) | 2014-07-16 |
CN103929692B true CN103929692B (en) | 2020-03-24 |
Family
ID=51147746
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410111922.XA Active CN103929692B (en) | 2014-03-24 | 2014-03-24 | Audio information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103929692B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104581539B (en) * | 2014-12-31 | 2018-05-15 | 宇龙计算机通信科技(深圳)有限公司 | The control method and its mobile terminal that audio frequency of mobile terminal plays |
CN105280203B (en) * | 2015-11-11 | 2018-03-27 | 广东欧珀移动通信有限公司 | A kind of audio frequency playing method and user equipment |
CN105549946A (en) * | 2015-12-08 | 2016-05-04 | 深圳天珑无线科技有限公司 | Intelligent audio system |
CN105959892B (en) * | 2016-04-29 | 2019-06-04 | 歌尔股份有限公司 | Method and system for test loudspeaker |
CN111083605A (en) * | 2019-12-26 | 2020-04-28 | 珠海市魅族科技有限公司 | Audio information playing method and device, electronic equipment and storage medium |
CN112333597A (en) * | 2020-11-10 | 2021-02-05 | 广东小天才科技有限公司 | Sound production device, intelligent earphone and telephone watch comprising sound production device, and corresponding control method |
CN115457925A (en) * | 2022-09-06 | 2022-12-09 | 云知声智能科技股份有限公司 | Audio playing parameter adjusting method, device, equipment and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102982823A (en) * | 2012-11-26 | 2013-03-20 | 中兴通讯股份有限公司 | Method and device for adjusting volume automatically |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050031139A1 (en) * | 2003-08-07 | 2005-02-10 | Tymphany Corporation | Position detection of an actuator using impedance |
CN1812256A (en) * | 2005-01-26 | 2006-08-02 | 乐金电子(惠州)有限公司 | Overload regulating device for audio amplifier and method thereof |
EP2538699B1 (en) * | 2011-06-22 | 2015-11-11 | Nxp B.V. | Control of a loudspeaker output |
EP2642769B1 (en) * | 2012-03-20 | 2017-12-13 | Nxp B.V. | A loudspeaker drive circuit for determining loudspeaker characteristics and/or diagnostics |
US9173020B2 (en) * | 2012-03-27 | 2015-10-27 | Htc Corporation | Control method of sound producing, sound producing apparatus, and portable apparatus |
-
2014
- 2014-03-24 CN CN201410111922.XA patent/CN103929692B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102982823A (en) * | 2012-11-26 | 2013-03-20 | 中兴通讯股份有限公司 | Method and device for adjusting volume automatically |
Also Published As
Publication number | Publication date |
---|---|
CN103929692A (en) | 2014-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103929692B (en) | Audio information processing method and electronic equipment | |
JP6306713B2 (en) | Reproduction loudness adjustment method and apparatus | |
CN110308888B (en) | Volume control method, electronic equipment and computer readable storage medium | |
CN109982231B (en) | Information processing method, device and storage medium | |
CN109348399B (en) | Terminal and control method of stereo sound effect thereof | |
EP3111557B1 (en) | Gain optimized equalizer | |
US9847767B2 (en) | Electronic device capable of adjusting an equalizer according to physiological condition of hearing and adjustment method thereof | |
CN106303816B (en) | Information control method and electronic equipment | |
CN106095379B (en) | A kind of volume adjusting method and device | |
CN107547732A (en) | A kind of media play volume adjusting method, device, terminal and storage medium | |
CN107404587B (en) | Audio playing control method, audio playing control device and mobile terminal | |
CN104821796A (en) | Volume control method, playing device, mobile terminal and system | |
CN113039518B (en) | Playing control method and device, computer readable storage medium and electronic equipment | |
CN107681993B (en) | Method for adjusting audio parameters and mobile terminal | |
CN107820122B (en) | Video volume adjusting method, storage medium and mobile terminal | |
KR101520800B1 (en) | Earphone apparatus having hearing character protecting function of an individual | |
CN105025413B (en) | A kind of sound box parameter collocation method and mobile terminal | |
CN105472128B (en) | A kind of call control method and device | |
CN103744505A (en) | Information processing method and electronic device | |
CN109600470B (en) | Mobile terminal and sound production control method thereof | |
CN106406808A (en) | Volume processing method, device and terminal | |
CN106293596A (en) | A kind of control method and electronic equipment | |
CN106331356B (en) | Volume control method and terminal | |
CN104376846A (en) | Voice adjusting method and device and electronic devices | |
CN104348436A (en) | Parameter adjusting method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |