CN109769191B - Audio output detection method and device and electronic equipment - Google Patents

Audio output detection method and device and electronic equipment Download PDF

Info

Publication number
CN109769191B
CN109769191B CN201711096830.9A CN201711096830A CN109769191B CN 109769191 B CN109769191 B CN 109769191B CN 201711096830 A CN201711096830 A CN 201711096830A CN 109769191 B CN109769191 B CN 109769191B
Authority
CN
China
Prior art keywords
audio
audio output
intensity
module
difference value
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
CN201711096830.9A
Other languages
Chinese (zh)
Other versions
CN109769191A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711096830.9A priority Critical patent/CN109769191B/en
Publication of CN109769191A publication Critical patent/CN109769191A/en
Application granted granted Critical
Publication of CN109769191B publication Critical patent/CN109769191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The present disclosure relates to an audio output detection device, an audio output detection method, and an electronic apparatus, the device being suitable for a terminal, the device including: the audio output module is used for outputting audio signals and is arranged at one end of the terminal; the audio receiving module is used for receiving the audio signal and is arranged at the same end of the terminal as the audio output module; the calculating module is used for calculating a first difference value between preset intensity and the intensity of the audio signal; and the prompting module is used for generating prompting information for prompting the blockage of the sound outlet hole of the audio output module under the condition that the first difference is larger than 0. According to the embodiment of the disclosure, on one hand, the accuracy of determining whether the sound holes are blocked can be improved, and on the other hand, the operation of determining whether the sound holes are blocked can be simplified.

Description

Audio output detection method and device and electronic equipment
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to an audio output detection apparatus, an audio output detection method, and an electronic device.
Background
At present, terminal audio output modules such as mobile phones have impurities such as dust in the working environment, and generate reasons such as electrostatic adsorption dust in the working process of the terminal audio output modules, so that the sound outlet of the terminal audio output modules is blocked, and the problems of small output sound, poor tone quality and the like of the audio output modules are caused.
At present, whether the sound outlet is blocked is mainly confirmed in a manual detection mode, for example, the sound outlet is directly seen through naked eyes, but the sound outlet generally has a certain depth, the manual detection can only see whether the outer part of the sound outlet is blocked, and whether the inner part of the sound outlet is blocked cannot be confirmed, so that the accuracy of confirming the blocking is low on one hand, and the confirmation operation is complex on the other hand.
Disclosure of Invention
The present disclosure provides an audio output detection apparatus, an audio output detection method, and an electronic device to solve the disadvantages in the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided an audio output detection apparatus, adapted to a terminal, the apparatus including:
the audio output module is used for outputting audio signals and is arranged at one end of the terminal;
the audio receiving module is used for receiving the audio signal and is arranged at the same end of the terminal as the audio output module;
the calculating module is used for calculating a first difference value between preset intensity and the intensity of the audio signal;
and the prompting module is used for generating prompting information for prompting the blockage of the sound outlet hole of the audio output module under the condition that the first difference is larger than 0.
Optionally, the preset intensity is the intensity of the audio signal when the sound outlet is blocked by a preset percentage;
the calculation module is further used for calculating a second difference value between an upper limit value and a lower limit value of the fluctuation range of the preset intensity, and calculating a third difference value between the first difference value and the second difference value;
and the prompt module is used for generating the prompt information under the condition that the third difference is greater than 0.
Optionally, the apparatus further comprises:
the query module is used for querying the blockage percentage corresponding to the first difference value;
the prompt module is used for generating the prompt information according to the blockage percentage.
Optionally, the audio output module comprises an earphone, and the audio receiving module comprises a noise reduction microphone.
Optionally, the audio output module comprises a speaker and the audio receiving module comprises a microphone.
According to a second aspect of the embodiments of the present disclosure, there is provided an audio output detection method, which is applied to a terminal, where the terminal includes an audio output module, configured to output an audio signal, and arranged at one end of the terminal; the audio receiving module is used for receiving the audio signal and is arranged at the same end of the terminal as the audio output module; the method comprises the following steps:
calculating a first difference value between a preset intensity and the intensity of the audio signal;
and generating prompt information for prompting the blockage of the sound outlet hole of the audio output module under the condition that the first difference is larger than 0.
Optionally, the preset intensity is the intensity of the audio signal when the sound outlet is blocked by a preset percentage; the calculating a first difference between a preset intensity and the intensity of the audio signal comprises:
calculating a second difference value between an upper limit value and a lower limit value of the fluctuation range of the preset intensity, and calculating a third difference value between the first difference value and the second difference value;
the generating of the prompt information for prompting the blockage of the sound outlet hole of the audio output module when the first difference is larger than 0 comprises:
and generating the prompt message under the condition that the third difference is larger than 0.
Optionally, the method further includes:
querying a blockage percentage corresponding to the first difference;
and generating the prompt message according to the blockage percentage.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
further comprising: the audio output module is used for outputting audio signals and is arranged at one end of the terminal; the audio receiving module is used for receiving the audio signal and is arranged at the same end of the terminal as the audio output module;
wherein the processor is configured to:
calculating a first difference value between a preset intensity and the intensity of the audio signal;
and generating prompt information for prompting the blockage of the sound outlet hole of the audio output module under the condition that the first difference is larger than 0.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the embodiment, the audio receiving module receives the audio signals output by the audio output module, the intensity of the audio output signals is compared with the preset intensity, whether the sound outlet of the audio output module is blocked or not can be accurately determined according to the comparison result, and then prompt information is generated under the condition of blocking, so that a user can accurately and timely determine that the sound outlet is blocked. On the one hand, the accuracy of determining whether the sound hole is blocked can be improved, and on the other hand, the operation of determining whether the sound hole is blocked can be simplified.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic block diagram illustrating an audio output detection device according to an exemplary embodiment.
Fig. 2 is a schematic diagram illustrating a sound outlet according to an exemplary embodiment.
Fig. 3 is a schematic diagram illustrating an audio receiving module according to an example embodiment.
Fig. 4 is a schematic diagram illustrating another audio receiving module according to an example embodiment.
Fig. 5 is a schematic diagram illustrating another sound outlet port in accordance with an exemplary embodiment.
FIG. 6 is a schematic block diagram illustrating another audio output detection device in accordance with an exemplary embodiment.
FIG. 7 is a schematic flow chart diagram illustrating a method of audio output detection in accordance with an exemplary embodiment.
FIG. 8 is a schematic flow chart diagram illustrating another audio output detection method in accordance with an exemplary embodiment.
FIG. 9 is a schematic flow chart diagram illustrating another audio output detection method in accordance with an exemplary embodiment.
Fig. 10 is a block diagram illustrating a schematic configuration of an apparatus for audio output detection according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic block diagram illustrating an audio output detection apparatus according to an exemplary embodiment, which may be applied to a terminal of a mobile phone or a tablet computer, and the following exemplary embodiment of the disclosure is mainly applied to a case where the apparatus is applied to a mobile phone. As shown in fig. 1, the apparatus includes:
the audio output module 11 is used for outputting audio signals and is arranged at one end of the terminal;
the audio receiving module 12 is configured to receive the audio signal, and is disposed at the same end of the terminal as the audio output module;
in one embodiment, the audio output module and the audio receiving module may be located at the same end of the terminal, so that the audio signal output by the audio output module can be received by the audio receiving module only by propagating for a short distance, thereby reducing the intensity lost in the propagation process, and facilitating the subsequent calculating module to accurately calculate the first difference value accordingly.
A calculating module 13, configured to calculate a first difference between a preset intensity and an intensity of the audio signal;
and the prompting module 14 is configured to generate a prompting message for prompting that the sound outlet of the audio output module is blocked, when the first difference is greater than 0.
In one embodiment, the prompt message may be a text prompt message or an audio prompt message.
In one embodiment, the user may trigger the calculation module to calculate the first difference value by inputting the detection instruction, and the calculation module and the prompt module may stop working when the user does not output the detection instruction.
In one embodiment, the preset intensity may be the measured intensity of the audio signal output by the audio output module when the sound outlet is blocked by a preset percentage (which may be set as required, and may be 10% for example) in advance. In the case that the first difference between the preset intensity and the intensity of the audio signal is greater than 0, it may be determined that the intensity of the audio signal is less than the preset intensity, that is, the percentage of the sound outlet being blocked is greater than the preset percentage. In the daily use process, the sound outlet cannot be kept completely unblocked, and blockage to a certain degree exists more or less, so that the blockage of the sound outlet can be judged under the condition that the blockage percentage of the sound outlet is greater than the preset percentage, the user listening is influenced, and then prompt information is generated.
Fig. 2 is a schematic diagram illustrating a sound outlet according to an exemplary embodiment. Fig. 3 is a schematic diagram illustrating an audio receiving module according to an example embodiment. Fig. 4 is a schematic diagram illustrating another audio receiving module according to an example embodiment.
In one embodiment, taking a mobile phone as an example, the audio output module and the audio receiving module may be located on the top of the mobile phone, for example, the audio output module is an earphone, and the sound outlet 10 of the audio output module may be as shown in fig. 2. In this case, the audio receiving module 12 may be a noise reduction microphone, which may be disposed at an upper rim of the cellular phone as shown in fig. 3, or may be disposed at the top of a rear cover of the cellular phone as shown in fig. 4.
It should be noted that the audio receiving module 12 shown in fig. 3 and 4 is actually a sound inlet of the noise reduction microphone, and in this embodiment, is only used to illustrate the approximate position of the noise reduction microphone.
Fig. 5 is a schematic diagram illustrating another sound outlet port in accordance with an exemplary embodiment.
In one embodiment, taking a mobile phone as an example, the audio output module and the audio receiving module may also be located at the bottom of the mobile phone, for example, the audio output module is a speaker, and then the sound outlet 10 of the audio output module may be as shown in fig. 5. In this case, the audio output module may be a speaker, and the audio receiving module may be a microphone.
In one embodiment, the audio receiving module receives the audio signal output by the audio output module, and compares the intensity of the audio output signal with the preset intensity, so that whether the sound outlet of the audio output module is blocked can be accurately determined according to the comparison result, and then prompt information is generated under the condition of blocking, so that a user can accurately and timely determine that the sound outlet is blocked. On the one hand, the accuracy of determining whether the sound hole is blocked can be improved, and on the other hand, the operation of determining whether the sound hole is blocked can be simplified.
Optionally, the preset intensity is the intensity of the audio signal when the sound outlet is blocked by a preset percentage;
the calculation module is further used for calculating a second difference value between an upper limit value and a lower limit value of the fluctuation range of the preset intensity, and calculating a third difference value between the first difference value and the second difference value;
and the prompt module is used for generating the prompt information under the condition that the third difference is greater than 0.
In one embodiment, the third difference may be calculated directly from the preset intensity, the intensity of the audio signal, and the upper and lower limits of the fluctuation range, without calculating the first and second differences and then calculating the third difference.
In one embodiment, since the preset intensity is the measured intensity of the audio signal output by the audio output module under the condition of the preset percentage of the blocked sound outlet, the data measured for a plurality of times generally have a certain difference, that is, the preset intensities are within a fluctuation range, for example, the fluctuation range is 20 db to 25 db, and then the second difference is equal to 5 db. In this case, if the preset intensity for comparison with the intensity of the audio signal is 23 db and the intensity of the audio signal is 21 db, the first difference is equal to 2 db, and the third difference is equal to-3 db, which is less than 0, so that the prompt message is not generated.
When the preset intensity is selected as a large value in the fluctuation range, for example, 23 db, the proportion of the sound outlet blockage does not reach the preset percentage, and the intensity of the audio signal is large, for example, 21 db, then the first difference is 2 db and is greater than 0, and the sound outlet blockage can still be prompted based on the first difference, so that the misjudgment is generated.
However, according to the above-described embodiment, in the case where the first difference is larger than 0, the prompt information is not generated, but the prompt information is generated only in the case where it is determined that the third difference is larger than 0. Therefore, the phenomenon that the sound outlet is blocked by misjudgment can be avoided under the condition that the blockage proportion of the sound outlet does not reach the preset percentage.
FIG. 6 is a schematic block diagram illustrating another audio output detection device in accordance with an exemplary embodiment. As shown in fig. 6, on the basis of the embodiment shown in fig. 1, the apparatus further includes:
a query module 15, configured to query a blockage percentage corresponding to the first difference;
wherein, the prompt module 14 is configured to generate the prompt message according to the blockage percentage.
In one embodiment, since different users have different requirements for the degree of openness of the sound outlet, based on the fixed preset intensity, the correlation between the blocked area and the first difference value may be stored in advance, for example, in the case where the first difference value is-5, the blocked area is 0; under the condition that the first difference value is-4, the blocking area is 2 percent; under the condition that the first difference value is-3, the blocking area is 4 percent; under the condition that the first difference value is-2, the blocking area is 6 percent; under the condition that the first difference value is-1, the blocking area is 8 percent; when the first difference is 0, the blocking area is 10%; when the first difference is 1, the blocking area is 12%; in the case where the first difference is 2, the plugging area is 14%; in the case where the first difference is 3, the plugging area is 16%.
For example, in the case where the first difference is-1, although no prompt message is generated, the user can determine that the blocked area of the sound hole reaches 8%. That is, the present embodiment may display the corresponding blockage percentage for the user according to different first difference values, so that the user may determine whether to clean the sound outlet according to the requirement.
Optionally, the audio output module comprises an earphone, and the audio receiving module comprises a noise reduction microphone.
Optionally, the audio output module comprises a speaker and the audio receiving module comprises a microphone.
In one embodiment, the two embodiments described above may be combined, that is, the audio output module includes both an earphone and a speaker, and the audio receiving module includes both a noise reduction microphone and a microphone.
Then a first preset intensity may be set for the earpiece and the noise reducing microphone and a second preset intensity may be set for the speaker and the microphone. On one hand, the calculation module calculates a difference value between the first preset intensity and the intensity of the audio signal output by the receiver, and the prompt module generates first prompt information for prompting that the sound outlet of the receiver is blocked under the condition that the difference value is greater than 0. The calculation module calculates a difference value between the second preset intensity and the intensity of the audio signal output by the loudspeaker, and the prompt module generates second prompt information for prompting that the sound outlet of the loudspeaker is blocked under the condition that the difference value is greater than 0.
Therefore, different prompt messages can be generated under the condition that the sound outlet hole of the earphone is blocked or the sound outlet hole of the loudspeaker is blocked, so that a user can accurately determine the blocked sound outlet hole and further process the sound outlet hole.
Corresponding to the foregoing embodiments of the audio output detection apparatus, the present disclosure also provides embodiments of an audio output detection method.
Fig. 7 is a schematic flow chart illustrating an audio output detection method according to an exemplary embodiment, the method is suitable for a mobile phone, a tablet computer and other terminals, the terminal includes an audio output module for outputting audio signals, and the audio output module is disposed at one end of the terminal; and the audio receiving module is used for receiving the audio signal and is arranged at the same end of the terminal as the audio output module. Referring to fig. 7, the method includes the following steps.
Step S71, calculating a first difference value between a preset intensity and the intensity of the audio signal;
and step S72, generating prompt information for prompting the blockage of the sound outlet hole of the audio output module when the first difference is larger than 0.
FIG. 8 is a schematic flow chart diagram illustrating another audio output detection method according to an exemplary embodiment, as shown in FIG. 8, based on the embodiment shown in FIG. 7, wherein the preset intensity is the intensity of the audio signal in the case that the preset intensity is a preset percentage of the blocked sound outlet; the calculating a first difference between a preset intensity and the intensity of the audio signal comprises:
step S711, calculating a second difference between an upper limit value and a lower limit value of the fluctuation range of the preset intensity, and calculating a third difference between the first difference and the second difference;
the generating of the prompt information for prompting the blockage of the sound outlet hole of the audio output module when the first difference is larger than 0 comprises:
step S721, in the case that the third difference is greater than 0, generating the prompt information.
Fig. 9 is a schematic flow chart diagram illustrating another audio output detection method according to an exemplary embodiment, as shown in fig. 9, which further includes, based on the embodiment shown in fig. 7:
step S73, inquiring a clogging percentage corresponding to the first difference;
and step S74, generating the prompt message according to the jam percentage.
In one embodiment, step S73 may be performed out of the order shown in fig. 9, e.g., before step S72, or in parallel with step S72, as long as it is guaranteed to be performed after step S71.
With regard to the method in the above-described embodiment, the specific manner in which each step performs an operation has been described in detail in the apparatus embodiment related to the method, and will not be elaborated upon here.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Correspondingly, the present disclosure also provides an audio output detection device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: calculating a first difference value between a preset intensity and the intensity of the audio signal; and generating prompt information for prompting the blockage of the sound outlet hole of the audio output module under the condition that the first difference is larger than 0.
Accordingly, the present disclosure also provides a terminal comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by the one or more processors to include instructions for: calculating a first difference value between a preset intensity and the intensity of the audio signal; and generating prompt information for prompting the blockage of the sound outlet hole of the audio output module under the condition that the first difference is larger than 0.
Fig. 10 is a block diagram illustrating a schematic structure of an apparatus 1000 for detecting audio output according to an exemplary embodiment. For example, the apparatus 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, the apparatus 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016. Wherein the audio component 1010 comprises: the audio output module is used for outputting audio signals and is arranged at one end of the terminal; and the audio receiving module is used for receiving the audio signal and is arranged at the same end of the terminal as the audio output module.
The processing component 1002 generally controls the overall operation of the device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operations at the apparatus 1000. Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1006 provides power to the various components of the device 1000. The power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1000 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the device 1000. For example, sensor assembly 1014 may detect an open/closed state of device 1000, the relative positioning of components, such as a display and keypad of device 1000, the change in position of device 1000 or a component of device 1000, the presence or absence of user contact with device 1000, the orientation or acceleration/deceleration of device 1000, and the change in temperature of device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communications between the apparatus 1000 and other devices in a wired or wireless manner. The device 1000 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1004 comprising instructions, executable by the processor 1020 of the device 1000 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (7)

1. An audio output detection apparatus adapted for a terminal, the apparatus comprising:
the audio output module is used for outputting audio signals and is arranged at one end of the terminal;
the audio receiving module is used for receiving the audio signal and is arranged at the same end of the terminal as the audio output module;
the calculating module is used for calculating a first difference value between preset intensity and the intensity of the audio signal; the preset intensity is the intensity of the audio signal under the condition that the sound outlet is blocked by a preset percentage; the calculating a first difference between a preset intensity and the intensity of the audio signal comprises:
calculating a second difference value between an upper limit value and a lower limit value of the fluctuation range of the preset intensity, and calculating a third difference value between the first difference value and the second difference value;
and the prompting module is used for generating prompting information for prompting the blockage of the sound outlet hole of the audio output module under the condition that the third difference value is greater than 0.
2. The apparatus of claim 1, further comprising:
the query module is used for querying the blockage percentage corresponding to the first difference value;
the prompt module is used for generating the prompt information according to the blockage percentage.
3. The apparatus of any of claims 1-2, wherein the audio output module comprises an earpiece and the audio receiving module comprises a noise reduction microphone.
4. The apparatus of any of claims 1-2, wherein the audio output module comprises a speaker and the audio receiving module comprises a microphone.
5. The audio output detection method is characterized by being applicable to a terminal, wherein the terminal comprises an audio output module, a detection module and a control module, wherein the audio output module is used for outputting audio signals and is arranged at one end of the terminal; the audio receiving module is used for receiving the audio signal and is arranged at the same end of the terminal as the audio output module; the method comprises the following steps:
calculating a first difference value between a preset intensity and the intensity of the audio signal;
the preset intensity is the intensity of the audio signal under the condition that the sound outlet is blocked by a preset percentage; the calculating a first difference between a preset intensity and the intensity of the audio signal comprises:
calculating a second difference value between an upper limit value and a lower limit value of the fluctuation range of the preset intensity, and calculating a third difference value between the first difference value and the second difference value;
and generating prompt information for prompting the blockage of the sound outlet hole of the audio output module under the condition that the third difference is larger than 0.
6. The method of claim 5, further comprising:
querying a blockage percentage corresponding to the first difference;
and generating the prompt message according to the blockage percentage.
7. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
further comprising: the audio output module is used for outputting audio signals and is arranged at one end of the terminal; the audio receiving module is used for receiving the audio signal and is arranged at the same end of the terminal as the audio output module;
wherein the processor is configured to:
calculating a first difference value between a preset intensity and the intensity of the audio signal; the preset intensity is the intensity of the audio signal under the condition that the sound outlet is blocked by a preset percentage; the calculating a first difference between a preset intensity and the intensity of the audio signal comprises:
calculating a second difference value between an upper limit value and a lower limit value of the fluctuation range of the preset intensity, and calculating a third difference value between the first difference value and the second difference value;
and generating prompt information for prompting the blockage of the sound outlet hole of the audio output module under the condition that the third difference is larger than 0.
CN201711096830.9A 2017-11-09 2017-11-09 Audio output detection method and device and electronic equipment Active CN109769191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711096830.9A CN109769191B (en) 2017-11-09 2017-11-09 Audio output detection method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711096830.9A CN109769191B (en) 2017-11-09 2017-11-09 Audio output detection method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN109769191A CN109769191A (en) 2019-05-17
CN109769191B true CN109769191B (en) 2021-03-23

Family

ID=66449281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711096830.9A Active CN109769191B (en) 2017-11-09 2017-11-09 Audio output detection method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109769191B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333619A (en) * 2020-11-03 2021-02-05 珠海格力电器股份有限公司 Method, device and system for detecting receiver performance
CN113746976B (en) * 2021-07-23 2023-03-28 荣耀终端有限公司 Audio module detection method, electronic device and computer storage medium
CN114615599A (en) * 2022-03-11 2022-06-10 游密科技(深圳)有限公司 Audio processing method, apparatus, computer device, storage medium, and program product

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015035862A1 (en) * 2013-09-16 2015-03-19 华为终端有限公司 Sound effect control method and device
CN106717027A (en) * 2015-09-01 2017-05-24 华为技术有限公司 Voice path check method, device, and terminal
CN106851516A (en) * 2017-03-03 2017-06-13 广东欧珀移动通信有限公司 Electronic installation and the detection method based on loudness
CN106851515A (en) * 2017-03-03 2017-06-13 广东欧珀移动通信有限公司 Speaker voice giving hole plug detection method and device
CN106878908A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 Control method, control device and electronic installation
CN106911996A (en) * 2017-03-03 2017-06-30 广东欧珀移动通信有限公司 The detection method of microphone state, device and terminal device
CN106959838A (en) * 2017-03-03 2017-07-18 广东欧珀移动通信有限公司 Audio control method, audio control apparatus and electronic installation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015035862A1 (en) * 2013-09-16 2015-03-19 华为终端有限公司 Sound effect control method and device
CN106717027A (en) * 2015-09-01 2017-05-24 华为技术有限公司 Voice path check method, device, and terminal
CN106851516A (en) * 2017-03-03 2017-06-13 广东欧珀移动通信有限公司 Electronic installation and the detection method based on loudness
CN106851515A (en) * 2017-03-03 2017-06-13 广东欧珀移动通信有限公司 Speaker voice giving hole plug detection method and device
CN106878908A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 Control method, control device and electronic installation
CN106911996A (en) * 2017-03-03 2017-06-30 广东欧珀移动通信有限公司 The detection method of microphone state, device and terminal device
CN106959838A (en) * 2017-03-03 2017-07-18 广东欧珀移动通信有限公司 Audio control method, audio control apparatus and electronic installation

Also Published As

Publication number Publication date
CN109769191A (en) 2019-05-17

Similar Documents

Publication Publication Date Title
EP3301551B1 (en) Electronic device for identifying touch
EP3125512A1 (en) Silent ring indication while listening music over a headset
CN104902059A (en) Call reminding method and device
EP3176984B1 (en) Method and device for processing information
CN106802741B (en) Method and device for determining screen edge touch event and mobile terminal
US10439660B2 (en) Method and device for adjusting frequencies of intercom apparatuses
CN108076199B (en) Method and device for detecting air tightness of microphone
CN106354504B (en) Message display method and device
CN106485660B (en) Electronic map zooming method and device
EP3024211A1 (en) Method and device for announcing voice call
CN105898573B (en) Multimedia file playing method and device
CN106888327B (en) Voice playing method and device
EP3462367A1 (en) Method and apparatus for displaying application interface
CN109769191B (en) Audio output detection method and device and electronic equipment
US20180139790A1 (en) Methods, apparatuses and storage medium for controlling a wireless connection
CN105323152A (en) Message processing method, device and equipment
CN108874450B (en) Method and device for waking up voice assistant
CN106445122B (en) Equipment state control method and device
CN107656616B (en) Input interface display method and device and electronic equipment
CN105227426B (en) Application interface switching method and device and terminal equipment
CN108206884B (en) Terminal, adjusting method for communication signal transmitted by terminal and electronic equipment
US20170201479A1 (en) Group message display method, device and medium
CN107682101B (en) Noise detection method and device and electronic equipment
CN112083841B (en) Information input method, device and storage medium
CN110769114B (en) Call interface display method and device and mobile terminal

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