CN114089944A - Screen protection method, electronic device and storage medium - Google Patents

Screen protection method, electronic device and storage medium Download PDF

Info

Publication number
CN114089944A
CN114089944A CN202010761564.2A CN202010761564A CN114089944A CN 114089944 A CN114089944 A CN 114089944A CN 202010761564 A CN202010761564 A CN 202010761564A CN 114089944 A CN114089944 A CN 114089944A
Authority
CN
China
Prior art keywords
audio signal
screen
preset
signal segment
target audio
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
CN202010761564.2A
Other languages
Chinese (zh)
Inventor
薛华
魏国华
王蔚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202010761564.2A priority Critical patent/CN114089944A/en
Publication of CN114089944A publication Critical patent/CN114089944A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/20Cooling means

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the invention provides a screen protection method, electronic equipment and a storage medium, and belongs to the field of electronic equipment. The method comprises the following steps: when the current temperature of the screen is determined to be greater than or equal to the first preset temperature, attenuation processing is carried out on a target audio signal segment in the audio signal to be played, so that after the audio signal subjected to the attenuation processing is played by the screen, the current temperature of the screen is lower than the first preset temperature. The technical scheme of the embodiment of the invention improves the output effect of the audio signal while protecting the screen.

Description

Screen protection method, electronic device and storage medium
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a screen protection method, an electronic device, and a storage medium.
Background
With the development of full-screen technology, more and more electronic devices start to apply screen sound technology. The principle of screen sounding is realized by driving a screen to vibrate through an exciter to generate sound waves. However, the heat generated by the long-term operation of the exciter can affect the screen, possibly damaging the screen and affecting the service life of the screen. This problem is particularly acute when screen sound technology is used instead of loudspeakers. At present, the input power of the exciter is directly reduced when the screen temperature exceeds the standard by detecting the temperature of the screen, and the input power of the exciter is directly improved when the screen temperature does not exceed the standard, but the screen protection method is simpler and can cause poor output effect of audio signals.
Disclosure of Invention
Embodiments of the present invention mainly aim to provide a screen protection method, an electronic device, and a storage medium, which are used for intelligently controlling an audio signal and improving an output effect of the audio signal while protecting a screen.
In a first aspect, an embodiment of the present invention provides a screen saver method, including:
when the current temperature of the screen is determined to be greater than or equal to the first preset temperature, attenuation processing is carried out on a target audio signal segment in the audio signal to be played, so that after the screen plays the audio signal subjected to the attenuation processing, the current temperature of the screen is lower than the first preset temperature.
In a second aspect, the embodiment of the present invention further provides an electronic device, which includes a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for implementing connection communication between the processor and the memory, wherein when the computer program is executed by the processor, the steps of any one of the screen protection methods provided by the embodiment of the present invention are implemented.
In a third aspect, an embodiment of the present invention further provides a storage medium for a computer-readable storage, where the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps of any method for screen protection provided in an embodiment of the present invention.
The embodiment of the invention provides a screen protection method, electronic equipment and a storage medium. When the current temperature of the screen is determined to be greater than or equal to the first preset temperature, attenuation processing is carried out on a target audio signal segment in the audio signal to be played, so that after the audio signal subjected to the attenuation processing is played by the screen, the current temperature of the screen is lower than the first preset temperature. Through intelligently controlling the audio signals, the temperature of the screen is guaranteed not to be damaged due to overheating, the playing loudness of the output audio signals is enabled not to be overlooked, the output effect of the audio signals is improved, and meanwhile the user experience degree is improved.
Drawings
Fig. 1 is a schematic block diagram of an electronic device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a screen saver method according to an embodiment of the present invention;
FIG. 3 is a flow diagram illustrating a sub-step of the screen saver method of FIG. 2;
FIG. 4 is a flow diagram illustrating another sub-step of the screen saver method of FIG. 2;
FIG. 5 is a flowchart illustrating further substeps of the screen saver method of FIG. 2;
FIG. 6 is a flowchart illustrating steps of another screen saver method according to an embodiment of the present invention;
fig. 7 is a block diagram schematically illustrating another electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It is to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Referring to fig. 1, fig. 1 is a schematic block diagram of an electronic device according to an embodiment of the present invention. The electronic device in the embodiment of the present application will be described below with reference to fig. 1.
As shown in fig. 1, the electronic device 100 includes a screen 10, a temperature sensor 20, a processor 30, an audio codec 40, an audio power amplifier 50, and an exciter 60.
The screen 10 may be a display screen of the electronic device 100, and the screen 10 may serve as a sounding device of the electronic device 100 and be controlled by the actuator 60. For example, the electronic apparatus 100 drives the screen 10 to vibrate by the exciter 60 in all sound-emitting scenes such as a call, music, video, games, and the like, thereby emitting sound.
The temperature sensor 20 is used to collect temperature information of the screen 10 and transmit the collected temperature information to the processor 30. In some embodiments, the temperature sensor 20 may also be used to collect temperature information of the actuator 60. Wherein the temperature sensor 20 can be mounted on the inner side of the screen 10 or on the actuator 60, so as to better monitor the temperature of the screen 10 or the actuator 60. It should be noted that the temperature sensor 20 may be one or more, for example, a plurality of temperature sensors 20 are disposed inside the screen 10, or one temperature sensor 20 is mounted on each of the screen 10 and the actuator 60.
The processor 30 is used for processing the audio signal to be played according to the received temperature signal of the screen 10 or the exciter 60. For example, when it is determined that the current temperature of the screen 10 is greater than or equal to the first preset temperature, the attenuation processing is performed on the target audio signal segment in the audio signal to be played, so that after the screen 10 plays the audio signal subjected to the attenuation processing, the current temperature of the screen 10 is lower than the first preset temperature, the temperature of the screen 10 can be well controlled, and the screen 10 is not easily damaged due to high temperature, and meanwhile, a good audio output effect is achieved. For another example, if it is determined that the current temperature of the exciter 60 is greater than or equal to the second preset temperature, the attenuation processing is performed on the target audio signal segment in the audio signal to be output, so that after the exciter 60 outputs the audio signal subjected to the attenuation processing, the current temperature of the exciter 60 is lower than the first preset temperature, the temperature of the exciter 60 can be well controlled, the exciter 60 is not easily damaged due to high temperature, and the screen 10 and other devices are prevented from being damaged due to high temperature of the exciter 60.
It will be appreciated that the audio codec 40 is used to encode or decode an audio digital data stream. For example, decoding an audio signal from digital audio to analog audio. The audio power amplifier 50 is used to amplify the audio signal output by the processor 30 to a power that drives the exciter 60 into operation.
The exciter 60 is a driving unit for driving the screen 10 to generate screen vibration sound, and the exciter 60 may be an integrated exciter, a two-piece magnetic suspension exciter, a piezoelectric ceramic unit exciter, a micro-vibration unit exciter, or the like. The piezoelectric ceramic unit exciter includes a plurality of piezoelectric ceramic sheets and a vibrating membrane attached with a metal sheet, and the micro-vibration unit exciter includes an electromagnetic exciter such as a linear motor, which is not specifically limited in this embodiment.
It should be noted that the Processor 30 may be a Central Processing Unit (CPU), and the Processor 30 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In the electronic device 100, the current temperature of the screen 10 is acquired by the temperature sensor 20, and the processor 30 determines whether the current temperature of the screen 10 is greater than or equal to a first preset temperature according to the current temperature of the screen 10 acquired by the temperature sensor 20. When the current temperature of the screen 10 is determined to be greater than or equal to the first preset temperature, attenuation processing is performed on a target audio signal segment in the audio signal to be played, the screen 10 is enabled to play the audio signal subjected to the attenuation processing through the audio power amplifier 50 and the exciter 60 until the current temperature of the screen 10 is lower than the first preset temperature, damage to the screen 10 due to high temperature is avoided, the service life of the screen 10 is prolonged, meanwhile, attenuation processing is performed on the target audio signal segment in the audio signal, and the output effect of the audio signal is greatly improved.
The embodiment of the invention provides a screen protection method, electronic equipment and a storage medium. The screen protection method can be applied to electronic equipment, the electronic equipment can be terminal equipment such as a mobile phone, a tablet personal computer, a notebook computer, a personal digital assistant and an intelligent wearable device, and certainly can also be other equipment capable of applying a screen sounding technology.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a step of a screen saver method according to an embodiment of the present invention.
As shown in fig. 2, the screen saver method includes a step S101.
Step S101, when the current temperature of the screen is determined to be greater than or equal to a first preset temperature, attenuation processing is carried out on a target audio signal segment in the audio signal to be played, and after the audio signal subjected to the attenuation processing is played on the screen, the current temperature of the screen is lower than the first preset temperature.
The temperature of the screen is collected through at least one temperature sensor, and the collected temperature of the screen is sent to the processor, so that the processor determines whether the current temperature of the screen is greater than or equal to a first preset temperature, and the attenuation processing on the target audio signal segment may be smooth attenuation processing on the target audio signal segment. It should be noted that when there are a plurality of temperature sensors, the plurality of temperature sensors may be randomly or uniformly mounted inside the screen, or may be mounted according to the positions of the heat generating devices inside the screen, for example, according to the positions of the speaker and the actuator. The first preset temperature may be set according to the maximum operating temperature of the screen provided by the device manufacturer, or may be flexibly set by the user, which is not specifically limited in this embodiment.
In one embodiment, the temperature sensor collects the current temperature of the screen at preset time intervals, and obtains the running time of the screen, provided by a manufacturer, which can run continuously without damage in a first preset temperature range; determining the number of target temperatures within a first preset temperature range in a plurality of current temperatures acquired by a temperature sensor in the running time; and if the number of the plurality of current temperatures within the maximum duration within the first preset temperature range reaches a number threshold, determining that the current temperature of the screen is greater than or equal to a first preset temperature. The first preset temperature range is determined according to the first preset temperature, for example, the preset temperature range is a range of plus or minus one degree of the first preset temperature, the interval preset time, the maximum duration time and the number threshold value can be set according to actual conditions, optionally, the interval preset time is 0.05s, the maximum duration time is 10s, and the number threshold value is 20.
In an embodiment, the manner of performing attenuation processing on the target audio signal segment in the audio signal to be played may be: and carrying out attenuation processing on the frequency and/or amplitude of the target audio signal segment in the audio signal to be played. The target audio signal segment is greater than or equal to a preset decibel, the frequency of the target audio signal segment is within a preset target frequency range, and/or the amplitude of the target audio signal segment is greater than or equal to a preset amplitude. By attenuating the frequency and/or amplitude of the target audio signal segment in the audio signal to be played, the exciter is prevented from generating larger heat, the current temperature of the screen can be effectively reduced, and the output effect of the audio signal is ensured.
In one embodiment, as shown in fig. 3, the attenuation processing of the target audio signal segment in the audio signal to be played includes sub-steps S1011a to S1012 a.
And a substep S1011a of determining a target audio signal segment in which a decibel of the audio signal to be played is greater than or equal to a preset decibel.
According to a preset decibel, carrying out segmentation processing on an audio signal to be played to obtain a plurality of audio signal segments; and determining a target audio signal segment of which the decibel is greater than or equal to a preset decibel in the plurality of audio signal segments. It should be noted that, the audio signal to be played is segmented according to the preset decibel to obtain a target audio signal segment that is greater than or equal to the preset decibel in the audio signal to be played, and the decibel value of the target audio signal segment is relatively large, so that the working voltage generated by the exciter when the exciter works based on the target audio signal segment is also relatively large, which may cause the exciter to generate relatively large heat.
Sub-step S1012a, performing attenuation processing on the amplitude of the target audio signal segment in the audio signal, so that the decibel of the target audio signal segment after the attenuation processing is smaller than a preset decibel.
The amplitude of a target audio signal segment in the audio signal to be played is attenuated, so that the decibel value of the target audio signal segment can be effectively reduced, the exciter is prevented from generating larger heat, the current temperature of a screen can be effectively reduced, and the output effect of the audio signal is ensured.
The attenuation processing of the amplitude of the target audio signal segment in the audio signal includes: according to a first preset slope, carrying out signal compression processing on the amplitude of a target audio signal segment in an audio signal to be played to obtain a compressed audio signal; and adjusting the amplitude of the target audio signal segment in the compressed audio signal according to a second preset slope, so that the decibel of the adjusted target audio signal segment is smaller than the preset decibel.
It should be noted that the first preset slope is greater than the second preset slope, and the first preset slope and the second preset slope may be set according to actual conditions. In some embodiments, the processor includes a dynamic range control DRC module, and the DRC module performs signal compression on the amplitude of a target audio signal segment in the audio signal to be played according to a first preset slope, so as to greatly reduce the decibel of the target audio signal segment and reduce the heat generation amount of the exciter. When the decibel of the target audio signal segment in the compressed audio signal is still greater than or equal to the preset decibel, the amplitude of the target audio signal segment in the compressed audio signal is adjusted according to the second preset slope through the DRC module, so that the decibel of the adjusted target audio signal segment is smaller than the preset decibel, and the current temperature of the screen is lower than the first preset temperature after the screen plays the audio signal after adjustment processing.
In one embodiment, as shown in fig. 4, the attenuation processing of the target audio signal segment in the audio signal to be played includes sub-steps S1011b to S1012 b.
Sub-step S1011b, determining a target audio signal segment in the audio signal to be played, wherein the frequency of the target audio signal segment is within a preset frequency range.
In one embodiment, according to a corresponding relation between preset frequencies and temperatures, determining a plurality of frequencies corresponding to a target temperature greater than or equal to a first preset temperature to obtain a target frequency range; a target audio signal segment having a frequency within a target frequency range in the audio signal to be played is determined. The target frequency range may be one or more, and the target audio signal segment may also be one or more. The corresponding relation between the frequency and the temperature can be a correlation relation or a functional relation, the corresponding relation can be obtained according to a correlation experiment of the influence of the audio signals of different frequency components output by the exciter on the temperature of the screen, and the comparison of experimental data can show that the high-frequency part in the audio signals can more easily cause the temperature rise of the screen, so that the audio signals of the high-frequency part are taken as target audio signal segments.
Sub-step S1012b, performing attenuation processing on the frequency of the target audio signal segment in the audio signal, so that the frequency of the target audio signal segment after the attenuation processing is outside the preset frequency range.
In one embodiment, the processor includes a filter, such as a recursive filter. Through the filter, the frequency of the target audio signal segment in the audio signal is subjected to filtering processing, so that the frequency of the target audio signal segment is attenuated, the frequency of the target audio signal segment subjected to attenuation processing is located outside a preset frequency range, the temperature of a screen can be effectively controlled, the influence on the output effect of the audio signal is small, the condition that the loudness of output audio is not high or low is avoided, and the listening experience of a user is improved.
In one embodiment, as shown in fig. 5, the attenuation processing of the target audio signal segment in the audio signal to be played includes sub-steps S1011c to S1012 c.
Sub-step S1011c, determining a target audio signal segment with an amplitude greater than or equal to a preset amplitude in the audio signal to be played.
In an embodiment, the preset temperature is determined according to a preset corresponding relationship between the voltage and the temperature and the first preset temperature, and the way of determining the preset amplitude according to the preset corresponding relationship between the voltage and the temperature and the first preset temperature may be: determining a first voltage corresponding to a first preset temperature according to a corresponding relation between preset voltages and temperatures; and determining a target amplitude corresponding to the first voltage, and taking the target amplitude as a preset amplitude. The corresponding relation between the voltage and the temperature can be a correlation relation or a functional relation, the corresponding relation can be obtained according to a correlation experiment of the influence of the working voltage of the exciter on the temperature of the screen and is stored in a memory in advance, and the faster the temperature of the screen rises along with the increase of the output voltage of the exciter can be known through comparison of experimental data. It should be noted that there is a proportional correspondence between the amplitude of the audio signal and the operating voltage, that is, the lower the amplitude of the audio signal, the lower the operating voltage, and the target amplitude is the amplitude of the audio signal corresponding to the first voltage of the exciter, which can be obtained by the correspondence between the amplitude and the operating voltage.
Sub-step S1012c, performing attenuation processing on the amplitude of the target audio signal segment in the audio signal, so that the amplitude of the target audio signal segment after the attenuation processing is smaller than a preset amplitude.
In an embodiment, the processor includes an amplitude limiter, and the amplitude limiter performs amplitude limiting processing on the amplitude of a target audio signal segment in the audio signal to be played, so that the amplitude of the target audio signal segment can be effectively reduced, the working voltage of the exciter is reduced, heat conducted to the screen is reduced, meanwhile, the output of the audio signal is not affected, the temperature of the screen is within a temperature range acceptable by a user, and user experience is improved.
In an embodiment, the audio signal to be played may comprise a plurality of target audio signal segments; the step of attenuating the target audio signal segment in the audio signal to be played comprises: performing attenuation processing on the amplitude of a target audio signal segment in an audio signal to be output, so that the decibel of the target audio signal segment after the attenuation processing is smaller than a preset decibel, and obtaining a first audio signal; performing attenuation processing on the frequency of a first audio signal segment in the first audio signal, so that the frequency of the first audio signal segment subjected to the attenuation processing is not in a preset frequency range, and obtaining a second audio signal; and performing attenuation processing on the amplitude of a second audio signal segment in the second audio signal to enable the amplitude of the second audio signal segment after the attenuation processing to be smaller than a preset amplitude to obtain a third audio signal, and taking the third audio signal as the audio signal after the attenuation processing. The target audio signal segment has a decibel greater than or equal to a preset decibel, the frequency of the first audio signal segment is within a preset frequency range, and the amplitude of the second audio signal segment is greater than or equal to a preset amplitude.
For example, the DRC module is controlled by a dynamic range to compress the amplitude of a target audio signal segment in the audio signal to be output, so as to obtain a first audio signal, and the decibel of the compressed target audio signal segment is smaller than a preset decibel; filtering the frequency of a first audio signal segment in the first audio signal through a filter module, so that the frequency of the first audio signal segment after filtering is not in a preset frequency range, and obtaining a second audio signal; through the amplitude limiter module, carry out amplitude limiting processing to the amplitude of the second audio signal fragment in the second audio signal, make the amplitude of the second audio signal fragment after amplitude limiting processing be less than preset amplitude, obtain the third audio signal, and regard third audio signal as the audio signal through attenuation processing, make behind the screen broadcast audio signal through attenuation processing, the current temperature of this screen is less than first preset temperature, regulate and control audio signal intelligently, when protecting the screen, improve audio signal's output effect.
In one embodiment, the screen is controlled by an exciter, when attenuation processing is performed on a target audio signal segment in an audio signal to be played, a working voltage which can be generated by the exciter when the audio signal subjected to the attenuation processing passes through the exciter is determined, and whether the working voltage is smaller than or equal to a preset threshold voltage of the exciter is judged; if the working voltage is less than or equal to the preset threshold voltage of the exciter, the attenuation processing of the audio signal subjected to the attenuation processing is stopped, the audio signal output by the exciter and subjected to the attenuation processing can reach the preset loudness, and the influence on user experience caused by the reduction of the loudness of the output audio is avoided.
Further, after the attenuation processing of the audio signal subjected to the attenuation processing is stopped, the current temperature of the screen is obtained again, if the current temperature is higher than the first preset temperature, the screen overheating prompt is output to prompt a user that the screen is overheated and the operation needs to be stopped, and the safety of the screen is further guaranteed.
In the screen protection method provided in the foregoing embodiment, when it is determined that the current temperature of the screen is greater than or equal to the first preset temperature, attenuation processing is performed on a target audio signal segment in the audio signal to be played, so that after the audio signal subjected to the attenuation processing is played by the screen, the current temperature of the screen is lower than the first preset temperature. The temperature of screen is guaranteed not to damage because of overheated, simultaneously through controlling audio signal intelligently for the broadcast loudness of the audio signal of output can not neglect greatly little, improves user experience.
Referring to fig. 6, fig. 6 is a flowchart illustrating another screen saver method according to an embodiment of the present invention.
As shown in fig. 6, the screen saver method includes steps S201 to S204.
Step S201, obtaining a current temperature of the actuator, and determining whether the current temperature of the actuator is less than a second preset temperature.
The key component for realizing screen sounding is an exciter, namely the screen is controlled by the exciter. The heat brought by the long-time work of the exciter can damage the screen or shorten the service life of the screen, and the continuous heating of the screen can seriously affect the user experience when a user touches the screen or attaches the screen to the face, so that the temperature protection is needed to be carried out on the screen and the exciter. Because the number of metal parts of the exciter is large, the heat dissipation structure is relatively complex, the number of heat conduction paths is large, the current temperature of the exciter can be accurately detected through the temperature sensor, and whether the current temperature of the exciter is smaller than a second preset temperature or not is determined.
The current temperature of the exciter is collected through at least one temperature sensor, and the collected current temperature of the exciter is sent to the processor, so that the processor can determine whether the current temperature of the exciter is lower than a second preset temperature, the second preset temperature can be set according to the highest operation temperature of the exciter provided by an equipment manufacturer, the second preset temperature can also be flexibly set by a user, and the embodiment is not particularly limited.
In one embodiment, the temperature sensor collects the current temperature of the actuator at preset time intervals, and obtains the operation time of the actuator, which is provided by a manufacturer and can continuously operate in a second preset temperature range without damage; determining the number of target temperatures in a second preset temperature range in the current temperatures of the plurality of actuators acquired by the temperature sensor in the running time; if the number of the plurality of current temperatures within the maximum duration time within the second preset temperature range does not reach the number threshold, determining that the current temperature of the actuator is lower than the second preset temperature; and if the number of the plurality of current temperatures in the maximum duration within the second preset temperature range reaches the number threshold, determining that the current temperature of the actuator is greater than or equal to the second preset temperature. The second preset temperature range is determined according to the second preset temperature, for example, the preset temperature range is a range of plus or minus one degree of the second preset temperature, the interval preset time, the maximum duration time and the number threshold value can be set according to actual conditions, optionally, the interval preset time is 0.05s, the maximum duration time is 10s, and the number threshold value is 20.
Step S202, if the current temperature of the exciter is greater than or equal to a second preset temperature, attenuation processing is carried out on a target audio signal segment in the audio signal to be output, so that after the exciter works based on the audio signal subjected to the attenuation processing, the current temperature of the exciter is lower than the second preset temperature.
It should be noted that, when the current temperature of the exciter is greater than or equal to the second preset temperature, the processor performs attenuation processing on the target audio signal segment in the audio signal to be output, and the specific attenuation processing process may refer to the corresponding process and step of performing attenuation processing on the target audio signal segment in the audio signal to be played in the foregoing embodiment, which is not described in detail in this embodiment. By performing attenuation processing on a target audio signal segment in an audio signal to be output, after the audio signal subjected to the attenuation processing is output by the exciter, the current temperature of the exciter is lower than a first preset temperature, so that the exciter is protected from being damaged by heat, the screen is protected from being heated due to overheating of the exciter, meanwhile, the situation that loudness is suddenly high and suddenly low can not occur when the screen plays the audio signal subjected to the attenuation processing, and user experience is good.
In an embodiment, the audio signal to be output may include a plurality of target audio signal segments, wherein the target audio signal segments include at least one of a first target audio signal segment, a second target audio signal segment, and a third target audio signal segment, a decibel of the first target audio signal segment is greater than or equal to a preset decibel, a frequency of the second target audio signal segment is within a preset frequency range, and an amplitude of the third target audio signal segment is greater than or equal to a preset amplitude.
It should be noted that there may be repeated audio signal segments in the first target audio signal segment, the second target audio signal segment and the third target audio signal segment, for example, there may be signal segments in the first target audio signal segment that are consistent with those in the second target audio signal segment and/or the third target audio signal segment. Alternatively, the first target audio signal segment, the second target audio signal segment and the third target audio signal segment may be in a hierarchical relationship, for example, the second target audio signal segment may be determined according to a signal segment of the first target audio signal segment whose frequency is in a preset frequency range, and the third target audio signal segment may be determined according to a signal segment of the second target audio signal segment whose amplitude is greater than or equal to a preset amplitude. The present application is not limited thereto
In one embodiment, the attenuating a target audio signal segment in an audio signal to be output includes: performing attenuation processing on the amplitude of a first target audio signal segment in the audio signal to be output, so that the decibel of the first target audio signal segment after the attenuation processing is smaller than a preset decibel; and/or according to the preset corresponding relation between the frequency and the temperature and a second preset temperature, performing attenuation processing on the frequency of a second target audio signal segment in the audio signal to be output, so that the frequency of the second target audio signal segment subjected to the attenuation processing is not in a preset frequency range; and/or according to the preset corresponding relation between the voltage and the temperature and the second preset temperature, carrying out attenuation processing on the amplitude of a third target audio signal segment in the audio signal to be output, so that the amplitude of the third target audio signal segment after the attenuation processing is smaller than the preset amplitude.
Illustratively, the DRC module is configured to compress an amplitude of a first target audio signal segment in the audio signal to be output, so that a decibel of the compressed first target audio signal segment is smaller than a preset decibel; filtering the frequency of a second target audio signal segment in the audio signal through a filter module according to the corresponding relation between the preset frequency and the preset temperature and a second preset temperature, so that the frequency of the second target audio signal segment after filtering is not in the preset frequency range; and carrying out amplitude limiting processing on the amplitude of a third target audio signal segment in the audio signal through an amplitude limiter module according to the preset corresponding relation between the voltage and the temperature and the second preset temperature, so that the amplitude of the third target audio signal segment after amplitude limiting processing is smaller than the preset amplitude. Through intelligently controlling each target audio signal segment in the audio signal to be output, the output effect of the audio signal to be output cannot be greatly changed, compared with the prior art, the method has the advantages that the great progress is made, meanwhile, the exciter is prevented from generating larger heat, and the current temperature of the screen can be effectively reduced.
In an embodiment, the attenuating the frequency of the second target audio signal segment in the audio signal to be output according to the preset corresponding relationship between the frequency and the temperature and the second preset temperature includes: determining a plurality of frequencies corresponding to a target temperature which is greater than or equal to a second preset temperature according to a corresponding relation between preset frequencies and temperatures to obtain a target frequency range; determining a second target audio signal segment of which the frequency in the audio signal to be played is within the target frequency range; and carrying out filtering attenuation processing on the frequency of the second target audio signal segment in the audio signal to be played. The corresponding relation between the frequency and the temperature can be a correlation relation or a functional relation, the frequency of the high-frequency second target audio signal segment is subjected to filtering attenuation processing, the heat productivity of the exciter can be effectively reduced, and therefore the temperature of the exciter can be controlled.
In an embodiment, the attenuating the amplitude of the third target audio signal segment in the audio signal to be output according to the preset corresponding relationship between the voltage and the temperature and the second preset temperature includes: determining a first voltage corresponding to a second preset temperature according to a corresponding relation between preset voltages and temperatures; determining a target amplitude corresponding to the first voltage, and determining a third target audio signal segment of which the amplitude is greater than or equal to the target amplitude in the audio signal to be played; and carrying out attenuation processing on the amplitude of a third target audio signal segment in the audio signal to be played. The corresponding relation between the voltage and the temperature can be a correlation relation or a functional relation, and the corresponding relation can be obtained according to a correlation experiment of the influence of the working voltage of the exciter on the temperature of the screen. The amplitude of the third target audio signal segment with high amplitude is attenuated, the heat productivity of the exciter can be effectively reduced, the temperature of the exciter and the temperature of a screen are controlled, and meanwhile, the output effect of the audio signal is ensured by intelligently controlling the audio signal.
Step S203, if the current temperature of the exciter is less than a second preset temperature, acquiring the current temperature of the screen.
And if the processor determines that the current temperature of the exciter is less than the second preset temperature, the processor acquires the current temperature of the screen through at least one temperature sensor installed on the screen.
Step S204, when the current temperature of the screen is determined to be greater than or equal to the first preset temperature, attenuation processing is carried out on a target audio signal segment in the audio signal to be played, so that after the audio signal subjected to the attenuation processing is played on the screen, the current temperature of the screen is lower than the first preset temperature.
Determining whether the current temperature of the screen is greater than or equal to a first preset temperature, and performing attenuation processing on a target audio signal segment in the audio signal to be played when the processor determines that the current temperature of the screen is greater than or equal to the first preset temperature, wherein the implementation process of the attenuation processing can refer to the foregoing embodiments, which are not repeated in this application, for example, performing attenuation processing on the amplitude of a first target audio signal segment in the audio signal to be played, performing attenuation processing on the frequency of a second target audio signal segment in the audio signal to be played, and performing attenuation processing on the amplitude of a third target audio signal segment in the audio signal to be played, so that after the screen plays the audio signal subjected to the attenuation processing, the current temperature of the screen is lower than the first preset temperature, thereby achieving temperature protection on the screen and further improving the output effect of the audio signal, the conditions that the loudness of the output audio signal is suddenly high and suddenly low are avoided.
It should be noted that, when temperature detection and audio signal processing are performed during screen sounding, if the current temperature of the exciter is lower than the second preset temperature and the current temperature of the screen is lower than the first preset temperature, the audio signal processing module does not receive feedback that the current temperature of the exciter or the screen exceeds the standard, and the audio signal to be played does not need to be attenuated, and the screen sounds as usual; the screen sounding process is also continuous and uninterrupted if feedback is received that the current temperature of the driver or screen is above standard.
In the screen protection method provided in the above embodiment, by obtaining the current temperature of the exciter, and determining whether the current temperature of the exciter is less than a second preset temperature, if the current temperature of the exciter is greater than or equal to the second preset temperature, attenuation processing is performed on a target audio signal segment in the audio signal to be output, so that after the audio signal subjected to the attenuation processing is output by the exciter, the current temperature of the exciter is lower than a first preset temperature; if the current temperature of the exciter is lower than the second preset temperature, when the current temperature of the screen is determined to be higher than or equal to the first preset temperature, attenuation processing is carried out on a target audio signal segment in the audio signal to be played, so that after the screen plays the audio signal subjected to the attenuation processing, the current temperature of the screen is lower than the first preset temperature, and the output effect of the audio signal is improved while the screen and the exciter are protected by intelligently regulating and controlling the audio signal.
Referring to fig. 7, fig. 7 is a schematic block diagram of an electronic device according to an embodiment of the present invention.
As shown in fig. 7, the electronic device 300 comprises a processor 301 and a memory 302, the processor 301 and the memory 302 being connected by a bus 303, such as an I2C (Inter-integrated Circuit) bus.
In particular, the processor 301 is used to provide computing and control capabilities, supporting the operation of the entire electronic device. The Processor 301 may be a Central Processing Unit (CPU), and the Processor 301 may also be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Specifically, the Memory 302 may be a Flash chip, a Read-Only Memory (ROM) magnetic disk, an optical disk, a usb disk, or a removable hard disk.
It will be understood by those skilled in the art that the structure shown in fig. 7 is a block diagram of only a portion of the structure associated with an embodiment of the present invention, and does not constitute a limitation on the electronic device to which an embodiment of the present invention may be applied, and a particular electronic device may include more or less components than those shown in the drawings, or may combine certain components, or have a different arrangement of components.
The processor is configured to run a computer program stored in the memory, and when executing the computer program, implement any one of the screen protection methods provided by the embodiments of the present invention.
In an embodiment, the processor is configured to run a computer program stored in the memory and to implement the following steps when executing the computer program:
when the current temperature of the screen is determined to be greater than or equal to a first preset temperature, attenuation processing is carried out on a target audio signal segment in the audio signal to be played, so that after the screen plays the audio signal subjected to the attenuation processing, the current temperature of the screen is lower than the first preset temperature.
In an embodiment, when the processor performs attenuation processing on a target audio signal segment in the audio signal to be played, the processor is configured to perform:
and carrying out attenuation processing on the frequency and/or amplitude of the target audio signal segment in the audio signal to be played.
In an embodiment, when the processor performs attenuation processing on a target audio signal segment in the audio signal to be played, the processor is configured to perform:
determining a target audio signal segment of which the decibel of a target audio signal segment in the audio signal to be played is greater than or equal to a preset decibel;
and performing attenuation processing on the amplitude of the target audio signal segment in the audio signal, so that the decibel of the target audio signal segment after the attenuation processing is smaller than the preset decibel.
In an embodiment, when the attenuating the amplitude of the target audio signal segment in the audio signal is implemented so that the decibel of the target audio signal segment after the attenuating is smaller than the preset decibel, the processor is configured to implement:
according to a first preset slope, carrying out signal compression processing on the amplitude of the target audio signal segment in the audio signal to be played to obtain a compressed audio signal;
and adjusting the amplitude of the target audio signal segment in the compressed audio signal according to a second preset slope, so that the decibel of the adjusted target audio signal segment is smaller than the preset decibel.
In an embodiment, when the processor performs attenuation processing on a target audio signal segment in the audio signal to be played, the processor is configured to perform:
determining a target audio signal segment with the frequency within the preset frequency range in the audio signal to be played;
and performing attenuation processing on the frequency of a target audio signal segment in the audio signal, so that the frequency of the target audio signal segment after the attenuation processing is positioned outside the preset frequency range.
In an embodiment, when the processor performs attenuation processing on a target audio signal segment in the audio signal to be played, the processor is configured to perform:
determining a target audio signal segment of which the amplitude is greater than or equal to a preset amplitude in the audio signal to be played;
and carrying out attenuation processing on the amplitude of a target audio signal segment in the audio signal, so that the amplitude of the target audio signal segment after the attenuation processing is smaller than the preset amplitude.
In one embodiment, the screen is controlled by an actuator, and the processor is further configured to:
acquiring the current temperature of the exciter, and determining whether the current temperature of the exciter is less than a second preset temperature;
and if the current temperature of the exciter is greater than or equal to a second preset temperature, performing attenuation processing on a target audio signal segment in the audio signal to be output, so that the current temperature of the exciter is lower than the second preset temperature after the exciter works based on the audio signal subjected to the attenuation processing.
In an embodiment, the processor, after performing the determining whether the current temperature of the actuator is less than a second preset temperature, is further configured to perform:
if the current temperature of the exciter is lower than a second preset temperature, acquiring the current temperature of the screen;
when the current temperature of the screen is greater than or equal to a first preset temperature, attenuation processing is carried out on a target audio signal segment in the audio signal to be played, so that after the screen plays the audio signal subjected to the attenuation processing, the current temperature of the screen is lower than the first preset temperature.
It should be noted that, as will be clearly understood by those skilled in the art, for convenience and brevity of description, the specific working process of the electronic device described above may refer to the corresponding process in the foregoing screen protection method embodiment, and details are not described herein again.
Embodiments of the present invention also provide a storage medium for a computer-readable storage, the storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of any method of screen saver as provided by the embodiments of the present invention.
The storage medium may be an internal storage unit of the electronic device described in the foregoing embodiment, for example, a hard disk or a memory of the electronic device. The storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
It should be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A screen saver method, comprising:
when the current temperature of the screen is determined to be greater than or equal to a first preset temperature, attenuation processing is carried out on a target audio signal segment in the audio signal to be played, so that after the screen plays the audio signal subjected to the attenuation processing, the current temperature of the screen is lower than the first preset temperature.
2. The screen protection method of claim 1, wherein the attenuating a target audio signal segment in the audio signal to be played comprises:
and carrying out attenuation processing on the frequency and/or amplitude of the target audio signal segment in the audio signal to be played.
3. The screen protection method of claim 2, wherein the attenuating a target audio signal segment in the audio signal to be played comprises:
determining a target audio signal segment of which the decibel is greater than or equal to a preset decibel in the audio signal to be played;
and performing attenuation processing on the amplitude of the target audio signal segment in the audio signal, so that the decibel of the target audio signal segment after the attenuation processing is smaller than the preset decibel.
4. The screen protection method according to claim 3, wherein the attenuating the amplitude of the target audio signal segment in the audio signal so that the decibel of the target audio signal segment after the attenuation is smaller than the preset decibel comprises:
according to a first preset slope, carrying out signal compression processing on the amplitude of the target audio signal segment in the audio signal to be played to obtain a compressed audio signal;
and adjusting the amplitude of the target audio signal segment in the compressed audio signal according to a second preset slope, so that the decibel of the adjusted target audio signal segment is smaller than the preset decibel.
5. The screen protection method of claim 2, wherein the attenuating a target audio signal segment in the audio signal to be played comprises:
determining a target audio signal segment with a frequency within a preset frequency range in an audio signal to be played;
and performing attenuation processing on the frequency of a target audio signal segment in the audio signal, so that the frequency of the target audio signal segment after the attenuation processing is positioned outside the preset frequency range.
6. The screen protection method of claim 2, wherein the attenuating a target audio signal segment in the audio signal to be played comprises:
determining a target audio signal segment of which the amplitude is greater than or equal to a preset amplitude in the audio signal to be played;
and carrying out attenuation processing on the amplitude of a target audio signal segment in the audio signal, so that the amplitude of the target audio signal segment after the attenuation processing is smaller than the preset amplitude.
7. A screen saver method according to any one of claims 1 to 6 wherein the screen is controlled by an actuator, the method further comprising:
acquiring the current temperature of the exciter, and determining whether the current temperature of the exciter is less than a second preset temperature;
and if the current temperature of the exciter is greater than or equal to a second preset temperature, performing attenuation processing on a target audio signal segment in the audio signal to be output, so that the current temperature of the exciter is lower than the second preset temperature after the exciter works based on the audio signal subjected to the attenuation processing.
8. The screen saver method of claim 7 wherein after determining whether the current temperature of the actuator is less than a second predetermined temperature, further comprising:
if the current temperature of the exciter is lower than a second preset temperature, acquiring the current temperature of the screen;
when the current temperature of the screen is greater than or equal to a first preset temperature, attenuation processing is carried out on a target audio signal segment in the audio signal to be played, so that after the screen plays the audio signal subjected to the attenuation processing, the current temperature of the screen is lower than the first preset temperature.
9. An electronic device, characterized in that the electronic device comprises a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for enabling a connection communication between the processor and the memory, wherein the computer program, when executed by the processor, implements the steps of the screen saver method of any of claims 1 to 8.
10. A storage medium for computer readable storage, wherein the storage medium stores one or more programs executable by one or more processors to implement the steps of the screen saver method of any of claims 1 to 8.
CN202010761564.2A 2020-07-31 2020-07-31 Screen protection method, electronic device and storage medium Pending CN114089944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010761564.2A CN114089944A (en) 2020-07-31 2020-07-31 Screen protection method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010761564.2A CN114089944A (en) 2020-07-31 2020-07-31 Screen protection method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN114089944A true CN114089944A (en) 2022-02-25

Family

ID=80295041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010761564.2A Pending CN114089944A (en) 2020-07-31 2020-07-31 Screen protection method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114089944A (en)

Similar Documents

Publication Publication Date Title
US10271151B2 (en) Direct measurement of an input signal to a loudspeaker to determine and limit a temperature of a voice coil of the loudspeaker
US9173020B2 (en) Control method of sound producing, sound producing apparatus, and portable apparatus
US9762198B2 (en) Frequency band compression with dynamic thresholds
US10219074B2 (en) Loudspeaker protection systems and methods
EP3448059A1 (en) Audio processor with temperature adjustment
CN103037289A (en) Control of a loudspeaker output
US10339953B2 (en) Howling detection method and apparatus
JP5417491B2 (en) Electronic device, method and program
WO2012004628A1 (en) Acoustic shock prevention apparatus
CN111128167A (en) Far-field voice awakening method and device, electronic product and storage medium
EP3771202B1 (en) Method and system for automatically controlling audio output of a television device based on ambient noise
CN103456334A (en) Method and device for playing audio file
CN114089944A (en) Screen protection method, electronic device and storage medium
CN112565976B (en) Speaker driving circuit, temperature protection method, terminal device, and storage medium
CN110113694B (en) Method and apparatus for controlling audio playback in an electronic device
US20220261216A1 (en) Method for adjusting sound playback and portable device thereof
US20220182029A1 (en) Apparatus and method for automatic volume control with ambient noise compensation
CN111083605A (en) Audio information playing method and device, electronic equipment and storage medium
JP6887315B2 (en) Speech processing device and its control method, program and storage medium
CN113946308A (en) Screen over-vibration protection method, electronic device and storage medium
CN115883704A (en) Screen over-vibration protection method and device, electronic equipment and storage medium
US20240087586A1 (en) Acoustic pattern determination
US10778173B2 (en) Audio distortion compensation
JP2015070356A (en) Speaker switching device and audio equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination