CN111767000B - 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
CN111767000B
CN111767000B CN202010584904.9A CN202010584904A CN111767000B CN 111767000 B CN111767000 B CN 111767000B CN 202010584904 A CN202010584904 A CN 202010584904A CN 111767000 B CN111767000 B CN 111767000B
Authority
CN
China
Prior art keywords
target
shell vibration
shell
vibration level
level data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010584904.9A
Other languages
Chinese (zh)
Other versions
CN111767000A (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

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

Abstract

The embodiment of the application discloses a method for inhibiting 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 the 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, obtaining an equalized target audio signal, and outputting the target audio signal to a loudspeaker of the electronic equipment. In addition, the embodiment of the application also discloses a device, equipment and storage medium for inhibiting the vibration of the shell of the electronic equipment. The application 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 application relates to the field of computer technologies, and in particular, to a method and apparatus for suppressing vibration of a casing of an electronic device, and a computer readable storage medium.
Background
With the popularity of mobile electronic devices such as smartphones, consumers are increasingly demanding electronic devices, for example, sound experiences.
Sound playback through a speaker disposed inside a smart phone is a daily behavior of consumers. However, when the sound emitted from the speaker is loud, the driving unit inside the speaker also generates 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 vibrate obviously, and bad use experience is generated for a user. For example, in the case of a consumer holding a cell phone for a long period of time for external placement, a tingling sensation may occur, and such a user experience often results in consumer dissatisfaction with the design of the smartphone.
That is, there is a lack of a scheme for suppressing vibration of a mobile phone case in the case of sound emission of a speaker in the related art.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, apparatus, electronic device, and computer-readable storage medium for suppressing vibrations of a housing of the electronic device.
A method of damping vibrations 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 the 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, obtaining an equalized target audio signal, and outputting the target audio signal to a loudspeaker of the electronic equipment.
Optionally, the step of detecting target acceleration data by an 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 the target acceleration data by the acceleration sensor further includes:
acquiring first acceleration data corresponding to different positions of the shell through a plurality of acceleration sensors arranged at different positions of the shell;
acquiring second acceleration data in the electronic equipment through one or more acceleration sensors arranged in the electronic equipment;
the step of determining the shell vibration level data of the shell according to the target acceleration data further comprises the following steps:
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:
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 the 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;
outputting the audio signal to be processed to a loudspeaker of the electronic equipment as the target audio signal under the condition that the target shell vibration level data meets a preset shell vibration level threshold value;
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 comprises:
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 an initial shell vibration suppression parameter, and preprocessing the audio signal to be processed according to the initial shell vibration suppression parameter.
An apparatus for damping vibrations 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 performing equalization processing on the audio signal to be processed according to the target shell vibration suppression parameter, acquiring an equalized target audio signal 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 the 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, obtaining an equalized target audio signal, 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 the 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, obtaining an equalized target audio signal, and outputting the target audio signal to a loudspeaker of the electronic equipment.
The embodiment of the application 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, the shell vibration level of the electronic equipment is detected according to the acceleration sensor for the audio signal to be processed under the condition of sound external emission, corresponding shell vibration suppression parameters are calculated, and then the audio signal to be processed is subjected to balanced correction through the shell vibration suppression parameters and then is input into a loudspeaker of the electronic equipment to play sound, so that the shell vibration under the condition of sound external emission is effectively suppressed. By adopting the embodiment of the application, the shell vibration under the condition of sound playing can be effectively restrained 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 application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Wherein:
FIG. 1 is a flow diagram of a method of damping vibrations of an electronic device housing in one embodiment;
FIG. 2 is a schematic diagram of a shell vibration suppression effect in one embodiment;
FIG. 3 is a block diagram of an apparatus for suppressing vibration of a housing of an electronic device in one embodiment;
FIG. 4 is a block diagram of a computer device in one embodiment for performing the method of suppressing vibrations of an electronic device housing described above;
FIG. 5 is a schematic diagram of a computer-readable storage medium in one embodiment.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In this embodiment, in order to suppress the shell vibration of the electronic device such as the smart phone in the sound playing process, a method for suppressing the shell vibration of the electronic device is provided, which can effectively reduce the shell vibration caused by sound playing without changing the speaker structure and the mobile phone structure, and improve the user experience.
Specifically, as shown in FIG. 1, in one embodiment, a method of damping vibrations of an electronic device housing is provided. The method for suppressing the vibration of the electronic device housing may be performed by an electronic device such as a smart phone, and a speaker is provided in the electronic device to receive an audio signal for playing sound.
The method for suppressing the vibration of the electronic device case is mainly based on the case of performing sound reproduction by an electronic device such as a smart phone, that is, the method for suppressing the vibration of the electronic device case is performed only when audio playback is performed and sound reproduction is performed.
Referring to fig. 1, the method for suppressing vibration of the electronic device housing includes steps S102 to S108 shown in fig. 1:
step S102: an audio signal to be processed is acquired.
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 or not a housing vibration occurs in the housing of the electronic device can be detected by the acceleration sensor, specifically, determined by the 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 of respectively acquiring first acceleration data corresponding to different positions of the shell through a plurality of acceleration sensors arranged at different positions of 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 accuracy of shell vibration detection is improved.
In a specific embodiment, the shell vibration level may be determined using the first acceleration data, the second acceleration data alone, or a combination of the first acceleration data and the second acceleration data.
After the acceleration data is detected, the detected shell vibration condition, i.e. the target shell vibration level data, can be evaluated according to the acceleration data. In specific implementation, according to a preset shell vibration level calculation model, corresponding target shell vibration level data is calculated based on target acceleration data. Wherein the target shell vibration level data may be a shell vibration level curve.
Specifically, according to a preset acceleration measurement value-shell vibration level evaluation model, determining a shell vibration level corresponding to target acceleration data, namely, target shell vibration level data. The preset acceleration measurement value-shell vibration level evaluation model is a model corresponding to the mapping relation between the acceleration measurement value and the shell vibration level, that is, after the target acceleration data is measured according to the model, the 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 relation between an acceleration measurement value and a shell vibration level, which is built by testing the electronic equipment in advance, for example, is a frequency domain ratio relation 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 calculated according to the acceleration data measured by different acceleration values, and then final target shell vibration level data are determined. Specifically, first shell vibration level data corresponding to the first acceleration data are calculated, and second shell vibration level data corresponding to the second acceleration data are 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 this embodiment, in order to accurately evaluate the shell vibration level, the acceleration sensor is preferably a plurality of acceleration sensors disposed at different positions on the housing of the electronic device, and detects the shell vibration at each position of the housing, so that the shell vibration level can be evaluated more comprehensively.
In one embodiment, where the target acceleration data includes first acceleration data and second acceleration data, the contribution to the true shell vibration level between the two needs to be comprehensively considered in determining the shell vibration level.
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 device case, the first acceleration data includes acceleration data respectively corresponding to each of the acceleration sensors. In this case, in calculating the first acceleration data or the corresponding first shell vibration level data, the corresponding first acceleration data or first shell vibration level data is calculated according to a calculation formula (for example, a preset weighted average algorithm) constructed in advance according to the position set by the acceleration sensor. That is, the shell vibration conditions detected by the acceleration sensors at different positions on the shell are comprehensively considered, the whole shell vibration conditions can be more accurately evaluated, and the effectiveness of the follow-up shell vibration inhibition is improved.
In this embodiment, tests have been performed in advance for the whole electronic apparatus, and a scheme of how the shell vibration should be suppressed has been obtained. Specifically, after the audio signal to be processed is determined, estimated shell vibration level data corresponding to the audio signal to be processed can be calculated according to a preset audio signal-shell vibration level evaluation model, wherein the estimated shell vibration level data is a description of shell vibration conditions, which are predicted according to the audio signal-shell vibration level evaluation model and generated if the audio signal to be processed is input into a loudspeaker of the electronic device. The estimated shell vibration level data is also a part of the target shell vibration level data, and the estimated shell vibration level data needs to be considered in the subsequent process of calculating the target shell vibration suppression parameters and performing suppression.
The audio signal-shell vibration level evaluation model is a transfer function between an audio signal and a shell vibration level, and is a model constructed by testing 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 for identifying the current shell vibration condition, a corresponding target shell vibration suppression parameter can be calculated, wherein the target shell vibration suppression parameter is a parameter needing to suppress the shell vibration, and for example, the target shell vibration suppression parameter can be an equalization parameter for performing equalization processing on an audio signal to be processed or a control parameter of the audio signal to be processed.
In the present embodiment, a preset shell vibration level threshold or control target of shell vibration suppression needs to be determined before calculating the target shell vibration suppression parameter. The shell vibration level threshold and the control target of shell vibration suppression identify the allowed maximum shell vibration level, and the shell vibration can be determined to be controlled within a certain range according to the shell vibration level threshold, so that corresponding target shell vibration suppression parameters are 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, directly playing the sound without suppressing the shell vibration; 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 shell vibration suppression of a 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 a certain influence on the audio frequency 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, the user can select and set application scenes, and different application scenes correspond to different shell vibration level thresholds and also correspond to different shell vibration suppression effects. For example, the application scene may include an optimal sound quality mode, an equalization mode, a vibration-free mode, and the like, and the corresponding shell vibration suppression effects are low shell vibration suppression level, medium shell vibration suppression level, high shell vibration suppression level, and the like. The user can select different shell vibration suppression effects according to subjective experience. In the executing process, determining the current application scene parameters of the electronic equipment; 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 to what extent the 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, obtaining an equalized target audio signal, and outputting the target audio signal to a loudspeaker of the electronic equipment.
After the target shell vibration suppression parameters are determined, the audio signal to be processed can be subjected to equalization processing according to the target shell vibration suppression parameters, namely, the equalization signals corresponding to the target shell vibration suppression parameters are applied to the audio signal to be processed, so that the target audio signal after the equalization processing is obtained. Then the target audio signal is output to the loudspeaker of the electronic equipment, and then the loudspeaker is used for sound playing, and at the moment, the shell vibration of the electronic equipment is controlled within a certain range, so that the shell vibration of the electronic equipment is effectively restrained.
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 is input into the loudspeaker, so that the shell vibration is effectively suppressed.
Further, in the method for suppressing the vibration of the electronic device casing, the possible shell vibration level data is predicted in advance through the audio signal to be processed, then the actual shell vibration condition is detected through the acceleration sensor under the condition of sound external emission, whether the predicted shell vibration level data is accurate or not is determined according to the actual detection condition, then the shell vibration suppression parameters needing 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 the effect of suppressing the shell vibration is achieved.
Further, in this embodiment, in order to predict the shell vibration as much as possible, as described above, the shell vibration condition may be predicted according to the audio signal, so that the corresponding shell vibration suppression parameter may be calculated, so that the shell vibration that may exist in the audio signal may be suppressed according to the shell vibration suppression parameter before the sound is played. Specifically, an initial shell vibration suppression parameter is obtained, the initial shell vibration suppression parameter is determined according to shell vibration level data predicted by an audio signal, and then the shell vibration suppression parameter is input into a loudspeaker of the electronic device after the audio signal to be processed is preprocessed according to the initial shell vibration suppression parameter, so that shell vibration is reduced, and shell vibration suppression efficiency is improved.
As shown in fig. 2, a schematic diagram of the shell vibration effect suppression 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:
an audio signal acquisition module 102, 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;
a suppression parameter calculation module 106, configured to calculate a target shell vibration suppression parameter according to the target shell vibration level data;
the first signal processing module 108 is configured to perform an equalization process on the audio signal to be processed according to the target shell vibration suppression parameter, obtain an equalized target audio signal, 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 acquire target acceleration data detected by one or more acceleration sensors disposed inside the electronic device and/or on the housing; 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 disposed at different positions on the shell; acquiring second acceleration data in the electronic equipment through one or more acceleration sensors arranged in 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; outputting the audio signal to be processed to a loudspeaker of the electronic equipment as the target audio signal under the condition that the target shell vibration level data meets a preset shell vibration level threshold value; 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 electronic device housing vibration suppression device 10 further includes a suppression target determining module 110, configured to obtain a current application scenario parameter 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 electronic device housing vibration suppression device 10 further includes a second signal processing module 112, configured to obtain an initial housing vibration suppression parameter, and perform preprocessing on the audio signal to be processed according to the initial housing vibration suppression parameter.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an embodiment of an electronic device according to the present application. 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 is executed by the processor 1002 in operation to implement the method as shown in fig. 1. The detailed method can be referred to above, and will not be described here. It will be appreciated by persons skilled in the art that the architecture shown in fig. 4 is merely a block diagram of some of the architecture relevant to the present inventive arrangements and is not limiting as to the computer device to which the present inventive arrangements are applicable, and that a particular computer device may include more or fewer components than shown, or may combine some of the 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 application. The storage medium 1101 stores at least one computer program 1100, where the computer program 1100 is used for being executed by a processor to implement the method shown in fig. 1, and the detailed method is referred to above and will not be described herein. In one embodiment, the computer readable storage medium 1101 may be a memory chip, a hard disk or a removable hard disk in the terminal, or other readable and writable storage means such as a flash disk, an optical disk, etc., and may also be a server, etc.
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, the shell vibration level of the electronic equipment is detected according to the acceleration sensor for the audio signal to be processed under the condition of sound external emission, corresponding shell vibration suppression parameters are calculated, and then the audio signal to be processed is subjected to balanced correction through the shell vibration suppression parameters and then is input into a loudspeaker of the electronic equipment to play sound, so that the shell vibration under the condition of sound external emission is effectively suppressed. By adopting the embodiment of the application, the shell vibration under the condition of sound playing can be effectively restrained without improving the structure of the electronic equipment or the structure of the loudspeaker, and the user experience is improved.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile 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), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (8)

1. A method of damping vibrations of a housing of an electronic device, 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 the shell according to the target acceleration data;
calculating a target shell vibration suppression parameter according to the target shell vibration level data;
the calculating the target shell vibration suppression parameter according to the target shell vibration level data further comprises:
predicting shell vibration level data which possibly exist through the audio signal to be processed in advance, and determining the target shell vibration suppression parameters to be corrected according to the target shell vibration level data and the predicted shell vibration level data;
performing equalization processing on the audio signal to be processed according to the target shell vibration suppression parameter or the corrected target shell vibration suppression parameter, obtaining an equalized target audio signal, and outputting the target audio signal to a loudspeaker of the electronic equipment;
the step of detecting target acceleration data through an acceleration sensor and determining target shell vibration level data of the shell according to the target acceleration data further comprises the following steps:
acquiring target acceleration data detected by one or more acceleration sensors arranged inside the electronic equipment and/or on the shell;
determining the target shell vibration level data according to the target acceleration data and the position set by the acceleration sensor according to a preset shell vibration level calculation model;
the acceleration sensor comprises one or more acceleration sensors arranged inside the electronic equipment and a plurality of acceleration sensors arranged at different positions on the shell;
the step of detecting the target acceleration data by the acceleration sensor further includes:
acquiring first acceleration data corresponding to different positions of the shell through a plurality of acceleration sensors arranged at different positions of the shell;
acquiring second acceleration data in the electronic equipment through one or more acceleration sensors arranged in the electronic equipment;
the step of determining the shell vibration level data of the shell according to the target acceleration data further comprises the following steps:
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.
2. The method of suppressing vibration of a housing of an electronic device of claim 1, further comprising, prior to the step of determining target housing vibration level data of the housing from the target acceleration data:
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.
3. The method of suppressing vibration of a housing of an electronic device according to claim 1, wherein the step of calculating a target housing vibration suppression parameter from the 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;
outputting the audio signal to be processed to a loudspeaker of the electronic equipment as the target audio signal under the condition that the target shell vibration level data meets a preset shell vibration level threshold value;
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.
4. A method of suppressing vibration of a housing of an electronic device as recited in claim 3, 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.
5. The method of suppressing vibration of a housing of an electronic device of claim 1, further comprising, after the step of acquiring the audio signal to be processed:
and acquiring an initial shell vibration suppression parameter, and preprocessing the audio signal to be processed according to the initial shell vibration suppression parameter.
6. An apparatus for suppressing vibrations of a housing of an electronic device, 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;
the shell vibration suppression parameter calculation module is further used for predicting shell vibration level data which possibly exist through the audio signal to be processed in advance, and determining the target shell vibration suppression parameter to be corrected according to the target shell vibration level data and the predicted shell vibration level data;
the signal equalization module is used for performing equalization processing on the audio signal to be processed according to the target shell vibration suppression parameter or the corrected target shell vibration suppression parameter, obtaining an equalized target audio signal and outputting the target audio signal to a loudspeaker of the electronic equipment;
wherein, the shell vibration level evaluation module is further configured to:
acquiring target acceleration data detected by one or more acceleration sensors arranged inside the electronic equipment and/or on the shell;
determining the target shell vibration level data according to the target acceleration data and the position set by the acceleration sensor according to a preset shell vibration level calculation model;
the acceleration sensor comprises one or more acceleration sensors arranged inside the electronic equipment and a plurality of acceleration sensors arranged at different positions on the shell;
the shell vibration level evaluation module is further configured to:
acquiring first acceleration data corresponding to different positions of the shell through a plurality of acceleration sensors arranged at different positions of the shell;
acquiring second acceleration data in the electronic equipment through one or more acceleration sensors arranged in the electronic equipment;
the shell vibration level evaluation module is further used for:
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.
7. A computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of the method of any one of claims 1 to 5.
8. 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 of any one of claims 1 to 5.
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 CN111767000A (en) 2020-10-13
CN111767000B true 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)

Families Citing this family (2)

* 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
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

Also Published As

Publication number Publication date
CN111767000A (en) 2020-10-13
WO2021258414A1 (en) 2021-12-30

Similar Documents

Publication Publication Date Title
US9363599B2 (en) Systems and methods for protecting a speaker
US10510352B2 (en) Detecting replay attacks in voice-based authentication
US10341767B2 (en) Speaker protection excursion oversight
CN111767000B (en) Method, device, equipment and storage medium for inhibiting vibration of electronic equipment shell
US9357300B2 (en) Systems and methods for protecting a speaker
JP5716595B2 (en) Audio correction apparatus, audio correction method, and audio correction program
US10341768B2 (en) Speaker adaptation with voltage-to-excursion conversion
US20130077798A1 (en) Reverberation suppression device, reverberation suppression method, and computer-readable storage medium storing a reverberation suppression program
US9754606B2 (en) Processing apparatus, processing method, program, computer readable information recording medium and processing system
CN108432216B (en) Volume adjustment method and device and electronic equipment
CN114049530A (en) Hybrid precision neural network quantization method, device and equipment
CN108093356B (en) Howling detection method and device
CN110556128B (en) Voice activity detection method and device and computer readable storage medium
US9118292B2 (en) Bell sound outputting apparatus and method thereof
CN117233555A (en) Distribution box insulation property inspection method, equipment and medium
JP6644213B1 (en) Acoustic signal processing device, acoustic system, acoustic signal processing method, and acoustic signal processing program
CN116320860A (en) Earphone noise reduction method and system, earphone equipment and storage medium
CN113496698B (en) Training data screening method, device, equipment and storage medium
WO2020153158A1 (en) Determination device, method therefor, and program
CN117727311A (en) Audio processing method and device, electronic equipment and computer readable storage medium
CN116634332A (en) Microphone noise reduction processing method and computer storage medium
JP2015119404A (en) Multi-pass determination device
CN115394279A (en) Defective product detection method, device, equipment and computer readable storage medium
CN116089867A (en) Terminal pickup function evaluation method and device and electronic equipment
CN117202003A (en) Noise reduction calibration method and device for wireless earphone, electronic equipment and storage medium

Legal Events

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