CN113727248A - Method, device and medium for playing audio by loudspeaker - Google Patents

Method, device and medium for playing audio by loudspeaker Download PDF

Info

Publication number
CN113727248A
CN113727248A CN202010457093.6A CN202010457093A CN113727248A CN 113727248 A CN113727248 A CN 113727248A CN 202010457093 A CN202010457093 A CN 202010457093A CN 113727248 A CN113727248 A CN 113727248A
Authority
CN
China
Prior art keywords
temperature
coil
sound source
playing
loudspeaker
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010457093.6A
Other languages
Chinese (zh)
Inventor
李以龙
朱守经
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010457093.6A priority Critical patent/CN113727248A/en
Publication of CN113727248A publication Critical patent/CN113727248A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/02Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/06Loudspeakers

Landscapes

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

Abstract

The present disclosure relates to a method, apparatus, and medium for playing audio with a speaker. The method comprises the following steps: after receiving a playing instruction, acquiring parameters related to the coil temperature of the loudspeaker; when the coil temperature of the loudspeaker is lower than the set temperature according to the parameters, playing a set sound source, wherein the signal frequency of the set sound source is higher than the set frequency; when the temperature of the loudspeaker coil is increased to a set temperature or the set sound source is played for a set time, the set sound source is stopped to be played; and playing corresponding audio based on the playing instruction. The loudspeaker can be used in a low-temperature environment, cannot be damaged, and the service life of the loudspeaker is prolonged.

Description

Method, device and medium for playing audio by loudspeaker
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method, an apparatus, and a medium for playing audio with a speaker.
Background
Currently, speakers are widely used in various electronic devices, such as various smart terminals. With the wider application of the intelligent terminal, the application scenes of the intelligent terminal are more and more. For example, users sometimes use smart terminals in some extreme environments, such as in some very low temperature (sub-zero) environments. This makes the speaker desirable for use at these extremely low temperatures.
The loudspeaker diaphragm is made of composite materials, and the material characteristics of some materials can change under low-temperature environment, so that the direct operation of the loudspeaker under the low-temperature environment can cause device damage.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method, apparatus, and medium for playing audio by a speaker.
According to a first aspect of embodiments of the present disclosure, there is provided a method for playing audio by a speaker, the method including:
after receiving a playing instruction, acquiring parameters related to the coil temperature of the loudspeaker;
when the coil of the loudspeaker is lower than the set temperature according to the parameters, playing a set sound source, wherein the signal frequency of the set sound source is greater than the set frequency;
when the temperature of the loudspeaker coil is increased to a set temperature or the set sound source is played for a set time, the set sound source is stopped to be played;
and playing corresponding audio based on the playing instruction.
Wherein the parameter related to the coil temperature of the speaker is a coil resistance value or a coil temperature value of the speaker.
Wherein, when the parameter is the coil temperature value, the obtaining of the parameter related to the coil temperature of the speaker includes:
acquiring a coil resistance value of the loudspeaker;
determining the coil temperature value based on the coil resistance value.
Wherein, the set sound source is an audio signal comprising one frequency or an audio signal comprising a plurality of frequencies.
Wherein, the set sound source is an ultrasonic signal.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for playing audio by a speaker, the apparatus comprising:
a receiving module configured to receive a play instruction;
an acquisition module configured to acquire a parameter related to a coil temperature of the speaker after receiving a play instruction;
the playing module is used for playing a set sound source when the temperature of the coil is lower than the set temperature, and the signal frequency of the set sound source is greater than the set frequency; when the temperature of the coil is increased to a set temperature or the set sound source is played for a set time, the set sound source is stopped to be played; and after the set sound source is stopped being played, playing the corresponding audio based on the playing instruction.
Wherein the parameter related to the coil temperature of the speaker is a coil resistance value or a coil temperature value of the speaker.
Wherein the acquisition module is further configured to:
acquiring a coil resistance value of the loudspeaker;
determining the coil temperature value based on the coil resistance value.
Wherein, the set sound source is an audio signal comprising one frequency or an audio signal comprising a plurality of frequencies.
Wherein, the set sound source is an ultrasonic signal.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for playing audio through a speaker, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the following steps when executing the executable instructions:
after receiving a playing instruction, acquiring parameters related to the coil temperature of the loudspeaker;
when the coil of the loudspeaker is lower than the set temperature according to the parameters, playing a set sound source, wherein the signal frequency of the set sound source is greater than the set frequency;
when the temperature of the loudspeaker coil is increased to a set temperature or the set sound source is played for a set time, the set sound source is stopped to be played;
and playing corresponding audio based on the playing instruction.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions which, when executed by a processor of an apparatus, enable the apparatus to perform a method of speaker playing audio, the method comprising:
after receiving a playing instruction, acquiring parameters related to the coil temperature of the loudspeaker;
when the coil of the loudspeaker is lower than the set temperature according to the parameters, playing a set sound source, wherein the signal frequency of the set sound source is greater than the set frequency;
when the temperature of the loudspeaker coil is increased to a set temperature or the set sound source is played for a set time, the set sound source is stopped to be played;
and playing corresponding audio based on the playing instruction.
By adopting the method disclosed by the disclosure, after a loudspeaker playing instruction is received, the parameter related to the coil temperature of the loudspeaker is obtained, the coil temperature of the loudspeaker is judged to be lower than the set temperature according to the parameter, if the coil temperature of the loudspeaker is lower than the set temperature, the set sound source is played, and the frequency of the set sound source is higher than the set frequency. And in the process of acquiring parameters related to the coil temperature of the loudspeaker, if the coil temperature of the loudspeaker is increased to a set temperature or the set sound source is played for a set time, the set sound source is stopped playing. And after the set sound source is stopped being played, playing corresponding audio based on the playing instruction. By adopting the method, when the temperature of the loudspeaker is too low, the loudspeaker coil is preheated by playing a sound source which has no damage to the loudspeaker through the loudspeaker. When the temperature of the loudspeaker coil reaches the temperature threshold, the specified audio is played. The loudspeaker can be used in a low-temperature environment, cannot be damaged, and the service life of the loudspeaker is prolonged.
In addition, the method can accurately acquire the temperature condition of the loudspeaker, and avoid the problem that the temperature of the loudspeaker reaches the requirement of normal playing, but the loudspeaker cannot be normally used due to too low ambient temperature.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flow diagram illustrating a method of playing audio with a speaker according to an example embodiment.
Fig. 2 is a flow diagram illustrating a method of playing audio with a speaker according to an example embodiment.
Fig. 3 is a block diagram illustrating an apparatus for playing audio with a speaker according to an example embodiment.
FIG. 4 is a block diagram illustrating an apparatus in accordance with an example embodiment.
FIG. 5 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In order to prevent damage to the speaker due to an excessively low temperature during use of the speaker, the use temperature of the speaker is generally controlled. When it is detected that the ambient temperature of the speaker is too low, the output of the speaker is reduced or stopped. At present, low-temperature protection for the loudspeaker is carried out by detecting the ambient temperature (detecting the actual chip temperature), and the temperature of the loudspeaker can rise after the loudspeaker works for a period of time, so that the local temperature of the loudspeaker body can reach the normal working temperature. However, the chip temperature does not rise as fast as the speaker body temperature, and therefore the state of the speaker cannot be obtained in real time using the method of chip temperature detection, thereby affecting the actual speaker output.
The disclosure provides a method for playing audio by a loudspeaker, in the method, after a loudspeaker playing instruction is received, a parameter related to the coil temperature of the loudspeaker is obtained, the coil temperature of the loudspeaker is judged to be lower than a set temperature according to the parameter, if the coil temperature is lower than the set temperature, a set sound source is played, and the frequency of the set sound source is greater than the set frequency. And in the process of acquiring parameters related to the coil temperature of the loudspeaker, if the coil temperature of the loudspeaker is increased to a set temperature or the set sound source is played for a set time, the set sound source is stopped playing. And after the set sound source is stopped being played, playing corresponding audio based on the playing instruction. By adopting the method, when the temperature of the loudspeaker is too low, the loudspeaker coil is preheated by playing a sound source which has no damage to the loudspeaker through the loudspeaker. When the temperature of the loudspeaker coil reaches the temperature threshold, the specified audio is played. The loudspeaker can be used in a low-temperature environment, cannot be damaged, and the service life of the loudspeaker is prolonged.
The speaker may be a speaker provided in the smart terminal, such as a mobile phone, a PAD, a wearable device, or the like, or may be a speaker provided in another electronic device.
Fig. 1 is a flow chart illustrating a method for playing audio with a speaker, as shown in fig. 1, according to an exemplary embodiment, the method comprising the steps of:
step 101, after receiving a playing instruction, acquiring parameters related to the coil temperature of the loudspeaker;
step 102, when determining that the coil of the loudspeaker is lower than the set temperature according to the parameters, playing a set sound source, wherein the signal frequency of the set sound source is greater than the set frequency;
step 103, stopping playing the set sound source when the temperature of the loudspeaker coil is increased to a set temperature or the set sound source is played for a set time;
and 104, playing corresponding audio based on the playing instruction.
Here, a speaker provided in a mobile phone is taken as an example, and a speaker provided in another electronic device operates in the same manner.
In step 101, for example, when a user wants to play audio, a play instruction is issued to the mobile phone. When the loudspeaker receives the playing instruction, whether the loudspeaker is in a low-temperature environment which is harmful to the playing audio is judged, namely whether the coil temperature is set or not is judged. When judging whether the coil temperature meets the set requirement, the judgment can be carried out through parameters related to the coil temperature. The parameter related to the coil temperature may be a coil temperature value, a coil resistance value.
Here, unlike the method of detecting the ambient temperature using the speaker in the related art, a method of detecting the temperature of the coil of the speaker is adopted. Therefore, the temperature condition of the loudspeaker can be accurately acquired, and the problem that the loudspeaker cannot be normally used due to too low ambient temperature when the temperature of the loudspeaker reaches the requirement of normal playing is avoided.
In step 102, when the coil of the speaker is determined to be lower than the set temperature according to the parameters, that is, when the temperature of the coil of the speaker is determined to be too low, the coil of the speaker needs to be preheated first to raise the temperature of the coil of the speaker. Here, preheating the speaker coil is achieved by playing the set sound source. Here, when the speaker is warmed up by playing the set sound source, the speaker is required to play the set sound source in a low-temperature environment without damaging the speaker.
Through a large number of experiments, it is found that when the signal frequency of the set sound source is greater than the set frequency, the requirement that the loudspeaker is not damaged when the sound source is played in a low-temperature environment can be met. The set frequency here may be 2 KHz. Specifically, the specific numerical value of the set frequency may be set based on different speaker models, the conditions of the speaker itself, and the conditions of the hardware system.
In addition, the set temperature may be set to-10 ℃ to-20 ℃. In particular, the implementation can be set according to the parameters of the loudspeaker and the requirements of the system.
In step 103, in the process of acquiring the parameter related to the coil temperature, if it is determined that the coil temperature of the speaker is raised to the set temperature or the set sound source is played for the set time based on the parameter, the preheating of the speaker is stopped, that is, the set sound source is stopped from being played. The reason that the set sound source is played for the set time length is to prevent the user from waiting for a long time due to the overlong preheating time so as to improve the use experience of the user.
In step 104, when it is determined that the temperature of the speaker itself meets the requirement, the audio specified in the received playing instruction can be played.
By adopting the method, when the temperature of the loudspeaker is too low, the loudspeaker coil is preheated by playing a sound source which has no damage to the loudspeaker through the loudspeaker. When the temperature of the loudspeaker coil reaches the temperature threshold, the specified audio is played. The loudspeaker can be used in a low-temperature environment, cannot be damaged, and the service life of the loudspeaker is prolonged.
In an alternative embodiment, the parameter related to the coil temperature of the speaker is a coil resistance value or a coil temperature value of the speaker.
Here, whether the coil temperature meets the requirement is determined by the coil resistance value because the coil resistance value of the speaker and the coil temperature value satisfy a certain functional relationship. Therefore, when determining whether the coil temperature meets the requirement, the relationship between the coil temperature value and the set temperature can be determined by judging the relationship between the coil resistance value and the resistance threshold value through the functional relationship between the coil resistance value and the coil temperature value instead of obtaining the final coil temperature value.
The functional relationship between the resistance value of the coil and the temperature value of the coil can be known by those skilled in the art through the knowledge of the relevant technology, and will not be described herein. In addition, the manner of obtaining the resistance value of the coil can also be known by those skilled in the art through the related technical knowledge, and therefore, the description thereof is omitted.
In an alternative embodiment, when the parameter is the coil temperature value, the obtaining the parameter related to the coil temperature of the speaker includes:
acquiring a coil resistance value of the loudspeaker;
determining the coil temperature value based on the coil resistance value.
Based on the above description, when the parameter related to the coil temperature is the coil temperature value, the coil resistance value of the speaker may be obtained in real time, and the coil temperature value may be calculated according to a functional relationship between the coil resistance value and the coil temperature value.
Two parameter selection methods are given here: after the resistance value of the coil is obtained, the relationship between the resistance value and the set resistance is directly judged; or after the resistance value of the coil is obtained, the temperature value is calculated based on the resistance value, and then the relation between the temperature value and the set temperature is judged. It should be noted that both parameter selection methods can be used, and they are also consistent in nature.
In an alternative embodiment, the set sound source is an audio signal including one frequency or an audio signal including a plurality of frequencies.
In the present disclosure, the selection of the set sound source is very important because the speaker cannot be damaged by the requirement of playing the set sound source in a low temperature environment. It has been found through a number of experiments that when setting the sound source to meet the frequency requirement, it is possible to set the sound source to include either one frequency or a plurality of frequencies. The set sound source may be generated by a high-frequency signal, or may be generated by filtering a signal to remove a low-frequency component that does not meet the frequency requirement.
In an alternative embodiment, the set sound source is an ultrasonic signal.
The setting sound source may be an ultrasonic signal. As known to those skilled in the art, when playing an ultrasound signal, software and hardware support of the handset system is required.
In addition, for high-frequency signals (signals with the frequency of more than 2 KHz), the amplitude is small, so when the loudspeaker plays the set sound source, the played sound volume is low, and the user is not greatly influenced.
It should be noted that, after receiving the speaker playing instruction, if it is determined that the parameter related to the coil temperature of the speaker is greater than or equal to the corresponding parameter threshold, the related audio is played directly based on the playing instruction without executing the preheating process.
Specific embodiments according to the present disclosure are described below in conjunction with specific application scenarios. In this embodiment, the speaker is disposed on the PAD and the user plays audio through an application on the PAD. Wherein, the temperature threshold is set to be-15 ℃, and the set frequency is set to be 2 KHz. As shown in fig. 2, the method in this embodiment comprises the steps of:
step 201, receiving a speaker playing command sent by a user
Step 202, acquiring a coil resistance value of the loudspeaker in real time.
And 203, obtaining a coil temperature value of the loudspeaker based on the functional relation between the resistance value and the temperature value.
And 204, judging whether the temperature value of the coil is less than-15 ℃.
And step 205, if the frequency is smaller than the preset frequency, playing a set sound source with the frequency of 3000KHz to preheat the loudspeaker.
And step 206, in the process of playing the set sound source, acquiring the resistance value of the coil in real time and obtaining a corresponding temperature value of the coil.
And step 207, stopping playing the set sound source if the coil temperature value acquired in real time is judged to be greater than or equal to-15 ℃.
And step 208, playing the audio in the speaker playing instruction.
By adopting the method in the embodiment, the temperature value of the coil is monitored in real time, and when the temperature value is lower, the coil is preheated. And once the coil is preheated to the temperature value to meet the normal playing requirement, stopping preheating the coil and playing the audio in the playing instruction of the user. The method is simple and convenient to operate and easy to realize, does not need to additionally increase devices, simultaneously achieves the purpose of protecting the loudspeaker, and prolongs the service life of the loudspeaker and related equipment.
The present disclosure also provides an apparatus for playing audio by using a speaker, as shown in fig. 3, the apparatus including:
a receiving module 301 configured to receive a play instruction;
an obtaining module 302 configured to obtain a parameter related to a coil temperature of the speaker after receiving a play instruction;
a playing module 303 configured to play a set sound source when it is determined that the coil temperature is lower than a set temperature, wherein a signal frequency of the set sound source is higher than a set frequency; when the temperature of the coil is increased to a set temperature or the set sound source is played for a set time, the set sound source is stopped to be played; and after the set sound source is stopped being played, playing the corresponding audio based on the playing instruction.
In an alternative embodiment, the parameter related to the coil temperature of the speaker is a coil resistance value or a coil temperature value of the speaker.
In an alternative embodiment, the obtaining module 302 is further configured to:
acquiring a coil resistance value of the loudspeaker;
determining the coil temperature value based on the coil resistance value.
In an alternative embodiment, the set sound source is an audio signal including one frequency or an audio signal including a plurality of frequencies.
In an alternative embodiment, the set sound source is an ultrasonic signal.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
By adopting the method disclosed by the disclosure, after a loudspeaker playing instruction is received, the parameter related to the coil temperature of the loudspeaker is obtained, the coil temperature of the loudspeaker is judged to be lower than the set temperature according to the parameter, if the coil temperature of the loudspeaker is lower than the set temperature, the set sound source is played, and the frequency of the set sound source is higher than the set frequency. And in the process of acquiring parameters related to the coil temperature of the loudspeaker, if the coil temperature of the loudspeaker is increased to a set temperature or the set sound source is played for a set time, the set sound source is stopped playing. And after the set sound source is stopped being played, playing corresponding audio based on the playing instruction. By adopting the method, when the temperature of the loudspeaker is too low, the loudspeaker coil is preheated by playing a sound source which has no damage to the loudspeaker through the loudspeaker. When the temperature of the loudspeaker coil reaches the temperature threshold, the specified audio is played. The loudspeaker can be used in a low-temperature environment, cannot be damaged, and the service life of the loudspeaker is prolonged.
In addition, the method can accurately acquire the temperature condition of the loudspeaker, and avoid the problem that the temperature of the loudspeaker reaches the requirement of normal playing, but the loudspeaker cannot be normally used due to too low ambient temperature.
Fig. 4 is a block diagram illustrating an apparatus 400 for playing audio with a speaker according to an example embodiment.
Referring to fig. 4, the apparatus 400 may include one or more of the following components: a processing component 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an interface for input/output (I/O) 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the device 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 406 provide power to the various components of device 400. Power components 406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 400 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor component 414 can detect the open/closed state of the device 400, the relative positioning of components, such as a display and keypad of the apparatus 400, the sensor component 414 can also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the apparatus 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of speaker playing audio, the method comprising: after receiving a playing instruction, acquiring parameters related to the coil temperature of the loudspeaker; when the coil of the loudspeaker is lower than the set temperature according to the parameters, playing a set sound source, wherein the signal frequency of the set sound source is greater than the set frequency; when the temperature of the loudspeaker coil is increased to a set temperature or the set sound source is played for a set time, the set sound source is stopped to be played; and playing corresponding audio based on the playing instruction.
Fig. 5 is a block diagram illustrating an apparatus 500 for playing audio with a speaker according to an example embodiment. For example, the apparatus 500 may be provided as a server. Referring to fig. 5, the apparatus 500 includes a processing component 522 that further includes one or more processors and memory resources, represented by memory 532, for storing instructions, such as applications, that are executable by the processing component 522. The application programs stored in memory 532 may include one or more modules that each correspond to a set of instructions. Further, the processing component 522 is configured to execute instructions to perform the above-described method: after receiving a playing instruction, acquiring parameters related to the coil temperature of the loudspeaker; when the coil of the loudspeaker is lower than the set temperature according to the parameters, playing a set sound source, wherein the signal frequency of the set sound source is greater than the set frequency; when the temperature of the loudspeaker coil is increased to a set temperature or the set sound source is played for a set time, the set sound source is stopped to be played; and playing corresponding audio based on the playing instruction.
The apparatus 500 may also include a power component 526 configured to perform power management of the apparatus 500, a wired or wireless network interface 550 configured to connect the apparatus 500 to a network, and an input/output (I/O) interface 558. The apparatus 500 may operate based on an operating system stored in the memory 532, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (12)

1. A method of playing audio with a speaker, the method comprising:
after receiving a playing instruction, acquiring parameters related to the coil temperature of the loudspeaker;
when the coil temperature of the loudspeaker is lower than the set temperature according to the parameters, playing a set sound source, wherein the signal frequency of the set sound source is higher than the set frequency;
when the temperature of the loudspeaker coil is increased to a set temperature or the set sound source is played for a set time, the set sound source is stopped to be played;
and playing corresponding audio based on the playing instruction.
2. The method of claim 1, wherein the parameter related to the coil temperature of the speaker is a coil resistance value or a coil temperature value of the speaker.
3. The method of claim 2, wherein when the parameter is the coil temperature value, the obtaining a parameter related to a coil temperature of the speaker comprises:
acquiring a coil resistance value of the loudspeaker;
determining the coil temperature value based on the coil resistance value.
4. The method of claim 1, wherein the set sound source is an audio signal including one frequency or an audio signal including a plurality of frequencies.
5. The method of claim 1, wherein the set audio source is an ultrasonic signal.
6. An apparatus for playing audio through a speaker, the apparatus comprising:
a receiving module configured to receive a play instruction;
an acquisition module configured to acquire a parameter related to a coil temperature of the speaker after receiving a play instruction;
the playing module is used for playing a set sound source when the temperature of the coil is lower than the set temperature, and the signal frequency of the set sound source is greater than the set frequency; when the temperature of the coil is increased to a set temperature or the set sound source is played for a set time, the set sound source is stopped to be played; and after the set sound source is stopped being played, playing the corresponding audio based on the playing instruction.
7. The apparatus of claim 6, wherein the parameter related to the coil temperature of the speaker is a coil resistance value or a coil temperature value of the speaker.
8. The apparatus of claim 7, wherein the acquisition module is further configured to:
acquiring a coil resistance value of the loudspeaker;
determining the coil temperature value based on the coil resistance value.
9. The apparatus of claim 6, wherein the set sound source is an audio signal including one frequency or an audio signal including a plurality of frequencies.
10. The apparatus of claim 6, wherein the set audio source is an ultrasonic signal.
11. An apparatus for playing audio through a speaker, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the following steps when executing the executable instructions:
after receiving a playing instruction, acquiring parameters related to the coil temperature of the loudspeaker;
when the coil of the loudspeaker is lower than the set temperature according to the parameters, playing a set sound source, wherein the signal frequency of the set sound source is greater than the set frequency;
when the temperature of the loudspeaker coil is increased to a set temperature or the set sound source is played for a set time, the set sound source is stopped to be played;
and playing corresponding audio based on the playing instruction.
12. A non-transitory computer readable storage medium in which instructions, when executed by a processor of an apparatus, enable the apparatus to perform a method of speaker playing audio, the method comprising:
after receiving a playing instruction, acquiring parameters related to the coil temperature of the loudspeaker;
when the coil of the loudspeaker is lower than the set temperature according to the parameters, playing a set sound source, wherein the signal frequency of the set sound source is greater than the set frequency;
when the temperature of the loudspeaker coil is increased to a set temperature or the set sound source is played for a set time, the set sound source is stopped to be played;
and playing corresponding audio based on the playing instruction.
CN202010457093.6A 2020-05-26 2020-05-26 Method, device and medium for playing audio by loudspeaker Pending CN113727248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010457093.6A CN113727248A (en) 2020-05-26 2020-05-26 Method, device and medium for playing audio by loudspeaker

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010457093.6A CN113727248A (en) 2020-05-26 2020-05-26 Method, device and medium for playing audio by loudspeaker

Publications (1)

Publication Number Publication Date
CN113727248A true CN113727248A (en) 2021-11-30

Family

ID=78672170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010457093.6A Pending CN113727248A (en) 2020-05-26 2020-05-26 Method, device and medium for playing audio by loudspeaker

Country Status (1)

Country Link
CN (1) CN113727248A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150725A (en) * 2022-06-29 2022-10-04 歌尔股份有限公司 Loudspeaker and electronic equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7804976B1 (en) * 2006-10-10 2010-09-28 Wayne Parham Radiant cooler for loudspeakers
CN101877807A (en) * 2010-06-18 2010-11-03 中兴通讯股份有限公司 Loudspeaker and method for playing sound source
CN201928424U (en) * 2010-10-29 2011-08-10 东莞宇龙通信科技有限公司 Sound source frequency adjusting system and terminal
CN103037291A (en) * 2011-10-05 2013-04-10 苹果公司 Speaker magnet thermal management
US20150215704A1 (en) * 2014-01-24 2015-07-30 Cirrus Logic International (Uk) Limited Loudspeaker protection systems and methods
CN105516874A (en) * 2014-10-10 2016-04-20 亚德诺半导体集团 Overheat protector and protection methodology for electrodynamic loudspeakers
US20160323673A1 (en) * 2013-12-19 2016-11-03 Zte Corporation Driving Apparatus, Heat Dissipating Apparatus and Method for Speaker Vibrating Diaphragm Coil, and Mobile Terminal
CN106717022A (en) * 2014-06-06 2017-05-24 思睿逻辑国际半导体有限公司 Temperature monitoring for loudspeakers
CN107484081A (en) * 2017-07-27 2017-12-15 努比亚技术有限公司 A kind of method of adjustment of audio signal, device, terminal and computer-readable recording medium
CN108289270A (en) * 2018-02-06 2018-07-17 维沃移动通信有限公司 A kind of loud speaker and mobile terminal
CN109218956A (en) * 2018-09-10 2019-01-15 上海傅硅电子科技有限公司 The measurement method of speaker housings surface temperature, computer
CN109275084A (en) * 2018-09-12 2019-01-25 北京小米智能科技有限公司 Test method, device, system, equipment and the storage medium of microphone array

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7804976B1 (en) * 2006-10-10 2010-09-28 Wayne Parham Radiant cooler for loudspeakers
CN101877807A (en) * 2010-06-18 2010-11-03 中兴通讯股份有限公司 Loudspeaker and method for playing sound source
CN201928424U (en) * 2010-10-29 2011-08-10 东莞宇龙通信科技有限公司 Sound source frequency adjusting system and terminal
CN103037291A (en) * 2011-10-05 2013-04-10 苹果公司 Speaker magnet thermal management
US20160323673A1 (en) * 2013-12-19 2016-11-03 Zte Corporation Driving Apparatus, Heat Dissipating Apparatus and Method for Speaker Vibrating Diaphragm Coil, and Mobile Terminal
US20150215704A1 (en) * 2014-01-24 2015-07-30 Cirrus Logic International (Uk) Limited Loudspeaker protection systems and methods
CN106717022A (en) * 2014-06-06 2017-05-24 思睿逻辑国际半导体有限公司 Temperature monitoring for loudspeakers
CN105516874A (en) * 2014-10-10 2016-04-20 亚德诺半导体集团 Overheat protector and protection methodology for electrodynamic loudspeakers
CN107484081A (en) * 2017-07-27 2017-12-15 努比亚技术有限公司 A kind of method of adjustment of audio signal, device, terminal and computer-readable recording medium
CN108289270A (en) * 2018-02-06 2018-07-17 维沃移动通信有限公司 A kind of loud speaker and mobile terminal
CN109218956A (en) * 2018-09-10 2019-01-15 上海傅硅电子科技有限公司 The measurement method of speaker housings surface temperature, computer
CN109275084A (en) * 2018-09-12 2019-01-25 北京小米智能科技有限公司 Test method, device, system, equipment and the storage medium of microphone array

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李贤胜;蔡志博;李晓东;: "基于电流反馈信号的智能扬声器系统", 电声技术, no. 01, 17 January 2015 (2015-01-17) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150725A (en) * 2022-06-29 2022-10-04 歌尔股份有限公司 Loudspeaker and electronic equipment

Similar Documents

Publication Publication Date Title
CN107493500B (en) Multimedia resource playing method and device
CN107204883B (en) Network fault processing method and device
US20170034336A1 (en) Event prompting method and device
CN106033397B (en) Memory buffer area adjusting method, device and terminal
CN108076199B (en) Method and device for detecting air tightness of microphone
EP3176984A1 (en) Method and device for processing information
CN104243829A (en) Self-shooting method and self-shooting device
CN104360875B (en) Privacy mode starts method and apparatus
CN106170141B (en) Mobile terminal network switching method and device
CN111277984A (en) Wireless local area network access method and device
CN108600503B (en) Voice call control method and device
CN104780574A (en) Method and device for network switchover
CN109769191B (en) Audio output detection method and device and electronic equipment
US10671827B2 (en) Method and device for fingerprint verification
CN108206884B (en) Terminal, adjusting method for communication signal transmitted by terminal and electronic equipment
CN106535147B (en) Communication signal processing method and device
CN105786561B (en) Method and device for calling process
CN113727248A (en) Method, device and medium for playing audio by loudspeaker
CN109922203B (en) Terminal, screen off method and device
CN107484233B (en) Terminal vibration method, terminal and computer readable storage medium
CN107885464B (en) Data storage method, device and computer readable storage medium
CN107039054B (en) The way of recording and device
CN106922005B (en) Method and device for accessing wireless access point and computer readable storage medium
CN105100135A (en) Network sharing setting method and device
CN112083841B (en) Information input method, device and storage medium

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