CN109151177A - Microphone blocks based reminding method and relevant apparatus - Google Patents

Microphone blocks based reminding method and relevant apparatus Download PDF

Info

Publication number
CN109151177A
CN109151177A CN201810830234.7A CN201810830234A CN109151177A CN 109151177 A CN109151177 A CN 109151177A CN 201810830234 A CN201810830234 A CN 201810830234A CN 109151177 A CN109151177 A CN 109151177A
Authority
CN
China
Prior art keywords
microphone
electronic equipment
blocked
detecting
operating gesture
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.)
Pending
Application number
CN201810830234.7A
Other languages
Chinese (zh)
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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810830234.7A priority Critical patent/CN109151177A/en
Publication of CN109151177A publication Critical patent/CN109151177A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

This application discloses a kind of microphone blocking based reminding method and relevant apparatus, applied to electronic equipment, the electronic equipment includes a microphone, comprising: when detecting the electronic equipment acquisition voice data, obtains the operating gesture that user is directed to the electronic equipment;When detecting that the operating gesture meets preset condition, determine that the microphone is blocked;Output is for prompting user to change the prompting message of the electronic device gesture.The application is conducive to determine whether microphone is blocked according to the grip state of user, to can remind user in time in the case where microphone is blocked.

Description

Microphone blocks based reminding method and relevant apparatus
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 the gripping according to user State determines whether microphone is blocked, to can remind user in time in the case where microphone is blocked.
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 manipulator that user is directed to the electronic equipment is obtained Gesture;
When detecting that the operating gesture meets preset condition, determine that the microphone is blocked;
Output is for prompting user to change the prompting message of the electronic device gesture.
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 user for described when detecting the electronic equipment acquisition voice data The operating gesture of electronic equipment;
The determination unit, for when detecting that the operating gesture meets preset condition, determining the microphone quilt Blocking;
The output unit is exported for prompting user to change the prompting message of the electronic device gesture.
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 operating gesture that user is directed to the electronic equipment is obtained, secondly, detecting that the operating gesture meets preset condition When, determine that the microphone is blocked, finally, prompt of the output for prompting user to change the electronic device gesture disappears Breath.Since electronic equipment is during acquiring voice data, obtain user be directed to electronic equipment operating gesture, according to The operating gesture at family can determine whether microphone is blocked, so that prompt of the output for prompting user to change operating gesture disappears Breath is conducive to notify user that change is directed to the operating gesture of electronic equipment in time, avoids leading to microphone because user's operation is improper It is blocked.
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 user for described when detecting the electronic equipment acquisition voice data The operating gesture of electronic equipment.
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, the operating gesture for electronic equipment can be obtained, Operating gesture may include pressing the position of screen such as the contact position of hand and electronic equipment for the grip state of electronic equipment, Transverse screen state or vertical screen state, left-handed or right hand gripping etc..
S202, the electronic equipment determine the microphone quilt when detecting that the operating gesture meets preset condition Blocking.
Wherein, electronic equipment may be because the factors such as user's operation is improper, cause microphone to be blocked, such as certain of user hand A part has blocked microphone or has sheltered from microphone, because can determine whether Mike point is blocked according to operating gesture.
S203, the electronic equipment output is for prompting user to change the prompting message of the electronic device gesture.
Wherein, electronic equipment is exportable for prompting user to change the notification message of current operation gesture, to solve in time The certainly blocked problem of microphone, avoids collected voice data quality lower.
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 operating gesture that user is directed to the electronic equipment is obtained, secondly, detecting that the operating gesture meets preset condition When, determine that the microphone is blocked, finally, prompt of the output for prompting user to change the electronic device gesture disappears Breath.Since electronic equipment is during acquiring voice data, obtain user be directed to electronic equipment operating gesture, according to The operating gesture at family can determine whether microphone is blocked, so that prompt of the output for prompting user to change operating gesture disappears Breath is conducive to notify user that change is directed to the operating gesture of electronic equipment in time, avoids leading to microphone because user's operation is improper It is blocked.
It is described when detecting that the operating gesture meets preset condition in a possible example, determine the wheat Gram wind is blocked, comprising: determines the current target grip state of the electronic equipment according to the operating gesture;Obtain the electricity A variety of grip states that sub- equipment prestores, a variety of grip states are corresponding grip state when the microphone is blocked; When detecting a variety of grip states includes the target grip state, determine that the microphone is blocked.
Wherein, operating gesture may include the grip state that user is directed to electronic equipment, such as left hand transverse screen grip state, left hand Vertical screen grip state, right hand transverse screen grip state, right hand vertical screen grip state etc. can obtain prestore in electronic equipment a variety of and hold Hold state, a variety of grip state microphones corresponding grip state when being blocked.Electronic equipment is preset with artificial intelligence (ArtificialIntelligence, abbreviation AI) training pattern, can will in history usage record collected voice data As the input of AI model, judge whether microphone is blocked by exporting result, microphone is blocked if detecting, will be right The grip state answered is saved, and when showing that electronic equipment is under the grip state, is easy blocking microphone.
As it can be seen that, by determining the current target grip state of electronic equipment, judging a variety of gripping shapes prestored in this example Whether include target grip state in state, when detecting including target grip state, determines that microphone is blocked, treatment process Simply, be conducive to that user's microphone is notified to be blocked in time.
It is described when detecting that the operating gesture meets preset condition in a possible example, determine the wheat Gram wind is blocked, comprising: obtains the destination application of front stage operation;Determine the corresponding default gripping of the destination application State, the default grip state are that the electronic equipment runs the destination application, and when the microphone is blocked Corresponding grip state determines the current target grip state of the electronic equipment according to the operating gesture;Detecting State target grip state it is identical with the default grip state when, determine that the microphone is blocked.
Wherein, after the destination application for obtaining electronic equipment front stage operation, it may be determined that destination application is corresponding pre- If grip state, when the default grip state is electronic equipment operational objective application program, microphone is corresponding when being blocked Grip state determines the current target grip state of electronic equipment further according to operating gesture, detect target grip state and When default grip state is identical, determine that microphone is blocked.
As it can be seen that in this example, when the application program difference of front stage operation, the grip state for blocking electronic equipment may not Together, it first determines the destination application of front stage operation, and then determines that corresponding blocking the default of microphone of destination application is held State is held, when detecting that the current grip state of electronic equipment is identical with default grip state, it may be determined that microphone is blocked To notify user in time.
It is described when detecting that the operating gesture meets preset condition in a possible example, determine the wheat Gram wind is blocked, comprising: determines the decibel value of the corresponding default decibel value of the operating gesture and the voice data;? When detecting that the decibel value is less than the default decibel value, determine that the microphone is blocked.
Wherein, user in varied situations may be different to the operating gesture of electronics, operating gesture will affect microphone and The linear distance of user's mouth, therefore different operation gesture is corresponding with different default decibel values, determines collected voice number According to decibel value show that microphone through-hole can when the decibel value for detecting collected voice data is less than default decibel value The blocked situation that can occur, the decibel value so as to cause collected voice data become smaller.
As it can be seen that determining the corresponding default decibel value of operating gesture in this example, detecting collected voice data When decibel value is less than default decibel value, it may be determined that microphone is blocked, and is conducive to the stopping state for finding microphone in time, in turn Notify user.
In a possible example, the corresponding default decibel value of the determination operating gesture, comprising: according to described Operating gesture determines the target range between microphone and user;The mapping searched between preset distance and default decibel value is closed System, determines the corresponding default decibel value of the target range.
Wherein, the target range between microphone and user is determined according to operating gesture, in the preset distance of lookup and in advance If the mapping relations between decibel value, determine the corresponding default decibel value of target range, different operating gestures it is corresponding pre- If decibel value may be different.
As it can be seen that the target range between microphone and user is determined by operating gesture, according to target range in this example Default decibel value is determined, so that when the volume decibel value for detecting collected voice data is less than default decibel value, it may be determined that Microphone is blocked.
It is described when detecting that the decibel value is less than the default decibel value in a possible example, determine institute It states microphone to be 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;Detecting described When two sampling durations are greater than default accounting relative to the accounting of the first sampling duration, determine that the microphone is blocked.
Wherein, it obtains decibel value in voice data and is less than the part of speech data of default decibel value, and then determine voice number According to first sampling duration and part of speech data second sampling duration, second sampling duration be voice data decibel value Less than the duration of default decibel value, accounting is preset when detecting that accounting of the second sampling duration relative to the first sampling duration is greater than When, that is, it can determine that microphone is blocked.For example, default accounting is 60 percent, and during acquiring voice data, detection Into collected 5 minutes voice data, there is the both less than default decibel value of the decibel value of 4 minutes voice data, the time accounts for Than being greater than default accounting for 80 percent, it may be determined that microphone is blocked.
As it can be seen that the part of speech data that decibel value in voice data is less than default decibel value are obtained, in determination in this example Second sampling duration of part of speech data and the first sampling duration of voice data, are detecting the second sampling duration and first When sampling the accounting of duration greater than default accounting, it may be determined that microphone is blocked.
In a possible example, the output is for prompting user to change the prompt of the electronic device gesture Message, comprising: show the first blocked prompting message of the microphone on a display screen;It is detected in preset period of time described When the operating gesture of electronic equipment does not change, the second prompting message is exported, second prompting message includes described in vibration The flash lamp flashing of electronic equipment or the control electronic equipment.
Wherein, after determining that Mike point is blocked, the first blocked prompting message of microphone can be shown on display screen, is mentioned Show that message user prompts user to change the current grip state of electronic equipment, if being to detect electronic equipment in preset period of time No change has taken place for grip state, then exports the second prompting message, and the second prompting message can be vibration electronic equipment or control The flash lamp of electronic equipment processed flashes, and allows user to find prompting message in time with this.
As it can be seen that, when detecting that Mike point is blocked, output is held for prompting user to change electronic equipment in this example The prompting message of state, prompting message include the first prompting message that display screen is shown and vibration electronic equipment or flashing flash lamp The second prompting message, be conducive to user and see prompting message in time, to change the grip state of electronic equipment, collect matter Measure higher voice data.
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 user for described when detecting the electronic equipment acquisition voice data The operating gesture of electronic equipment.
S302, the electronic equipment determine the current target grip state of the electronic equipment according to the operating gesture.
S303, the electronic equipment obtain a variety of grip states that the electronic equipment prestores, a variety of grip states Corresponding grip state when being blocked for the microphone.
S304, the electronic equipment are determined when detecting a variety of grip states includes the target grip state The microphone is blocked.
S305, the electronic equipment output is for prompting user to change the prompting message of the electronic device gesture.
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 operating gesture that user is directed to the electronic equipment is obtained, secondly, detecting that the operating gesture meets preset condition When, determine that the microphone is blocked, finally, prompt of the output for prompting user to change the electronic device gesture disappears Breath.Since electronic equipment is during acquiring voice data, obtain user be directed to electronic equipment operating gesture, according to The operating gesture at family can determine whether microphone is blocked, so that prompt of the output for prompting user to change operating gesture disappears Breath is conducive to notify user that change is directed to the operating gesture of electronic equipment in time, avoids leading to microphone because user's operation is improper It is blocked.
In addition, by determining the current target grip state of electronic equipment, judge in a variety of grip states prestored whether Including target grip state, when detecting including target grip state, determine that microphone is blocked, treatment process is simple, has User's microphone is notified to be blocked conducive to timely.
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 user for described when detecting the electronic equipment acquisition voice data The operating gesture of electronic equipment.
S402, the electronic equipment determine the current target grip state of the electronic equipment according to the operating gesture.
S403, the electronic equipment obtain a variety of grip states that the electronic equipment prestores, a variety of grip states Corresponding grip state when being blocked for the microphone.
S404, the electronic equipment are determined when detecting a variety of grip states includes the target grip state The microphone is blocked.
S405, the electronic equipment show the first blocked prompting message of the microphone on a display screen.
S406, the electronic equipment detect that the operating gesture of the electronic equipment does not change in preset period of time When, the second prompting message is exported, second prompting message includes shaking the electronic equipment or the control electronic equipment Flash lamp flashing.
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 operating gesture that user is directed to the electronic equipment is obtained, secondly, detecting that the operating gesture meets preset condition When, determine that the microphone is blocked, finally, prompt of the output for prompting user to change the electronic device gesture disappears Breath.Since electronic equipment is during acquiring voice data, obtain user be directed to electronic equipment operating gesture, according to The operating gesture at family can determine whether microphone is blocked, so that prompt of the output for prompting user to change operating gesture disappears Breath is conducive to notify user that change is directed to the operating gesture of electronic equipment in time, avoids leading to microphone because user's operation is improper It is blocked.
In addition, by determining the current target grip state of electronic equipment, judge in a variety of grip states prestored whether Including target grip state, when detecting including target grip state, determine that microphone is blocked, treatment process is simple, has User's microphone is notified to be blocked conducive to timely.
In addition, exporting when detecting that Mike point is blocked for prompting user to change mentioning for electronic equipment grip state Show message, prompting message includes the first prompting message that display screen is shown and vibration electronic equipment or flashes the second of flash lamp and mention Show message, be conducive to user and see prompting message in time, to change the grip state of electronic equipment, it is higher to collect quality Voice data.
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 manipulator that user is directed to the electronic equipment is obtained Gesture;
When detecting that the operating gesture meets preset condition, determine that the microphone is blocked;
Output is for prompting user to change the prompting message of the electronic device gesture.
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 operating gesture that user is directed to the electronic equipment is obtained, secondly, detecting that the operating gesture meets preset condition When, determine that the microphone is blocked, finally, prompt of the output for prompting user to change the electronic device gesture disappears Breath.Since electronic equipment is during acquiring voice data, obtain user be directed to electronic equipment operating gesture, according to The operating gesture at family can determine whether microphone is blocked, so that prompt of the output for prompting user to change operating gesture disappears Breath is conducive to notify user that change is directed to the operating gesture of electronic equipment in time, avoids leading to microphone because user's operation is improper It is blocked.
In a possible example, described when detecting that the operating gesture meets preset condition, described in determination In terms of microphone is blocked, the instruction in described program is specifically used for executing following operation: determining institute according to the operating gesture State the current target grip state of electronic equipment;Obtain a variety of grip states that the electronic equipment prestores, a variety of grippings State is corresponding grip state when the microphone is blocked;Detecting that a variety of grip states include that the target is held When holding state, determine that the microphone is blocked.
In a possible example, described when detecting that the operating gesture meets preset condition, described in determination In terms of microphone is blocked, the instruction in described program is specifically used for executing following operation: obtaining the target application of front stage operation Program;Determine that the corresponding default grip state of the destination application, the default grip state are electronic equipment fortune The row destination application, and when microphone is blocked corresponding grip state, determine institute according to the operating gesture State the current target grip state of electronic equipment;Detecting that the target grip state is identical with the default grip state When, determine that the microphone is blocked.
In a possible example, described when detecting that the operating gesture meets preset condition, described in determination In terms of microphone is blocked, the instruction in described program is specifically used for executing following operation: determining that the operating gesture is corresponding The decibel value of default decibel value and the voice data;When detecting that the decibel value is less than the default decibel value, really The fixed microphone is blocked.
In a possible example, in terms of the corresponding default decibel value of the determination operating gesture, the journey Instruction in sequence is specifically used for executing following operation: according to the operating gesture determine the target between microphone and user away from From;The mapping relations between preset distance and default decibel value are searched, determine the corresponding default decibel value of the target range.
In a possible example, described when detecting that the decibel value is less than the default decibel value, determine In terms of the microphone is blocked, the instruction in described program is specifically used for executing following operation: determining in the voice data Decibel value is less than the part of speech data of the default decibel value;Determine that the first of the voice data samples duration and the portion Divide the second sampling duration of voice data;Detecting accounting of the second sampling duration relative to the first sampling duration When greater than default accounting, determine that the microphone is blocked.
In a possible example, in the output for prompting user to change mentioning for the electronic device gesture In terms of showing message, the instruction in described program is specifically used for executing following operation: showing that the microphone is blocked on a display screen First prompting message of plug;When detecting that the operating gesture of the electronic equipment does not change in preset period of time, output the Two prompting messages, second prompting message include the flash lamp sudden strain of a muscle for shaking the electronic equipment or the control electronic equipment It is bright.
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 user and being directed to institute when detecting the electronic equipment acquisition voice data State the operating gesture of electronic equipment;
The determination unit 602, for determining the microphone when detecting that the operating gesture meets preset condition It is blocked;
The output unit 603 is exported for prompting user to change the prompting message of the electronic device gesture.
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 operating gesture that user is directed to the electronic equipment is obtained, secondly, detecting that the operating gesture meets preset condition When, determine that the microphone is blocked, finally, prompt of the output for prompting user to change the electronic device gesture disappears Breath.Since electronic equipment is during acquiring voice data, obtain user be directed to electronic equipment operating gesture, according to The operating gesture at family can determine whether microphone is blocked, so that prompt of the output for prompting user to change operating gesture disappears Breath is conducive to notify user that change is directed to the operating gesture of electronic equipment in time, avoids leading to microphone because user's operation is improper It is blocked.
In a possible example, described when detecting that the operating gesture meets preset condition, described in determination In terms of microphone is blocked, the determination unit 602 is specifically used for: determining that the electronic equipment is current according to the operating gesture Target grip state;And a variety of grip states prestored for obtaining the electronic equipment, a variety of grip states are The microphone corresponding grip state when being blocked;And for detecting that a variety of grip states include the target When grip state, determine that the microphone is blocked.
In a possible example, described when detecting that the operating gesture meets preset condition, described in determination In terms of microphone is blocked, the determination unit 602 is specifically used for: obtaining the destination application of front stage operation;And it is used for Determine that the corresponding default grip state of the destination application, the default grip state are described in electronic equipment operation Destination application, and corresponding grip state when the microphone is blocked, and for being determined according to the operating gesture The current target grip state of the electronic equipment;And for detecting the target grip state and the default gripping When state is identical, determine that the microphone is blocked.
In a possible example, described when detecting that the operating gesture meets preset condition, described in determination In terms of microphone is blocked, the determination unit 602 is specifically used for: determine the corresponding default decibel value of the operating gesture, with And the decibel value of the voice data;And for determining institute when detecting that the decibel value is less than the default decibel value Microphone is stated to be blocked.
It is described true in terms of the corresponding default decibel value of the determination operating gesture in a possible example Order member 602 is specifically used for: the target range between microphone and user is determined according to the operating gesture;And for searching Mapping relations between preset distance and default decibel value determine the corresponding default decibel value of the target range.
In a possible example, described when detecting that the decibel value is less than the default decibel value, determine In terms of the microphone is blocked, the determination unit 602 is specifically used for: determining that decibel value is less than described in the voice data The part of speech data of default decibel value;And the first sampling duration and the part of speech for determining the voice data Second sampling duration of data;And for detecting the second sampling duration accounting for relative to the first sampling duration When than being greater than default accounting, determine that the microphone is blocked.
In a possible example, in the output for prompting user to change mentioning for the electronic device gesture In terms of showing message, the output unit 603 is specifically used for: the first prompt for showing that the microphone is blocked on a display screen disappears Breath;And when for detecting that the operating gesture of the electronic equipment does not change in preset period of time, the second prompt of output Message, second prompting message include the flash lamp flashing for shaking the electronic equipment or the control electronic equipment.
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 operating gesture that user is directed to the electronic equipment is obtained;
When detecting that the operating gesture meets preset condition, determine that the microphone is blocked;
Output is for prompting user to change the prompting message of the electronic device gesture.
2. the method according to claim 1, wherein described detecting that the operating gesture meets preset condition When, determine that the microphone is blocked, comprising:
The current target grip state of the electronic equipment is determined according to the operating gesture;
Obtain a variety of grip states that the electronic equipment prestores, a variety of grip states are when the microphone is blocked pair The grip state answered;
When detecting a variety of grip states includes the target grip state, determine that the microphone is blocked.
3. the method according to claim 1, wherein described detecting that the operating gesture meets preset condition When, determine that the microphone is blocked, comprising:
Obtain the destination application of front stage operation;
Determine that the corresponding default grip state of the destination application, the default grip state are electronic equipment operation The destination application, and corresponding grip state when the microphone is blocked,
The current target grip state of the electronic equipment is determined according to the operating gesture;
When detecting that the target grip state is identical with the default grip state, determine that the microphone is blocked.
4. the method according to claim 1, wherein described detecting that the operating gesture meets preset condition When, determine that the microphone is blocked, comprising:
Determine the decibel value of the corresponding default decibel value of the operating gesture and the voice data;
When detecting that the decibel value is less than the default decibel value, determine that the microphone is blocked.
5. according to the method described in claim 4, it is characterized in that, the corresponding default decibel of the determination operating gesture Value, comprising:
The target range between microphone and user is determined according to the operating gesture;
The mapping relations between preset distance and default decibel value are searched, determine the corresponding default decibel of the target range Value.
6. according to the method described in claim 4, it is characterized in that, described detecting the decibel value less than described default point When shellfish value, 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.
7. method according to claim 1-6, which is characterized in that the output is for prompting described in user's change The prompting message of electronic device gesture, comprising:
The first blocked prompting message of the microphone is shown on a display screen;
When detecting that the operating gesture of the electronic equipment does not change in preset period of time, the second prompting message, institute are exported Stating the second prompting message includes the flash lamp flashing for shaking the electronic equipment or the control electronic equipment.
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 user and being directed to the electronics when detecting the electronic equipment acquisition voice data The operating gesture of equipment;
The determination unit, for when detecting that the operating gesture meets preset condition, determining that the microphone is blocked;
The output unit is exported for prompting user to change the prompting message of the electronic device gesture.
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.
CN201810830234.7A 2018-07-24 2018-07-24 Microphone blocks based reminding method and relevant apparatus Pending CN109151177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810830234.7A CN109151177A (en) 2018-07-24 2018-07-24 Microphone blocks based reminding method and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810830234.7A CN109151177A (en) 2018-07-24 2018-07-24 Microphone blocks based reminding method and relevant apparatus

Publications (1)

Publication Number Publication Date
CN109151177A true CN109151177A (en) 2019-01-04

Family

ID=64799068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810830234.7A Pending CN109151177A (en) 2018-07-24 2018-07-24 Microphone blocks based reminding method and relevant apparatus

Country Status (1)

Country Link
CN (1) CN109151177A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277261A (en) * 2017-07-07 2017-10-20 广东欧珀移动通信有限公司 Method, terminal and storage medium that a kind of sound is played
WO2017185342A1 (en) * 2016-04-29 2017-11-02 华为技术有限公司 Method and apparatus for determining voice input anomaly, terminal, and storage medium
CN107659708A (en) * 2017-08-03 2018-02-02 深圳市金立通信设备有限公司 Information cuing method and terminal
CN107911783A (en) * 2017-11-16 2018-04-13 北京小米移动软件有限公司 Mobile terminal, microphone and the method for detecting microphone exception
CN108076226A (en) * 2017-12-22 2018-05-25 广东欧珀移动通信有限公司 A kind of method, mobile terminal and the storage medium of speech quality adjustment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017185342A1 (en) * 2016-04-29 2017-11-02 华为技术有限公司 Method and apparatus for determining voice input anomaly, terminal, and storage medium
CN107277261A (en) * 2017-07-07 2017-10-20 广东欧珀移动通信有限公司 Method, terminal and storage medium that a kind of sound is played
CN107659708A (en) * 2017-08-03 2018-02-02 深圳市金立通信设备有限公司 Information cuing method and terminal
CN107911783A (en) * 2017-11-16 2018-04-13 北京小米移动软件有限公司 Mobile terminal, microphone and the method for detecting microphone exception
CN108076226A (en) * 2017-12-22 2018-05-25 广东欧珀移动通信有限公司 A kind of method, mobile terminal and the storage medium of speech quality adjustment

Similar Documents

Publication Publication Date Title
CN108880867B (en) Network equipment data acquisition method and system
CN110381282A (en) A kind of display methods and relevant apparatus of the video calling applied to electronic equipment
CN106708554B (en) Program operating method and device
CN105635449A (en) Alarm clock control method and mobile terminal
CN106502906A (en) A kind of method and apparatus of test application program
CN107276602B (en) Radio frequency interference processing method, device, storage medium and terminal
CN109947248A (en) Vibration control method, mobile terminal and computer readable storage medium
CN109151697A (en) Microphone plug-hole detection method and Related product
CN109061611A (en) Proximity sensor calibration method and relevant apparatus
CN110475020A (en) Apparatus control method and Related product
CN109120779A (en) Microphone blocks based reminding method and relevant apparatus
CN109065017B (en) Voice data generation method and related device
CN108762983A (en) Multi-medium data restoration methods and device
CN108415856A (en) Hardware compatibility method and relevant apparatus
CN108037874B (en) Screenshotss method and Related product
CN109040937A (en) Microphone blocks based reminding method and relevant apparatus
CN106686579B (en) A kind of operator name acquisition methods and device
CN108304123A (en) Page display control method and related product
CN108307065A (en) Fall reminding method and relevant device
CN106446633A (en) Method and device for storage requiring identification and terminal
CN110298277A (en) Fingerprint identification method and Related product
CN109151177A (en) Microphone blocks based reminding method and relevant apparatus
CN109275125A (en) Resource share method and relevant apparatus
CN104768132B (en) A kind of call detection method and detection device of conversing
CN108683805A (en) A kind of call processing method, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190104