CN110493678A - The control method and device of earphone - Google Patents
The control method and device of earphone Download PDFInfo
- Publication number
- CN110493678A CN110493678A CN201910750945.8A CN201910750945A CN110493678A CN 110493678 A CN110493678 A CN 110493678A CN 201910750945 A CN201910750945 A CN 201910750945A CN 110493678 A CN110493678 A CN 110493678A
- Authority
- CN
- China
- Prior art keywords
- earphone
- audio data
- operation mode
- current operation
- users
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
Abstract
The application proposes the control method and device of a kind of earphone, wherein, this method is when listening the audio data of communication terminal by earphone, it is acquired by sound of the earphone to external environment, and determine whether the current operation mode of earphone is call mode, and in the current operation mode for determining earphone be not call mode, and determine from the audio data that external environment acquire be the audio data of headset user when, control earphone pause exports the audio data obtained from communication terminal.Thus, determine headset user needs engage in the dialogue with surrounding other users interact when, in conjunction with earphone to the current operation mode of external environment collected audio data and earphone, the audio data that the pause output of intelligent control earphone is obtained from communication terminal, realize the more convenient and fast interactive controlling of earphone, facilitate headset user to engage in the dialogue with other users to exchange, improves the earphone Experience Degree of user.
Description
Technical field
This application involves ear phone technology field more particularly to the control methods and device of a kind of earphone.
Background technique
With popularizing for the communication terminals such as mobile phone, more and more users get used to connecting mobile phone using earphone come audition
It is happy, see video or receive calls, in order to exempt it is wired impede, facilitate the comfortable ground of user easily to use ear in various ways
Machine, more and more users use bluetooth headset.
Bluetooth headset is wirelessly connected with communication terminal, and there are two types of general wearing modes: In-Ear and hangers
Formula.There are two types of the current main ways of bluetooth headset, and one is button, user answers, hangs up the telephone, suspending, switching song
When mesh etc. operates, needs to lift at hand to ear's earphone, be realized by key combination.Another way be it is touch, i.e., pressing
Key changes touch-key into.
In order to guarantee sound quality, current earphone used by a user all has preferable soundproof effect, when user plugs in the earphone
Afterwards, it is difficult to hear or do not hear the sound of external environment.If at this time headset user need with it is surrounding other people engage in the dialogue
Exchange, it is common practice that user manually triggers pause earphone output audio data, for example, user passes through triggering earphone
On pause button come suspend earphone output audio data, for a user, during wearing earphone to earphone progress
Button operation is simultaneously inconvenient, and user's operation mode is complex, and movement range is larger.
Summary of the invention
The application is intended to solve at least some of the technical problems in related technologies.
For this purpose, the application proposes the control method and device of a kind of earphone, determine headset user need with it is surrounding
When other users engage in the dialogue interactive, in conjunction with earphone to the work at present mould of the collected audio data of external environment and earphone
Formula, the audio data that the pause output of intelligent control earphone is obtained from communication terminal, realizes the more convenient and fast interactive controlling of earphone,
Facilitate headset user to engage in the dialogue with other users to exchange, improves the earphone Experience Degree of user.
The application first aspect embodiment proposes a kind of control method of earphone, and the method is applied in the earphone
In, which comprises determine the current operation mode of the earphone;Under the current operation mode, communication terminal is received
The first audio data;The sound of external environment is acquired, second audio data is generated;Judge the current operation mode
It whether is call mode;If the current operation mode is non-call mode, the second audio data is further judged
Whether be headset user audio data;If described state the audio data that second audio data is headset user, institute is controlled
It states earphone pause and exports first audio data.
The control method of the earphone of the embodiment of the present application passes through when listening the audio data of communication terminal by earphone
Earphone is acquired the sound of external environment, and determines whether the current operation mode of earphone is call mode, and in determination
The current operation mode of earphone is not call mode, and determines that the audio data acquired from external environment is the sound of headset user
Frequency according to when, the audio data that is obtained from communication terminal of control earphone pause output.Determining headset user needs and its as a result,
When the other users of surrounding engage in the dialogue interactive, in conjunction with earphone to the current work of the collected audio data of external environment and earphone
Operation mode, the audio data that the pause output of intelligent control earphone is obtained from communication terminal, realizes earphone and more easily interacts
Control, facilitates headset user to engage in the dialogue with other users and exchanges, improve the earphone Experience Degree of user.
The application second aspect embodiment proposes a kind of control device of earphone, and described device is applied in the earphone
In, described device includes: the first determining module, for determining the current operation mode of the earphone;Receiving module, in institute
It states under current operation mode, receives the first audio data of communication terminal;Sound acquisition module, for the sound to external environment
It is acquired, generates second audio data;First judgment module, for judging whether the current operation mode is call mould
Formula;Second judgment module further judges second audio if being non-call mode for the current operation mode
Data whether be headset user audio data;First control module, if for the second audio data of stating for earphone use
The audio data at family then controls the earphone pause and exports first audio data.
The control device of the earphone of the embodiment of the present application passes through when listening the audio data of communication terminal by earphone
Earphone is acquired the sound of external environment, and determines whether the current operation mode of earphone is call mode, and in determination
The current operation mode of earphone is not call mode, and determines that the audio data acquired from external environment is the sound of headset user
Frequency according to when, the audio data that is obtained from communication terminal of control earphone pause output.Determining headset user needs and its as a result,
When the other users of surrounding engage in the dialogue interactive, in conjunction with earphone to the current work of the collected audio data of external environment and earphone
Operation mode, the audio data that the pause output of intelligent control earphone is obtained from communication terminal, realizes earphone and more easily interacts
Control, facilitates headset user to engage in the dialogue with other users and exchanges, improve the earphone Experience Degree of user.
The application third aspect embodiment proposes a kind of earphone, comprising: memory, processor and storage are on a memory
And the computer program that can be run on a processor, which is characterized in that the processor is realized when executing described program as above-mentioned
The control method of earphone as described in the examples.
The application fourth aspect embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey
Sequence realizes the control method such as above-mentioned earphone as described in the examples when the program is executed by processor.
The 5th aspect embodiment of the application proposes a kind of computer program product, when in the computer program product
When instruction processing unit executes, the control method of earphone described in above-described embodiment is realized.
The additional aspect of the application and advantage will be set forth in part in the description, and will partially become from the following description
It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram according to the control method of the earphone of the application one embodiment;
Fig. 2 is the flow diagram according to the control method of the earphone of the application another embodiment;
Fig. 3 is the exemplary diagram of Mike MIC in left earphone and right earphone;
Fig. 4 is the flow diagram according to the control method of the earphone of the application another embodiment;
Fig. 5 is the structural schematic diagram according to the control device of the earphone of the application one embodiment;
Fig. 6 is the structural schematic diagram according to the control device of the earphone of the application another embodiment;
Fig. 7 is the structural schematic diagram according to the control device of the earphone of the application another embodiment;
Fig. 8 is the structural schematic diagram according to the earphone of the application one embodiment.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
Below with reference to the accompanying drawings control method, device and the earphone of the earphone of the embodiment of the present application are described.
Fig. 1 is the flow diagram according to the control method of the earphone of the application one embodiment.
As shown in Figure 1, the control method of the earphone includes:
Step 101, the current operation mode of earphone is determined.
Wherein, it should be noted that the control method of the earphone of the embodiment of the present application is applied in earphone, for example, the ear
The executing subject of the control method of machine can be the controller of earphone.
Wherein, the earphone of the present embodiment can be wireless headset, be also possible to wired earphone.The present embodiment is using earphone as nothing
It is described for line bluetooth headset.
Wherein, above-mentioned communication terminal can be the hardware devices such as mobile phone, tablet computer, personal computer, the embodiment pair
Communication terminal is not construed as limiting.
In the present embodiment, it in different application scene, determines that the mode of the current operation mode of earphone is different, illustrates
It is bright as follows:
As a kind of possible implementation, can instruction according to user to earphone input, determine the work at present of earphone
Mode.
Specifically, a physical button or touch-key can be set in earphone, and user can lead to according to actual needs
It crosses and triggers the key and carry out output order, to start the corresponding current operation mode of earphone.
As a kind of possible implementation, the control instruction that can be sent according to communication terminal determines the current work of earphone
Operation mode.
Wherein, communication terminal to the control instruction that earphone is sent is determined according to the current scene information of communication terminal.
As an example, when communication terminal receives incoming call requests, communication terminal can send to earphone and open call
The control instruction of mode, accordingly, earphone can open the call mode of earphone, at this time, it may be determined that earphone according to control instruction
Current operation mode is call mode.
As another example, communication terminal opening game application is being determined, and do not opening in game application
Real time phone call function when, at this point, communication terminal sends the control instruction for opening the game mode of non real-time call to earphone.It is right
It answers, earphone can open the corresponding call mode of earphone, at this time, it may be determined that ear in the control instruction for receiving communication terminal
The current operation mode of machine is the game mode of non real-time call.
As another example, when determining that communication terminal opening listens song application program, at this point, accordingly, communication terminal
It can be sent to earphone and open the control instruction for listening song mode.Accordingly, earphone can open song according to the control instruction in communication
Mode, at this time, it may be determined that the current operation mode of earphone is song mode.
Wherein it is possible to understand, the earphone in the present embodiment is established Bluetooth communication with communication terminal and is connect, and passes through indigo plant
Tooth mode interacts communication.
Wherein, the current operation mode of earphone can include but is not limited to song mode, video mode, non real-time call
Game mode, call mode etc., the embodiment are not construed as limiting this.
Step 102, under current operation mode, the first audio data of communication terminal is received.
Specifically, communication terminal sends the first audio data to earphone by bluetooth approach, and accordingly, earphone is to should
Under preceding operating mode, the first audio data sent by terminal is received by bluetooth approach.
Step 103, the sound of external environment is acquired, generates second audio data.
In the present embodiment, outer environment state can be acquired by the microphone in earphone, to generate the second sound
Frequency evidence.
Wherein, the second audio data of the present embodiment can be the audio data of headset user, can also be headset user
The audio data of surrounding other users.
Step 104, judge whether current operation mode is call mode.
Step 105, if current operation mode is non-call mode, further judge whether second audio data is ear
The audio data of machine user.
Wherein, current operation mode is non-call mode, indicates that the current operation mode of earphone is except call mode
Other call modes, for example, current operation mode is song mode or video mode etc..
Step 106, if stating the audio data that second audio data is headset user, earphone pause output first is controlled
Audio data.
The control method of the earphone of the embodiment of the present application passes through when listening the audio data of communication terminal by earphone
Earphone is acquired the sound of external environment, and determines whether the current operation mode of earphone is call mode, and in determination
The current operation mode of earphone is not call mode, and determines that the audio data acquired from external environment is the sound of headset user
Frequency according to when, the audio data that is obtained from communication terminal of control earphone pause output.Determining headset user needs and its as a result,
When the other users of surrounding engage in the dialogue interactive, in conjunction with earphone to the current work of the collected audio data of external environment and earphone
Operation mode, the audio data that the pause output of intelligent control earphone is obtained from communication terminal, realizes earphone and more easily interacts
Control, facilitates headset user to engage in the dialogue with other users and exchanges, improve the earphone Experience Degree of user.
On the basis of based on the above embodiment, in order to further increase the earphone Experience Degree of user, property as an example
Embodiment can control earphone continuation defeated when detecting that headset user and surrounding other users are completed dialogue and interacts
The audio data obtained out from communication terminal.
As a kind of possible implementation, when headset user receives the end-of-dialogue instruction of headset user input,
Controllable earphone continues to output the audio data obtained from communication terminal.
As alternatively possible implementation, if the microphone of earphone collected external environment within a preset time
Audio data in acoustic information without headset user and other users, then can determine between headset user and other users
Interactive dialogue terminate, at this point, controllable earphone continues to output the audio data obtained from communication terminal.
In the present embodiment, after end-of-dialogue, controllable earphone continues to output the audio data obtained from communication terminal.
As a result, triggering respective keys manually again without user, the more convenient and fast interactive controlling of earphone is realized, user is improved
Earphone Experience Degree.
It is understood that in actual application, not only can actively be initiated by headset user and its around other
User engages in the dialogue exchange, that is, headset user attempts actively to exchange with others, can also be by other around headset user
User initiates dialogue to headset user, therefore, in the present embodiment, if the control method of the earphone can also include:
Current operation mode is song mode or video mode, and second audio data is the audio data of other users, then into one
Whether step judges in the audio data of other users comprising predetermined keyword, wherein predetermined keyword is according to headset user
Attribute information is pre-set.If controlling earphone pause the first audio data of output comprising predetermined keyword.
Wherein, the attribute information of headset user is the name attribute information of headset user, for example, predetermined keyword can be
The name " Zhang San three " of headset user, alternatively, predetermined keyword can be the related other information of headset user name, for example,
Headset user name is Zhang San three, he is often known as " Lao Zhang " by usually colleague or household, at this point, predetermined keyword can be
" Lao Zhang ".
Wherein it is possible to understand, the predetermined keyword in the present embodiment is that headset user is pre-set, presets key
The quantity of word can be one or more, which is not construed as limiting this, connects the example above, and predetermined keyword may include
" Zhang San three " and " Lao Zhang ".
Headset user in this implementation refers to the earphone owner.
It is understood that the current operation mode of the earphone in the present embodiment not only can be song mode or video
Mode can be the game of non real-time call with the game mode of non real-time call, the current operation mode below with reference to earphone
Mode, and second audio data is the audio data of other users, and the control situation of earphone is described.
As a kind of possible implementation, in the present embodiment, if current operation mode is the trip of non real-time call
Play mode, and second audio data be other users audio data, then further judge be in the audio data of other users
No includes predetermined keyword.
Wherein, predetermined keyword is pre-set according to the attribute information of headset user.
If reducing the volume of earphone, and export the first audio number according to volume control earphone comprising predetermined keyword
According to.That is, control headphones sound is turned down, and sound control earphone adjusted exports the first audio data, to facilitate use
While gaming audio data are listened on one side, can engage in the dialogue with surrounding other users interaction on one side at family.
It in the present embodiment, is call mode in the work at present of earphone, and second audio data is the sound of other users
Frequency according to when, exchanged to prompt headset user to there are other users to engage in the dialogue with it, in the present embodiment, if work at present
Mode is call mode, and second audio data is the audio data of other users, then controls earphone and export the first audio data,
And control earphone vibration.As a result, during headset user is conversed, wished by earphone alerting by vibration other users
It engages in the dialogue and exchanges with it, headset user has been reminded in a manner of convenient and fast.
In order to enable those skilled in the art know that the control method of the earphone of this case, below with reference to Fig. 2 to this reality
The control method for applying the earphone of example is described.Wherein, Fig. 2 be the control method of earphone shown in FIG. 1 is further refined and
Extension.
Fig. 2 is the flow diagram according to the control method of the earphone of the application another embodiment.
As shown in Fig. 2, the controlling party of the earphone includes:
Step 201, the current operation mode of earphone is determined.
Step 202, under current operation mode, the first audio data of communication terminal is received.
Step 203, the sound of external environment is acquired, generates second audio data.
Step 204, if current operation mode is call mode, further judge whether second audio data is earphone
The audio data of user, if not, thening follow the steps 205.
Wherein it is possible to understand, if current operation mode is call mode, and determine that second audio data is earphone
The audio data of collected headset user is sent to communication terminal by the audio data of user, accordingly, earphone, accordingly,
The correspondence audio data received is sent to the communication terminal of call opposite end by communication terminal, to realize that both call sides are conversed
Exchange.
In the present embodiment, judge whether second audio data is that the specific implementation of audio data of headset user can
With are as follows: the sound characteristic information of extractable second audio data, and the corresponding sound characteristic information of headset user is matched,
If the two sound characteristic information matches, it is determined that second audio data is the audio data of headset user.
Specifically, the matching degree between the two sound characteristic information can be calculated, if it is more than pre- that matching degree, which is calculated,
If threshold value, it is determined that second audio data is the audio data of headset user.
It is understood that can determine this if the matching degree between the two sound characteristic information is less than preset threshold
Second audio data is not the audio data of headset user.I.e., it may be determined that second audio data is the audio data of other users.
Wherein, the corresponding sound characteristic information of headset user is voice recognition word of the earphone by analysis headset user input
It is predetermined.
Step 205, control earphone exports the first audio data, and controls earphone vibration.
It is call mode in the current operation mode of earphone that is, in the present embodiment, due to sound of conversing, one
As be important and urgent, so, in headset detection to interrupting information after, vibration earphone prompt user will not export earphone
It is adjusted, i.e., earphone continues the first audio data of normal output.It is understood that at this point, the first audio data is call
Audio data.
Step 206, if current operation mode is song mode or video mode, further judge second audio data
Whether it is the audio data of headset user, if so, 208 are thened follow the steps, it is no to then follow the steps 207.
Wherein, predetermined keyword is pre-set according to the attribute information of headset user.
Step 207, judge whether comprising predetermined keyword in the audio data of other users, if so, thening follow the steps
208。
Step 208, control earphone pause the first audio data of output.
Wherein, it is to be understood that in the present embodiment, if not comprising default key in the audio data of other users
Word then controls earphone and continues the first audio data of normal output.
That is, in the present embodiment, during earphone is in song mode or video mode, if earphone
It detects and interrupts information, due to song/video sound, typically no emergency requirement, at this time, if it is determined that the sound of other users
Frequency includes predetermined keyword earphone in, can suspend the first audio data of output, that is, can directly close headphones sound output.
Step 209, if current operation mode is the game mode of non real-time call, further judge the second audio number
According to whether being the audio data of headset user, if so, 212 are thened follow the steps, it is no to then follow the steps 210.
Step 210, judge whether comprising predetermined keyword in the audio data of other users, if so, thening follow the steps
211。
Wherein, it is to be understood that in the present embodiment, if it is determined that not comprising default in the audio data of other users
Keyword then controls earphone and continues the first audio data of normal output.
Step 211, the volume of earphone is reduced, and the first audio data is exported according to volume control earphone.
Step 212, control earphone pause the first audio data of output.
That is, in the present embodiment, in headset detection to after interrupting information, controllable headphones sound is turned down, it is convenient for
The game of user one side, exchanges with stranger on one side.
The control method of the earphone of the embodiment of the present application, in conjunction with earphone from the collected audio data of external environment, and
The current operation mode situation of earphone carries out intelligent control to whether earphone suspends output audio data, is determining earphone as a result,
User needs to engage in the dialogue with surrounding other users when interacting, in conjunction with earphone to the collected audio data of external environment with
The current operation mode of earphone, the audio data that the pause output of intelligent control earphone is obtained from communication terminal, realizes earphone more
For convenient and fast interactive controlling, facilitate headset user to engage in the dialogue with other users and exchange, improves the earphone Experience Degree of user.
In this embodiment, it is to be understood that earphone generally understands built-in microphone (MiCrophone, MIC) MIC module,
For conversing or sound-recording function.
In the present embodiment, play the role of Noise Reduction step by step to reach, and realize sound positioning, the present embodiment
Middle left earphone and right earphone are provided with dual microphone MIC array.
Wherein, left earphone and have in earphone be arranged dual microphone MIC array exemplary diagram, as shown in Figure 3, wherein
MIC_1, MIC_2 indicate that be arranged in left earphone two microphones, MIC_3, MIC_4 indicate two Mikes being arranged in right earphone
Wind.
It is described below with reference to control method of the Fig. 4 to the earphone of the present embodiment.
Fig. 4 is the flow diagram according to the control method of the earphone of the application another embodiment.
As shown in figure 4, this method may include:
Step 401, the current operation mode of earphone is determined.
Step 402, under current operation mode, the first audio data of communication terminal is received.
Step 403, the sound of external environment is acquired, generates second audio data.
Step 404, when determining that left earphone and right earphone are worn, according to dual microphone MIC array and the second audio
Data determine the location information of sound source in external environment.
Wherein it is possible to understand, the dual microphone MIC array in this implementation can not only play positioning action, may be used also
Noise Reduction is played step by step to reach.
Wherein, noise reduction step by step is carried out to collected audio data by dual microphone MIC array and four MIC arrays,
It can be achieved by the prior art, this is not specifically described in the present embodiment.
Specifically, can dual microphone MIC array according to the dual microphone MIC array in left earphone and in right earphone
The sound of external environment is acquired, and according to the collected audio data of microphone each in earphone and each microphone
Between positional relationship, determine the location information of sound source in external environment.
Step 405, judge whether current operation mode is call mode.
Step 406, if current operation mode is non-call mode, further judge whether second audio data is ear
The audio data of machine user, if so, thening follow the steps 407 or step 408.
Step 407, if it is determined that location information then controls left earphone pause the first audio data of output close to left earphone.
Specifically, obtain external environment in sound source location information after, can according to location information, calculate separately sound source with
Left earphone and the distance between sound source and right earphone, if the distance between sound source and left earphone be greater than sound source and right earphone it
Between distance, it is determined that left earpiece side, which detects, interrupts sound, at this point, can control left earphone pause the first audio data of output.
For right earphone, in the present embodiment, controllable right earphone normally exports the first audio data, alternatively, control
Right earphone processed also suspends the first audio data of output, which is not especially limited the control mode of right earphone.
As an example, when wearing dual-earpiece machine, user also may be selected to open positioning function, such as user is listening song
When, headset detection interrupts sound to user left side, then user's left-side earphone can close sound output, and right-side earphone is kept
Normal output, user are known that left side attempts to exchange with oneself.
Step 408, if it is determined that location information then controls right earphone pause the first audio data of output close to right earphone.
Specifically, obtain external environment in sound source location information after, can according to location information, calculate separately sound source with
Left earphone and the distance between sound source and right earphone, if the distance between sound source and left earphone be less than sound source and right earphone it
Between distance, it is determined that auris dextra pusher side, which detects, interrupts sound, at this point, controllable right earphone pause the first audio data of output.
In the present embodiment, for left earphone, left earphone can control normally to export the first audio data, alternatively, control
It makes left earphone and also suspends the first audio data of output, which is not especially limited the control mode of left earphone.
Wherein, it should be noted that the explanation of the above-mentioned control method to earphone is also applied for the ear of the present embodiment
The control method of machine, associated description can be found in above-described embodiment, and details are not described herein again.
The control method of the earphone of the embodiment of the present application passes through when listening the audio data of communication terminal by earphone
Earphone is acquired the sound of external environment, and by double MIC arrays in the earphone of left and right, determines sound source in external environment
Location information, and determine whether the current operation mode of earphone is call mode, and in the current operation mode for determining earphone
It is not call mode, and when the determining audio data for headset user from the audio data that external environment acquires, in conjunction with sound source
Location information determine the close earphone of sound source, and control the audio obtained close to the earphone pause output of sound source from communication terminal
Data.As a result, determine headset user needs engage in the dialogue with surrounding other users interact when, in conjunction with earphone to external rings
The current operation mode of border collected audio data and earphone, the sound that the pause output of intelligent control earphone is obtained from communication terminal
Frequency evidence realizes the more convenient and fast interactive controlling of earphone, facilitates headset user to engage in the dialogue with other users and exchange, improve
The earphone Experience Degree of user.
In order to realize above-described embodiment, the application also proposes a kind of control device of earphone.
Fig. 5 is the structural schematic diagram according to the control device of the earphone of the application one embodiment.Wherein, the earpiece application
In earphone, that is, the control device of the earphone is located in earphone.
As shown in figure 5, the control device of the earphone includes the first determining module 110, receiving module 120, sound collection mould
Block 130, first judgment module 140, the second judgment module 150 and the first control module 160, in which:
First determining module 110, for determining the current operation mode of earphone.
Receiving module 120, for receiving the first audio data of communication terminal under current operation mode.
Sound acquisition module 130 is acquired for the sound to external environment, generates second audio data.
First judgment module 140, for judging whether current operation mode is call mode.
Second judgment module 150 further judges the second audio if being non-call mode for current operation mode
Data whether be headset user audio data.
First control module 160, if controlling earphone for stating the audio data that second audio data is headset user
Pause the first audio data of output.
In one embodiment of the application, on the basis of Installation practice shown in Fig. 5, as shown in fig. 6, the device
Can also include:
Third judgment module 170, if being used for current operation mode as song mode or video mode, and the second audio
Whether data are the audio data of other users, then further judge in the audio data of other users to include predetermined keyword,
Wherein, predetermined keyword is pre-set according to the attribute information of headset user.
First control module 160, when being also used in the audio data for determining other users comprising predetermined keyword, control
Earphone pause the first audio data of output.
In one embodiment of the application, as shown in fig. 6, the device can also include:
4th judgment module 180, if for current operation mode being the game mode of non real-time call, and the second audio
Whether data are the audio data of other users, then further judge in the audio data of other users to include predetermined keyword,
Wherein, predetermined keyword is pre-set according to the attribute information of headset user.
First control module 160 when being also used in the audio data for determining other users comprising predetermined keyword, reduces
The volume of earphone, and the first audio data is exported according to volume control earphone.
In one embodiment of the application, as shown in fig. 6, the device can also include:
Second control module 190, if being also used to current operation mode is call mode, and second audio data is other
The audio data of user then controls earphone and exports the first audio data, and controls earphone vibration.
In one embodiment of the application, earphone includes left earphone and right earphone, and left earphone and right earphone are provided with
Dual microphone MIC array, in Installation practice shown in Fig. 5, as shown in fig. 7, device can also include:
Second determining module 200, for when determining that left earphone and right earphone are worn, according to MIC gusts of dual microphone
Column and second audio data, determine the location information of sound source in external environment.
First control module 160 is specifically used for: if it is determined that close to left earphone, then to control the pause of left earphone defeated for location information
First audio data out.If it is determined that location information close to right earphone, then controls right earphone pause the first audio data of output.
Wherein, it should be noted that the structure of second determining module 200 can also in above-mentioned Installation practice shown in Fig. 7
To be included in above-mentioned Installation practice shown in fig. 6, which is not construed as limiting this.
It should be noted that the explanation of the aforementioned control method embodiment to earphone is also applied for the ear of the embodiment
The control device of machine, details are not described herein again.
The control device of the earphone of the embodiment of the present application passes through when listening the audio data of communication terminal by earphone
Earphone is acquired the sound of external environment, and determines whether the current operation mode of earphone is call mode, and in determination
The current operation mode of earphone is not call mode, and determines that the audio data acquired from external environment is the sound of headset user
Frequency according to when, the audio data that is obtained from communication terminal of control earphone pause output.Determining headset user needs and its as a result,
When the other users of surrounding engage in the dialogue interactive, in conjunction with earphone to the current work of the collected audio data of external environment and earphone
Operation mode, the audio data that the pause output of intelligent control earphone is obtained from communication terminal, realizes earphone and more easily interacts
Control, facilitates headset user to engage in the dialogue with other users and exchanges, improve the earphone Experience Degree of user.
In order to realize above-described embodiment, the application also proposes a kind of earphone 200.
Fig. 8 is the structural schematic diagram according to the earphone of the application one embodiment.
Referring to Fig. 8, which includes: memory 1001, processor 1002 and is stored on memory 1001 and can locate
The computer program run on reason device 1002.
Processor 1002 realizes the control method of the earphone provided in above-described embodiment when executing program.
Further, earphone further include:
Communication interface 1003, for the communication between memory 1001 and processor 1002.
Memory 1001, for storing the computer program that can be run on processor 1002.
Memory 1001 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non-
Volatile memory), a for example, at least magnetic disk storage.
Processor 1002 realizes the control method of the earphone of above-described embodiment when for executing program.
If memory 1001, processor 1002 and the independent realization of communication interface 1003, communication interface 1003, memory
1001 and processor 1002 can be connected with each other by bus and complete mutual communication.Bus can be Industry Standard Architecture
Structure (Industry Standard Architecture, referred to as ISA) bus, external equipment interconnection (Peripheral
Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard
Architecture, referred to as EISA) bus etc..Bus can be divided into address bus, data/address bus, control bus etc..For just
It is only indicated with a thick line in expression, Fig. 8, it is not intended that an only bus or a type of bus.
Optionally, in specific implementation, if memory 1001, processor 1002 and communication interface 1003, are integrated in one
It is realized on block chip, then memory 1001, processor 1002 and communication interface 1003 can be completed mutual by internal interface
Communication.
Processor 1002 may be a central processing unit (Central Processing Unit, referred to as CPU), or
Person is specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC) or quilt
It is configured to implement one or more integrated circuits of the embodiment of the present application.
The present embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that
The program realizes the control method of earphone as above when being executed by processor.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Instruct relevant hardware to complete by computer program, program can be stored in a non-volatile computer storage can be read
In medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) etc..
Only several embodiments of the present invention are expressed for above embodiments, and the description thereof is more specific and detailed, but can not
Therefore limitations on the scope of the patent of the present invention are interpreted as.It should be pointed out that for those of ordinary skill in the art,
Without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection model of the invention
It encloses.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (12)
1. a kind of control method of earphone, which is characterized in that the method is applied in the earphone, which comprises
Determine the current operation mode of the earphone;
Under the current operation mode, the first audio data of communication terminal is received;
The sound of external environment is acquired, second audio data is generated;
Judge whether the current operation mode is call mode;
If the current operation mode is non-call mode, further judge whether the second audio data is that earphone is used
The audio data at family;
If described state the audio data that second audio data is headset user, the earphone pause output described first is controlled
Audio data.
2. the method according to claim 1, wherein further include:
If the current operation mode is song mode or video mode, and the second audio data is other users
Whether audio data then further judges in the audio data of other users comprising predetermined keyword, wherein the default key
Word is pre-set according to the attribute information of the headset user;
If controlling the earphone pause comprising predetermined keyword and exporting first audio data.
3. the method according to claim 1, wherein further include:
If the current operation mode is the game mode of non real-time call, and the second audio data is other users
Whether audio data then further judges in the audio data of other users comprising predetermined keyword, wherein the default key
Word is pre-set according to the attribute information of the headset user;
If reducing the volume of the earphone, and the earphone according to the volume control exports institute comprising predetermined keyword
State the first audio data.
4. the method according to claim 1, wherein further include:
If the current operation mode is call mode, and the second audio data is the audio data of other users, then
It controls the earphone and exports first audio data, and control the earphone vibration.
5. method according to claim 1-4, which is characterized in that the earphone includes left earphone and right earphone,
The left earphone and right earphone are provided with dual microphone MIC array, the method also includes:
When determining that the left earphone and right earphone are worn, according to the dual microphone MIC array and second audio
Data determine the location information of sound source in external environment;
The control earphone pause exports first audio data, comprising:
If it is determined that the location information then controls the left earphone pause and exports the first audio number close to the left earphone
According to;
If it is determined that the location information, which close to the right earphone, then controls the right earphone pause, exports the first audio number
According to.
6. a kind of control device of earphone, which is characterized in that described device is applied in the earphone, and described device includes:
First determining module, for determining the current operation mode of the earphone;
Receiving module, for receiving the first audio data of communication terminal under the current operation mode;
Sound acquisition module is acquired for the sound to external environment, generates second audio data;
First judgment module, for judging whether the current operation mode is call mode;
Second judgment module further judges second sound if being non-call mode for the current operation mode
Frequency according to whether be headset user audio data;
First control module controls the ear if stating the audio data that second audio data is headset user for described
Machine pause exports first audio data.
7. device according to claim 6, which is characterized in that further include:
Third judgment module, if being used for the current operation mode as song mode or video mode, and second sound
Whether frequency then further judges in the audio data of other users according to the audio data for being other users comprising default key
Word, wherein the predetermined keyword is pre-set according to the attribute information of the headset user;
First control module when being also used in the audio data for determining other users comprising predetermined keyword, controls institute
It states earphone pause and exports first audio data.
8. device according to claim 6, which is characterized in that further include:
4th judgment module, if for the current operation mode being the game mode of non real-time call, and second sound
Whether frequency then further judges in the audio data of other users according to the audio data for being other users comprising default key
Word, wherein the predetermined keyword is pre-set according to the attribute information of the headset user;
First control module when being also used in the audio data for determining other users comprising predetermined keyword, reduces institute
The volume of earphone is stated, and the earphone according to the volume control exports first audio data.
9. device according to claim 6, which is characterized in that further include:
Second control module, if being also used to the current operation mode as call mode, and the second audio data
It for the audio data of other users, then controls the earphone and exports first audio data, and control the earphone vibration.
10. according to the described in any item devices of claim 6-9, which is characterized in that the earphone includes left earphone and right earphone,
The left earphone and right earphone are provided with dual microphone MIC array, described device further include:
Second determining module, for when determining that the left earphone and right earphone are worn, according to described dual microphone MIC gusts
Column and the second audio data, determine the location information of sound source in external environment;
First control module, is specifically used for:
If it is determined that the location information then controls the left earphone pause and exports the first audio number close to the left earphone
According to;
If it is determined that the location information, which close to the right earphone, then controls the right earphone pause, exports the first audio number
According to.
11. a kind of earphone, which is characterized in that including memory, processor and store on a memory and can transport on a processor
Capable computer program, which is characterized in that the processor is realized when executing described program such as any one of claim 1-5 institute
The control method for the earphone stated.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The control method of earphone according to any one of claims 1 to 5 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910750945.8A CN110493678B (en) | 2019-08-14 | 2019-08-14 | Earphone control method and device, earphone and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910750945.8A CN110493678B (en) | 2019-08-14 | 2019-08-14 | Earphone control method and device, earphone and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110493678A true CN110493678A (en) | 2019-11-22 |
CN110493678B CN110493678B (en) | 2021-01-12 |
Family
ID=68551013
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910750945.8A Active CN110493678B (en) | 2019-08-14 | 2019-08-14 | Earphone control method and device, earphone and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110493678B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111050244A (en) * | 2019-12-11 | 2020-04-21 | 佳禾智能科技股份有限公司 | Method for monitoring ambient sound of earphone, electronic device and computer readable storage medium |
CN111464902A (en) * | 2020-03-31 | 2020-07-28 | 联想(北京)有限公司 | Information processing method, information processing device, earphone and storage medium |
CN111464905A (en) * | 2020-04-09 | 2020-07-28 | 电子科技大学 | Hearing enhancement method and system based on intelligent wearable device and wearable device |
CN111935583A (en) * | 2020-08-24 | 2020-11-13 | Oppo(重庆)智能科技有限公司 | Earphone mode control method, earphone mode control device, terminal equipment, earphone mode control system and storage medium |
CN112532787A (en) * | 2020-11-30 | 2021-03-19 | 努比亚技术有限公司 | Earphone audio data processing method, mobile terminal and computer readable storage medium |
CN113115164A (en) * | 2021-05-11 | 2021-07-13 | 深圳市美恩微电子有限公司 | Conversation bluetooth headset based on ANC falls and makes an uproar |
CN113553025A (en) * | 2021-09-18 | 2021-10-26 | 深圳市外星人创新电子有限公司 | Control method and system of Bluetooth headset based on game mode |
CN113559511A (en) * | 2021-07-26 | 2021-10-29 | 歌尔科技有限公司 | Control method, game device, computer program product, and readable storage medium |
CN113840205A (en) * | 2021-09-26 | 2021-12-24 | 东莞市猎声电子科技有限公司 | Earphone with conversation reminding function and implementation method |
CN115037831A (en) * | 2021-03-05 | 2022-09-09 | 深圳市万普拉斯科技有限公司 | Mode control method and device, electronic equipment and earphone |
CN117412216A (en) * | 2023-12-12 | 2024-01-16 | 深圳市雅乐电子有限公司 | Earphone, control method and control device thereof |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105225662A (en) * | 2015-08-24 | 2016-01-06 | 深圳市冠旭电子有限公司 | Smart bluetooth earphone plays method and the smart bluetooth earphone of external voice automatically |
CN105847566A (en) * | 2016-04-01 | 2016-08-10 | 乐视控股(北京)有限公司 | Mobile terminal audio volume adjusting method and device |
CN106604167A (en) * | 2016-11-21 | 2017-04-26 | 捷开通讯(深圳)有限公司 | Method for automatically adjusting output volume of left and right channel of earphone, and mobile terminal |
CN107564523A (en) * | 2017-09-28 | 2018-01-09 | 歌尔科技有限公司 | A kind of earphone receiving method, apparatus and earphone |
CN107799117A (en) * | 2017-10-18 | 2018-03-13 | 倬韵科技(深圳)有限公司 | Key message is identified to control the method, apparatus of audio output and audio frequency apparatus |
CN107948792A (en) * | 2017-12-07 | 2018-04-20 | 歌尔科技有限公司 | Left and right acoustic channels determine method and ear speaker device |
CN107995547A (en) * | 2017-11-29 | 2018-05-04 | 联想(北京)有限公司 | Headphone device and control method |
CN108540661A (en) * | 2018-03-30 | 2018-09-14 | 广东欧珀移动通信有限公司 | Signal processing method, device, terminal, earphone and readable storage medium storing program for executing |
CN108600907A (en) * | 2017-03-09 | 2018-09-28 | 奥迪康有限公司 | Method, hearing devices and the hearing system of localization of sound source |
CN108769884A (en) * | 2017-04-06 | 2018-11-06 | 奥迪康有限公司 | Ears level and/or gain estimator and hearing system including ears level and/or gain estimator |
CN108900951A (en) * | 2018-06-13 | 2018-11-27 | 歌尔股份有限公司 | Volume adjusting method, earphone and computer readable storage medium |
CN109151195A (en) * | 2018-08-17 | 2019-01-04 | 北海飞九天电子科技有限公司 | Opening control method and its control system are suspended based on the control of earphone distance change when one kind being based on road-work |
CN109348338A (en) * | 2018-11-01 | 2019-02-15 | 歌尔股份有限公司 | A kind of earphone and its playback method |
US20190182373A1 (en) * | 2017-12-12 | 2019-06-13 | Ronald Snagg | Wireless communication headset system |
CN110113688A (en) * | 2019-05-16 | 2019-08-09 | 潍坊歌尔电子有限公司 | Dynamic regulating method, device, wireless headset and the TWS earphone of earpiece volume |
-
2019
- 2019-08-14 CN CN201910750945.8A patent/CN110493678B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105225662A (en) * | 2015-08-24 | 2016-01-06 | 深圳市冠旭电子有限公司 | Smart bluetooth earphone plays method and the smart bluetooth earphone of external voice automatically |
CN105847566A (en) * | 2016-04-01 | 2016-08-10 | 乐视控股(北京)有限公司 | Mobile terminal audio volume adjusting method and device |
CN106604167A (en) * | 2016-11-21 | 2017-04-26 | 捷开通讯(深圳)有限公司 | Method for automatically adjusting output volume of left and right channel of earphone, and mobile terminal |
CN108600907A (en) * | 2017-03-09 | 2018-09-28 | 奥迪康有限公司 | Method, hearing devices and the hearing system of localization of sound source |
CN108769884A (en) * | 2017-04-06 | 2018-11-06 | 奥迪康有限公司 | Ears level and/or gain estimator and hearing system including ears level and/or gain estimator |
CN107564523A (en) * | 2017-09-28 | 2018-01-09 | 歌尔科技有限公司 | A kind of earphone receiving method, apparatus and earphone |
CN107799117A (en) * | 2017-10-18 | 2018-03-13 | 倬韵科技(深圳)有限公司 | Key message is identified to control the method, apparatus of audio output and audio frequency apparatus |
CN107995547A (en) * | 2017-11-29 | 2018-05-04 | 联想(北京)有限公司 | Headphone device and control method |
CN107948792A (en) * | 2017-12-07 | 2018-04-20 | 歌尔科技有限公司 | Left and right acoustic channels determine method and ear speaker device |
US20190182373A1 (en) * | 2017-12-12 | 2019-06-13 | Ronald Snagg | Wireless communication headset system |
CN108540661A (en) * | 2018-03-30 | 2018-09-14 | 广东欧珀移动通信有限公司 | Signal processing method, device, terminal, earphone and readable storage medium storing program for executing |
CN108900951A (en) * | 2018-06-13 | 2018-11-27 | 歌尔股份有限公司 | Volume adjusting method, earphone and computer readable storage medium |
CN109151195A (en) * | 2018-08-17 | 2019-01-04 | 北海飞九天电子科技有限公司 | Opening control method and its control system are suspended based on the control of earphone distance change when one kind being based on road-work |
CN109348338A (en) * | 2018-11-01 | 2019-02-15 | 歌尔股份有限公司 | A kind of earphone and its playback method |
CN110113688A (en) * | 2019-05-16 | 2019-08-09 | 潍坊歌尔电子有限公司 | Dynamic regulating method, device, wireless headset and the TWS earphone of earpiece volume |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111050244A (en) * | 2019-12-11 | 2020-04-21 | 佳禾智能科技股份有限公司 | Method for monitoring ambient sound of earphone, electronic device and computer readable storage medium |
CN111464902A (en) * | 2020-03-31 | 2020-07-28 | 联想(北京)有限公司 | Information processing method, information processing device, earphone and storage medium |
CN111464905A (en) * | 2020-04-09 | 2020-07-28 | 电子科技大学 | Hearing enhancement method and system based on intelligent wearable device and wearable device |
CN111935583A (en) * | 2020-08-24 | 2020-11-13 | Oppo(重庆)智能科技有限公司 | Earphone mode control method, earphone mode control device, terminal equipment, earphone mode control system and storage medium |
CN112532787B (en) * | 2020-11-30 | 2022-08-09 | 宜宾市天珑通讯有限公司 | Earphone audio data processing method, mobile terminal and computer readable storage medium |
CN112532787A (en) * | 2020-11-30 | 2021-03-19 | 努比亚技术有限公司 | Earphone audio data processing method, mobile terminal and computer readable storage medium |
CN115037831A (en) * | 2021-03-05 | 2022-09-09 | 深圳市万普拉斯科技有限公司 | Mode control method and device, electronic equipment and earphone |
CN113115164A (en) * | 2021-05-11 | 2021-07-13 | 深圳市美恩微电子有限公司 | Conversation bluetooth headset based on ANC falls and makes an uproar |
CN113559511A (en) * | 2021-07-26 | 2021-10-29 | 歌尔科技有限公司 | Control method, game device, computer program product, and readable storage medium |
CN113553025A (en) * | 2021-09-18 | 2021-10-26 | 深圳市外星人创新电子有限公司 | Control method and system of Bluetooth headset based on game mode |
CN113553025B (en) * | 2021-09-18 | 2021-12-10 | 深圳市外星人创新电子有限公司 | Control method and system of Bluetooth headset based on game mode |
CN113840205A (en) * | 2021-09-26 | 2021-12-24 | 东莞市猎声电子科技有限公司 | Earphone with conversation reminding function and implementation method |
CN117412216A (en) * | 2023-12-12 | 2024-01-16 | 深圳市雅乐电子有限公司 | Earphone, control method and control device thereof |
Also Published As
Publication number | Publication date |
---|---|
CN110493678B (en) | 2021-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110493678A (en) | The control method and device of earphone | |
JP2023101519A (en) | Operational change of companion communication device on the basis of state of wearable device | |
CN107978316A (en) | The method and device of control terminal | |
CN106797508B (en) | For improving the method and earphone of sound quality | |
WO2017192365A1 (en) | Headset, an apparatus and a method with automatic selective voice pass-through | |
CN107708009A (en) | Operating method, device, wireless headset and the storage medium of wireless headset | |
CN105848037A (en) | Headset and terminal device controlling method | |
CN109429132A (en) | Earphone system | |
US11445285B2 (en) | Interactive control method and device of an earphone case, earphone case and storage medium | |
CN106921803A (en) | The player method and control device of multi-medium data | |
CN105260159B (en) | A kind of audio frequency playing method and device | |
CN109618052A (en) | A kind of call audio switching method and device, mobile terminal and readable storage medium storing program for executing | |
CN105827793B (en) | A kind of speech-oriented output method and mobile terminal | |
CN107197098A (en) | A kind of call control method and electronic equipment | |
JP2015007836A (en) | Information processing device and information processing program | |
CN105706427B (en) | The method and apparatus of the audio-frequency information of environment sonication are provided | |
CN108549529A (en) | Control the method and device of audio output | |
CN108900951A (en) | Volume adjusting method, earphone and computer readable storage medium | |
CN106161801A (en) | The In Call control method of a kind of mobile terminal and device | |
CN109639908A (en) | A kind of bluetooth headset, anti-eavesdrop method, apparatus, equipment and medium | |
CN104023117A (en) | Method for information processing and electronic equipment | |
CN106788540B (en) | A kind of the play mode method for handover control and wearable device of wearable device | |
WO2013170802A1 (en) | Method and device for improving call voice quality of mobile terminal | |
CN106210247A (en) | Terminal control method and device | |
WO2018035868A1 (en) | Method for outputting audio, electronic device, and 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |