CN111767000A - Method, device, equipment and storage medium for inhibiting vibration of electronic equipment shell - Google Patents

Method, device, equipment and storage medium for inhibiting vibration of electronic equipment shell Download PDF

Info

Publication number
CN111767000A
CN111767000A CN202010584904.9A CN202010584904A CN111767000A CN 111767000 A CN111767000 A CN 111767000A CN 202010584904 A CN202010584904 A CN 202010584904A CN 111767000 A CN111767000 A CN 111767000A
Authority
CN
China
Prior art keywords
target
shell
shell vibration
vibration level
audio signal
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.)
Granted
Application number
CN202010584904.9A
Other languages
Chinese (zh)
Other versions
CN111767000B (en
Inventor
王洪兴
葛欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
AAC Technologies Pte Ltd
Original Assignee
AAC Technologies Pte 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 AAC Technologies Pte Ltd filed Critical AAC Technologies Pte Ltd
Priority to CN202010584904.9A priority Critical patent/CN111767000B/en
Priority to PCT/CN2020/099747 priority patent/WO2021258414A1/en
Publication of CN111767000A publication Critical patent/CN111767000A/en
Application granted granted Critical
Publication of CN111767000B publication Critical patent/CN111767000B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)
  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a method for inhibiting the vibration of a shell of electronic equipment, which comprises the following steps: acquiring an audio signal to be processed; detecting target acceleration data through an acceleration sensor, and determining target shell vibration level data of a shell according to the target acceleration data; calculating a target shell vibration suppression parameter according to the target shell vibration level data; and carrying out equalization processing on the audio signal to be processed according to the target shell vibration suppression parameter, acquiring a target audio signal after equalization processing, and outputting the target audio signal to a loudspeaker of the electronic equipment. In addition, the embodiment of the invention also discloses a device, equipment and a storage medium for inhibiting the shell of the electronic equipment from vibrating. The invention can effectively inhibit the shell vibration of the electronic equipment in the audio playing process and improve the user experience.

Description

Method, device, equipment and storage medium for inhibiting vibration of electronic equipment shell
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for suppressing vibration of a housing of an electronic device, and a computer-readable storage medium.
Background
With the popularization of mobile electronic devices such as smart phones, consumers have higher requirements for electronic devices, for example, higher requirements for sound experience.
It is the daily behavior of consumers to carry out sound amplification through the speaker that sets up inside the smart mobile phone. However, when the sound emitted from the speaker is large, the driving unit inside the speaker will also generate a larger driving force to push a larger volume of air; meanwhile, certain side effects can be generated, namely, the mobile phone shell is excited to generate obvious vibration, and poor use experience is generated for users. For example, when a consumer holds a mobile phone for a long time and puts the mobile phone out, the consumer feels a hand numb, and the user experience often results in dissatisfaction with the design of the smart phone.
That is, there is no prior art solution for suppressing the vibration of the casing of the cellular phone in the case where the sound of the speaker is radiated outside.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, an electronic device, and a computer-readable storage medium for suppressing vibration of a housing of an electronic device.
A method of damping vibration of an electronic device housing, the method comprising:
acquiring an audio signal to be processed;
detecting target acceleration data through an acceleration sensor, and determining target shell vibration level data of a shell according to the target acceleration data;
calculating a target shell vibration suppression parameter according to the target shell vibration level data;
and carrying out equalization processing on the audio signal to be processed according to the target shell vibration suppression parameter, acquiring a target audio signal after equalization processing, and outputting the target audio signal to a loudspeaker of the electronic equipment.
Optionally, the step of detecting target acceleration data by the acceleration sensor and determining target shell vibration level data of the shell according to the target acceleration data further includes:
acquiring target acceleration data detected by one or more acceleration sensors arranged inside the electronic equipment and/or on the shell;
and determining the target shell vibration level data according to the target acceleration data according to a preset shell vibration level calculation model.
Optionally, the acceleration sensor includes one or more acceleration sensors disposed inside the electronic device and a plurality of acceleration sensors disposed at different positions on the housing;
the step of detecting target acceleration data by the acceleration sensor further includes:
respectively acquiring first acceleration data corresponding to different positions of the shell through a plurality of acceleration sensors arranged at different positions on the shell;
acquiring second acceleration data inside the electronic equipment through the one or more acceleration sensors arranged inside the electronic equipment;
the step of determining shell vibration level data of the shell according to the target acceleration data further comprises:
calculating first shell vibration level data corresponding to the first acceleration data, and calculating second shell vibration level data corresponding to the second acceleration data;
and calculating the target shell vibration level data according to the first shell vibration level data and the second shell vibration level data.
Optionally, before the step of determining the target shell vibration level data of the shell according to the target acceleration data, the method further includes:
and calculating estimated shell vibration level data corresponding to the audio signal to be processed, and taking the estimated shell vibration level data as the shell vibration level data.
Optionally, the step of calculating a target shell vibration suppression parameter according to the target shell vibration level data further includes:
judging whether the target shell vibration level data meets a preset shell vibration level threshold value or not;
under the condition that the target shell vibration level data meet a preset shell vibration level threshold value, outputting the audio signal to be processed to a loudspeaker of the electronic equipment as the target audio signal;
and under the condition that the target shell vibration level data does not meet a preset shell vibration level threshold, calculating the target shell vibration suppression parameter according to the target shell vibration level data and the preset shell vibration level threshold.
Optionally, the method further includes:
acquiring current application scene parameters of the electronic equipment;
and determining a shell vibration level threshold corresponding to the current application scene parameter as a preset shell vibration level threshold.
Optionally, after the step of acquiring the audio signal to be processed, the method further includes:
and acquiring initial shell vibration suppression parameters, and preprocessing the audio signal to be processed according to the initial shell vibration suppression parameters.
An apparatus for damping vibration of an electronic device housing, the apparatus comprising:
the audio signal acquisition module is used for acquiring an audio signal to be processed;
the shell vibration level evaluation module is used for detecting target acceleration data through the acceleration sensor and determining target shell vibration level data of the shell according to the target acceleration data;
the shell vibration suppression parameter calculation module is used for calculating a target shell vibration suppression parameter according to the target shell vibration level data;
and the signal equalization module is used for carrying out equalization processing on the audio signal to be processed according to the target shell vibration suppression parameter, acquiring a target audio signal after equalization processing, and outputting the target audio signal to a loudspeaker of the electronic equipment.
An electronic device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
acquiring an audio signal to be processed;
detecting target acceleration data through an acceleration sensor, and determining target shell vibration level data of a shell according to the target acceleration data;
calculating a target shell vibration suppression parameter according to the target shell vibration level data;
and carrying out equalization processing on the audio signal to be processed according to the target shell vibration suppression parameter, acquiring a target audio signal after equalization processing, and outputting the target audio signal to a loudspeaker of the electronic equipment.
A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring an audio signal to be processed;
detecting target acceleration data through an acceleration sensor, and determining target shell vibration level data of a shell according to the target acceleration data;
calculating a target shell vibration suppression parameter according to the target shell vibration level data;
and carrying out equalization processing on the audio signal to be processed according to the target shell vibration suppression parameter, acquiring a target audio signal after equalization processing, and outputting the target audio signal to a loudspeaker of the electronic equipment.
The embodiment of the invention has the following beneficial effects:
after the method, the device, the electronic equipment and the computer-readable storage medium for suppressing the shell vibration of the electronic equipment are adopted, under the condition of sound external playing, aiming at the audio signal to be processed, the shell vibration level of the electronic equipment is detected according to the acceleration sensor, the corresponding shell vibration suppression parameter is calculated, then the audio signal to be processed is subjected to equalization correction through the shell vibration suppression parameter and then is input to the loudspeaker of the electronic equipment for sound playing, and therefore the shell vibration under the condition of sound external playing is effectively suppressed. By adopting the embodiment of the invention, the shell vibration under the condition of sound external release can be effectively inhibited without improving the structure of the electronic equipment or the structure of the loudspeaker, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
FIG. 1 is a flow diagram illustrating a method for damping vibration in a housing of an electronic device, according to one embodiment;
FIG. 2 is a schematic diagram illustrating the shell vibration suppression effect according to an embodiment;
FIG. 3 is a block diagram of an apparatus for damping vibration in a housing of an electronic device in one embodiment;
FIG. 4 is a block diagram of a computer device that implements the method for damping vibration in a housing of an electronic device according to one embodiment;
FIG. 5 is a diagram illustrating a computer-readable storage medium in one embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this embodiment, in order to suppress casing vibration of electronic equipment such as a smart phone in the sound playback process, a method for suppressing casing vibration of the electronic equipment is provided, so that casing vibration caused by sound playback can be effectively reduced without changing a speaker structure and a mobile phone structure, and user experience is improved.
Specifically, as shown in fig. 1, in one embodiment, a method of suppressing vibration of an electronic device housing is provided. The method for suppressing the vibration of the shell of the electronic device can be implemented based on an electronic device such as a smart phone, and a loudspeaker is arranged in the electronic device to receive an audio signal for playing sound.
The method for suppressing the casing vibration of the electronic device is mainly implemented in the case of performing sound emission through an electronic device such as a smartphone, that is, the method for suppressing the casing vibration of the electronic device is performed only in the case of performing audio playback and sound emission.
Referring to fig. 1, the method for suppressing the vibration of the housing of the electronic device includes steps S102 to S108 shown in fig. 1:
step S102: and acquiring an audio signal to be processed.
The audio signal to be processed is an audio signal to be played, for example, an audio signal to be played generated by a certain music playing software.
Step S104: and detecting target acceleration data through an acceleration sensor, and determining target shell vibration level data of the shell according to the target acceleration data.
In this step, whether shell vibration occurs in the housing of the electronic device can be detected by the acceleration sensor, and particularly, the determination is performed by acceleration data detected by the acceleration sensor.
The acceleration sensor comprises one or more acceleration sensors arranged in the electronic equipment and/or on the electronic equipment shell, and is used for detecting corresponding acceleration data, namely target acceleration data. The method comprises the steps that first acceleration data corresponding to different positions of a shell are respectively obtained through a plurality of acceleration sensors arranged at different positions on the shell; and acquiring second acceleration data in the electronic equipment through the one or more acceleration sensors arranged in the electronic equipment.
It should be noted that one or more acceleration sensors may be disposed inside the electronic device to detect a shell vibration condition inside the electronic device. One or more acceleration sensors (the setting position can be determined according to the holding state of the electronic equipment used by a user) can be arranged on the shell of the electronic equipment to detect the actual vibration condition of the shell, so that the shell vibration detection accuracy is improved.
In a specific embodiment, the description of the level of shell vibration may be determined using the first acceleration data, may be determined using only the second acceleration data, or may be determined by combining the first acceleration data and the second acceleration data.
After the acceleration data is detected, the detected hull vibration condition, i.e., the target hull vibration level data, can be evaluated based on the acceleration data. In specific implementation, corresponding target shell vibration level data are calculated based on target acceleration data according to a preset shell vibration level calculation model. Wherein the target hull vibration level data may be a hull vibration level curve.
Specifically, according to a preset acceleration measurement value-shell vibration level evaluation model, a shell vibration level corresponding to the target acceleration data is determined, and the shell vibration level is the target shell vibration level data. The preset acceleration measurement value-shell vibration level evaluation model is a model corresponding to a mapping relation between the acceleration measurement value and the shell vibration level, that is, according to the model, after target acceleration data are measured, corresponding shell vibration level data can be determined according to the model. The preset acceleration measurement value-shell vibration level evaluation model is a corresponding relationship between an acceleration measurement value and a shell vibration level, which is constructed by testing the electronic device in advance, for example, a frequency domain ratio relationship between the shell vibration level and the acceleration measurement value.
Further, when calculating the target shell vibration level data, corresponding shell vibration level data are respectively calculated according to acceleration data obtained by measuring different acceleration values, and then the final target shell vibration level data are determined. Specifically, first shell vibration level data corresponding to the first acceleration data is calculated, and second shell vibration level data corresponding to the second acceleration data is calculated; and calculating the target shell vibration level data according to the first shell vibration level data and the second shell vibration level data.
In the present embodiment, in order to accurately evaluate the level of the casing vibration, the acceleration sensor is preferably an acceleration sensor disposed at a plurality of different positions on the casing of the electronic device, and the casing vibration at each position of the casing is detected, so that the level of the casing vibration can be evaluated more comprehensively.
In one embodiment, in the case where the target acceleration data includes the first acceleration data and the second acceleration data, the contribution to the true level of the hull vibration between the two needs to be comprehensively considered in determining the level of the hull vibration.
Specifically, under the condition that the first shell vibration level data and the second shell vibration level data are obtained through calculation, corresponding target shell vibration level data are calculated according to a preset weighted average algorithm.
In another embodiment, in a case where a plurality of acceleration sensors are provided on the electronic apparatus casing, the first acceleration data includes acceleration data respectively corresponding to each of the acceleration sensors. In this case, in the calculation of the first acceleration data or the corresponding first shell vibration level data, the corresponding first acceleration data or the corresponding first shell vibration level data is calculated according to a calculation formula (for example, a preset weighted average algorithm) that is constructed in advance according to the position where the acceleration sensor is disposed. In other words, the shell vibration conditions detected by the acceleration sensors at different positions on the shell are comprehensively considered, so that the overall shell vibration condition can be more accurately evaluated, and the effectiveness of subsequent shell vibration suppression is improved.
In the embodiment, a test has been performed on the electronic device overall unit in advance, and a scheme of how to suppress the shell vibration is obtained. Specifically, after the audio signal to be processed is determined, estimated shell vibration level data corresponding to the audio signal to be processed may be calculated according to a preset audio signal-shell vibration level evaluation model, where the estimated shell vibration level data is a description of shell vibration conditions that would be generated if the audio signal to be processed is input to a speaker of the electronic device, and the description is obtained according to prediction of the audio signal-shell vibration level evaluation model. It should be noted that the estimated shell vibration level data is also a part of the target shell vibration level data, and the estimated shell vibration level data also needs to be considered in the subsequent processes of calculating the target shell vibration suppression parameters and suppressing.
The audio signal-shell vibration level evaluation model is a transfer function between the audio signal and the shell vibration level, and is a model constructed by testing the electronic equipment in advance to determine the corresponding relation between the audio signal and the shell vibration level.
Step S106: and calculating a target shell vibration suppression parameter according to the target shell vibration level data.
After determining the target shell vibration level data identifying the current shell vibration condition, a corresponding target shell vibration suppression parameter may be calculated, where the target shell vibration suppression parameter is a parameter that needs to suppress shell vibration, and may be, for example, an equalization parameter for performing equalization processing on the audio signal to be processed, or a control parameter for the audio signal to be processed.
In this embodiment, a preset shell vibration level threshold or a control target for shell vibration suppression needs to be determined before calculating the target shell vibration suppression parameter. The shell vibration level threshold value and the control target of shell vibration suppression identify the maximum allowed shell vibration level, and the shell vibration can be determined to be controlled within a certain range according to the shell vibration level threshold value, so that the corresponding target shell vibration suppression parameter is determined.
In specific implementation, judging whether the target shell vibration level data meets a preset shell vibration level threshold value; then, under the condition that the target shell vibration level data meets a preset shell vibration level threshold, taking the audio signal to be processed as the target audio signal and outputting the target audio signal to a loudspeaker of the electronic equipment, namely, the suppression of shell vibration is not needed, and the sound is directly played; and under the condition that the target shell vibration level data does not meet a preset shell vibration level threshold, calculating the target shell vibration suppression parameter according to the target shell vibration level data and the preset shell vibration level threshold, namely calculating a target shell vibration suppression parameter corresponding to the control target reaching the preset shell vibration suppression according to the shell vibration level threshold.
Different users have different tolerance degrees on the shell vibration, and the shell vibration suppression can also have certain influence on audio to a certain extent, so that different shell vibration level thresholds can be set according to different users and different application scenes.
In specific implementation, a user can select and set application scenes, and different application scenes correspond to different shell vibration level thresholds and different shell vibration suppression effects. For example, the application scenario may include an optimal tone quality mode, an equalization mode, a no-vibration mode, and the like, and the corresponding shell vibration suppression effect is low shell vibration suppression level, medium shell vibration suppression level, high shell vibration suppression level, and the like. The user can select different ringing suppression effects according to the subjective experience. In the execution process, the current application scene parameters of the electronic equipment need to be determined; and then determining a corresponding shell vibration level threshold value as a preset shell vibration level threshold value according to the current scene parameters, and determining the extent to which shell vibration needs to be suppressed according to the determined preset shell vibration level threshold value.
Step S108: and carrying out equalization processing on the audio signal to be processed according to the target shell vibration suppression parameter, acquiring a target audio signal after equalization processing, and outputting the target audio signal to a loudspeaker of the electronic equipment.
After the target shell vibration suppression parameter is determined, the audio signal to be processed can be equalized according to the target shell vibration suppression parameter, that is, the equalized signal corresponding to the target shell vibration suppression parameter is applied to the audio signal to be processed, so that the target audio signal after equalization processing is obtained. Then the target audio signal is output to a loudspeaker of the electronic equipment, and sound is radiated through the loudspeaker, at the moment, shell vibration of the electronic equipment is controlled within a certain range, and effective suppression is achieved.
Through the steps S102-S108, a target shell vibration suppression parameter corresponding to shell vibration suppression is calculated according to the input audio signal and the shell vibration level determined by the detection value of the acceleration sensor, and then the audio signal is processed according to the target shell vibration suppression parameter and then input into the loudspeaker, so that shell vibration is effectively suppressed.
Further, in the method for suppressing shell vibration of an electronic device, shell vibration level data which may exist is predicted in advance through an audio signal to be processed, then, in the case of sound emission, actual shell vibration conditions are detected and detected through an acceleration sensor, whether the predicted shell vibration level data are accurate or not is determined according to the actual detection conditions, then, shell vibration suppression parameters which need to be corrected are determined according to the predicted shell vibration level data and the detected shell vibration level data, and then, the audio signal to be processed is processed, so that a shell vibration suppression effect is achieved.
Further, in this embodiment, in order to predict the ringing as much as possible, as described above, the ringing condition may be predicted according to the audio signal, so that the corresponding ringing suppression parameter may be calculated, and the ringing that may exist in the audio signal may be suppressed according to the ringing suppression parameter before the sound is played. Specifically, an initial shell vibration suppression parameter is obtained, wherein the initial shell vibration suppression parameter is determined according to shell vibration level data predicted by the audio signal, and then the audio signal to be processed is preprocessed according to the initial shell vibration suppression parameter and then input into a loudspeaker of the electronic device, so that shell vibration is reduced, and shell vibration suppression efficiency is improved.
As shown in fig. 2, a schematic illustration of the suppression of the shell vibration effect is given.
In another embodiment, as shown in fig. 3, an apparatus for suppressing vibration of a housing of an electronic device is also provided.
Specifically, referring to fig. 3, the device 10 for suppressing vibration of a housing of an electronic device includes:
the audio signal acquisition module 102 is configured to acquire an audio signal to be processed;
the shell vibration level evaluation module 104 is used for detecting target acceleration data through the acceleration sensor and determining target shell vibration level data of the shell according to the target acceleration data;
the suppression parameter calculation module 106 is used for calculating a target shell vibration suppression parameter according to the target shell vibration level data;
the first signal processing module 108 is configured to perform equalization processing on the audio signal to be processed according to the target shell vibration suppression parameter, obtain a target audio signal after the equalization processing, and output the target audio signal to a speaker of the electronic device.
Optionally, the shell vibration level evaluation module 104 is further configured to obtain target acceleration data detected by one or more acceleration sensors disposed inside the electronic device and/or on the shell; and determining the target shell vibration level data according to the target acceleration data according to a preset shell vibration level calculation model.
Optionally, the acceleration sensor includes one or more acceleration sensors disposed inside the electronic device and a plurality of acceleration sensors disposed at different positions on the housing;
the shell vibration level evaluation module 104 is further configured to obtain first acceleration data corresponding to different positions of the shell through a plurality of acceleration sensors arranged at different positions on the shell respectively; acquiring second acceleration data inside the electronic equipment through the one or more acceleration sensors arranged inside the electronic equipment; calculating first shell vibration level data corresponding to the first acceleration data, and calculating second shell vibration level data corresponding to the second acceleration data; and calculating the target shell vibration level data according to the first shell vibration level data and the second shell vibration level data.
Optionally, the shell vibration level evaluation module 104 is further configured to calculate estimated shell vibration level data corresponding to the audio signal to be processed, and use the estimated shell vibration level data as the shell vibration level data.
Optionally, the suppression parameter calculation module 106 is further configured to determine whether the target shell vibration level data meets a preset shell vibration level threshold; under the condition that the target shell vibration level data meet a preset shell vibration level threshold value, outputting the audio signal to be processed to a loudspeaker of the electronic equipment as the target audio signal; and under the condition that the target shell vibration level data does not meet a preset shell vibration level threshold, calculating the target shell vibration suppression parameter according to the target shell vibration level data and the preset shell vibration level threshold.
Optionally, as shown in fig. 3, the apparatus 10 for suppressing shell vibration of an electronic device further includes a suppression target determining module 110, configured to obtain current application scene parameters of the electronic device; and determining a shell vibration level threshold corresponding to the current application scene parameter as a preset shell vibration level threshold.
Optionally, as shown in fig. 3, the apparatus 10 for suppressing shell vibration of an electronic device further includes a second signal processing module 112, configured to obtain an initial shell vibration suppression parameter, and perform preprocessing on the audio signal to be processed according to the initial shell vibration suppression parameter.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device 1000 comprises a processor 1002, a memory 1001. The processor 1002 is coupled to the memory 1001. The memory 1001 has stored therein a computer program 1003 which the processor 1002 executes in operation to implement the method as shown in fig. 1. The detailed methods can be referred to above and are not described herein. Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a storage medium according to an embodiment of the present invention. The storage medium 1101 stores at least one computer program 1100, and the computer program 1100 is used for being executed by a processor to implement the method shown in fig. 1, and the detailed method can be referred to above and is not described herein again. In one embodiment, the computer readable storage medium 1101 may be a memory chip in a terminal, a hard disk, or other readable and writable storage tool such as a mobile hard disk or a flash drive, an optical disk, or the like, and may also be a server or the like.
After the method, the device, the electronic equipment and the computer-readable storage medium for suppressing the shell vibration of the electronic equipment are adopted, under the condition of sound external playing, aiming at the audio signal to be processed, the shell vibration level of the electronic equipment is detected according to the acceleration sensor, the corresponding shell vibration suppression parameter is calculated, then the audio signal to be processed is subjected to equalization correction through the shell vibration suppression parameter and then is input to the loudspeaker of the electronic equipment for sound playing, and therefore the shell vibration under the condition of sound external playing is effectively suppressed. By adopting the embodiment of the invention, the shell vibration under the condition of sound external release can be effectively inhibited without improving the structure of the electronic equipment or the structure of the loudspeaker, and the user experience is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of damping vibration in an electronic device housing, the method comprising:
acquiring an audio signal to be processed;
detecting target acceleration data through an acceleration sensor, and determining target shell vibration level data of a shell according to the target acceleration data;
calculating a target shell vibration suppression parameter according to the target shell vibration level data;
and carrying out equalization processing on the audio signal to be processed according to the target shell vibration suppression parameter, acquiring a target audio signal after equalization processing, and outputting the target audio signal to a loudspeaker of the electronic equipment.
2. The method of suppressing vibration of an electronic device case as recited in claim 1, wherein the step of detecting target acceleration data by an acceleration sensor and determining target case vibration level data of the case from the target acceleration data further comprises:
acquiring target acceleration data detected by one or more acceleration sensors arranged inside the electronic equipment and/or on the shell;
and determining the target shell vibration level data according to the target acceleration data according to a preset shell vibration level calculation model.
3. The method of suppressing vibration of an electronic device case of claim 2, wherein the acceleration sensors comprise one or more acceleration sensors disposed inside the electronic device and a plurality of acceleration sensors disposed at different locations on the case;
the step of detecting target acceleration data by the acceleration sensor further includes:
respectively acquiring first acceleration data corresponding to different positions of the shell through a plurality of acceleration sensors arranged at different positions on the shell;
acquiring second acceleration data inside the electronic equipment through the one or more acceleration sensors arranged inside the electronic equipment;
the step of determining shell vibration level data of the shell according to the target acceleration data further comprises:
calculating first shell vibration level data corresponding to the first acceleration data, and calculating second shell vibration level data corresponding to the second acceleration data;
and calculating the target shell vibration level data according to the first shell vibration level data and the second shell vibration level data.
4. The method of suppressing vibration of an electronic device housing as recited in claim 2 or 3, wherein the step of determining target housing vibration level data of the housing from the target acceleration data is preceded by the step of:
and calculating estimated shell vibration level data corresponding to the audio signal to be processed, and taking the estimated shell vibration level data as the shell vibration level data.
5. The method of suppressing vibration in an electronic device housing as recited in claim 1, wherein said step of calculating a target housing vibration suppression parameter based on said target housing vibration level data further comprises:
judging whether the target shell vibration level data meets a preset shell vibration level threshold value or not;
under the condition that the target shell vibration level data meet a preset shell vibration level threshold value, outputting the audio signal to be processed to a loudspeaker of the electronic equipment as the target audio signal;
and under the condition that the target shell vibration level data does not meet a preset shell vibration level threshold, calculating the target shell vibration suppression parameter according to the target shell vibration level data and the preset shell vibration level threshold.
6. The method of suppressing vibration in an electronic device housing of claim 5, further comprising:
acquiring current application scene parameters of the electronic equipment;
and determining a shell vibration level threshold corresponding to the current application scene parameter as a preset shell vibration level threshold.
7. The method of suppressing vibration in an electronic device housing as recited in claim 1, further comprising, after the step of obtaining the audio signal to be processed:
and acquiring initial shell vibration suppression parameters, and preprocessing the audio signal to be processed according to the initial shell vibration suppression parameters.
8. An apparatus for damping vibration in an electronic device housing, the apparatus comprising:
the audio signal acquisition module is used for acquiring an audio signal to be processed;
the shell vibration level evaluation module is used for detecting target acceleration data through the acceleration sensor and determining target shell vibration level data of the shell according to the target acceleration data;
the shell vibration suppression parameter calculation module is used for calculating a target shell vibration suppression parameter according to the target shell vibration level data;
and the signal equalization module is used for carrying out equalization processing on the audio signal to be processed according to the target shell vibration suppression parameter, acquiring a target audio signal after equalization processing, and outputting the target audio signal to a loudspeaker of the electronic equipment.
9. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 7.
CN202010584904.9A 2020-06-24 2020-06-24 Method, device, equipment and storage medium for inhibiting vibration of electronic equipment shell Active CN111767000B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010584904.9A CN111767000B (en) 2020-06-24 2020-06-24 Method, device, equipment and storage medium for inhibiting vibration of electronic equipment shell
PCT/CN2020/099747 WO2021258414A1 (en) 2020-06-24 2020-07-01 Method and apparatus for suppressing vibration of housing of electronic device, and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010584904.9A CN111767000B (en) 2020-06-24 2020-06-24 Method, device, equipment and storage medium for inhibiting vibration of electronic equipment shell

Publications (2)

Publication Number Publication Date
CN111767000A true CN111767000A (en) 2020-10-13
CN111767000B CN111767000B (en) 2023-09-01

Family

ID=72722250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010584904.9A Active CN111767000B (en) 2020-06-24 2020-06-24 Method, device, equipment and storage medium for inhibiting vibration of electronic equipment shell

Country Status (2)

Country Link
CN (1) CN111767000B (en)
WO (1) WO2021258414A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113959320A (en) * 2021-10-22 2022-01-21 歌尔股份有限公司 Vibrator displacement detection method, device, equipment and storage medium for vibration device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115379347A (en) * 2022-08-16 2022-11-22 Oppo广东移动通信有限公司 Audio output method, electronic device, and computer-readable storage medium
CN116634052B (en) * 2023-07-26 2023-10-20 荣耀终端有限公司 Parameter determination method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008085647A (en) * 2006-09-27 2008-04-10 Funai Electric Co Ltd Speaker system and method of adjusting sound quality of speaker
CN103854688A (en) * 2012-12-04 2014-06-11 纬创资通股份有限公司 Electronic device with hard disk vibration suppression function and hard disk vibration suppression method
JP2014207584A (en) * 2013-04-12 2014-10-30 船井電機株式会社 Audio output device
JP2016191841A (en) * 2015-03-31 2016-11-10 住友理工株式会社 Active type vibration/noise suppression device
JP2018053988A (en) * 2016-09-28 2018-04-05 住友理工株式会社 Active type vibration noise suppression device
CN109688319A (en) * 2018-09-19 2019-04-26 青岛海信智慧家居系统股份有限公司 A kind of method and device inhibiting the intelligent sound box camera-shake with camera

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886857B (en) * 2014-03-10 2017-08-01 北京智谷睿拓技术服务有限公司 A kind of noise control method and equipment
CN107040655A (en) * 2017-03-23 2017-08-11 努比亚技术有限公司 Mobile terminal and audio adaptive equilibrium method
CN109168108B (en) * 2018-10-24 2021-03-02 维沃移动通信有限公司 Amplitude adjusting method and device for electroacoustic device and mobile terminal
CN109658942B (en) * 2018-12-27 2021-04-30 腾讯音乐娱乐科技(深圳)有限公司 Audio data processing method and device and related equipment
CN109885275B (en) * 2019-02-13 2022-08-19 杭州新资源电子有限公司 Audio regulation and control method, equipment and computer readable storage medium
CN110312032B (en) * 2019-06-17 2021-04-02 Oppo广东移动通信有限公司 Audio playing method and device, electronic equipment and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008085647A (en) * 2006-09-27 2008-04-10 Funai Electric Co Ltd Speaker system and method of adjusting sound quality of speaker
CN103854688A (en) * 2012-12-04 2014-06-11 纬创资通股份有限公司 Electronic device with hard disk vibration suppression function and hard disk vibration suppression method
JP2014207584A (en) * 2013-04-12 2014-10-30 船井電機株式会社 Audio output device
JP2016191841A (en) * 2015-03-31 2016-11-10 住友理工株式会社 Active type vibration/noise suppression device
JP2018053988A (en) * 2016-09-28 2018-04-05 住友理工株式会社 Active type vibration noise suppression device
CN109688319A (en) * 2018-09-19 2019-04-26 青岛海信智慧家居系统股份有限公司 A kind of method and device inhibiting the intelligent sound box camera-shake with camera

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113959320A (en) * 2021-10-22 2022-01-21 歌尔股份有限公司 Vibrator displacement detection method, device, equipment and storage medium for vibration device

Also Published As

Publication number Publication date
CN111767000B (en) 2023-09-01
WO2021258414A1 (en) 2021-12-30

Similar Documents

Publication Publication Date Title
CN111767000B (en) Method, device, equipment and storage medium for inhibiting vibration of electronic equipment shell
US9363599B2 (en) Systems and methods for protecting a speaker
CN110972014B (en) Parameter adjustment method and device for active noise reduction earphone and wireless earphone
US9357300B2 (en) Systems and methods for protecting a speaker
US9093077B2 (en) Reverberation suppression device, reverberation suppression method, and computer-readable storage medium storing a reverberation suppression program
JP2017527223A5 (en)
KR101687131B1 (en) Method, apparatus and storage medium for automated gain matching for multiple microphones
CN109961797B (en) Echo cancellation method and device and electronic equipment
CN109960484B (en) Audio volume acquisition method and device, storage medium and terminal
CN110503973B (en) Audio signal transient noise suppression method, system and storage medium
CN108093356B (en) Howling detection method and device
CN114049530A (en) Hybrid precision neural network quantization method, device and equipment
US9118292B2 (en) Bell sound outputting apparatus and method thereof
CN108040315A (en) A kind of test machine of computer-readable recording medium and the application medium
JP5815435B2 (en) Sound source position determination apparatus, sound source position determination method, program
CN111353526A (en) Image matching method and device and related equipment
US10388298B1 (en) Methods for detecting double talk
CN109655269B (en) Motor vibration detection method and device
CN113316075B (en) Howling detection method and device and electronic equipment
WO2023000444A1 (en) Method and apparatus for detecting noise of loudspeaker, and electronic device and storage medium
US20110188641A1 (en) Method and apparatus for removing noise signal from input signal
CN113077804A (en) Echo cancellation method, device, equipment and storage medium
CN113496698B (en) Training data screening method, device, equipment and storage medium
CN113903351A (en) Echo cancellation method, device, equipment and storage medium
CN112181350B (en) Active terminal control method and device

Legal Events

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