CN109151701A - Microphone plug-hole detection method and Related product - Google Patents

Microphone plug-hole detection method and Related product Download PDF

Info

Publication number
CN109151701A
CN109151701A CN201810841698.8A CN201810841698A CN109151701A CN 109151701 A CN109151701 A CN 109151701A CN 201810841698 A CN201810841698 A CN 201810841698A CN 109151701 A CN109151701 A CN 109151701A
Authority
CN
China
Prior art keywords
wireless headset
audio
microphone
plug
loudspeaker
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
CN201810841698.8A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810841698.8A priority Critical patent/CN109151701A/en
Publication of CN109151701A publication Critical patent/CN109151701A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the present application discloses a kind of microphone plug-hole detection method and Related product, comprising: passes through the first audio that at least one described loudspeaker issues default frequency range;In preset period of time, the second audio in the default frequency range is received by the microphone of first wireless headset;Determine that the microphone of first wireless headset is in plug-hole state according to second audio.The embodiment of the present application is conducive to the function that wireless headset is expanded in the case where not increasing hardware configuration, promotes the convenience and timeliness of plug-hole detection.

Description

Microphone plug-hole detection method and Related product
Technical field
This application involves wireless headset technical fields, and in particular to a kind of microphone plug-hole detection method and Related product.
Background technique
As a large amount of universal and fast development, the miscellaneous earphone of electronic equipment (for example, smart phone) have become People are usually used in listening to the device of media, moreover, because the earphone cable of wired earphone often damages, the earphone service life are caused to subtract Short, cost is higher, and wireless headset comes into being.
Currently, people will often find that the phenomenon that plug-hole, such as dust plug-hole, water droplet plug-hole etc. occurs in microphone, this is just Cause wireless headset the lesser situation of audio discontinuity, volume occur by the voice data that microphone obtains, influences user just It is often used.
Summary of the invention
The embodiment of the present application provides a kind of microphone plug-hole detection method and Related product, can not increase hardware knot The function that wireless headset is expanded in the case where structure, promotes the convenience and timeliness of plug-hole detection.
In a first aspect, the embodiment of the present application provides a kind of microphone plug-hole detection method, it is applied to wireless headset, it is described Wireless headset includes the first wireless headset and the second wireless headset, and first wireless headset and second wireless headset include At least one loudspeaker, first wireless headset includes microphone, which comprises
The first audio of default frequency range is issued by least one described loudspeaker;
In preset period of time, second in the default frequency range is received by the microphone of first wireless headset Audio;
Determine that the microphone of first wireless headset is in plug-hole state according to second audio.
Second aspect, the embodiment of the present application provide a kind of microphone plug-hole detection device, are applied to wireless headset, described Wireless headset includes the first wireless headset and the second wireless headset, and first wireless headset and second wireless headset include At least one loudspeaker, first wireless headset includes microphone, the microphone plug-hole detection device include transmitting unit, Receiving unit and execution unit, in which:
The transmitting unit, for issuing the first audio of default frequency range by least one described loudspeaker;
The receiving unit, for receiving institute by the microphone of first wireless headset in preset period of time State the second audio in default frequency range;
The determination unit, for determining that the microphone of first wireless headset is according to second audio Plug-hole state.
The third aspect, the embodiment of the present application provide a kind of wireless headset, comprising: processor, memory and one or Multiple programs;One or more of programs are stored in above-mentioned memory, and are configured to be executed by the processor, Described program is included the steps that for executing instruction described 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 described computer-readable Storage medium is stored with the computer program for electronic data interchange, which specifically includes instruction, described instruction For executing the step some or all of as described in the embodiment of the present application first aspect either method.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein the computer program product Non-transient computer readable storage medium including storing computer program, the computer program are operable to make to calculate Machine executes the step some or all of as described in the embodiment of the present application first aspect either method.The computer program product It can be a software installation packet.
As can be seen that wireless headset passes through at least one described loudspeaker first and issues default frequency in the embodiment of the present application First audio of section, secondly, receiving the default frequency by the microphone of first wireless headset in preset period of time The second audio in section, finally, determining that the microphone of first wireless headset is in plug-hole according to second audio State.As it can be seen that wireless headset, which can detect microphone only by loudspeaker in the case where not increasing hardware configuration, is in stifled Hole state has expanded the function of wireless headset, improves the convenience and timeliness of plug-hole detection, moreover, passing through detection Mike The plug-hole state of wind, can to avoid user in subsequent typing voice because can not perceive microphone there are the problem of caused by voice Data input incomplete situation.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of system architecture schematic diagram of wireless headphone system disclosed in the embodiment of the present application;
Fig. 2 is a kind of flow diagram of microphone plug-hole detection method disclosed in the embodiment of the present application;
Fig. 3 is the flow diagram of another kind microphone plug-hole detection method disclosed in the embodiment of the present application;
Fig. 4 is the flow diagram of another kind microphone plug-hole detection method disclosed in the embodiment of the present application;
Fig. 5 is a kind of structural schematic diagram of wireless headset disclosed in the embodiment of the present application;
Fig. 6 is a kind of functional unit composition block diagram of microphone plug-hole detection device disclosed in the embodiment of the present application.
Specific embodiment
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 Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include 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 1, the embodiment of the present application provides a kind of wireless headphone system 100, which includes electronic equipment 101, the first wireless headset 102, the second wireless headset 103, charging box 104, wherein the first wireless headset 102 and second is wireless Earphone 103 can support wired or wireless charging, can such as be put into charging box and charge, wherein the system use with Any one lower communication mechanism, first, the electronic equipment 101 and the foundation of the first wireless headset 102 have the first communication link, institute Stating the first wireless headset 102 and the foundation of the second wireless headset 103 has the second communication link, i.e. the first wireless headset 102 and second Communication mechanism between wireless headset 103 and electronic equipment 101 uses master-slave communication mechanism (can specifically use Bluetooth protocol), Second, the electronic equipment 101 and the foundation of the first wireless headset 102 have the first communication link, the electronic equipment 101 and second The foundation of wireless headset 103 has the second communication link, i.e. the first wireless headset 102 and the second wireless headset 103 are to set with electronics The standby 101 main earphones directly communicated, wherein main earphone is directly established communication link with electronic equipment 101 and preset The earphone of categorical data interaction, from earphone i.e. by carrying out the friendship of preset kind data with electronic equipment 101 again after main earphone transfer Mutual earphone, wherein preset kind data include media data and/or communicating data, wherein media data is electronic equipment 101 audio data and/or video data in addition to call voice data, communicating data are the call language of electronic equipment 101 Sound data, likewise, the communication connection relationship between charging box 104 and the first wireless headset 102, the second wireless headset 103 is such as Communication connection relationship between above-mentioned electronic equipment 101 and the first wireless headset 102, the second wireless headset 103 is not done old herein State, the charging box 104 can also be set with electronics 101 it is standby be communicatively coupled, the first wireless headset 102 and the second wireless headset 103 can be Bluetooth wireless earphone etc..Electronic equipment 101 may include the various handheld devices with wireless communication function, vehicle Equipment is carried, wearable device (such as smartwatch, Intelligent bracelet, pedometer etc.), equipment is calculated or is connected to wireless-modulated solution Adjust other processing equipments and various forms of user equipmenies (User Equipment, UE) of device, mobile station (Mobile Station, MS), terminal device (terminal device) etc..For convenience of description, apparatus mentioned above is referred to as electronics 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 plug-hole detection method, Applied to wireless headset, the wireless headset include the first wireless headset and the second wireless headset, first wireless headset and Second wireless headset includes at least one loudspeaker, and first wireless headset includes microphone, as shown, this Mike Wind locking hole inspection method and hole inspection includes:
S201, wireless headset pass through the first audio that at least one described loudspeaker issues default frequency range;
Wherein, the loudspeaker is the sound module of the wireless headset, is part pleasant in the wireless headset, can To play the device mould group that voice data is listened attentively to for user.
Wherein, first audio can be the ultrasonic wave that frequency is greater than 20000 hertz, and presetting frequency range at this time can be 20000 hertz or more of any frequency range, be also possible to that human ear of the frequency between 20000 hertz to 20 hertz can hear can On hearing the news, presetting frequency range at this time can be any frequency range between 20000 hertz to 20 hertz, not do unique restriction herein.
Wherein, in the case where not having ambient sound interference, what first audio can hear for above-mentioned human ear can When on hearing the news, when there are in the case where ambient sound interference, first audio can be above-mentioned ultrasonic wave, wherein the wireless ear Machine can built-in decibel detector test environmental volume determine whether there is ambient sound interference, wherein when the first audio is yes When above-mentioned ultrasonic wave, loudspeaker needs issue the first audio in the case where there is shelter, and shelter can be for can be The arbitrary objects of the loudspeaker are blocked in a certain range, such as can be the box body etc. of charging box.
S202, in preset period of time, the wireless headset receives institute by the microphone of first wireless headset State the second audio in default frequency range;
Wherein, the second audio in default frequency range is received by the microphone of first wireless headset, rather than full range Section receives the second audio, advantageously reduces other interference of sound wave frequency range to the first audio, promotes the accuracy of the second audio.
Wherein, it in the preset period of time, is issued in the preset period of time of the first audio at least one described loudspeaker, it is described It can be in preset period of time in 1s, in 5s etc., it is not limited here.
Wherein, when the first audio of the default frequency range is the ultrasonic wave that said frequencies are greater than 20000 hertz, due to upper Blocking for shelter is stated, first audio carries out multi-faceted diffraction when can pass through shelter after sending, therefore, even if For microphone not on the direction of loudspeaker transmitting ultrasonic wave, microphone equally can receive the second sound corresponding with the first audio Frequently, the second audio is the sound wave of the first audio diffraction out at this time.
Wherein, the loudspeaker and microphone of first wireless headset and the second wireless headset be support ultrasonic wave transmitting and Received loudspeaker and microphone, such as the microphone of ultrasonic microphone sensor is carried, the loudspeaker and microphone branch The supersonic band held can be 30000 hertz to 20000 hertz direct ultrasonic waves, the ultrasound without being full frequency band Wave.
S203, the wireless headset determine that the microphone of first wireless headset is according to second audio Plug-hole state.
Wherein, determine that the microphone of first wireless headset is in the specific reality of plug-hole state according to second audio Existing mode can be diversified, such as can be different according to frequency range is preset, determines the range of the second audio power, when the The energy of two audios determines the microphone plug-hole not in the energy range, or can be according to default frequency range difference, The range for determining the second audio amplitude determines the microphone plug-hole when the amplitude of the second audio is not in the amplitude range, It is not limited here.
Wherein, the process that the determining microphone is in plug-hole state can be by communicating to connect with the wireless headset Electronic equipment executes, and when electronic equipment determines plug-hole state, result is sent to wireless headset by electronic equipment.
As can be seen that wireless headset passes through at least one described loudspeaker first and issues default frequency in the embodiment of the present application First audio of section, secondly, receiving the default frequency by the microphone of first wireless headset in preset period of time The second audio in section, finally, determining that the microphone of first wireless headset is in plug-hole according to second audio State.As it can be seen that wireless headset, which can detect microphone only by loudspeaker in the case where not increasing hardware configuration, is in stifled Hole state has expanded the function of wireless headset, improves the convenience and timeliness of plug-hole detection, moreover, passing through detection Mike The plug-hole state of wind, can to avoid user in subsequent typing voice because can not perceive microphone there are the problem of caused by voice Data input incomplete situation.
In a possible example, the Mike that first wireless headset is determined according to second audio Wind is in plug-hole state, comprising:
Determine that the microphone is in the plug-hole state, the parameter preset according to the parameter preset of second audio It includes any of the following or a variety of: volume, tone color, frequency, energy.
Wherein, audio is a kind of sound wave, and sound wave is a kind of mechanical wave, and therefore, there are energy for sound wave itself, which can To be calculated by Media density, frequency, amplitude and the velocity of wave propagated, i.e. the unit time energy that flows through unit area medium The number of average value indicate the energy of the sound of the unit area.
Wherein, the parameter preset according to second audio determines that the microphone is in the tool of the plug-hole state Whether in a certain range body implementation can be determining volume and/or frequency and/or energy, if it was not then determining wheat Gram wind locking hole, either can be whether determining tone color matches with default tone color or whether match with the tone color of the first audio, such as Fruit mismatches, it is determined that microphone plug-hole, it is not limited here.
As it can be seen that wireless headset can determine the plug-hole state of microphone by the property parameters of audio in this example, calculate Method is easy, is conducive to the convenience for promoting plug-hole detection.
In a possible example, the Mike that first wireless headset is determined according to second audio Wind is in plug-hole state, comprising:
Calculate the difference between the amplitude of second audio and the amplitude of first audio;
When the difference is greater than preset threshold, determine that the microphone of first wireless headset is in the plug-hole State.
Wherein, different default frequency ranges can correspond to different preset thresholds, and the preset threshold can be empirical value, can To be technological development personnel in the preceding empirical value obtained according to test of many times of wireless headset factory, and it is preset in the wireless ear In machine, for example, the preset threshold can be 10 microns, 15 microns etc., it is not limited here.
As it can be seen that wireless headset passes through the amplitude difference and preset threshold between the first audio and the second audio in this example Relationship determine the plug-hole state of microphone, using difference advantageously reduce interference of the environment to individual data, calculate it is simple, Be conducive to promote convenience and accuracy that plug-hole state determines.
In this possible example, the default frequency range is the frequency range where ultrasonic wave, described to pass through described at least one A loudspeaker issues the first audio of default frequency range, comprising:
The first audio of supersonic band is issued by least one described loudspeaker.
As it can be seen that wireless headset detects the plug-hole of microphone by issuing the first audio of supersonic band in this example State, rather than the first audio of audible audio frequency range that user can hear, advantageously reduce the interference of ambient sound, promote detection Accuracy.
In a possible example, first audio that default frequency range is issued by least one described loudspeaker, Include:
Obtain environmental volume;
When detecting that the environmental volume is greater than default volume threshold, prompting message is issued, the prompting message is used for Second wireless headset is placed on predeterminated position by prompt user, and the predeterminated position is the loudspeaking of second wireless headset Device towards first wireless headset microphone position;
When second wireless headset is located at the predeterminated position, the loudspeaker for controlling second wireless headset is issued First audio of supersonic band.
Wherein, the wireless headset, which can be preset, is equipped with a decibel detector, passes through decibel detector test environmental volume.
Wherein, the prompting message can be default voice data prompt user and the second wireless headset be placed on default position It sets, default voice data can be the voice data being preset in the wireless headset before wireless headset factory, Huo Zheke To export prompting message etc. by textual form by electronic equipment, unique restriction is not done herein.
Wherein, the predeterminated position be second wireless headset loudspeaker towards first wireless headset Mike The loudspeaker of the position of wind, i.e., microphone towards second wireless headset of described first wireless headset emits the first sound wave In acoustical range.
Wherein, the wireless headset detects that second wireless headset is located at the predeterminated position and can be and passes through prompt Message just determines that the second wireless headset has been positioned at the predeterminated position after issuing a period of time, or can be and be directed to by user The touch control operation of first wireless headset or electronic equipment determines that second wireless headset has been positioned at the predeterminated position, institute Stating touch control operation for example can be the operation that user double-clicks the first wireless headset of electronic equipment or double-click, it is not limited here.
As it can be seen that wireless headset illustrates that ambient sound is dry when detecting that environmental volume is greater than default volume threshold in this example It disturbs larger, if can have biggish error by audible sound detection plug-hole, therefore, issues prompting message, prompt user by the Two wireless headsets, which are placed on the first wireless headset, can receive the predeterminated position of the second audio, and making can be stifled by ultrasound examination Hole state, advantageously reduces detection error, moreover, through the microphone of the first wireless headset in the direction of the launch of the first audio The second audio is directly received, the second audio without receiving the first audio feedback is conducive to the timeliness for promoting plug-hole detection Property.
In this possible example, after the acquisition environmental volume, the method also includes:
When detecting that the environmental volume is less than or equal to the default volume threshold, the first wireless ear is controlled The loudspeaker of machine issues the first audio of audible audio frequency range.
Wherein, the default volume threshold can be the infinitesimal threshold value of approach, and the environmental volume is less than or equal to Show to interfere without ambient sound now when default volume threshold.
As it can be seen that wireless headset is by judging that environmental volume is less than or equal to default volume threshold, i.e., acyclic in this example In the case that border sound interferes, microphone plug-hole can be detected by emitting the first audio of audible audio frequency range, it is convenient to realize, has Conducive to the convenience and accuracy for promoting plug-hole detection.
In a possible example, the Mike that first wireless headset is determined according to second audio Wind is in after plug-hole state, the method also includes:
When detecting the acquisition instruction for voice data, second wireless headset and the described first wireless ear are determined The distance between machine parameter;
When detecting that the distance parameter is less than pre-determined distance threshold value, the microphone for controlling second wireless headset is obtained Take the voice data.
Wherein it is determined that the distance between the second wireless headset and first wireless headset parameter can be through the first nothing Signalling exchange between line earphone and the second wireless headset determines signalling duration, according to signalling duration and transmission Speed determines the distance between the first wireless headset and the second wireless headset parameter.
As it can be seen that wireless headset is when the first wireless headset is in plug-hole state, by determining the first wireless ear in this example After machine is less than pre-determined distance threshold value at a distance from the second wireless headset, it is switched to the second wireless headset and obtains voice data, favorably In the integrality and clarity that ensure that voice data obtains.
It is consistent with the embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is another wheat provided by the embodiments of the present application The flow diagram of gram wind locking hole inspection method and hole inspection, is applied to wireless headset, and the wireless headset includes the first wireless headset and the Two wireless headsets, first wireless headset and second wireless headset include at least one loudspeaker, and described first is wireless Earphone includes microphone, as shown, this microphone plug-hole detection method includes:
S301, wireless headset obtain environmental volume.
S302, it is described wirelessly when detecting that the environmental volume is less than or equal to default volume threshold, described in control The loudspeaker of first wireless headset issues the first audio of audible audio frequency range.
S303, in preset period of time, the wireless headset receives institute by the microphone of first wireless headset State the second audio of audible audio frequency range.
S304, the wireless headset calculate the difference between the amplitude of second audio and the amplitude of first audio Value.
S305, when the difference is greater than the preset threshold, the wireless headset determines first wireless headset The microphone is in plug-hole state.
S306, the wireless headset determine the described second wireless ear when detecting the acquisition instruction for voice data The distance between machine and first wireless headset parameter.
S307, the wireless headset is when detecting that the distance parameter is less than pre-determined distance threshold value, control described second The microphone of wireless headset obtains the voice data.
As can be seen that wireless headset passes through at least one described loudspeaker first and issues default frequency in the embodiment of the present application First audio of section, secondly, receiving the default frequency by the microphone of first wireless headset in preset period of time The second audio in section, finally, determining that the microphone of first wireless headset is in plug-hole according to second audio State.As it can be seen that wireless headset, which can detect microphone only by loudspeaker in the case where not increasing hardware configuration, is in stifled Hole state has expanded the function of wireless headset, improves the convenience and timeliness of plug-hole detection, moreover, passing through detection Mike The plug-hole state of wind, can to avoid user in subsequent typing voice because can not perceive microphone there are the problem of caused by voice Data input incomplete situation.
In addition, wireless headset is interfered by judging that environmental volume is less than or equal to default volume threshold without ambient sound In the case where, microphone plug-hole can be detected by emitting the first audio of audible audio frequency range, it is convenient to realize, is conducive to be promoted The convenience and accuracy of plug-hole detection.
In addition, wireless headset is by the relationship of amplitude difference and preset threshold between the first audio and the second audio come really The plug-hole state for determining microphone advantageously reduces interference of the environment to individual data using difference, calculates simply, be conducive to be promoted The convenience and accuracy that plug-hole state determines.
In addition, wireless headset when the first wireless headset is in plug-hole state, passes through determining first wireless headset and second It after the distance of wireless headset is less than pre-determined distance threshold value, is switched to the second wireless headset and obtains voice data, be conducive to ensure language The integrality and clarity of sound data acquisition.
It is consistent with the embodiment shown in Fig. 2, referring to Fig. 4, Fig. 4 is another wheat provided by the embodiments of the present application The flow diagram of gram wind locking hole inspection method and hole inspection, the wireless headset include the first wireless headset and the second wireless headset, described First wireless headset and second wireless headset include at least one loudspeaker, and first wireless headset includes microphone, As shown, this microphone plug-hole detection method includes:
S401, wireless headset obtain environmental volume.
S402, the wireless headset issue prompting message when detecting that the environmental volume is greater than default volume threshold, For the prompting message for prompting user that second wireless headset is placed on predeterminated position, the predeterminated position is described the The loudspeaker of two wireless headsets towards first wireless headset microphone position.
S403, the wireless headset control second nothing when second wireless headset is located at the predeterminated position The loudspeaker of line earphone issues the first audio of supersonic band.
S404, in preset period of time, the wireless headset receives institute by the microphone of first wireless headset State the second audio of supersonic band.
S405, the wireless headset calculate the difference between the amplitude of second audio and the amplitude of first audio Value.
S406, the wireless headset determine the described of first wireless headset when the difference is greater than preset threshold Microphone is in plug-hole state.
As can be seen that wireless headset passes through at least one described loudspeaker first and issues default frequency in the embodiment of the present application First audio of section, secondly, receiving the default frequency by the microphone of first wireless headset in preset period of time The second audio in section, finally, determining that the microphone of first wireless headset is in plug-hole according to second audio State.As it can be seen that wireless headset, which can detect microphone only by loudspeaker in the case where not increasing hardware configuration, is in stifled Hole state has expanded the function of wireless headset, improves the convenience and timeliness of plug-hole detection, moreover, passing through detection Mike The plug-hole state of wind, can to avoid user in subsequent typing voice because can not perceive microphone there are the problem of caused by voice Data input incomplete situation.
In addition, wireless headset when detecting that environmental volume is greater than default volume threshold, illustrates that ambient sound interference is larger, such as Fruit can have biggish error by audible sound detection plug-hole, therefore, issue prompting message, prompt user by the second wireless headset Being placed on the first wireless headset can receive the predeterminated position of the second audio, make to have by ultrasound examination plug-hole state Conducive to detection error is reduced, moreover, the microphone by the first wireless headset directly receives in the direction of the launch of the first audio Second audio, the second audio without receiving the first audio feedback are conducive to the timeliness for promoting plug-hole detection.
In addition, wireless headset is by the relationship of amplitude difference and preset threshold between the first audio and the second audio come really The plug-hole state for determining microphone advantageously reduces interference of the environment to individual data using difference, calculates simply, be conducive to be promoted The convenience and accuracy that plug-hole state determines.
It is consistent with above-mentioned Fig. 2, Fig. 3, embodiment shown in Fig. 4, referring to Fig. 5, Fig. 5 is provided by the embodiments of the present application A kind of structural schematic diagram of wireless headset 500, as shown, the wireless headset includes the first wireless headset and the second wireless ear Machine, first wireless headset and second wireless headset include at least one loudspeaker, and first wireless headset includes Microphone, the wireless headset include processor 501, memory 502, communication interface 503 and one or more program 504, In, said one or multiple programs 504 are stored in above-mentioned memory 502, and are configured to be held by above-mentioned processor 501 Row, above procedure includes the instruction for executing following steps;
The first audio of default frequency range is issued by least one described loudspeaker;
In preset period of time, second in the default frequency range is received by the microphone of first wireless headset Audio;
Determine that the microphone of first wireless headset is in plug-hole state according to second audio.
As can be seen that wireless headset passes through at least one described loudspeaker first and issues default frequency in the embodiment of the present application First audio of section, secondly, receiving the default frequency by the microphone of first wireless headset in preset period of time The second audio in section, finally, determining that the microphone of first wireless headset is in plug-hole according to second audio State.As it can be seen that wireless headset, which can detect microphone only by loudspeaker in the case where not increasing hardware configuration, is in stifled Hole state has expanded the function of wireless headset, improves the convenience and timeliness of plug-hole detection, moreover, passing through detection Mike The plug-hole state of wind, can to avoid user in subsequent typing voice because can not perceive microphone there are the problem of caused by voice Data input incomplete situation.
In a possible example, in the wheat for determining first wireless headset according to second audio Gram wind is in plug-hole state aspect, and the instruction in described program 504 is specifically used for executing following operation: according to second audio Parameter preset determine that the microphone is in the plug-hole state, the parameter preset includes any of the following or a variety of: Volume, tone color, frequency, energy.
In a possible example, in the microphone for determining first wireless headset according to second audio In plug-hole state aspect, the instruction in described program 504 is specifically used for executing following operation: calculating the vibration of second audio Difference between width and the amplitude of first audio;And for determining described the when the difference is greater than preset threshold The microphone of one wireless headset is in the plug-hole state.
In a possible example, the default frequency range be ultrasonic wave where frequency range, it is described by it is described at least In terms of one loudspeaker issues the first audio of default frequency range, the instruction in described program 504 is specifically used for executing following operation: The first audio of supersonic band is issued by least one described loudspeaker.
In a possible example, in first audio for issuing default frequency range by least one described loudspeaker Aspect, the instruction in described program 504 are specifically used for executing following operation: obtaining environmental volume;And institute is detected for working as When stating environmental volume greater than default volume threshold, prompting message is issued, the prompting message is for prompting user by described second Wireless headset is placed on predeterminated position, and the predeterminated position is that the loudspeaker of second wireless headset is wireless towards described first The position of the microphone of earphone;And for controlling described second when second wireless headset is located at the predeterminated position The loudspeaker of wireless headset issues the first audio of supersonic band.
In this possible example, above procedure 504 further includes the instruction for executing following steps: the acquisition ring After the volume of border, when detecting that the environmental volume is less than or equal to the default volume threshold, first nothing is controlled The loudspeaker of line earphone issues the first audio of audible audio frequency range.
In a possible example, above procedure 504 further includes the instruction for executing following steps: described according to institute It states the second audio and determines that the microphone of first wireless headset is in after plug-hole state, be directed to voice number when detecting According to acquisition instruction when, determine the distance between second wireless headset and first wireless headset parameter;And it is used for When detecting that the distance parameter is less than pre-determined distance threshold value, the microphone for controlling second wireless headset obtains institute's predicate Sound data.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for wireless headset Block.Those skilled in the art should be readily appreciated that, in conjunction with each exemplary unit of embodiment description presented herein And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can specifically realize described function to each using distinct methods, but this reality Now 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 above method example to wireless headset, 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.Above-mentioned 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.
Fig. 6 is the functional unit composition block diagram of microphone plug-hole detection device 600 involved in the embodiment of the present application.It should Microphone plug-hole detection device 600 is applied to wireless headset, and the wireless headset includes the first wireless headset and the second wireless ear Machine, first wireless headset and second wireless headset include at least one loudspeaker, and first wireless headset includes Microphone, the microphone plug-hole detection device 600 include transmitting unit 601, receiving unit 602 and determination unit 603, wherein
The transmitting unit 601, for issuing the first audio of default frequency range by least one described loudspeaker;
The receiving unit 602, for being received by the microphone of first wireless headset in preset period of time The second audio in the default frequency range;
The determination unit 603, for determining the microphone of first wireless headset according to second audio In plug-hole state.
As can be seen that wireless headset passes through at least one described loudspeaker first and issues default frequency in the embodiment of the present application First audio of section, secondly, receiving the default frequency by the microphone of first wireless headset in preset period of time The second audio in section, finally, determining that the microphone of first wireless headset is in plug-hole according to second audio State.As it can be seen that wireless headset, which can detect microphone only by loudspeaker in the case where not increasing hardware configuration, is in stifled Hole state has expanded the function of wireless headset, improves the convenience and timeliness of plug-hole detection, moreover, passing through detection Mike The plug-hole state of wind, can to avoid user in subsequent typing voice because can not perceive microphone there are the problem of caused by voice Data input incomplete situation.
In a possible example, in the wheat for determining first wireless headset according to second audio Gram wind is in plug-hole state aspect, and the determination unit 603 is specifically used for: determining institute according to the parameter preset of second audio It states microphone and is in the plug-hole state, the parameter preset includes any of the following or a variety of: volume, tone color, frequency, energy Amount.
In a possible example, in the microphone for determining first wireless headset according to second audio In plug-hole state aspect, the determination unit 603 is specifically used for: the amplitude of calculating second audio and first audio Amplitude between difference;And for determining the described of first wireless headset when the difference is greater than preset threshold Microphone is in the plug-hole state.
In a possible example, the default frequency range be ultrasonic wave where frequency range, it is described by it is described at least In terms of one loudspeaker issues the first audio of default frequency range, the transmitting unit 601 is specifically used for: by it is described at least one First audio of loudspeaker sending supersonic band.
In a possible example, in first audio for issuing default frequency range by least one described loudspeaker Aspect, the transmitting unit 601 are specifically used for: obtaining environmental volume;And detect that the environmental volume is greater than in advance for working as If when volume threshold, issuing prompting message, the prompting message is pre- for prompting user to be placed on second wireless headset If position, the predeterminated position be second wireless headset loudspeaker towards first wireless headset microphone position It sets;And for controlling the loudspeaker of second wireless headset when second wireless headset is located at the predeterminated position Issue the first audio of supersonic band.
In this possible example, the transmitting unit 601 is also used to after the acquisition environmental volume: working as inspection When measuring the environmental volume less than or equal to the default volume threshold, the loudspeaker hair of first wireless headset is controlled First audio of audible audio frequency range out.
In a possible example, the microphone plug-hole detection device 600 further includes processing unit, and the processing is single Member, for it is described according to second audio determine first wireless headset the microphone be in plug-hole state after, When detecting the acquisition instruction for voice data, determine between second wireless headset and first wireless headset Distance parameter;And for controlling second wireless headset when detecting that the distance parameter is less than pre-determined distance threshold value Microphone obtain the voice data.
Wherein, transmitting unit 601 can be loudspeaker, and receiving unit 602 can be microphone, the determination unit 603 It can be processor or transceiver.
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, it is as any in recorded in above method embodiment which execute computer Some or all of a kind of microphone plug-hole detection method step, above-mentioned computer include electronic equipment.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating The non-transient computer readable storage medium of machine program, the computer program are operable to that computer is made to execute such as above-mentioned side Some or all of any microphone plug-hole detection method recorded in method embodiment step, above-mentioned computer includes electronics 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 the unit, 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.
The 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 the 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 the method for 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 computer-readable memory, and memory can With 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 plug-hole detection method, which is characterized in that be applied to wireless headset, the wireless headset includes the first nothing Line earphone and the second wireless headset, first wireless headset and second wireless headset include at least one loudspeaker, institute Stating the first wireless headset includes microphone, which comprises
The first audio of default frequency range is issued by least one described loudspeaker;
In preset period of time, the second sound in the default frequency range is received by the microphone of first wireless headset Frequently;
Determine that the microphone of first wireless headset is in plug-hole state according to second audio.
2. the method according to claim 1, wherein described determine that described first is wireless according to second audio The microphone of earphone is in plug-hole state, comprising:
Determine that the microphone is in the plug-hole state according to the parameter preset of second audio, the parameter preset includes Below any one or more: volume, tone color, frequency, energy.
3. the method according to claim 1, wherein described determine that described first is wireless according to second audio The microphone of earphone is in plug-hole state, comprising:
Calculate the difference between the amplitude of second audio and the amplitude of first audio;
When the difference is greater than preset threshold, determine that the microphone of first wireless headset is in the plug-hole shape State.
4. method according to claim 1-3, which is characterized in that the default frequency range is the frequency where ultrasonic wave Section, first audio that default frequency range is issued by least one described loudspeaker, comprising:
The first audio of supersonic band is issued by least one described loudspeaker.
5. method according to claim 1-3, which is characterized in that described to be sent out by least one described loudspeaker The first audio of frequency range is preset out, comprising:
Obtain environmental volume;
When detecting that the environmental volume is greater than default volume threshold, prompting message is issued, the prompting message is for prompting Second wireless headset is placed on predeterminated position by user, and the predeterminated position is the loudspeaker court of second wireless headset To the position of the microphone of first wireless headset;
When second wireless headset is located at the predeterminated position, the loudspeaker for controlling second wireless headset issues ultrasound First audio of wave frequency section.
6. according to the method described in claim 5, it is characterized in that, after the acquisition environmental volume, the method also includes:
When detecting that the environmental volume is less than or equal to the default volume threshold, first wireless headset is controlled First audio of loudspeaker sending audible audio frequency range.
7. method according to claim 1-6, which is characterized in that described according to second audio determination The microphone of first wireless headset is in after plug-hole state, the method also includes:
When detecting the acquisition instruction for voice data, determine second wireless headset and first wireless headset it Between distance parameter;
When detecting that the distance parameter is less than pre-determined distance threshold value, the microphone for controlling second wireless headset obtains institute State voice data.
8. a kind of microphone plug-hole detection device, which is characterized in that be applied to wireless headset, the wireless headset includes the first nothing Line earphone and the second wireless headset, first wireless headset and second wireless headset include at least one loudspeaker, institute Stating the first wireless headset includes microphone, and the microphone plug-hole detection device includes transmitting unit, receiving unit and executes list Member, in which:
The transmitting unit, for issuing the first audio of default frequency range by least one described loudspeaker;
The receiving unit, for being received by the microphone of first wireless headset described pre- in preset period of time If the second audio in frequency range;
The determination unit, for determining that the microphone of first wireless headset is in plug-hole according to second audio State.
9. a kind of wireless headset characterized by comprising processor, memory, and one or more programs;It is one Or multiple programs are stored in the memory, and are configured to be executed by the processor, described program includes being used for The instruction of step in the method as described in claim any one of 1-7 of execution.
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.
CN201810841698.8A 2018-07-26 2018-07-26 Microphone plug-hole detection method and Related product Pending CN109151701A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810841698.8A CN109151701A (en) 2018-07-26 2018-07-26 Microphone plug-hole detection method and Related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810841698.8A CN109151701A (en) 2018-07-26 2018-07-26 Microphone plug-hole detection method and Related product

Publications (1)

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

Family

ID=64798282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810841698.8A Pending CN109151701A (en) 2018-07-26 2018-07-26 Microphone plug-hole detection method and Related product

Country Status (1)

Country Link
CN (1) CN109151701A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297909A (en) * 2013-04-23 2013-09-11 衡阳加一电子科技有限公司 Earphone testing method and device
CN103929707A (en) * 2014-04-08 2014-07-16 深圳市中兴移动通信有限公司 Method for detecting conditions of microphone voice-grade channels and terminal
JP2014216867A (en) * 2013-04-25 2014-11-17 京セラ株式会社 Portable terminal equipment
CN104244161A (en) * 2014-09-17 2014-12-24 苏州酷果信息技术有限公司 Method and device for testing equipment with voice playing function and voice recording function
CN105979053A (en) * 2016-04-18 2016-09-28 广东欧珀移动通信有限公司 Method and device for detecting microphone in mobile terminal and mobile terminal
CN106331359A (en) * 2016-08-31 2017-01-11 广东欧珀移动通信有限公司 Speech signal acquisition method and apparatus and terminal
CN106686511A (en) * 2016-11-15 2017-05-17 歌尔股份有限公司 Earphone function testing method and testing system
WO2017185342A1 (en) * 2016-04-29 2017-11-02 华为技术有限公司 Method and apparatus for determining voice input anomaly, terminal, and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297909A (en) * 2013-04-23 2013-09-11 衡阳加一电子科技有限公司 Earphone testing method and device
JP2014216867A (en) * 2013-04-25 2014-11-17 京セラ株式会社 Portable terminal equipment
CN103929707A (en) * 2014-04-08 2014-07-16 深圳市中兴移动通信有限公司 Method for detecting conditions of microphone voice-grade channels and terminal
CN104244161A (en) * 2014-09-17 2014-12-24 苏州酷果信息技术有限公司 Method and device for testing equipment with voice playing function and voice recording function
CN105979053A (en) * 2016-04-18 2016-09-28 广东欧珀移动通信有限公司 Method and device for detecting microphone in mobile terminal and mobile terminal
WO2017185342A1 (en) * 2016-04-29 2017-11-02 华为技术有限公司 Method and apparatus for determining voice input anomaly, terminal, and storage medium
CN106331359A (en) * 2016-08-31 2017-01-11 广东欧珀移动通信有限公司 Speech signal acquisition method and apparatus and terminal
CN106686511A (en) * 2016-11-15 2017-05-17 歌尔股份有限公司 Earphone function testing method and testing system

Similar Documents

Publication Publication Date Title
CN109151698A (en) Microphone plug-hole detection method and Related product
EP3547659B1 (en) Method for processing audio signal and related products
CN103873975B (en) A kind of methods, devices and systems realizing bluetooth earphone noise reduction
CN109104684A (en) Microphone plug-hole detection method and Related product
CN105280195A (en) Method and device for processing speech signal
CN109151700A (en) Microphone plug-hole detection method and Related product
CN103718568A (en) A method and system for improving voice communication experience in mobile communication devices
CN109089201B (en) Microphone hole blockage detection method and related product
WO2015108601A2 (en) Vibration energy compensation for a skin surface microphone ("ssm") in wearable communication devices
CN109121059A (en) Loudspeaker plug-hole detection method and Related product
CN108777827B (en) Wireless earphone, volume adjusting method and related product
CN109151697A (en) Microphone plug-hole detection method and Related product
CN106170108A (en) There is the Headphone device of decibel indicating mode
CN109644302A (en) Wireless earphone system
CN109121046A (en) Plug-hole processing method and Related product
CN108683980B (en) Audio signal transmission method and mobile terminal
CN105812585A (en) Method for switching conversation modes and mobile terminal
CN107864415A (en) Audio amplifier and audio frequency apparatus share the control method and device of microphone
CN102457790A (en) Active noise reduction earphone and earphone detection device
CN107659328B (en) Call control method, device, terminal, phone system and readable storage medium storing program for executing
CN109121042A (en) Voice data processing method and Related product
CN109062533A (en) Sounding control method, device, electronic device and storage medium
CN108769364A (en) Call control method, device, mobile terminal and computer-readable medium
CN109151699B (en) Microphone hole blockage detection method and related product
CN110035346A (en) Communication means, device, bluetooth headset and the storage medium of bluetooth headset

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