CN109040937A - Microphone blocks based reminding method and relevant apparatus - Google Patents
Microphone blocks based reminding method and relevant apparatus Download PDFInfo
- Publication number
- CN109040937A CN109040937A CN201810818377.6A CN201810818377A CN109040937A CN 109040937 A CN109040937 A CN 109040937A CN 201810818377 A CN201810818377 A CN 201810818377A CN 109040937 A CN109040937 A CN 109040937A
- Authority
- CN
- China
- Prior art keywords
- microphone
- voice data
- medium
- blocked
- decibel 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/004—Monitoring arrangements; Testing arrangements for microphones
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01H—MEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
- G01H17/00—Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves, not provided for in the preceding groups
Abstract
This application discloses a kind of microphone blocking based reminding method and relevant apparatus, are applied to electronic equipment, and the electronic equipment includes a microphone, comprising: when detecting the electronic equipment acquisition voice data, obtains the decibel value of the voice data;When detecting that the decibel value of the voice data meets preset condition, determine that the microphone is blocked;Determine the medium for blocking the microphone, and first notification message of the output for prompting microphone described in user blocked, first notification message includes the relevant information of the medium.The application is conducive to that user's microphone is notified to be blocked in time when detecting that microphone is blocked, and informs that user blocks the medium of microphone.
Description
Technical field
This application involves electronic technology field more particularly to a kind of microphone blocking based reminding methods and relevant apparatus.
Background technique
With the rapid development of intelligent terminal (such as smart phone) technology and more more and more universal, user is become
Indispensable electronic product in daily life.Electronic equipment includes at least a microphone, for including the voice number of user
According to, but when microphone is blocked, user is difficult to discover, it is second-rate so as to cause the voice data included.
Summary of the invention
The embodiment of the present application provides a kind of microphone blocking based reminding method and relevant apparatus, is conducive to detecting microphone
User is reminded when blocked in time, and informs that user blocks the medium of microphone.
In a first aspect, the embodiment of the present application provides a kind of microphone blocking based reminding method, it is applied to electronic equipment, the electricity
Sub- equipment includes a microphone, which comprises
When detecting the electronic equipment acquisition voice data, the decibel value of the voice data is obtained;
When detecting that the decibel value of the voice data meets preset condition, determine that the microphone is blocked;
Determine the medium for blocking the microphone, and output is microphone described in user is blocked first logical for prompting
Know message, first notification message includes the relevant information of the medium.
Second aspect, the embodiment of the present application provide a kind of microphone blockage reminding device, are applied to electronic equipment, the electricity
Sub- equipment includes a microphone, and the microphone blockage reminding device includes acquiring unit, determination unit and output unit,
In,
The acquiring unit, for obtaining the voice data when detecting the electronic equipment acquisition voice data
Decibel value;
The determination unit, described in determining when detecting that the decibel value of the voice data meets preset condition
Microphone is blocked;
The output unit, for determining the medium for blocking the microphone, and output for prompting wheat described in user
The first blocked notification message of gram wind, first notification message includes the relevant information of the medium.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including processor, memory, communication interface and
One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned
It manages device to execute, above procedure is included the steps that for executing the instruction in the embodiment of the present application first aspect either method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable
Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as
Step some or all of described in the embodiment of the present application first aspect either method.
As can be seen that in the embodiment of the present application, electronic equipment is detecting the electronic equipment acquisition voice number first
According to when, the decibel value of the voice data is obtained, secondly, detecting that the decibel value of the voice data meets preset condition
When, determine that the microphone is blocked, finally, determining the medium for blocking the microphone, and output is for prompting user institute
The first blocked notification message of microphone is stated, first notification message includes the relevant information of the medium.Due to electronics
Equipment is during acquiring voice data, by the decibel for analyze to collected voice data determining voice data
Value can determine that the microphone of electronic equipment is blocked when the decibel value for detecting voice data meets preset condition, then into one
Step determines the medium of blocking microphone, is conducive to remind user's microphone blocked and the medium of blocking microphone, so that with
Family can take counter-measure in time, and then improve the quality of collected voice data.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application or in background technique below will be implemented the application
Attached drawing needed in example or background technique is illustrated.
Figure 1A is a kind of schematic diagram of the program running space of smart phone;
Figure 1B is a kind of system architecture diagram of Android system;
Fig. 2 is a kind of flow diagram of microphone blocking based reminding method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another microphone blocking based reminding method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another microphone blocking based reminding method provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 6 is a kind of functional unit composition block diagram of microphone blockage reminding device provided by the embodiments of the present application.
Specific implementation
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
It is described in detail separately below.
The description and claims of this application and term " first ", " second ", " third " and " in the attached drawing
Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it
Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be
System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list
Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
As shown in Figure 1A, the electronic equipments such as smart phone are typically provided with program running space at present, and program operation is empty
Between include user's space and operating system space, wherein user's space operation have one or more application program, this or more
A application program is the third party application of electronic equipment installation, and microphone described in the embodiment of the present application blocks prompting side
The corresponding software algorithm of method operates in user's space, and operating system space motion has the operating system of electronic equipment.
The electronic equipment can specifically run the Mobile operating system iOS of Android android system, Apple Inc.'s exploitation
Deng not doing unique restriction herein.As shown in Figure 1B, by taking electronic equipment operation has android system as an example, corresponding user
Space includes the application layer (Applications) in the android system, and operating system space may include the Android system
Application framework layer (Application Framework), system Runtime Library layer (including system Runtime Library layer in system
Android Runtime when Libraries and Android are run), Linux inner core (Linux Kernel).Wherein, it applies
It include all kinds of application programs directly interacted with user, or the service routine for running on backstage write by Java language on layer.
For example, the program for the common basic function realized on smart phone, such as short message service (Short Messaging
Service, SMS) short message, dialing, Photo Browser, calendar, game, map, WWW (World Wide Web,
Web) programs such as browser and the other applications of developer's exploitation.Application framework layer provides exploitation Android
A series of class libraries needed for application program can be used in reusing component, can also realize personalized extension by inheriting.System
Runtime Library layer is the support of application framework, provides service for the various components in android system.System Runtime Library layer by
System class libraries and Android are constituted when running.It include core library and Dalvik virtual machine two parts when Android is run.Linux
Inner nuclear layer is for realizing hardware device drivers, process and memory management, network protocol stack, power management, the cores such as wireless communication
Function.
Electronic equipment may include the various handheld devices with wireless communication function, mobile unit, wearable device (example
Such as smartwatch, Intelligent bracelet, pedometer), calculate equipment or be connected to other processing equipments of radio modem, with
And various forms of user equipmenies (User Equipment, UE), mobile station (Mobile Station, MS), terminal device
(terminal device) etc..For convenience of description, apparatus mentioned above is referred to as electronic equipment.
It describes in detail below to the embodiment of the present application.
Referring to Fig. 2, Fig. 2 is that the embodiment of the present application provides a kind of flow diagram of microphone blocking based reminding method,
Applied to electronic equipment, the electronic equipment includes a microphone, this microphone blocking based reminding method includes:
S201, the electronic equipment obtain the voice data when detecting the electronic equipment acquisition voice data
Decibel value.
Wherein, microphone blocking based reminding method provided by the present application is directed to the electronic equipment with single microphone, current city
There is only one microphone of many electronic equipments on, is usually located at electronic equipment bottom, therefore when microphone is blocked, meeting
Collected voice data quality is caused to decline, the functions such as recording, call of image electronic equipment.
Wherein, the microphone of electronic equipment is blocked, and the through-hole that specific manifestation can be microphone acquisition sound is blocked,
The medium for blocking through-hole may be the media such as dust, water, clothes, skin, can determine whether out to block by collected voice data
The medium of microphone.
Wherein, when detecting that electronic equipment is acquiring voice data, it can determine and adopt while acquiring voice data
The decibel value of the voice data collected, and then can be analyzed by the decibel value to collected voice data, determination is adopted
The quality of the voice data collected.
S202, the electronic equipment is when the decibel value for detecting the voice data meets preset condition, described in determination
Microphone is blocked.
Wherein, when being blocked due to microphone, the decibel value of collected voice data can not be blocked lower than microphone
The decibel value of collected voice data when plug, therefore, the reduction of voice data decibel value may be to be blocked because of microphone,
It may be because of other reasons, therefore by judge whether the decibel value of voice data meets preset condition to judge that microphone is
No to be blocked, preset condition may be one, it is also possible to and it is multiple, because of the difference of scene locating for electronic equipment, preset condition
It may also be different.
S203, the electronic equipment determine the medium for blocking the microphone, and output for prompting wheat described in user
The first blocked notification message of gram wind, first notification message includes the relevant information of the medium.
Wherein, after detecting that microphone is blocked, it may be determined that block the medium of microphone, and export microphone and be blocked
The notification message of plug, for reminding user's microphone to be blocked and the medium of blocking microphone, so that user is known that wheat
Gram wind is blocked and the medium of blocking microphone.
As can be seen that in the embodiment of the present application, electronic equipment is detecting the electronic equipment acquisition voice number first
According to when, the decibel value of the voice data is obtained, secondly, detecting that the decibel value of the voice data meets preset condition
When, determine that the microphone is blocked, finally, determining the medium for blocking the microphone, and output is for prompting user institute
The first blocked notification message of microphone is stated, first notification message includes the relevant information of the medium.Due to electronics
Equipment is during acquiring voice data, by the decibel for analyze to collected voice data determining voice data
Value can determine that the microphone of electronic equipment is blocked when the decibel value for detecting voice data meets preset condition, then into one
Step determines the medium of blocking microphone, is conducive to remind user's microphone blocked and the medium of blocking microphone, so that with
Family can take counter-measure in time, and then improve the quality of collected voice data.
In a possible example, the determining medium for blocking the microphone, comprising: it is small to obtain the decibel value
In the part of speech data of the default decibel value;Obtain the sound characteristic of the part of speech data, the sound characteristic packet
Include timbre information;The medium for blocking the microphone is determined according to the timbre information.
Wherein, by presetting decibel value, it may be determined that whether microphone is blocked, and obtains decibel value in voice data and is less than in advance
If the part of speech data of decibel value, further the sound characteristic of fetching portion voice data, sound characteristic include issuing again
The timbre information of sound determines the specific medium of blocking microphone according to timbre information.
Wherein, tone color, which refers in terms of the frequency of different sound shows waveform, always distinguished characteristic, works as wheat
When gram wind is by different filter medium cloggings, the tone color of collected voice data is different.
As it can be seen that first obtaining the part of speech data that decibel value in voice data is less than default decibel value, part in this example
Voice data is that microphone is blocked collected voice data in situation, such as by the sound characteristic of fetching portion voice data
Timbre information can determine whether out the medium for blocking microphone, so that user is known that the medium of blocking microphone.
In a possible example, the determining medium for blocking the microphone, comprising: it is small to obtain the decibel value
In the part of speech data of default decibel value;Determine the average decibel value of the part of speech data;Determine the average decibel
Difference between value and the default decibel value;The medium for blocking the microphone is determined according to the difference.
Wherein it is possible to obtain the part of speech data that decibel value in voice data is less than default decibel value, the part is determined
After the average decibel value of voice data, the difference between average decibel value and default decibel value is calculated, is by difference determination
What filter medium clogging microphone.
As it can be seen that first obtaining the part of speech data for being less than default decibel value in voice data in this example, passing through calculation part
Divide the difference between the average decibel value and default decibel value of voice data, it may be determined that the medium for blocking microphone, due to difference
When filter medium clogging microphone, the attenuation degree of decibel value is different, therefore can determine medium according to difference.
In a possible example, the determining medium for blocking the microphone, comprising: obtain electronic equipment and prestore
Multiple voice data template, the voice data template include the microphone by a variety of filter medium cloggings when collected voice
Data;Determine that the voice data template neutralizes the matched target speech data template of voice data;Determine the target
The corresponding medium of voice data is the medium for blocking the microphone.
Wherein, electronic equipment obtains the multiple voice data template prestored, and voice data template is microphone by a variety of Jie
Matter collected voice data when blocking, collected voice data and multiple voice data templates are compared, determine language
In sound data template and the matched target speech data template of voice data, according to the corresponding medium of target speech data template,
It can determine the medium of blocking microphone.
As it can be seen that prestoring microphone in this example, in electronic equipment by collected voice in the case of a variety of filter medium cloggings
Data template, therefore collected voice data and voice data template can be matched to obtain target speech data template,
And then the medium of blocking microphone can be determined according to target speech data template.
It is described when detecting that the decibel value of the voice data meets preset condition in a possible example, really
The fixed microphone is blocked, comprising: determines that decibel value is less than the part of speech of the default decibel value in the voice data
Data;Determine the first sampling duration of the voice data and the second sampling duration of the part of speech data;It is detecting
When the second sampling duration is greater than default accounting relative to the accounting of the first sampling duration, determine that the microphone is blocked
Plug.
Wherein, when determining whether microphone is blocked, the part language that decibel value in voice data is less than default decibel is obtained
Sound data determine the first sampling duration of voice data and the second sampling duration of part of speech data, when the second sampling duration
When accounting relative to the first sampling duration is greater than default accounting, determine that microphone is blocked.For example, a length of five when the first sampling
Minute, presetting accounting is 50 percent, and when the second sampling a length of three minutes, accounting is 60 percent, is greater than default
Accounting 50 percent, therefore can determine that microphone is blocked.
As it can be seen that in this example, by obtaining part of speech data of the decibel value less than default decibel value, it may be determined that part language
The corresponding second sampling duration of sound data, calculates the time accounting of the second sampling duration and the first sampling duration, when passing through judgement
Between accounting whether be greater than it is default account for determine whether microphone is blocked, accuracy is high.
It is described when detecting that the decibel value of the voice data meets preset condition in a possible example, really
The fixed microphone is blocked, comprising: determines that decibel value is less than the part of speech of the default decibel value in the voice data
The duration of data;When detecting that the duration is greater than preset duration, determine that the microphone is blocked.
Wherein, electronic equipment can determine decibel value in voice data be less than the part of speech data of default decibel value when
It is long, when detecting that the duration is greater than preset duration, it may be determined that microphone is blocked, for example, preset duration is two minutes, is examining
It measures in collected voice data, when having more than the decibel value of two minutes voice data less than default decibel value, it may be determined that
Microphone is blocked.
As it can be seen that first determining that decibel value is less than the duration of the part of speech data of default decibel value, then judge this in this example
Duration whether is greater than preset duration so that it is determined that whether microphone is blocked, and determines wheat when detecting that duration is greater than preset duration
Gram wind is blocked, and deterministic process is relatively simple, can quickly determine to whether microphone is blocked to notify user in time.
In a possible example, first notification message of the output for prompting microphone described in user blocked
Later, the method also includes: determined according to the medium and solve the blocked counter-measure of the microphone;Output includes institute
State the second notification message of counter-measure.
Wherein, after the medium for determining blocking microphone, it can be determined according to the medium and solve what microphone was blocked
Counter-measure specifically can be the history usage record according to electronic equipment, when determining electronic equipment by the filter medium clogging, solve
The blocked counter-measure of microphone, alternatively, microphone is obtained in a network by the solution in the case of the filter medium clogging, from
And obtain counter-measure.
As it can be seen that in this example, it, can also basis after exporting the notification message for prompting user's microphone blocked
The medium of microphone is blocked, by searching for historical record and network inquiry, determines and solves microphone by the reply of the filter medium clogging
Measure is conducive to that user is helped to solve the blocked situation of microphone in time.
It is consistent with the embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is a kind of Mike provided by the embodiments of the present application
The flow diagram of wind locking plug based reminding method, is applied to electronic equipment, and the electronic equipment includes a microphone.As schemed
Show, this microphone blocking based reminding method includes:
S301, the electronic equipment obtain the voice data when detecting the electronic equipment acquisition voice data
Decibel value.
S302, the electronic equipment is when the decibel value for detecting the voice data meets preset condition, described in determination
Microphone is blocked.
S303, the electronic equipment obtain the multiple voice data template that electronic equipment prestores, the voice data template
Collected voice data when including the microphone by a variety of filter medium cloggings.
S304, the electronic equipment determine that the voice data template neutralizes the matched target voice number of voice data
According to template.
S305, the electronic equipment determine that the corresponding medium of the target speech data is Jie for blocking the microphone
Matter.
S306, first notification message of the electronic equipment output for prompting microphone described in user blocked are described
First notification message includes the relevant information of the medium.
As can be seen that in the embodiment of the present application, electronic equipment is detecting the electronic equipment acquisition voice number first
According to when, the decibel value of the voice data is obtained, secondly, detecting that the decibel value of the voice data meets preset condition
When, determine that the microphone is blocked, finally, determining the medium for blocking the microphone, and output is for prompting user institute
The first blocked notification message of microphone is stated, first notification message includes the relevant information of the medium.Due to electronics
Equipment is during acquiring voice data, by the decibel for analyze to collected voice data determining voice data
Value can determine that the microphone of electronic equipment is blocked when the decibel value for detecting voice data meets preset condition, then into one
Step determines the medium of blocking microphone, is conducive to remind user's microphone blocked and the medium of blocking microphone, so that with
Family can take counter-measure in time, and then improve the quality of collected voice data.
In addition, microphone is prestored in electronic equipment by voice data template collected in the case of a variety of filter medium cloggings,
Therefore collected voice data and voice data template can be matched to obtain target speech data template, and then according to mesh
Poster sound data template can determine the medium of blocking microphone.
It is consistent with the embodiment shown in Fig. 2, referring to Fig. 4, Fig. 4 is a kind of Mike provided by the embodiments of the present application
The flow diagram of wind locking plug based reminding method, is applied to electronic equipment, and the electronic equipment includes a microphone.As schemed
Show, this microphone blocking based reminding method includes:
S401, the electronic equipment obtain the voice data when detecting the electronic equipment acquisition voice data
Decibel value.
S402, the electronic equipment determine that decibel value is less than the part of speech of the default decibel value in the voice data
The duration of data.
S403, the electronic equipment determine that the microphone is blocked when detecting that the duration is greater than preset duration.
S404, the electronic equipment obtain the multiple voice data template that electronic equipment prestores, the voice data template
Collected voice data when including the microphone by a variety of filter medium cloggings.
S405, the electronic equipment determine that the voice data template neutralizes the matched target voice number of voice data
According to template.
S406, the electronic equipment determine that the corresponding medium of the target speech data is Jie for blocking the microphone
Matter.
S407, first notification message of the electronic equipment output for prompting microphone described in user blocked are described
First notification message includes the relevant information of the medium.
As can be seen that in the embodiment of the present application, electronic equipment is detecting the electronic equipment acquisition voice number first
According to when, the decibel value of the voice data is obtained, secondly, detecting that the decibel value of the voice data meets preset condition
When, determine that the microphone is blocked, finally, determining the medium for blocking the microphone, and output is for prompting user institute
The first blocked notification message of microphone is stated, first notification message includes the relevant information of the medium.Due to electronics
Equipment is during acquiring voice data, by the decibel for analyze to collected voice data determining voice data
Value can determine that the microphone of electronic equipment is blocked when the decibel value for detecting voice data meets preset condition, then into one
Step determines the medium of blocking microphone, is conducive to remind user's microphone blocked and the medium of blocking microphone, so that with
Family can take counter-measure in time, and then improve the quality of collected voice data.
In addition, microphone is prestored in electronic equipment by voice data template collected in the case of a variety of filter medium cloggings,
Therefore collected voice data and voice data template can be matched to obtain target speech data template, and then according to mesh
Poster sound data template can determine the medium of blocking microphone.
In addition, first determining that decibel value is less than the duration of the part of speech data of default decibel value, then whether judge the duration
Greater than preset duration so that it is determined that whether microphone is blocked, determine that microphone is blocked when detecting that duration is greater than preset duration
Plug, deterministic process is relatively simple, can quickly determine to microphone whether be blocked to notify user in time.
It is consistent with described Fig. 2, Fig. 3, embodiment shown in Fig. 4, referring to Fig. 5, Fig. 5 is provided by the embodiments of the present application
The structural schematic diagram of a kind of electronic equipment 500, the electronic equipment 500 operation have one or more application program and operating system,
As shown, the electronic equipment 500 includes processor 510, memory 520, communication interface 530 and one or more programs
521, wherein one or more of programs 521 are stored in the memory 520, and are configured by the processor
510 execute, and one or more of programs 521 include the instruction for executing following steps;
When detecting the electronic equipment acquisition voice data, the decibel value of the voice data is obtained;
When detecting that the decibel value of the voice data meets preset condition, determine that the microphone is blocked;
Determine the medium for blocking the microphone, and output is microphone described in user is blocked first logical for prompting
Know message, first notification message includes the relevant information of the medium.
As can be seen that in the embodiment of the present application, electronic equipment is detecting the electronic equipment acquisition voice number first
According to when, the decibel value of the voice data is obtained, secondly, detecting that the decibel value of the voice data meets preset condition
When, determine that the microphone is blocked, finally, determining the medium for blocking the microphone, and output is for prompting user institute
The first blocked notification message of microphone is stated, first notification message includes the relevant information of the medium.Due to electronics
Equipment is during acquiring voice data, by the decibel for analyze to collected voice data determining voice data
Value can determine that the microphone of electronic equipment is blocked when the decibel value for detecting voice data meets preset condition, then into one
Step determines the medium of blocking microphone, is conducive to remind user's microphone blocked and the medium of blocking microphone, so that with
Family can take counter-measure in time, and then improve the quality of collected voice data.
Finger in a possible example, in terms of the determining medium for blocking the microphone, in described program
It enables and is specifically used for executing following operation: obtaining the part of speech data that the decibel value is less than default decibel value;Obtain the portion
Divide the sound characteristic of voice data, the sound characteristic includes timbre information;It is determined according to the timbre information and blocks the wheat
The medium of gram wind.
Finger in a possible example, in terms of the determining medium for blocking the microphone, in described program
It enables and is specifically used for executing following operation: obtaining the part of speech data that the decibel value is less than default decibel value;Determine the portion
Divide the average decibel value of voice data;Determine the difference between the average decibel value and the default decibel value;According to described
Difference determines the medium for blocking the microphone.
Finger in a possible example, in terms of the determining medium for blocking the microphone, in described program
It enables and is specifically used for executing following operation: obtaining the multiple voice data template that electronic equipment prestores, the voice data template packet
Collected voice data when including the microphone by a variety of filter medium cloggings;Determine that the voice data template neutralizes the voice
The target speech data template of Data Matching;Determine that the corresponding medium of the target speech data is Jie for blocking the microphone
Matter.
In a possible example, described when detecting that the decibel value of the voice data meets preset condition,
In terms of determining that the microphone is blocked, the instruction in described program is specifically used for executing following operation: determining the voice number
It is less than the part of speech data of the default decibel value according to middle decibel value;Determine the first sampling duration and the institute of the voice data
State the second sampling duration of part of speech data;Detecting the second sampling duration relative to the first sampling duration
When accounting is greater than default accounting, determine that the microphone is blocked.
In a possible example, described when detecting that the decibel value of the voice data meets preset condition,
In terms of determining that the microphone is blocked, the instruction in described program is specifically used for executing following operation: determining the voice number
It is less than the duration of the part of speech data of the default decibel value according to middle decibel value;Detecting the duration greater than preset duration
When, determine that the microphone is blocked.
In a possible example, first notification message of the output for prompting microphone described in user blocked
Later, the instruction in described program is specifically used for executing following operation: determining that solving the microphone is blocked according to the medium
The counter-measure of plug;Output includes the second notification message of the counter-measure.
Above-described embodiment is mainly described the scheme of the embodiment of the present application from the angle of method side implementation procedure.It can
With understanding, in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or soft for electronic equipment
Part module.Those skilled in the art should be readily appreciated that, described in conjunction with the examples disclosed in the embodiments of the present disclosure
Unit and algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function is studied carefully
Unexpectedly it is executed in a manner of hardware or computer software driving hardware, the specific application and design constraint depending on technical solution
Condition.Professional technician can specifically realize described function to each using distinct methods, but this
It realizes it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to the method example to electronic equipment, for example, can
With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit
In.The integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs
It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real
It is current that there may be another division manner.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is realized for executing embodiment of the present invention method
Method.Microphone blockage reminding device 600 as shown in FIG. 6, is applied to the electronic equipment, and the electronic equipment includes one
Microphone, the microphone blockage reminding device include acquiring unit 601, determination unit 602 and output unit 603, wherein
The acquiring unit 601, for obtaining the voice number when detecting the electronic equipment acquisition voice data
According to decibel value;
The determination unit 602, for determining institute when detecting that the decibel value of the voice data meets preset condition
Microphone is stated to be blocked;
The output unit 603, for determining the medium for blocking the microphone, and output for prompting described in user
The first blocked notification message of microphone, first notification message includes the relevant information of the medium.
Wherein, the microphone blockage reminding device can also include storage unit 604, for storing the journey of electronic equipment
Sequence code and data.The acquiring unit 601, determination unit 602 and output unit 603 can be processor, storage unit 604
It can be memory.
As can be seen that in the embodiment of the present application, electronic equipment is detecting the electronic equipment acquisition voice number first
According to when, the decibel value of the voice data is obtained, secondly, detecting that the decibel value of the voice data meets preset condition
When, determine that the microphone is blocked, finally, determining the medium for blocking the microphone, and output is for prompting user institute
The first blocked notification message of microphone is stated, first notification message includes the relevant information of the medium.Due to electronics
Equipment is during acquiring voice data, by the decibel for analyze to collected voice data determining voice data
Value can determine that the microphone of electronic equipment is blocked when the decibel value for detecting voice data meets preset condition, then into one
Step determines the medium of blocking microphone, is conducive to remind user's microphone blocked and the medium of blocking microphone, so that with
Family can take counter-measure in time, and then improve the quality of collected voice data.
In a possible example, in terms of determining the medium for blocking the microphone, the output unit 603 is specific
For: obtain part of speech data of the decibel value less than default decibel value;And for obtaining the part of speech data
Sound characteristic, the sound characteristic includes timbre information;The medium for blocking the microphone is determined according to the timbre information.
In a possible example, in terms of determining the medium for blocking the microphone, the output unit 603 is specific
For: obtain part of speech data of the decibel value less than default decibel value;And for determining the part of speech data
Average decibel value;And for determining the difference between the average decibel value and the default decibel value;And it is used for root
The medium for blocking the microphone is determined according to the difference.
In a possible example, in terms of determining the medium for blocking the microphone, the output unit 603 is specific
For: the multiple voice data template that acquisition electronic equipment prestores, the voice data template includes that the microphone is a variety of
Collected voice data when filter medium clogging;And for determining that it is matched that the voice data template neutralizes the voice data
Target speech data template;And for determining that the corresponding medium of the target speech data is Jie for blocking the microphone
Matter.
In a possible example, described when detecting that the decibel value of the voice data meets preset condition,
In terms of determining that the microphone is blocked, the determination unit 602 is specifically used for: determining that decibel value is less than in the voice data
The part of speech data of the default decibel value;And the first sampling duration and the part for determining the voice data
Second sampling duration of voice data;And for detecting the second sampling duration relative to the first sampling duration
Accounting when being greater than default accounting, determine that the microphone is blocked.
In a possible example, described when detecting that the decibel value of the voice data meets preset condition,
In terms of determining that the microphone is blocked, the determination unit 602 is specifically used for: determining that decibel value is less than in the voice data
The duration of the part of speech data of the default decibel value;And for detect the duration be greater than preset duration when, really
The fixed microphone is blocked.
In a possible example, first notification message of the output for prompting microphone described in user blocked
Later, the output unit 603, which is also used to be determined according to the medium, solves the blocked counter-measure of the microphone;And
For exporting the second notification message including the counter-measure.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity
The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment
Some or all of method step, above-mentioned computer include electronic equipment.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating
The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side
Some or all of either record method step in method embodiment.The computer program product can be a software installation
Packet, above-mentioned computer includes electronic equipment.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application
Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory
May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English:
Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and
Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas;
At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application
There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.
Claims (10)
1. a kind of microphone blocks based reminding method, which is characterized in that be applied to electronic equipment, the electronic equipment includes a wheat
Gram wind, which comprises
When detecting the electronic equipment acquisition voice data, the decibel value of the voice data is obtained;
When detecting that the decibel value of the voice data meets preset condition, determine that the microphone is blocked;
Determine that the medium for blocking the microphone, and first notice of the output for prompting microphone described in user to be blocked disappear
Breath, first notification message includes the relevant information of the medium.
2. the method according to claim 1, wherein the determining medium for blocking the microphone, comprising:
Obtain the part of speech data that the decibel value is less than default decibel value;
The sound characteristic of the part of speech data is obtained, the sound characteristic includes timbre information;
The medium for blocking the microphone is determined according to the timbre information.
3. the method according to claim 1, wherein the determining medium for blocking the microphone, comprising:
Obtain the part of speech data that the decibel value is less than default decibel value;
Determine the average decibel value of the part of speech data;
Determine the difference between the average decibel value and the default decibel value;
The medium for blocking the microphone is determined according to the difference.
4. the method according to claim 1, wherein the determining medium for blocking the microphone, comprising:
The multiple voice data template that electronic equipment prestores is obtained, the voice data template includes the microphone by a variety of Jie
Matter collected voice data when blocking;
Determine that the voice data template neutralizes the matched target speech data template of voice data;
Determine that the corresponding medium of the target speech data is the medium for blocking the microphone.
5. method according to claim 1-4, which is characterized in that described in point for detecting the voice data
When shellfish value meets preset condition, determine that the microphone is blocked, comprising:
Determine that decibel value is less than the part of speech data of the default decibel value in the voice data;
Determine the first sampling duration of the voice data and the second sampling duration of the part of speech data;
When detecting that accounting of the second sampling duration relative to the first sampling duration is greater than default accounting, institute is determined
Microphone is stated to be blocked.
6. method according to claim 1-4, which is characterized in that described in point for detecting the voice data
When shellfish value meets preset condition, determine that the microphone is blocked, comprising:
Determine that decibel value is less than the duration of the part of speech data of the default decibel value in the voice data;
When detecting that the duration is greater than preset duration, determine that the microphone is blocked.
7. method according to claim 1-6, which is characterized in that the output is for prompting Mike described in user
After the first blocked notification message of wind, the method also includes:
It is determined according to the medium and solves the blocked counter-measure of the microphone;
Output includes the second notification message of the counter-measure.
8. a kind of microphone blockage reminding device, which is characterized in that be applied to electronic equipment, the electronic equipment includes a wheat
Gram wind, the microphone blockage reminding device includes acquiring unit, determination unit and output unit, wherein
The acquiring unit, for obtaining point of the voice data when detecting the electronic equipment acquisition voice data
Shellfish value;
The determination unit, for determining the Mike when detecting that the decibel value of the voice data meets preset condition
Wind is blocked;
The output unit, for determining the medium for blocking the microphone, and output for prompting microphone described in user
The first blocked notification message, first notification message include the relevant information of the medium.
9. a kind of electronic equipment, which is characterized in that including processor, memory, communication interface, and one or more programs,
One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet
Include the instruction for executing the step in the method according to claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange,
In, the computer program makes computer execute the method according to claim 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810818377.6A CN109040937B (en) | 2018-07-24 | 2018-07-24 | Microphone blockage reminding method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810818377.6A CN109040937B (en) | 2018-07-24 | 2018-07-24 | Microphone blockage reminding method and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109040937A true CN109040937A (en) | 2018-12-18 |
CN109040937B CN109040937B (en) | 2020-08-28 |
Family
ID=64644497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810818377.6A Active CN109040937B (en) | 2018-07-24 | 2018-07-24 | Microphone blockage reminding method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109040937B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109788423A (en) * | 2019-01-23 | 2019-05-21 | 努比亚技术有限公司 | Phonetic incepting method, apparatus and computer readable storage medium |
CN110745391A (en) * | 2019-09-27 | 2020-02-04 | 首钢京唐钢铁联合有限责任公司 | Device for cleaning accessory materials on walls of Australian mine bins |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103501375A (en) * | 2013-09-16 | 2014-01-08 | 华为终端有限公司 | Method and device for controlling sound effect |
CN103929707A (en) * | 2014-04-08 | 2014-07-16 | 深圳市中兴移动通信有限公司 | Method for detecting conditions of microphone voice-grade channels and terminal |
CN105049636A (en) * | 2015-08-21 | 2015-11-11 | 广东欧珀移动通信有限公司 | Detection method and device for main microphone hole of terminal |
CN105323363A (en) * | 2014-06-30 | 2016-02-10 | 中兴通讯股份有限公司 | Method and device for selecting main microphones |
CN106610812A (en) * | 2016-12-28 | 2017-05-03 | 广东欧珀移动通信有限公司 | Control method and control device |
CN106791186A (en) * | 2017-01-22 | 2017-05-31 | 惠州Tcl移动通信有限公司 | It is a kind of to detect the method and system that microphone sound hole is blocked |
WO2017185342A1 (en) * | 2016-04-29 | 2017-11-02 | 华为技术有限公司 | Method and apparatus for determining voice input anomaly, terminal, and storage medium |
CN107509153A (en) * | 2017-08-18 | 2017-12-22 | 广东欧珀移动通信有限公司 | Detection method, device, storage medium and the terminal of Audio Players part |
-
2018
- 2018-07-24 CN CN201810818377.6A patent/CN109040937B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103501375A (en) * | 2013-09-16 | 2014-01-08 | 华为终端有限公司 | Method and device for controlling sound effect |
CN103929707A (en) * | 2014-04-08 | 2014-07-16 | 深圳市中兴移动通信有限公司 | Method for detecting conditions of microphone voice-grade channels and terminal |
CN105323363A (en) * | 2014-06-30 | 2016-02-10 | 中兴通讯股份有限公司 | Method and device for selecting main microphones |
CN105049636A (en) * | 2015-08-21 | 2015-11-11 | 广东欧珀移动通信有限公司 | Detection method and device for main microphone hole of terminal |
WO2017185342A1 (en) * | 2016-04-29 | 2017-11-02 | 华为技术有限公司 | Method and apparatus for determining voice input anomaly, terminal, and storage medium |
CN106610812A (en) * | 2016-12-28 | 2017-05-03 | 广东欧珀移动通信有限公司 | Control method and control device |
CN106791186A (en) * | 2017-01-22 | 2017-05-31 | 惠州Tcl移动通信有限公司 | It is a kind of to detect the method and system that microphone sound hole is blocked |
CN107509153A (en) * | 2017-08-18 | 2017-12-22 | 广东欧珀移动通信有限公司 | Detection method, device, storage medium and the terminal of Audio Players part |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109788423A (en) * | 2019-01-23 | 2019-05-21 | 努比亚技术有限公司 | Phonetic incepting method, apparatus and computer readable storage medium |
CN110745391A (en) * | 2019-09-27 | 2020-02-04 | 首钢京唐钢铁联合有限责任公司 | Device for cleaning accessory materials on walls of Australian mine bins |
Also Published As
Publication number | Publication date |
---|---|
CN109040937B (en) | 2020-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108880867A (en) | A kind of network equipment collecting method and system | |
CN110032512A (en) | A kind of adjustment method of small routine, relevant device and terminal | |
CN108242837A (en) | The method of the charging of electronic equipment and control electronics | |
CN107291586A (en) | The analysis method and device of a kind of application program | |
CN109120779A (en) | Microphone blocks based reminding method and relevant apparatus | |
CN109348467A (en) | Emergency call realization method, electronic device and computer readable storage medium | |
CN107102950A (en) | A kind of applied program testing method and device | |
CN109040937A (en) | Microphone blocks based reminding method and relevant apparatus | |
CN109065017B (en) | Voice data generation method and related device | |
CN103685349A (en) | Method for information processing and electronic equipment | |
CN109121042B (en) | Voice data processing method and related product | |
CN108762983A (en) | Multi-medium data restoration methods and device | |
CN108876782A (en) | Recall video creation method and relevant apparatus | |
CN108415856A (en) | Hardware compatibility method and relevant apparatus | |
CN110221736A (en) | Icon processing method, device, mobile terminal and storage medium | |
CN108388458A (en) | Message treatment method and Related product | |
CN108347531A (en) | Recourse method, recourse device, electronic equipment and computer readable storage medium | |
CN103326892B (en) | The operating method and device of web interface | |
CN110365406A (en) | IP network optical port method of evaluating performance and equipment | |
CN110519459A (en) | Method of speech processing and device, terminal device, computer readable storage medium | |
CN109324973A (en) | A kind of method for testing software, device, equipment and computer readable storage medium | |
CN109474521A (en) | Link aggregation implementation method and Related product | |
CN108965562A (en) | Voice data generation method and relevant apparatus | |
CN104768132B (en) | A kind of call detection method and detection device of conversing | |
CN108197006B (en) | Electronic equipment falls reminding method and Related product |
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 |