WO2021258414A1 - Method and apparatus for suppressing vibration of housing of electronic device, and device and storage medium - Google Patents

Method and apparatus for suppressing vibration of housing of electronic device, and device and storage medium Download PDF

Info

Publication number
WO2021258414A1
WO2021258414A1 PCT/CN2020/099747 CN2020099747W WO2021258414A1 WO 2021258414 A1 WO2021258414 A1 WO 2021258414A1 CN 2020099747 W CN2020099747 W CN 2020099747W WO 2021258414 A1 WO2021258414 A1 WO 2021258414A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
shell vibration
vibration level
electronic device
shell
Prior art date
Application number
PCT/CN2020/099747
Other languages
French (fr)
Chinese (zh)
Inventor
王洪兴
葛欢
Original Assignee
瑞声声学科技(深圳)有限公司
瑞声科技(新加坡)有限公司
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 瑞声声学科技(深圳)有限公司, 瑞声科技(新加坡)有限公司 filed Critical 瑞声声学科技(深圳)有限公司
Publication of WO2021258414A1 publication Critical patent/WO2021258414A1/en

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

Definitions

  • This application relates to the field of computer technology, and in particular to a method, a device, an electronic device, and a computer-readable storage medium for suppressing vibration of an electronic device housing.
  • the prior art lacks a solution for suppressing the vibration of the mobile phone housing when the sound of the speaker is externally emitted.
  • a method for suppressing vibration of a housing of an electronic device comprising:
  • the step of detecting target acceleration data by an acceleration sensor, and determining target shell vibration level data of the housing according to the target acceleration data further includes:
  • the target shell vibration level data is determined according to the target acceleration data.
  • the acceleration sensor includes one or more acceleration sensors arranged inside the electronic device and a plurality of acceleration sensors arranged at different positions on the housing;
  • the step of detecting target acceleration data by the acceleration sensor further includes:
  • the step of determining the shell vibration level data of the shell according to the target acceleration data further includes:
  • the target shell vibration level data is calculated.
  • the method before the step of determining target shell vibration level data of the shell according to the target acceleration data, the method further includes:
  • the step of calculating a target shell vibration suppression parameter according to the target shell vibration level data further includes:
  • the target shell vibration suppression parameter is calculated according to the target shell vibration level data and the preset shell vibration level threshold.
  • the method further includes:
  • the method further includes:
  • the initial shell vibration suppression parameter is acquired, and the to-be-processed audio signal is preprocessed according to the initial shell vibration suppression parameter.
  • a device for suppressing the vibration of a housing of an electronic device comprising:
  • Audio signal acquisition module for acquiring audio signals to be processed
  • the shell vibration level evaluation module is used to detect target acceleration data through an acceleration sensor, and determine the target shell vibration level data of the shell according to the target acceleration data;
  • a shell vibration suppression parameter calculation module configured to calculate a target shell vibration suppression parameter according to the target shell vibration level data
  • the signal equalization module is configured to perform equalization processing on the to-be-processed audio signal according to the target shell vibration suppression parameter, obtain the equalized target audio signal, and output the target audio signal to the speaker of the electronic device.
  • An electronic device includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps:
  • a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the processor causes the processor to perform the following steps:
  • the acceleration sensor detects the housing vibration level of the electronic device, and Calculate the corresponding shell vibration suppression parameters, and then use the shell vibration suppression parameters to perform equalization and correction of the audio signal to be processed and then input it to the speaker of the electronic device for sound playback, thereby effectively suppressing the shell vibration in the case of external sound.
  • FIG. 1 is a schematic flowchart of a method for suppressing vibration of an electronic device housing in an embodiment
  • Figure 2 is a schematic diagram of the shell vibration suppression effect in an embodiment
  • FIG. 3 is a structural block diagram of a device for suppressing vibration of an electronic device housing in an embodiment
  • FIG. 4 is a structural block diagram of a computer device running the above method for suppressing vibration of an electronic device housing in an embodiment
  • Fig. 5 is a schematic structural diagram of a computer-readable storage medium in an embodiment.
  • a method of suppressing the vibration of the housing of the electronic device is proposed, which can be used without changing the structure of the speaker and the structure of the mobile phone. , Effectively reduce the vibration of the shell caused by the external sound, and improve the user experience.
  • a method for suppressing vibration of an electronic device housing is provided.
  • the execution of the method for suppressing the vibration of the housing of an electronic device may be based on an electronic device such as a smart phone, and the electronic device is provided with a speaker to receive audio signals for sound playback.
  • the implementation of the above-mentioned method for suppressing the vibration of the electronic device casing is mainly based on the case of external sound reproduction through electronic devices such as smart phones, that is, only in the case of audio playback and external sound reproduction
  • the above-mentioned method of suppressing the vibration of the housing of the electronic device is executed.
  • the above-mentioned method for suppressing the vibration of the electronic device housing includes steps S102-S108 as shown in FIG. 1.
  • Step S102 Acquire an audio signal to be processed.
  • the audio signal to be processed is the audio signal that needs to be played, for example, the audio signal to be played generated by a certain music playback software.
  • Step S104 Detect the target acceleration data by the acceleration sensor, and determine the target shell vibration level data of the shell according to the target acceleration data.
  • the acceleration sensor can be used to detect whether the housing of the electronic device has case vibration, which is specifically determined by acceleration data detected by the acceleration sensor.
  • the acceleration sensor includes one or more acceleration sensors arranged inside the electronic device and/or on the housing of the electronic device for detecting corresponding acceleration data, that is, target acceleration data. Among them, it includes acquiring first acceleration data corresponding to different positions of the housing through a plurality of acceleration sensors arranged at different positions on the housing; through the one or more acceleration sensors arranged inside the electronic device The sensor acquires the second acceleration data inside the electronic device.
  • one or more acceleration sensors may be provided inside the electronic device to detect the case vibration inside the electronic device.
  • One or more acceleration sensors can also be provided on the housing of the electronic device (the location can be determined according to the user's holding state of the electronic device) to detect the actual vibration of the housing, thereby improving the accuracy of the housing vibration detection.
  • the description of the shell vibration level can be determined by using the first acceleration data, or by using only the second acceleration data, or by combining the first acceleration data and the second acceleration data.
  • the detected shell vibration can be evaluated based on the acceleration data, that is, the target shell vibration level data.
  • the corresponding target shell vibration level data is calculated based on the target acceleration data.
  • the target shell vibration level data may be a shell vibration level curve.
  • the shell vibration level corresponding to the target acceleration data is determined according to the preset acceleration measurement value-the shell vibration level evaluation model, which is the target shell vibration level data.
  • the preset acceleration measurement value-shell vibration level evaluation model is a model corresponding to the mapping relationship between the acceleration measurement value and the shell vibration level, that is to say, according to this model, after the target acceleration data is measured, it can be The model determines the corresponding shell vibration level data.
  • the preset acceleration measurement value-shell vibration level evaluation model is the corresponding relationship between the acceleration measurement value and the shell vibration level constructed in advance for the test of the electronic device, for example, is the frequency between the shell vibration level and the acceleration measurement value. Domain ratio relationship.
  • the corresponding shell vibration level data is calculated according to the acceleration data measured by different acceleration values, and then the final target shell vibration level data is determined. Specifically, the first shell vibration level data corresponding to the first acceleration data is calculated, and the second shell vibration level data corresponding to the second acceleration data is calculated; according to the first shell vibration level data and the first The second shell vibration level data is used to calculate the target shell vibration level data.
  • the acceleration sensor in order to accurately evaluate the shell vibration level, is preferably a plurality of acceleration sensors arranged on the housing of the electronic device at different positions, and the housing vibration at each position of the housing Carrying out the test can more comprehensively evaluate the shell vibration level.
  • the target acceleration data includes the first acceleration data and the second acceleration data
  • the process of determining the shell vibration level it is necessary to comprehensively consider the contribution between the two to the real shell vibration level.
  • the corresponding target shell vibration level data is calculated according to a preset weighted average algorithm.
  • the first acceleration data when multiple acceleration sensors are provided on the housing of the electronic device, the first acceleration data includes acceleration data corresponding to each acceleration sensor.
  • the calculation formula for example, the preset weighted average algorithm constructed in advance according to the position set by the acceleration sensor, the corresponding The first acceleration data or the first shell vibration level data. That is to say, the case vibration detected by the acceleration sensors at different positions on the shell is comprehensively considered, and the overall case vibration can be evaluated more accurately, and the effectiveness of subsequent suppression of the case vibration can be improved.
  • the entire electronic device has been tested in advance to obtain a solution for how to suppress the shell vibration.
  • the estimated shell vibration level data corresponding to the audio signal to be processed can be calculated according to the preset audio signal-shell vibration level evaluation model, where the estimated shell vibration level The data is a description of the shell vibration that will be generated if the audio signal to be processed is input to the speaker of the electronic device, which is predicted by the audio signal-shell vibration level evaluation model.
  • the estimated shell vibration level data is also part of the target shell vibration level data, and the estimated shell vibration level data also needs to be considered in the subsequent calculation of the target shell vibration suppression parameters and the suppression process.
  • the audio signal-shell vibration level evaluation model is a transfer function between the audio signal and the shell vibration level, which is a model constructed by pre-testing the electronic device to determine the correspondence between the audio signal and the shell vibration level.
  • Step S106 Calculate the target shell vibration suppression parameter according to the target shell vibration level data.
  • the corresponding target shell vibration suppression parameters can be calculated, where the target shell vibration suppression parameters are the parameters that need to be suppressed, for example, it can be processed
  • the shell vibration level threshold and the control target of shell vibration suppression identify the maximum allowable shell vibration level. According to the shell vibration level threshold, it can be determined that the shell vibration needs to be controlled within a certain range to determine the corresponding target shell vibration suppression parameters .
  • the target shell vibration level data meets the preset shell vibration level threshold; then, in the case that the target shell vibration level data meets the preset shell vibration level threshold, the to-be-processed audio
  • the signal is used as the target audio signal and output to the speaker of the electronic device, that is, it is not necessary to suppress the shell vibration, and the sound can be directly output; when the target shell vibration level data does not meet the preset shell vibration level threshold
  • the target shell vibration suppression parameter is calculated according to the target shell vibration level data and the preset shell vibration level threshold, that is, it is necessary to calculate the preset shell vibration suppression control target according to the shell vibration level threshold. Vibration suppression corresponds to the target shell vibration suppression parameter.
  • shell vibration level thresholds can be set according to different users and different application scenarios.
  • the user can select and set application scenarios, and different application scenarios correspond to different shell vibration level thresholds, and also correspond to different shell vibration suppression effects.
  • application scenarios may include optimal sound quality mode, balanced mode, no vibration mode, etc.
  • the corresponding shell vibration suppression effect is low shell vibration suppression level, medium shell vibration suppression level, high shell vibration suppression level, etc. Users can choose different shell vibration suppression effects based on subjective experience.
  • the current application scene parameters of the electronic device need to be determined; then the corresponding shell vibration level threshold is determined according to the current scene parameters as the preset shell vibration level threshold, and the preset shell vibration level threshold is determined according to the determined preset shell vibration level threshold. Determine to what extent the shell vibration needs to be suppressed.
  • Step S108 Perform equalization processing on the to-be-processed audio signal according to the target shell vibration suppression parameter, obtain the equalized target audio signal, and output the target audio signal to the speaker of the electronic device.
  • 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 as to obtain the equalization process.
  • the target audio signal is output to the speaker of the electronic device, and then the sound is externally amplified through the speaker.
  • the shell vibration of the electronic device is controlled within a certain range, which is effectively suppressed.
  • the possible housing vibration level data is predicted through the audio signal to be processed in advance, and then the actual housing vibration is detected by the acceleration sensor when the sound is output.
  • Detection Determine whether the predicted shell vibration level data is accurate according to the actual detection situation, and then determine the shell vibration suppression parameters that need to be corrected based on the predicted shell vibration level data and the detected shell vibration level data, and then process the audio signal to be processed , In order to achieve the effect of shell vibration suppression.
  • the shell vibration situation can be predicted based on the audio signal, so that the corresponding shell vibration suppression parameters can be calculated, so that the sound Before the external amplifier, the shell vibration that may exist in the audio signal is suppressed according to the shell vibration suppression parameter.
  • the initial shell vibration suppression parameter is obtained.
  • the initial shell vibration suppression parameter is the shell vibration suppression parameter determined according to the shell vibration level data predicted by the audio signal.
  • the audio signal to be processed is preprocessed according to the initial shell vibration suppression parameter and then input
  • the speaker of the electronic device reduces the shell vibration and improves the efficiency of the shell vibration suppression.
  • a device for suppressing vibration of the housing of an electronic device is also provided.
  • the above-mentioned device 10 for suppressing vibration of the housing of an electronic device includes:
  • the audio signal acquisition module 102 is used to acquire the audio signal to be processed
  • the shell vibration level evaluation module 104 is configured to detect target acceleration data through an acceleration sensor, and determine the target shell vibration level data of the housing according to the target acceleration data;
  • the suppression parameter calculation module 106 is 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 equalization processing on the to-be-processed audio signal according to the target shell vibration suppression parameter, obtain the equalized target audio signal, and output the target audio signal to the speaker of the electronic device.
  • the shell vibration level evaluation module 104 is further configured to obtain target acceleration data detected by one or more acceleration sensors arranged inside the electronic device and/or on the housing; and calculate the model according to a preset shell vibration level , Determining the target shell vibration level data according to the target acceleration data.
  • the acceleration sensor includes one or more acceleration sensors arranged inside the electronic device and a plurality of acceleration sensors arranged 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; One or more acceleration sensors to obtain the second acceleration data inside the electronic device; calculate the first shell vibration level data corresponding to the first acceleration data, and calculate the second shell vibration corresponding to the second acceleration data Level data; according to the first shell vibration level data and the second shell vibration level data, the target shell vibration level data is calculated.
  • the shell vibration level evaluation module 104 is further configured to calculate estimated shell vibration level data corresponding to the to-be-processed audio signal, and use the estimated shell vibration level data as the shell vibration level data.
  • 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; in the case that the target shell vibration level data meets the preset shell vibration level threshold, The to-be-processed audio signal is output to the speaker of the electronic device as the target audio signal; in the case that the target shell vibration level data does not meet the preset shell vibration level threshold, according to the target shell vibration level data and The preset shell vibration level threshold is used to calculate the target shell vibration suppression parameter.
  • the device 10 for suppressing the vibration of the electronic device housing further includes a suppression target determining module 110, configured to obtain the current application scenario parameter of the electronic device; and determine the housing corresponding to the current application scenario parameter.
  • the vibration level threshold is used as the preset shell vibration level threshold.
  • the device 10 for suppressing the vibration of the electronic device housing further includes a second signal processing module 112, configured to obtain an initial housing vibration suppression parameter, and to perform the processing of the audio signal to be processed according to the initial housing vibration suppression parameter.
  • the signal is preprocessed.
  • FIG. 4 is a schematic structural diagram of an embodiment of an electronic device provided by the present application.
  • the electronic device 1000 includes a processor 1002 and a memory 1001.
  • the processor 1002 is coupled to the memory 1001.
  • a computer program 1003 is stored in the memory 1001, and the processor 1002 executes the computer program when working to implement the method shown in FIG. 1.
  • the detailed method can be referred to the above, and will not be repeated here.
  • FIG. 4 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
  • FIG. 5 is a schematic structural diagram of an embodiment of a storage medium provided by the present application.
  • At least one computer program 1100 is stored in the storage medium 1101, and the computer program 1100 is used to be executed by a processor to implement the method shown in FIG.
  • the computer-readable storage medium 1101 may be a storage chip in a terminal, a hard disk, or a mobile hard disk, or other readable and writable storage tools such as a USB flash drive, or an optical disk, and may also be a server or the like.
  • the acceleration sensor detects the housing vibration level of the electronic device, and Calculate the corresponding shell vibration suppression parameters, and then use the shell vibration suppression parameters to perform equalization and correction of the audio signal to be processed and then input it to the speaker of the electronic device for sound playback, thereby effectively suppressing the shell vibration in the case of external sound.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain Channel
  • memory bus Radbus direct RAM
  • RDRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

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)
  • Telephone Function (AREA)
  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)

Abstract

A method and apparatus for suppressing the vibration of a housing of an electronic device, and a device and a storage medium. The method comprises: acquiring an audio signal to be processed (S102); detecting target acceleration data by means of an acceleration sensor, and determining target housing vibration level data of a housing according to the target acceleration data (S104); calculating a target housing vibration suppression parameter according to the target housing vibration level data (S106); and performing equalization processing on said audio signal according to the target housing vibration suppression parameter, acquiring a target audio signal after equalization processing, and outputting the target audio signal to a speaker of an electronic device (S108). The method can effectively suppress the vibration of a housing of an electronic device during an audio playing process, and can improve the user experience.

Description

抑制电子设备壳体振动的方法、装置、设备及存储介质Method, device, equipment and storage medium for suppressing vibration of electronic equipment casing 技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种抑制电子设备壳体振动的方法、装置、电子设备及计算机可读存储介质。This application relates to the field of computer technology, and in particular to a method, a device, an electronic device, and a computer-readable storage medium for suppressing vibration of an electronic device housing.
背景技术Background technique
随着智能手机等移动电子设备的普及,消费者对电子设备的要求也越来越高,例如,对于声音的体验的要求越来越高。With the popularization of mobile electronic devices such as smart phones, consumers have higher and higher requirements for electronic devices. For example, the requirements for sound experience are getting higher and higher.
技术问题technical problem
通过设置在智能手机内部的扬声器进行声音外放是消费者的日常行为。但是,当扬声器发出的声音较大的情况下,扬声器内部的驱动单元也会产生更大的驱动力,推动更大体积的空气;同时也会产生一定的副作用,即手机壳体被激发出了较为明显的振动,对用户产生不良的使用体验。例如,在消费者长时间拿着手机进行外放的情况下,会产生手麻的感觉,这种用户体验通常会导致消费者对智能手机的设计不满。It is the daily behavior of consumers to externally broadcast the sound through the speakers installed in the smart phone. However, when the loudspeaker produces a louder sound, the drive unit inside the loudspeaker will also generate greater driving force, pushing a larger volume of air; at the same time, it will also produce a certain side effect, that is, the mobile phone case is excited The more obvious vibration has a bad experience for users. For example, when consumers hold their mobile phones outside for a long time, they will feel numb in their hands. This kind of user experience usually causes consumers to be dissatisfied with the design of smart phones.
也就是说,现有技术中缺乏对扬声器的声音外放的情况下手机壳体振动的抑制方案。That is to say, the prior art lacks a solution for suppressing the vibration of the mobile phone housing when the sound of the speaker is externally emitted.
技术解决方案Technical solutions
基于此,有必要针对上述问题,提出了一种抑制电子设备壳体振动的方法、装置、电子设备及计算机可读存储介质。Based on this, it is necessary to address the above problems and propose a method, device, electronic device, and computer-readable storage medium for suppressing the vibration of the electronic device housing.
一种抑制电子设备壳体振动的方法,所述方法包括:A method for suppressing vibration of a housing of an electronic device, the method comprising:
获取待处理音频信号;Obtain the audio signal to be processed;
通过加速度传感器检测目标加速度数据,根据所述目标加速度数据确定壳体的目标壳振水平数据;Detecting target acceleration data by an acceleration sensor, and determining target shell vibration level data of the shell according to the target acceleration data;
根据所述目标壳振水平数据计算目标壳振抑制参数;Calculating target shell vibration suppression parameters according to the target shell vibration level data;
根据所述目标壳振抑制参数对所述待处理音频信号进行均衡处理,获取均衡处理后的目标音频信号,将所述目标音频信号输出至电子设备的扬声器。Perform equalization processing on the to-be-processed audio signal according to the target shell vibration suppression parameter, obtain the equalized target audio signal, and output the target audio signal to the speaker of the electronic device.
可选的,所述通过加速度传感器检测目标加速度数据,根据所述目标加速度数据确定壳体的目标壳振水平数据的步骤,还包括:Optionally, the step of detecting target acceleration data by an acceleration sensor, and determining target shell vibration level data of the housing according to the target acceleration data, further includes:
获取设置于电子设备内部和/或所述壳体上的一个或多个加速度传感器检测到的目标加速度数据;Acquiring target acceleration data detected by one or more acceleration sensors arranged inside the electronic device and/or on the housing;
根据预设的壳振水平计算模型,根据所述目标加速度数据确定所述目标壳振水平数据。According to a preset shell vibration level calculation model, the target shell vibration level data is determined according to the target acceleration data.
可选的,所述加速度传感器包括设置于所述电子设备内部的一个或多个加速度传感器以及设置于所述壳体上的不同位置的多个加速度传感器;Optionally, the acceleration sensor includes one or more acceleration sensors arranged inside the electronic device and a plurality of acceleration sensors arranged at different positions on the housing;
所述通过加速度传感器检测目标加速度数据的步骤,还包括:The step of detecting target acceleration data by the acceleration sensor further includes:
通过设置于所述壳体上的不同位置的多个加速度传感器,分别获取所述壳体的不同位置对应的第一加速度数据;Acquiring first acceleration data corresponding to different positions of the housing by using a plurality of acceleration sensors arranged at different positions on the housing;
通过所述设置于电子设备内部一个或多个加速度传感器,获取所述电子设备内部的第二加速度数据;Acquiring the second acceleration data inside the electronic device through the one or more acceleration sensors provided inside the electronic device;
所述根据所述目标加速度数据确定壳体的壳振水平数据的步骤,还包括:The step of determining the shell vibration level data of the shell according to the target acceleration data further includes:
计算与所述第一加速度数据对应的第一壳振水平数据,计算与所述第二加速度数据对应的第二壳振水平数据;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;
根据所述第一壳振水平数据和所述第二壳振水平数据,计算所述目标壳振水平数据。According to the first shell vibration level data and the second shell vibration level data, the target shell vibration level data is calculated.
可选的,所述根据所述目标加速度数据确定壳体的目标壳振水平数据的步骤之前,还包括:Optionally, before the step of determining target shell vibration level data of the shell according to the target acceleration data, the method further includes:
计算与所述待处理音频信号对应的预估壳振水平数据,将所述预估壳振水平数据作为所述壳振水平数据。Calculate estimated shell vibration level data corresponding to the to-be-processed audio signal, and use 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;
在所述目标壳振水平数据满足预设的壳振水平阈值的情况下,将所述待处理音频信号作为所述目标音频信号输出至电子设备的扬声器;In a case where the target vibration level data meets a preset housing vibration level threshold, outputting the to-be-processed audio signal as the target audio signal to the speaker of the electronic device;
在所述目标壳振水平数据不满足预设的壳振水平阈值的情况下,根据所述目标壳振水平数据和预设的壳振水平阈值,计算所述目标壳振抑制参数。In the case that the target shell vibration level data does not meet the preset shell vibration level threshold, the target shell vibration suppression parameter is calculated according to the target shell vibration level data and the preset shell vibration level threshold.
可选的,所述方法还包括:Optionally, the method further includes:
获取所述电子设备的当前应用场景参数;Acquiring current application scenario parameters of the electronic device;
确定与所述当前应用场景参数对应的壳振水平阈值作为预设的壳振水平阈值。Determine the shell vibration level threshold corresponding to the current application scenario parameter as the preset shell vibration level threshold.
可选的,所述获取待处理音频信号的步骤之后,还包括:Optionally, after the step of obtaining the to-be-processed audio signal, the method further includes:
获取初始壳振抑制参数,根据所述初始壳振抑制参数对所述待处理音频信号进行预处理。The initial shell vibration suppression parameter is acquired, and the to-be-processed audio signal is preprocessed according to the initial shell vibration suppression parameter.
一种抑制电子设备壳体振动的装置,所述装置包括:A device for suppressing the vibration of a housing of an electronic device, the device comprising:
音频信号获取模块,用于获取待处理音频信号;Audio signal acquisition module for acquiring audio signals to be processed;
壳振水平评估模块,用于通过加速度传感器检测目标加速度数据,根据所述目标加速度数据确定壳体的目标壳振水平数据;The shell vibration level evaluation module is used to detect target acceleration data through an acceleration sensor, and determine the target shell vibration level data of the shell according to the target acceleration data;
壳振抑制参数计算模块,用于根据所述目标壳振水平数据计算目标壳振抑制参数;A shell vibration suppression parameter calculation module, configured to calculate a target shell vibration suppression parameter according to the target shell vibration level data;
信号均衡模块,用于根据所述目标壳振抑制参数对所述待处理音频信号进行均衡处理,获取均衡处理后的目标音频信号,将所述目标音频信号输出至电子设备的扬声器。The signal equalization module is configured to perform equalization processing on the to-be-processed audio signal according to the target shell vibration suppression parameter, obtain the equalized target audio signal, and output the target audio signal to the speaker of the electronic device.
一种电子设备,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行以下步骤:An electronic device includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the following steps:
获取待处理音频信号;Obtain the audio signal to be processed;
通过加速度传感器检测目标加速度数据,根据所述目标加速度数据确定壳体的目标壳振水平数据;Detecting target acceleration data by an acceleration sensor, and determining target shell vibration level data of the shell according to the target acceleration data;
根据所述目标壳振水平数据计算目标壳振抑制参数;Calculating target shell vibration suppression parameters according to the target shell vibration level data;
根据所述目标壳振抑制参数对所述待处理音频信号进行均衡处理,获取均衡处理后的目标音频信号,将所述目标音频信号输出至电子设备的扬声器。Perform equalization processing on the to-be-processed audio signal according to the target shell vibration suppression parameter, obtain the equalized target audio signal, and output the target audio signal to the speaker of the electronic device.
一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行以下步骤:A computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the processor causes the processor to perform the following steps:
获取待处理音频信号;Obtain the audio signal to be processed;
通过加速度传感器检测目标加速度数据,根据所述目标加速度数据确定壳体的目标壳振水平数据;Detecting target acceleration data by an acceleration sensor, and determining target shell vibration level data of the shell according to the target acceleration data;
根据所述目标壳振水平数据计算目标壳振抑制参数;Calculating target shell vibration suppression parameters according to the target shell vibration level data;
根据所述目标壳振抑制参数对所述待处理音频信号进行均衡处理,获取均衡处理后的目标音频信号,将所述目标音频信号输出至电子设备的扬声器。Perform equalization processing on the to-be-processed audio signal according to the target shell vibration suppression parameter, obtain the equalized target audio signal, and output the target audio signal to the speaker of the electronic device.
有益效果Beneficial effect
采用本申请实施例,具有如下有益效果:The embodiments of this application have the following beneficial effects:
采用了上述抑制电子设备壳体振动的方法、装置、电子设备及计算机可读存储介质之后,在声音外放的情况下,针对待处理音频信号,根据加速度传感器检测电子设备的壳振水平,并计算对应的壳振抑制参数,然后通过壳振抑制参数对待处理音频信号进行均衡校正之后再输入到电子设备的扬声器进行声音的播放,从而有效的对声音外放情况下的壳振进行抑制。采用本申请实施例,不需要对电子设备的结构或扬声器的结构进行改进,即可有效的对声音外放情况下的壳振进行抑制,提升了用户体验。After adopting the above-mentioned method, device, electronic device, and computer-readable storage medium for suppressing the vibration of the electronic device housing, in the case of external sound, for the audio signal to be processed, the acceleration sensor detects the housing vibration level of the electronic device, and Calculate the corresponding shell vibration suppression parameters, and then use the shell vibration suppression parameters to perform equalization and correction of the audio signal to be processed and then input it to the speaker of the electronic device for sound playback, thereby effectively suppressing the shell vibration in the case of external sound. By adopting the embodiments of the present application, there is no need to improve the structure of the electronic device or the structure of the speaker, which can effectively suppress the shell vibration in the case of external sound reproduction, and improve the user experience.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
其中:in:
图1为一个实施例中一种抑制电子设备壳体振动的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for suppressing vibration of an electronic device housing in an embodiment;
图2为一个实施例中壳振抑制效果示意图;Figure 2 is a schematic diagram of the shell vibration suppression effect in an embodiment;
图3为一个实施例中一种抑制电子设备壳体振动的装置的结构框图;3 is a structural block diagram of a device for suppressing vibration of an electronic device housing in an embodiment;
图4为一个实施例中运行上述抑制电子设备壳体振动的方法的计算机设备的结构框图;4 is a structural block diagram of a computer device running the above method for suppressing vibration of an electronic device housing in an embodiment;
图5为一个实施例中计算机可读存储介质的结构示意图。Fig. 5 is a schematic structural diagram of a computer-readable storage medium in an embodiment.
本发明的实施方式Embodiments of the present invention
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
在本实施例中,为了对智能手机等电子设备在声音外放过程的壳体振动进行抑制,提出了一种抑制电子设备壳体振动的方法,可以在不改变扬声器结构和手机结构的情况下,有效降低声音外放导致的壳体振动,提升用户体验。In this embodiment, in order to suppress the vibration of the housing of the electronic device such as smart phone during the sound output process, a method of suppressing the vibration of the housing of the electronic device is proposed, which can be used without changing the structure of the speaker and the structure of the mobile phone. , Effectively reduce the vibration of the shell caused by the external sound, and improve the user experience.
具体的,如图1所示,在一个实施例中,提供了一种抑制电子设备壳体振动的方法。上述抑制电子设备壳体振动的方法的执行可以是基于智能手机等电子设备,并且该电子设备中设置有扬声器,以接收音频信号进行声音的播放。Specifically, as shown in FIG. 1, in one embodiment, a method for suppressing vibration of an electronic device housing is provided. The execution of the method for suppressing the vibration of the housing of an electronic device may be based on an electronic device such as a smart phone, and the electronic device is provided with a speaker to receive audio signals for sound playback.
需要说明的是,上述抑制电子设备壳体振动的方法的实施主要是基于用于通过智能手机等电子设备进行声音外放的情况,也就是说,只有在进行音频播放且声音外放的情况下才执行上述抑制电子设备壳体振动的方法。It should be noted that the implementation of the above-mentioned method for suppressing the vibration of the electronic device casing is mainly based on the case of external sound reproduction through electronic devices such as smart phones, that is, only in the case of audio playback and external sound reproduction The above-mentioned method of suppressing the vibration of the housing of the electronic device is executed.
请参见图1,上述抑制电子设备壳体振动的方法包括如图1所示的步骤S102-S108:Please refer to FIG. 1. The above-mentioned method for suppressing the vibration of the electronic device housing includes steps S102-S108 as shown in FIG. 1.
步骤S102:获取待处理音频信号。Step S102: Acquire an audio signal to be processed.
待处理音频信号即为需要播放的音频信号,例如,通过某一个音乐播放软件生成的待播放的音频信号。The audio signal to be processed is the audio signal that needs to be played, for example, the audio signal to be played generated by a certain music playback software.
步骤S104:通过加速度传感器检测目标加速度数据,根据所述目标加速度数据确定壳体的目标壳振水平数据。Step S104: Detect the target acceleration data by the acceleration sensor, and determine the target shell vibration level data of the shell according to the target acceleration data.
在本步骤中,通过加速度传感器可以检测电子设备的壳体是否发生壳振,具体是通过加速度传感器检测到的加速度数据来进行确定的。In this step, the acceleration sensor can be used to detect whether the housing of the electronic device has case vibration, which is specifically determined by acceleration data detected by the acceleration sensor.
其中,加速度传感器包括了设置于电子设备内部和/或电子设备壳体上的一个或多个加速度传感器,用于检测对应的加速度数据,即为目标加速度数据。其中,包括了通过设置于所述壳体上的不同位置的多个加速度传感器,分别获取所述壳体的不同位置对应的第一加速度数据;通过所述设置于电子设备内部一个或多个加速度传感器,获取所述电子设备内部的第二加速度数据。Wherein, the acceleration sensor includes one or more acceleration sensors arranged inside the electronic device and/or on the housing of the electronic device for detecting corresponding acceleration data, that is, target acceleration data. Among them, it includes acquiring first acceleration data corresponding to different positions of the housing through a plurality of acceleration sensors arranged at different positions on the housing; through the one or more acceleration sensors arranged inside the electronic device The sensor acquires the second acceleration data inside the electronic device.
需要说明的是,电子设备内部可以设置有一个或多个加速度传感器,来检测电子设备内部的壳振情况。还可以在电子设备壳体上设置一个或多个加速度传感器(设置位置可以根据用户使用电子设备的握持状态来确定),来检测壳体的实际振动情况,从而提高壳振检测的准确度。It should be noted that one or more acceleration sensors may be provided inside the electronic device to detect the case vibration inside the electronic device. One or more acceleration sensors can also be provided on the housing of the electronic device (the location can be determined according to the user's holding state of the electronic device) to detect the actual vibration of the housing, thereby improving the accuracy of the housing vibration detection.
在一个具体的实施例中,壳振水平的描述可以用第一加速度数据来进行确定,也可以仅用第二加速度数据来确定,还可以综合第一加速度数据和第二加速度数据来确定的。In a specific embodiment, the description of the shell vibration level can be determined by using the first acceleration data, or by using only the second acceleration data, or by combining the first acceleration data and the second acceleration data.
在检测到了加速度数据之后,即可根据加速度数据来评估检测到的壳振情况,即目标壳振水平数据。具体实施中,根据预设的壳振水平计算模型,基于目标加速度数据计算对应的目标壳振水平数据。其中,目标壳振水平数据可以是壳振水平曲线。After the acceleration data is detected, the detected shell vibration can be evaluated based on the acceleration data, that is, the target shell vibration level data. In specific implementation, according to the preset shell vibration level calculation model, the corresponding target shell vibration level data is calculated based on the target acceleration data. Among them, the target shell vibration level data may be a shell vibration level curve.
具体的,根据预设的加速度测量值-壳振水平评估模型,确定与目标加速度数据对应的壳振水平,即为目标壳振水平数据。其中,预设的加速度测量值-壳振水平评估模型为加速度测量值与壳振水平之间的映射关系对应的模型,也就是说,根据该模型,在目标加速度数据测量得到之后,即可根据该模型确定对应的壳振水平数据。其中,预设的加速度测量值-壳振水平评估模型是预先针对电子设备进行测试构建的加速度测量值与壳振水平之间的对应关系,例如,为壳振水平与加速度测量值之间的频域比值关系。Specifically, the shell vibration level corresponding to the target acceleration data is determined according to the preset acceleration measurement value-the shell vibration level evaluation model, which is the target shell vibration level data. Among them, the preset acceleration measurement value-shell vibration level evaluation model is a model corresponding to the mapping relationship between the acceleration measurement value and the shell vibration level, that is to say, according to this model, after the target acceleration data is measured, it can be The model determines the corresponding shell vibration level data. Among them, the preset acceleration measurement value-shell vibration level evaluation model is the corresponding relationship between the acceleration measurement value and the shell vibration level constructed in advance for the test of the electronic device, for example, is the frequency between the shell vibration level and the acceleration measurement value. Domain ratio relationship.
进一步的,在计算目标壳振水平数据时,是根据不同的加速度值测量得到的加速度数据分别计算对应的壳振水平数据,然后确定最终的目标壳振水平数据。具体的,计算与所述第一加速度数据对应的第一壳振水平数据,计算与所述第二加速度数据对应的第二壳振水平数据;根据所述第一壳振水平数据和所述第二壳振水平数据,计算所述目标壳振水平数据。Further, when calculating the target shell vibration level data, the corresponding shell vibration level data is calculated according to the acceleration data measured by different acceleration values, and then the final target shell vibration level data is determined. Specifically, the first shell vibration level data corresponding to the first acceleration data is calculated, and the second shell vibration level data corresponding to the second acceleration data is calculated; according to the first shell vibration level data and the first The second shell vibration level data is used to calculate the target shell vibration level data.
需要说明的是,在本实施例中,为了准确的对壳振水平进行评估,加速度传感器优选为设置在电子设备的壳体上的多个不同位置的加速度传感器,对壳体各个位置的壳振进行检测,能更全面的对壳振水平进行评估。It should be noted that, in this embodiment, in order to accurately evaluate the shell vibration level, the acceleration sensor is preferably a plurality of acceleration sensors arranged on the housing of the electronic device at different positions, and the housing vibration at each position of the housing Carrying out the test can more comprehensively evaluate the shell vibration level.
在一个实施例中,在目标加速度数据包括第一加速度数据和第二加速度数据的情况下,在确定壳振水平的过程中,需要综合考虑二者之间对于真实的壳振水平的贡献。In one embodiment, when the target acceleration data includes the first acceleration data and the second acceleration data, in the process of determining the shell vibration level, it is necessary to comprehensively consider the contribution between the two to the real shell vibration level.
具体的,在计算得到第一壳振水平数据和第二壳振水平数据的情况下,根据预设的加权平均算法,计算对应的目标壳振水平数据。Specifically, in the case where the first shell vibration level data and the second shell vibration level data are obtained by calculation, the corresponding target shell vibration level data is calculated according to a preset weighted average algorithm.
在另一个实施例中,在电子设备壳体上设置了多个加速度传感器的情况下,第一加速度数据包括了分别由每一个加速度传感器对应的加速度数据。在这种情况下,在计算第一加速度数据或者对应的第一壳振水平数据的过程中,根据预先根据加速度传感器设置的位置构建的计算公式(例如,预设的加权平均算法),计算对应的第一加速度数据或第一壳振水平数据。也就是说,综合考虑了壳体上不同位置的加速度传感器检测到的壳振情况,可以更准确的对整体的壳振情况进行评价,提高后续壳振抑制的有效性。In another embodiment, when multiple acceleration sensors are provided on the housing of the electronic device, the first acceleration data includes acceleration data corresponding to each acceleration sensor. In this case, in the process of calculating the first acceleration data or the corresponding first shell vibration level data, according to the calculation formula (for example, the preset weighted average algorithm) constructed in advance according to the position set by the acceleration sensor, the corresponding The first acceleration data or the first shell vibration level data. That is to say, the case vibration detected by the acceleration sensors at different positions on the shell is comprehensively considered, and the overall case vibration can be evaluated more accurately, and the effectiveness of subsequent suppression of the case vibration can be improved.
在本实施例中,已经预先针对电子设备整机进行了测试,获取了应该如何对壳振进行抑制的方案。具体的,在确定了待处理音频信号之后,即可根据预设的音频信号-壳振水平评估模型,来计算与待处理音频信号对应的预估壳振水平数据,其中,预估壳振水平数据为根据音频信号-壳振水平评估模型预测得到的如果将待处理音频信号输入电子设备的扬声器会产生的壳振情况的描述。需要说明的是,预估壳振水平数据也为目标壳振水平数据的一部分,在后续的计算目标壳振抑制参数以及进行抑制的过程中也需要考虑预估壳振水平数据。In this embodiment, the entire electronic device has been tested in advance to obtain a solution for how to suppress the shell vibration. Specifically, after the audio signal to be processed is determined, the estimated shell vibration level data corresponding to the audio signal to be processed can be calculated according to the preset audio signal-shell vibration level evaluation model, where the estimated shell vibration level The data is a description of the shell vibration that will be generated if the audio signal to be processed is input to the speaker of the electronic device, which is predicted by the audio signal-shell vibration level evaluation model. It should be noted that the estimated shell vibration level data is also part of the target shell vibration level data, and the estimated shell vibration level data also needs to be considered in the subsequent calculation of the target shell vibration suppression parameters and the suppression process.
其中,音频信号-壳振水平评估模型为音频信号与壳振水平之间的传递函数,是预先对电子设备进行测试,以确定音频信号与壳振水平之间的对应关系来构建的模型。Among them, the audio signal-shell vibration level evaluation model is a transfer function between the audio signal and the shell vibration level, which is a model constructed by pre-testing the electronic device to determine the correspondence between the audio signal and the shell vibration level.
步骤S106:根据所述目标壳振水平数据计算目标壳振抑制参数。Step S106: Calculate the target shell vibration suppression parameter according to the target shell vibration level data.
在确定了标识目前壳振情况的目标壳振水平数据之后,即可计算对应的目标壳振抑制参数,其中,目标壳振抑制参数为需要对壳振进行抑制的参数,例如,可以是对待处理音频信号进行均衡处理的均衡参数,或者是对待处理音频信号的控制参数。After determining the target shell vibration level data that identifies the current shell vibration situation, the corresponding target shell vibration suppression parameters can be calculated, where the target shell vibration suppression parameters are the parameters that need to be suppressed, for example, it can be processed The equalization parameter of the audio signal for equalization processing, or the control parameter of the audio signal to be processed.
在本实施例中,在计算目标壳振抑制参数之前,需要确定预设的壳振水平阈值或壳振抑制的控制目标。其中,壳振水平阈值以及壳振抑制的控制目标标识了允许的最大壳振水平,根据壳振水平阈值可以确定需要将壳振控制在一定的范围之内,从而确定对应的目标壳振抑制参数。In this embodiment, before calculating the target shell vibration suppression parameter, it is necessary to determine a preset shell vibration level threshold or a control target of shell vibration suppression. Among them, the shell vibration level threshold and the control target of shell vibration suppression identify the maximum allowable shell vibration level. According to the shell vibration level threshold, it can be determined that the shell vibration needs to be controlled within a certain range to determine the corresponding target shell vibration suppression parameters .
具体实施中,判断所述目标壳振水平数据是否满足预设的壳振水平阈值;然后,在所述目标壳振水平数据满足预设的壳振水平阈值的情况下,将所述待处理音频信号作为所述目标音频信号并输出至电子设备的扬声器,即不需要进行壳振的抑制,直接进行声音外放即可;在所述目标壳振水平数据不满足预设的壳振水平阈值的情况下,根据所述目标壳振水平数据和预设的壳振水平阈值,计算所述目标壳振抑制参数,即需要根据壳振水平阈值来计算达到预设的壳振抑制的控制目标进行壳振抑制对应的目标壳振抑制参数。In specific implementation, it is determined whether the target shell vibration level data meets the preset shell vibration level threshold; then, in the case that the target shell vibration level data meets the preset shell vibration level threshold, the to-be-processed audio The signal is used as the target audio signal and output to the speaker of the electronic device, that is, it is not necessary to suppress the shell vibration, and the sound can be directly output; when the target shell vibration level data does not meet the preset shell vibration level threshold In this case, the target shell vibration suppression parameter is calculated according to the target shell vibration level data and the preset shell vibration level threshold, that is, it is necessary to calculate the preset shell vibration suppression control target according to the shell vibration level threshold. Vibration suppression corresponds to the target shell vibration suppression parameter.
不同用户对于壳振的忍受程度不同,并且考虑到壳振抑制也可能在一定程度上对音频产生一定的影响,因此,可以根据不同的用户以及不同的应用场景设置不同的壳振水平阈值。Different users have different tolerance to shell vibration, and considering that shell vibration suppression may also have a certain impact on audio to a certain extent, therefore, different shell vibration level thresholds can be set according to different users and different application scenarios.
具体实施中,用户可以对应用场景进行选择和设置,不同的应用场景对应了不同的壳振水平阈值,也对应了不同的壳振抑制效果。例如,应用场景可以包括最优音质模式、均衡模式、无振动模式等,对应的壳振抑制效果为壳振抑制水平低、壳振抑制水平中等、壳振抑制水平高等。用户可以根据主观体验来选择不同的壳振抑制效果。在执行的过程中,需要确定电子设备的当前应用场景参数;然后根据当前场景参数来确定对应的壳振水平阈值作为预设的壳振水平阈值,根据该确定的预设的壳振水平阈值来确定对壳振需要抑制到什么程度。In specific implementation, the user can select and set application scenarios, and different application scenarios correspond to different shell vibration level thresholds, and also correspond to different shell vibration suppression effects. For example, application scenarios may include optimal sound quality mode, balanced mode, no vibration mode, etc. The corresponding shell vibration suppression effect is low shell vibration suppression level, medium shell vibration suppression level, high shell vibration suppression level, etc. Users can choose different shell vibration suppression effects based on subjective experience. In the process of execution, the current application scene parameters of the electronic device need to be determined; then the corresponding shell vibration level threshold is determined according to the current scene parameters as the preset shell vibration level threshold, and the preset shell vibration level threshold is determined according to the determined preset shell vibration level threshold. Determine to what extent the shell vibration needs to be suppressed.
步骤S108:根据所述目标壳振抑制参数对所述待处理音频信号进行均衡处理,获取均衡处理后的目标音频信号,将所述目标音频信号输出至电子设备的扬声器。Step S108: Perform equalization processing on the to-be-processed audio signal according to the target shell vibration suppression parameter, obtain the equalized target audio signal, and output the target audio signal to the speaker of the electronic device.
在确定了目标壳振抑制参数之后,即可根据目标壳振抑制参数对待处理音频信号进行均衡处理,即为将目标壳振抑制参数对应的均衡信号施加到待处理音频信号,从而获取均衡处理之后的目标音频信号。然后将目标音频信号输出到电子设备的扬声器,然后通过该扬声器进行声音外放,此时,电子设备的壳振被控制在一定范围之内,得到了有效的抑制。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 as to obtain the equalization process. The target audio signal. Then the target audio signal is output to the speaker of the electronic device, and then the sound is externally amplified through the speaker. At this time, the shell vibration of the electronic device is controlled within a certain range, which is effectively suppressed.
通过上述步骤S102-S108,根据输入的音频信号、以及通过加速度传感器检测值确定的壳振水平,计算壳振抑制对应的目标壳振抑制参数,然后根据目标壳振抑制参数来对音频信号进行处理之后再输入扬声器,从而对壳振进行了有效的抑制。Through the above steps S102-S108, according to the input audio signal and the shell vibration level determined by the acceleration sensor detection value, calculate the target shell vibration suppression parameter corresponding to the shell vibration suppression, and then process the audio signal according to the target shell vibration suppression parameter Then input the speaker to effectively suppress the shell vibration.
进一步的,在上述抑制电子设备壳体振动的方法中,预先通过待处理音频信号来预测可能存在的壳振水平数据,然后在声音外放的情况下,通过加速度传感器对实际的壳振情况检测检测,根据实际检测情况来确定预测的壳振水平数据是否准确,然后根据预测的壳振水平数据和检测到的壳振水平数据来确定需要修正的壳振抑制参数,然后对待处理音频信号进行处理,以达到壳振抑制的效果。Further, in the above method for suppressing the vibration of the electronic device housing, the possible housing vibration level data is predicted through the audio signal to be processed in advance, and then the actual housing vibration is detected by the acceleration sensor when the sound is output. Detection: Determine whether the predicted shell vibration level data is accurate according to the actual detection situation, and then determine the shell vibration suppression parameters that need to be corrected based on the predicted shell vibration level data and the detected shell vibration level data, and then process the audio signal to be processed , In order to achieve the effect of shell vibration suppression.
进一步的,在本实施例中,为了尽可能的对壳振进行预测,如前所述,可以根据音频信号对壳振情况进行预测,从而可以计算出对应的壳振抑制参数,从而在进行声音外放之前就根据该壳振抑制参数对音频信号所可能存在的壳振进行抑制。具体的,获取初始壳振抑制参数,初始壳振抑制参数是根据音频信号预测的壳振水平数据确定的壳振抑制参数,然后,根据初始壳振抑制参数对待处理音频信号进行预处理之后再输入电子设备的扬声器,从而降低壳振,提高壳振抑制的效率。Further, in this embodiment, in order to predict the shell vibration as much as possible, as mentioned above, the shell vibration situation can be predicted based on the audio signal, so that the corresponding shell vibration suppression parameters can be calculated, so that the sound Before the external amplifier, the shell vibration that may exist in the audio signal is suppressed according to the shell vibration suppression parameter. Specifically, the initial shell vibration suppression parameter is obtained. The initial shell vibration suppression parameter is the shell vibration suppression parameter determined according to the shell vibration level data predicted by the audio signal. Then, the audio signal to be processed is preprocessed according to the initial shell vibration suppression parameter and then input The speaker of the electronic device reduces the shell vibration and improves the efficiency of the shell vibration suppression.
如图2所示,给出了壳振效果抑制的示意图。As shown in Figure 2, a schematic diagram of shell vibration suppression is given.
在另一个实施例中,如图3所示,还提供了一种抑制电子设备壳体振动的装置。In another embodiment, as shown in FIG. 3, a device for suppressing vibration of the housing of an electronic device is also provided.
具体的,请参见图3,上述抑制电子设备壳体振动的装置10包括:Specifically, referring to FIG. 3, the above-mentioned device 10 for suppressing vibration of the housing of an electronic device includes:
音频信号获取模块102,用于获取待处理音频信号;The audio signal acquisition module 102 is used to acquire the audio signal to be processed;
壳振水平评估模块104,用于通过加速度传感器检测目标加速度数据,根据所述目标加速度数据确定壳体的目标壳振水平数据;The shell vibration level evaluation module 104 is configured to detect target acceleration data through an acceleration sensor, and determine the target shell vibration level data of the housing according to the target acceleration data;
抑制参数计算模块106,用于根据所述目标壳振水平数据计算目标壳振抑制参数;The suppression parameter calculation module 106 is configured to calculate a target shell vibration suppression parameter according to the target shell vibration level data;
第一信号处理模块108,用于根据所述目标壳振抑制参数对所述待处理音频信号进行均衡处理,获取均衡处理后的目标音频信号,将所述目标音频信号输出至电子设备的扬声器。The first signal processing module 108 is configured to perform equalization processing on the to-be-processed audio signal according to the target shell vibration suppression parameter, obtain the equalized target audio signal, and output the target audio signal to the speaker of the electronic device.
可选的,壳振水平评估模块104还用于获取设置于电子设备内部和/或所述壳体上的一个或多个加速度传感器检测到的目标加速度数据;根据预设的壳振水平计算模型,根据所述目标加速度数据确定所述目标壳振水平数据。Optionally, the shell vibration level evaluation module 104 is further configured to obtain target acceleration data detected by one or more acceleration sensors arranged inside the electronic device and/or on the housing; and calculate the model according to a preset shell vibration level , Determining the target shell vibration level data according to the target acceleration data.
可选的,所述加速度传感器包括设置于所述电子设备内部的一个或多个加速度传感器以及设置于所述壳体上的不同位置的多个加速度传感器;Optionally, the acceleration sensor includes one or more acceleration sensors arranged inside the electronic device and a plurality of acceleration sensors arranged at different positions on the housing;
壳振水平评估模块104还用于通过设置于所述壳体上的不同位置的多个加速度传感器,分别获取所述壳体的不同位置对应的第一加速度数据;通过所述设置于电子设备内部一个或多个加速度传感器,获取所述电子设备内部的第二加速度数据;计算与所述第一加速度数据对应的第一壳振水平数据,计算与所述第二加速度数据对应的第二壳振水平数据;根据所述第一壳振水平数据和所述第二壳振水平数据,计算所述目标壳振水平数据。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; One or more acceleration sensors to obtain the second acceleration data inside the electronic device; calculate the first shell vibration level data corresponding to the first acceleration data, and calculate the second shell vibration corresponding to the second acceleration data Level data; according to the first shell vibration level data and the second shell vibration level data, the target shell vibration level data is calculated.
可选的,壳振水平评估模块104还用于计算与所述待处理音频信号对应的预估壳振水平数据,将所述预估壳振水平数据作为所述壳振水平数据。Optionally, the shell vibration level evaluation module 104 is further configured to calculate estimated shell vibration level data corresponding to the to-be-processed audio signal, and use the estimated shell vibration level data as the shell vibration level data.
可选的,抑制参数计算模块106还用于判断所述目标壳振水平数据是否满足预设的壳振水平阈值;在所述目标壳振水平数据满足预设的壳振水平阈值的情况下,将所述待处理音频信号作为所述目标音频信号输出至电子设备的扬声器;在所述目标壳振水平数据不满足预设的壳振水平阈值的情况下,根据所述目标壳振水平数据和预设的壳振水平阈值,计算所述目标壳振抑制参数。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; in the case that the target shell vibration level data meets the preset shell vibration level threshold, The to-be-processed audio signal is output to the speaker of the electronic device as the target audio signal; in the case that the target shell vibration level data does not meet the preset shell vibration level threshold, according to the target shell vibration level data and The preset shell vibration level threshold is used to calculate the target shell vibration suppression parameter.
可选的,如图3所示,抑制电子设备壳体振动装置10还包括抑制目标确定模块110,用于获取所述电子设备的当前应用场景参数;确定与所述当前应用场景参数对应的壳振水平阈值作为预设的壳振水平阈值。Optionally, as shown in FIG. 3, the device 10 for suppressing the vibration of the electronic device housing further includes a suppression target determining module 110, configured to obtain the current application scenario parameter of the electronic device; and determine the housing corresponding to the current application scenario parameter. The vibration level threshold is used as the preset shell vibration level threshold.
可选的,如图3所示,抑制电子设备壳体振动装置10还包括第二信号处理模块112,用于获取初始壳振抑制参数,根据所述初始壳振抑制参数对所述待处理音频信号进行预处理。Optionally, as shown in FIG. 3, the device 10 for suppressing the vibration of the electronic device housing further includes a second signal processing module 112, configured to obtain an initial housing vibration suppression parameter, and to perform the processing of the audio signal to be processed according to the initial housing vibration suppression parameter. The signal is preprocessed.
请参阅图4,图4是本申请提供的电子设备的一实施例的结构示意图。电子设备1000包括处理器1002、存储器1001。处理器1002耦接存储器1001。存储器1001中存储有计算机程序1003,处理器1002在工作时执行该计算机程序以实现如图1所示的方法。详细的方法可参见上述,在此不再赘述。本领域技术人员可以理解,图4中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Please refer to FIG. 4, which is a schematic structural diagram of an embodiment of an electronic device provided by the present application. The electronic device 1000 includes a processor 1002 and a memory 1001. The processor 1002 is coupled to the memory 1001. A computer program 1003 is stored in the memory 1001, and the processor 1002 executes the computer program when working to implement the method shown in FIG. 1. The detailed method can be referred to the above, and will not be repeated here. Those skilled in the art can understand that the structure shown in FIG. 4 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
请参阅图5,图5是本申请提供的存储介质的一实施例的结构示意图。存储介质1101中存储有至少一个计算机程序1100,计算机程序1100用于被处理器执行以实现如图1所示的方法,详细的方法可参见上述,在此不再赘述。在一个实施例中,计算机可读存储介质1101可以是终端中的存储芯片、硬盘或者是移动硬盘或者优盘、光盘等其他可读写存储的工具,还可以是服务器等等。Please refer to FIG. 5, which is a schematic structural diagram of an embodiment of a storage medium provided by the present application. At least one computer program 1100 is stored in the storage medium 1101, and the computer program 1100 is used to be executed by a processor to implement the method shown in FIG. In an embodiment, the computer-readable storage medium 1101 may be a storage chip in a terminal, a hard disk, or a mobile hard disk, or other readable and writable storage tools such as a USB flash drive, or an optical disk, and may also be a server or the like.
采用了上述抑制电子设备壳体振动的方法、装置、电子设备及计算机可读存储介质之后,在声音外放的情况下,针对待处理音频信号,根据加速度传感器检测电子设备的壳振水平,并计算对应的壳振抑制参数,然后通过壳振抑制参数对待处理音频信号进行均衡校正之后再输入到电子设备的扬声器进行声音的播放,从而有效的对声音外放情况下的壳振进行抑制。采用本申请实施例,不需要对电子设备的结构或扬声器的结构进行改进,即可有效的对声音外放情况下的壳振进行抑制,提升了用户体验。After adopting the above-mentioned method, device, electronic device, and computer-readable storage medium for suppressing the vibration of the electronic device housing, in the case of external sound, for the audio signal to be processed, the acceleration sensor detects the housing vibration level of the electronic device, and Calculate the corresponding shell vibration suppression parameters, and then use the shell vibration suppression parameters to perform equalization and correction of the audio signal to be processed and then input it to the speaker of the electronic device for sound playback, thereby effectively suppressing the shell vibration in the case of external sound. By adopting the embodiments of the present application, there is no need to improve the structure of the electronic device or the structure of the speaker, which can effectively suppress the shell vibration in the case of external sound reproduction, and improve the user experience.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink) DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer readable storage medium. Here, when the program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as the combinations of these technical features are not contradictory, they should be It is considered as the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and the descriptions are relatively specific and detailed, but they should not be understood as limiting the scope of the present application. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can be made, and these all fall within the protection scope of this application. Therefore, the scope of protection of the patent of this application shall be subject to the appended claims.

Claims (10)

  1. 一种抑制电子设备壳体振动的方法,其特征在于,所述方法包括:A method for suppressing vibration of an electronic device housing, characterized in that the method includes:
    获取待处理音频信号;Obtain the audio signal to be processed;
    通过加速度传感器检测目标加速度数据,根据所述目标加速度数据确定壳体的目标壳振水平数据;Detecting target acceleration data by an acceleration sensor, and determining target shell vibration level data of the shell according to the target acceleration data;
    根据所述目标壳振水平数据计算目标壳振抑制参数;Calculating target shell vibration suppression parameters according to the target shell vibration level data;
    根据所述目标壳振抑制参数对所述待处理音频信号进行均衡处理,获取均衡处理后的目标音频信号,将所述目标音频信号输出至电子设备的扬声器。Perform equalization processing on the to-be-processed audio signal according to the target shell vibration suppression parameter, obtain the equalized target audio signal, and output the target audio signal to the speaker of the electronic device.
  2. 根据权利要求1所述的抑制电子设备壳体振动的方法,其特征在于,所述通过加速度传感器检测目标加速度数据,根据所述目标加速度数据确定壳体的目标壳振水平数据的步骤,还包括:The method for suppressing the vibration of an electronic device casing according to claim 1, wherein the step of detecting target acceleration data by an acceleration sensor, and determining the target casing vibration level data of the casing according to the target acceleration data, further comprises :
    获取设置于电子设备内部和/或所述壳体上的一个或多个加速度传感器检测到的目标加速度数据;Acquiring target acceleration data detected by one or more acceleration sensors arranged inside the electronic device and/or on the housing;
    根据预设的壳振水平计算模型,根据所述目标加速度数据确定所述目标壳振水平数据。According to a preset shell vibration level calculation model, the target shell vibration level data is determined according to the target acceleration data.
  3. 根据权利要求2所述的抑制电子设备壳体振动的方法,其特征在于,所述加速度传感器包括设置于所述电子设备内部的一个或多个加速度传感器以及设置于所述壳体上的不同位置的多个加速度传感器;The method for suppressing the vibration of the housing of an electronic device according to claim 2, wherein the acceleration sensor comprises one or more acceleration sensors arranged inside the electronic device and different positions arranged on the housing Multiple acceleration sensors;
    所述通过加速度传感器检测目标加速度数据的步骤,还包括:The step of detecting target acceleration data by the acceleration sensor further includes:
    通过设置于所述壳体上的不同位置的多个加速度传感器,分别获取所述壳体的不同位置对应的第一加速度数据;Acquiring first acceleration data corresponding to different positions of the housing by using a plurality of acceleration sensors arranged at different positions on the housing;
    通过所述设置于电子设备内部一个或多个加速度传感器,获取所述电子设备内部的第二加速度数据;Acquiring the second acceleration data inside the electronic device through the one or more acceleration sensors provided inside the electronic device;
    所述根据所述目标加速度数据确定壳体的壳振水平数据的步骤,还包括:The step of determining the shell vibration level data of the shell according to the target acceleration data further includes:
    计算与所述第一加速度数据对应的第一壳振水平数据,计算与所述第二加速度数据对应的第二壳振水平数据;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;
    根据所述第一壳振水平数据和所述第二壳振水平数据,计算所述目标壳振水平数据。According to the first shell vibration level data and the second shell vibration level data, the target shell vibration level data is calculated.
  4. 根据权利要求2或3所述的抑制电子设备壳体振动的方法,其特征在于,所述根据所述目标加速度数据确定壳体的目标壳振水平数据的步骤之前,还包括:The method for suppressing the vibration of the housing of an electronic device according to claim 2 or 3, characterized in that, before the step of determining target housing vibration level data of the housing according to the target acceleration data, the method further comprises:
    计算与所述待处理音频信号对应的预估壳振水平数据,将所述预估壳振水平数据作为所述壳振水平数据。Calculate estimated shell vibration level data corresponding to the to-be-processed audio signal, and use the estimated shell vibration level data as the shell vibration level data.
  5. 根据权利要求1所述的抑制电子设备壳体振动的方法,其特征在于,所述根据所述目标壳振水平数据计算目标壳振抑制参数的步骤,还包括:The method for suppressing the vibration of the housing of an electronic device according to claim 1, wherein the step of calculating a target shell vibration suppression parameter according to the target shell vibration level data further comprises:
    判断所述目标壳振水平数据是否满足预设的壳振水平阈值;Judging whether the target shell vibration level data meets a preset shell vibration level threshold;
    在所述目标壳振水平数据满足预设的壳振水平阈值的情况下,将所述待处理音频信号作为所述目标音频信号输出至电子设备的扬声器;In a case where the target vibration level data meets a preset housing vibration level threshold, output the to-be-processed audio signal as the target audio signal to the speaker of the electronic device;
    在所述目标壳振水平数据不满足预设的壳振水平阈值的情况下,根据所述目标壳振水平数据和预设的壳振水平阈值,计算所述目标壳振抑制参数。In the case that the target shell vibration level data does not meet the preset shell vibration level threshold, the target shell vibration suppression parameter is calculated according to the target shell vibration level data and the preset shell vibration level threshold.
  6. 根据权利要求5所述的抑制电子设备壳体振动的方法,其特征在于,所述方法还包括:The method for suppressing vibration of the housing of an electronic device according to claim 5, wherein the method further comprises:
    获取所述电子设备的当前应用场景参数;Acquiring current application scenario parameters of the electronic device;
    确定与所述当前应用场景参数对应的壳振水平阈值作为预设的壳振水平阈值。Determine the shell vibration level threshold corresponding to the current application scenario parameter as the preset shell vibration level threshold.
  7. 根据权利要求1所述的抑制电子设备壳体振动的方法,其特征在于,所述获取待处理音频信号的步骤之后,还包括:The method for suppressing the vibration of the housing of an electronic device according to claim 1, wherein after the step of obtaining the audio signal to be processed, the method further comprises:
    获取初始壳振抑制参数,根据所述初始壳振抑制参数对所述待处理音频信号进行预处理。The initial shell vibration suppression parameter is acquired, and the to-be-processed audio signal is preprocessed according to the initial shell vibration suppression parameter.
  8. 一种抑制电子设备壳体振动的装置,其特征在于,所述装置包括:A device for suppressing vibration of an electronic device housing, characterized in that the device comprises:
    音频信号获取模块,用于获取待处理音频信号;The audio signal acquisition module is used to acquire the audio signal to be processed;
    壳振水平评估模块,用于通过加速度传感器检测目标加速度数据,根据所述目标加速度数据确定壳体的目标壳振水平数据;The shell vibration level evaluation module is used to detect target acceleration data through an acceleration sensor, and determine the target shell vibration level data of the shell according to the target acceleration data;
    壳振抑制参数计算模块,用于根据所述目标壳振水平数据计算目标壳振抑制参数;A shell vibration suppression parameter calculation module, configured to calculate a target shell vibration suppression parameter according to the target shell vibration level data;
    信号均衡模块,用于根据所述目标壳振抑制参数对所述待处理音频信号进行均衡处理,获取均衡处理后的目标音频信号,将所述目标音频信号输出至电子设备的扬声器。The signal equalization module is configured to perform equalization processing on the to-be-processed audio signal according to the target shell vibration suppression parameter, obtain the equalized target audio signal, and output the target audio signal to the speaker of the electronic device.
  9. 一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行如权利要求1至7中任一项所述方法的步骤。A computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the processor executes the steps of the method according to any one of claims 1 to 7.
  10. 一种电子设备,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1至7中任一项所述方法的步骤。An electronic device, comprising a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the method according to any one of claims 1 to 7 A step of.
PCT/CN2020/099747 2020-06-24 2020-07-01 Method and apparatus for suppressing vibration of housing of electronic device, and device and storage medium WO2021258414A1 (en)

Applications Claiming Priority (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
CN202010584904.9 2020-06-24

Publications (1)

Publication Number Publication Date
WO2021258414A1 true WO2021258414A1 (en) 2021-12-30

Family

ID=72722250

Family Applications (1)

Application Number Title Priority Date Filing Date
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

Country Status (2)

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

Cited By (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
CN116634052A (en) * 2023-07-26 2023-08-22 荣耀终端有限公司 Parameter determination method and electronic equipment

Families Citing this family (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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040655A (en) * 2017-03-23 2017-08-11 努比亚技术有限公司 Mobile terminal and audio adaptive equilibrium method
US20180152163A1 (en) * 2014-03-10 2018-05-31 Beijing Zhigu Rui Tuo Tech Co., Ltd Noise control method and device
CN109168108A (en) * 2018-10-24 2019-01-08 维沃移动通信有限公司 Electro-acoustic element amplitude method of adjustment, device and mobile terminal
CN109658942A (en) * 2018-12-27 2019-04-19 腾讯音乐娱乐科技(深圳)有限公司 A kind of audio data processing method, device and relevant device
CN109885275A (en) * 2019-02-13 2019-06-14 努比亚技术有限公司 A kind of audio regulating, controlling method, equipment and computer readable storage medium
CN110312032A (en) * 2019-06-17 2019-10-08 Oppo广东移动通信有限公司 Audio frequency playing method and Related product

Family Cites Families (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
TWI479484B (en) * 2012-12-04 2015-04-01 Wistron Corp Electrical device having a reducing harddisk vibration function and reducing harddisk vibration 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
JP6657047B2 (en) * 2016-09-28 2020-03-04 住友理工株式会社 Active vibration noise suppression device
CN109688319B (en) * 2018-09-19 2020-10-30 青岛海信智慧家居系统股份有限公司 Method and device for inhibiting camera shooting jitter of intelligent sound box with camera

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180152163A1 (en) * 2014-03-10 2018-05-31 Beijing Zhigu Rui Tuo Tech Co., Ltd Noise control method and device
CN107040655A (en) * 2017-03-23 2017-08-11 努比亚技术有限公司 Mobile terminal and audio adaptive equilibrium method
CN109168108A (en) * 2018-10-24 2019-01-08 维沃移动通信有限公司 Electro-acoustic element amplitude method of adjustment, device and mobile terminal
CN109658942A (en) * 2018-12-27 2019-04-19 腾讯音乐娱乐科技(深圳)有限公司 A kind of audio data processing method, device and relevant device
CN109885275A (en) * 2019-02-13 2019-06-14 努比亚技术有限公司 A kind of audio regulating, controlling method, equipment and computer readable storage medium
CN110312032A (en) * 2019-06-17 2019-10-08 Oppo广东移动通信有限公司 Audio frequency playing method and Related product

Cited By (3)

* 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
CN116634052A (en) * 2023-07-26 2023-08-22 荣耀终端有限公司 Parameter determination method and electronic equipment
CN116634052B (en) * 2023-07-26 2023-10-20 荣耀终端有限公司 Parameter determination method and electronic equipment

Also Published As

Publication number Publication date
CN111767000B (en) 2023-09-01
CN111767000A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
WO2021258414A1 (en) Method and apparatus for suppressing vibration of housing of electronic device, and device and storage medium
US10341767B2 (en) Speaker protection excursion oversight
US9706305B2 (en) Enhancing audio using a mobile device
CN103152668B (en) Adjusting method of output audio and system thereof
CN110972014A (en) Parameter adjustment method and device for active noise reduction earphone and wireless earphone
US10341768B2 (en) Speaker adaptation with voltage-to-excursion conversion
US10586521B2 (en) Ear interface detection
WO2016184138A1 (en) Method, mobile terminal and computer storage medium for adjusting audio parameters
CN107645696B (en) One kind is uttered long and high-pitched sounds detection method and device
CN111052601B (en) Method and apparatus for reducing audio distortion in a speaker
CN106066782A (en) A kind of data processing method and electronic equipment
US9118292B2 (en) Bell sound outputting apparatus and method thereof
CN108093356B (en) Howling detection method and device
JP5324663B2 (en) Acoustic signal processing apparatus and acoustic signal processing method
US9906860B2 (en) Electronic device and method for dynamically adjusting output of headset
US9070371B2 (en) Method and system for peak limiting of speech signals for delay sensitive voice communication
WO2019050646A1 (en) Transient detection for speaker distortion reduction
CN116320860A (en) Earphone noise reduction method and system, earphone equipment and storage medium
TWI792607B (en) Noise detection device and method thereof
WO2021147381A1 (en) Method and device for testing listening module of terminal device
CN116668930A (en) Earphone detection method and device and earphone
CN116437279A (en) Earphone speaker calibration method and device, terminal equipment and storage medium
CN115720317A (en) Audio signal squeaking detection and suppression method and device
CN117202003A (en) Noise reduction calibration method and device for wireless earphone, electronic equipment and storage medium
CN113938806A (en) Noise detection device and method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20941881

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20941881

Country of ref document: EP

Kind code of ref document: A1