CN109151647A - Interaction control method, device, Earphone box and the storage medium of Earphone box - Google Patents
Interaction control method, device, Earphone box and the storage medium of Earphone box Download PDFInfo
- Publication number
- CN109151647A CN109151647A CN201811271607.8A CN201811271607A CN109151647A CN 109151647 A CN109151647 A CN 109151647A CN 201811271607 A CN201811271607 A CN 201811271607A CN 109151647 A CN109151647 A CN 109151647A
- Authority
- CN
- China
- Prior art keywords
- earphone
- order information
- mobile terminal
- instruction
- function
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2201/00—Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
- H04R2201/10—Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
Abstract
The invention discloses the interaction control method of Earphone box, device, Earphone boxs, Earphone box includes the first accommodating cavity and the second accommodating cavity, and method includes: to obtain the first earphone and/or the second earphone to be put into order information from the successive taking-up order information of the first accommodating cavity and/or the second accommodating cavity or successively;According to the successive default corresponding relationship for taking out order information or be successively put between order information and mobile terminal or the function command of earphone, determines corresponding mobile terminal function instruction or determine corresponding ear-phone function instruction;Send mobile terminal function instruct make mobile terminal execution to mobile terminal after realize with the interactive function of earphone, or send ear-phone function and instruct to earphone the interactive function for realizing Earphone box and earphone.Technical solution of the present invention enriches the interactive controlling mode of human-computer interaction and mobile terminal and earphone, improves the intelligence degree of Earphone box, improves user experience.
Description
Technical field
The present invention relates to technical field of intelligent equipment, and in particular to the interaction control method of Earphone box, device, Earphone box with
And storage medium.
Background technique
With the rapid development of artificial intelligence, the function that smart machine can be realized is more and more, and user realizes function
Requirement it is also higher and higher.For example, existing wireless headset can generate human-computer interaction, but this friendship with mobile phone, Earphone box etc.
Mutual control process is more complicated, and user experience is urgently to be further improved.
Summary of the invention
The present invention provides a kind of interaction control method of Earphone box, device, Earphone box and storage mediums, enrich ear
The interactive controlling mode of machine box improves the intelligence degree that Earphone box is interacted with earphone, earphone with mobile terminal, improves use
Family experience.
According to the one aspect of the application, a kind of interaction control method of Earphone box is provided, the Earphone box includes using
In the first accommodating cavity and the second accommodating cavity for accommodating the second earphone that accommodate the first earphone, which comprises
First earphone and/or second earphone are obtained from first accommodating cavity and/or second accommodating cavity
Successive taking-up order information or be successively put into order information;
According to the successive taking-up order information or the function of being successively put into order information and mobile terminal or earphone
Default corresponding relationship between instruction, it is determining with the successive taking-up order information or described successive to be put into order information corresponding
Mobile terminal function instruction determining with the successive taking-up order information or described successive is put into the corresponding earphone of order information
Function command;
The mobile terminal function is sent to instruct to mobile terminal so that mobile terminal described in the mobile terminal execution
Function command realizes the interactive function with the earphone, or sends the ear-phone function and instruct to earphone, to realize the earphone
The interactive function of box and the earphone.
According to further aspect of the application, a kind of interaction control device of Earphone box is provided, the Earphone box includes
The second accommodating cavity for accommodating the first accommodating cavity of the first earphone and for accommodating the second earphone, device include:
Module is obtained, for obtaining first earphone and/or second earphone from first accommodating cavity and/or institute
It states the successive taking-up order information of the second accommodating cavity or is successively put into order information;
Determining module is instructed, for according to successive the taking-ups order information or the successive order information and movement of being put into
Default corresponding relationship between terminal or the function command of earphone, it is determining described to put with the successive taking-up order information or successively
Enter the corresponding mobile terminal function instruction of order information or believes with the successive taking-up order information or the order that is successively put into
Cease corresponding ear-phone function instruction;
Control module is instructed to mobile terminal for sending the mobile terminal function so that the mobile terminal execution
The interactive function with the earphone is realized in the mobile terminal function instruction, or is sent the ear-phone function and instructed to earphone, with
Realize the interactive function of the Earphone box Yu the earphone.
According to the another aspect of the application, a kind of Earphone box is provided, is held including first for accommodating the first earphone
Chamber and the second accommodating cavity for accommodating the second earphone are set, detection sensing is provided on the first accommodating cavity and the second accommodating cavity
Device, detection sensor connect processor;
The detection sensor, for first earphone and/or second earphone from first accommodating cavity and/or
The successive taking-up order information of second accommodating cavity is successively put into order information and exports to processor;
The processor, for according to the successive taking-up order information or it is described be successively put into order information and it is mobile eventually
Default corresponding relationship between end or the function command of earphone, it is determining described to be put into the successive taking-up order information or successively
The instruction of order information corresponding mobile terminal function or with successive the taking-ups order information or described successive be put into order information
Corresponding ear-phone function instruction;
Communication module is instructed to mobile terminal for sending the mobile terminal function so that the mobile terminal execution
The interactive function with the earphone is realized in the mobile terminal function instruction, or is sent the ear-phone function and instructed to earphone, with
Realize the interactive function of the Earphone box Yu the earphone.
According to another aspect of the application, a kind of computer readable storage medium is provided, computer is stored thereon with
Program, which realizes the application one aspect method when being executed by processor.
According to the another aspect of the application, a kind of interaction control method of earphone, the earphone and the application are provided
The Earphone box of one aspect is mating, and the interaction control method of the earphone is applied to earphone, comprising:
Obtain first earphone and/or second earphone the first accommodating cavity and/or the ear from the Earphone box
The successive taking-up order information of second accommodating cavity of machine box is successively put into order information;
According to the successive taking-up order information or the function for being successively put into order information and mobile terminal or Earphone box
Can default corresponding relationship between instruction, it is determining with the successive taking-up order information or described successive to be put into order information corresponding
Mobile terminal function instruction or determining with the successive taking-up order information or described successive be put into the corresponding ear of order information
The instruction of machine kit function;
The mobile terminal function is sent to instruct to mobile terminal so that mobile terminal described in the mobile terminal execution
Function command realizes the interactive function with the earphone, or sends the Earphone box function command to Earphone box, described in realizing
The interactive function of Earphone box and the earphone.
Beneficial effect, interaction control method, the device of the Earphone box of the embodiment of the present invention, by obtain the first earphone and/
Or second earphone order information, root are put into from the successive taking-up order information of the first accommodating cavity and/or the second accommodating cavity or successively
It takes out order information according to successive or is successively put into default corresponding between order information and mobile terminal or the function command of earphone
Relationship, it is determining with successively take out order information or be successively put into the corresponding mobile terminal function instruction of order information or determine with it is first
Order information is taken out afterwards or is successively put into the corresponding ear-phone function instruction of order information;Mobile terminal function is sent to instruct to movement
Terminal is so that the interactive function with earphone is realized in the instruction of mobile terminal execution mobile terminal function, or sends ear-phone function instruction
To earphone, to realize the interactive function of Earphone box and earphone.It follows that user only needs when picking and placing earphone, according to difference
Order can be realized to be controlled by Earphone box and interacted between earphone and the interaction or Earphone box and earphone of mobile terminal, enrich
The function of Earphone box improves the intelligence and facilitation of interactive controlling, improves user experience.
Detailed description of the invention
Fig. 1 is the flow diagram of the interaction control method of the Earphone box of the application one embodiment;
Fig. 2 is that the earphone of the application one embodiment takes out and the functional schematic of corresponding control one after another from Earphone box;
Fig. 3 is that the earphone of the application another embodiment takes out and the functional schematic of corresponding control one after another from Earphone box;
Fig. 4 is the block diagram of the interaction control device of the Earphone box of the application one embodiment;
Fig. 5 is the block diagram of the Earphone box of the application one embodiment;
Fig. 6 is the block diagram of the computer storage medium of the application one embodiment.
Specific embodiment
To keep the above objects, features and advantages of the present invention more obvious and easy to understand, with reference to the accompanying drawing and specific embodiment party
The present invention is described in further detail for formula.Obviously, described embodiments are some of the embodiments of the present invention, rather than complete
The embodiment in portion.Based on the embodiments of the present invention, those of ordinary skill in the art are without making creative work
Every other embodiment obtained, shall fall within the protection scope of the present invention.
Fig. 1 is the flow diagram of the interaction control method of the Earphone box of the application one embodiment, the ear of the present embodiment
Machine box includes the first accommodating cavity for accommodating the first earphone and the second accommodating cavity for accommodating the second earphone, referring to Fig. 1, side
Method includes the following steps:
Step S101 obtains first earphone and/or second earphone from first accommodating cavity and/or described the
The successive taking-up order information of two accommodating cavities is successively put into order information;
Step S102 according to the successive taking-up order information or described is successively put into order information and mobile terminal or ear
Default corresponding relationship between the function command of machine, it is determining to believe with the successive taking-up order information or the order that is successively put into
It ceases the instruction of corresponding mobile terminal function or determining with successive the taking-ups order information or described successive is put into order information pair
The ear-phone function instruction answered;
Step 103, the mobile terminal function is sent to instruct to mobile terminal so that described in the mobile terminal execution
The interactive function with the earphone is realized in mobile terminal function instruction, or is sent the ear-phone function and instructed to earphone, to realize
The interactive function of the Earphone box and the earphone.
As shown in Figure 1 it is found that the interaction control method of the Earphone box of the present embodiment, obtains the first earphone and/or the second ear
Machine is put into order information from the successive taking-up order information of the first accommodating cavity and/or the second accommodating cavity or successively, according to successively taking
Order information or it is successively put into order information out, determines corresponding mobile terminal function instruction or determines that corresponding ear-phone function refers to
It enables, the friendship of Earphone box and earphone, earphone and mobile terminal is realized based on mobile terminal function instruction or ear-phone function instruction, control
Mutual function to enrich the interactive controlling mode of Earphone box, and simplifies interactive process, so that interaction is more convenient, intuitive,
Improve user experience.
In one embodiment of the invention, first earphone and/or second earphone is obtained to hold from described first
Setting the successive taking-up order information of chamber and/or second accommodating cavity or being successively put into order information includes: to obtain primary pick and place
It is removed or placed into corresponding earphone mark in the process, determines first earphone from first accommodating according to earphone mark
Chamber successively takes out order information or is successively put into order information;Alternatively, second earphone successively takes from second accommodating cavity
Order information or successively it is put into order information out;Alternatively, first earphone is from first accommodating cavity and second earphone
From the successive taking-up order information of second accommodating cavity or successively it is put into order information.
In general, earphone all uses in pairs, that is to say, that user usually can use the simultaneously when using earphone
First earphone and the second earphone are worn in the ear canal of left and right respectively and listen to sound by one earphone and the second earphone.Correspondingly, ear
The state of two accommodating cavities of machine box is blank state, but in view of in actual conditions, it is understood that there may be uses single earphone
Situation, for example the first earphone is used only without the use of the second earphone, then, at this point, the first accommodating for accommodating the first earphone
Chamber is blank state, and the second accommodating cavity for accommodating the second earphone is accommodating state (that is, state that earphone is placed in it).
Three kinds of situations are determined by being removed or placed into corresponding earphone mark in fetching process of acquisition in embodiments herein
Lower first earphone and/or the second earphone are put from the successive taking-up order information of the first accommodating cavity and/or the second accommodating cavity or successively
Enter order information, i.e. (1) first earphone successively takes out order information from the first accommodating cavity or is successively put into order information;(2)
Two earphones successively take out order information from the second accommodating cavity or are successively put into order information;(3) first earphones and the second earphone are certainly
The successive taking-up order information of first accommodating cavity and the second accommodating cavity is successively put into order information.
It should be noted that successive taking-up order information here includes: in user first by the first earphone from described first
When accommodating cavity taking-up then takes out second earphone from second accommodating cavity, time of the taking-up converted electrical number got
Sequence information;Successively being put into order information includes: that first earphone is first put into first accommodating cavity then for institute in user
When stating the second earphone and being put into second accommodating cavity, what is got is put into the order information of converted electrical number.
Specifically, the order information of the taking-up converted electrical number got includes: by first earphone in user from institute
It states the first accommodating cavity to take out or by second earphone from after second accommodating cavity taking-up, the first accommodating cavity of acquisition or second
Accommodating cavity corresponding taking-up converted electrical number when being converted to blank state by accommodating state;What is got is put into converted electrical number
Order information includes: that first earphone is put into first accommodating cavity in user or second earphone is put into described
After two accommodating cavities, the first accommodating cavity of acquisition or second accommodating cavity are corresponding when being converted to accommodating state by blank state to be put
Enter converted electrical number.
In one embodiment of the invention, detection sensing is provided in the first accommodating cavity and the second accommodating cavity of Earphone box
Device is based on this, obtains the first earphone and believes from the first accommodating cavity and the second earphone from the successive taking-up order of second accommodating cavity
Breath includes: that the first detection sensor response user obtained on the first accommodating cavity takes out first earphone from the first accommodating cavity
The first taking-up converted electrical number that pressure value variation afterwards generates;The the second detection sensor response obtained on the second accommodating cavity is used
The second taking-up converted electrical number that family generates second earphone from the pressure value variation after the taking-up of the second accommodating cavity;Wherein,
The resistance value of first detection sensor built-in resistor is different from the resistance value of the second detection sensor built-in resistor, and first taking-up turns
Electric signal is changed to be acquired prior to the second taking-up converted electrical number.
First earphone is obtained from first accommodating cavity and second earphone from the successive of second accommodating cavity
Being put into order information includes: that first earphone is put into the by the first detection sensor response user obtained on the first accommodating cavity
First of pressure value variation generation after one accommodating cavity is put into converted electrical number;Obtain the second detection on second accommodating cavity
Second earphone is put into the variation of the pressure value after the second accommodating cavity generates second and is put into conversion electricity by sensor response user
Signal;Wherein, the resistance value of the first detection sensor built-in resistor is different from the resistance value of the second detection sensor built-in resistor, described
First, which is put into converted electrical number, is put into converted electrical number prior to described second and is acquired.
Detection sensor on Earphone box accommodating cavity can identify the state of current accommodating cavity, for example, be blank state or
Accommodating state, and can obtain once to wear or win and wear or win in the process corresponding earphone mark, for example, according to logical
It crosses the first current information of the first detection sensor built-in resistor, determines corresponding with first current information described the
The earphone of one earphone identifies;According to the second current information by the second detection sensor built-in resistor, it is determining with it is described
The earphone of corresponding second earphone of second current information identifies.
Since in reality, that is, while using the case where the first earphone and the second earphone the third aforementioned situation is most of
The use habit of people is preferentially (3) first earphones and the second earphone from the first accommodating to the information got in following embodiment
The successive taking-up order information of chamber and the second accommodating cavity is successively put into order information and is illustrated.
Referring to fig. 2, the first earphone is left earphone, and the second earphone is right earphone;It obtains left earphone and the successive of right earphone takes
Order information out, it is determining and first according to the default corresponding relationship successively taken out between order information and mobile terminal function instruction
The corresponding first movement terminal function instruction of order information is taken out afterwards;The instruction of first movement terminal function includes that following function instructs
At least one of: instruction mobile terminal and earphone establish the function command being wirelessly connected, and music in mobile terminal is opened in instruction
The function command of application, and instruction play the function command of music by earphone.
As shown in Fig. 2, when user first takes out left earphone (solid arrow expression is being taken out) from accommodating cavity, it then will be right
When the self-corresponding accommodating cavity of earphone takes out (dotted arrow expression has been taken out), Earphone box detects that this successively takes out order letter
Breath, and the default corresponding relationship of the function command according to the successive taking-up order and mobile terminal of storage search and determine the
The instruction of one mobile terminal function, the instruction of first movement terminal function is sent to mobile terminal by Earphone box, for mobile terminal execution
To realize the interaction between mobile terminal and earphone.Referring to fig. 2, mobile terminal takes the mobile phone as an example and is illustrated in the present embodiment
Property explanation, but not limited to this, and mobile terminal can also be PC machine or IPAD etc..
For a user, it when user takes out earphone in order from the accommodating cavity of Earphone box, will be controlled by Earphone box
Music application on mobile phone open mobile phone, and music homepage is opened, referring to fig. 2, Chang Tingyin is shown in music homepage
The projects such as happy list, music assorting library, network music storehouse and broadcasting setting.Also, Earphone box is sent in the function command of mobile phone
It further include the instruction that mobile phone and earphone (earphone is Bluetooth wireless earphone in the present embodiment) establish pairing connection, in this way, mobile phone can
It is established according to instruction with earphone and is wirelessly connected and the music on mobile phone is played by earphone.
It can be seen from the above, the interaction control method of the Earphone box of the embodiment of the present invention, user is obtained first by left earphone from right
The operation taken out in accommodating cavity and then take out right earphone from corresponding accommodating cavity is answered, and assigns this operation of user to control
Function controls the music application on mobile phone open mobile phone, to enrich for example, control mobile phone and wireless headset establish connection
The interactive controlling mode of Earphone box, improves the intelligence degree of Earphone box, and improves user and Earphone box, Earphone box and hand
Interactive process between machine, mobile phone and earphone, improves user experience and satisfaction.
Referring to Fig. 3, in another embodiment of the present invention, the first earphone can also be right earphone, and the second earphone may be used also
Think left earphone.The successive taking-up order information for obtaining right earphone and left earphone takes out order information and movement eventually according to successive
The default corresponding relationship between function command is held, determining the second mobile terminal function corresponding with successive taking-up order information refers to
It enables;The instruction of second mobile terminal function includes at least one of following function instruction: instruction mobile terminal opens call mode
Function command, instruction mobile terminal open dialing interface receive user input telephone number function command, or instruction
The function command that mobile terminal is sent a telegram here by earphone receiving.
As shown in figure 3, when user takes out right earphone from accommodating cavity and continues to take out left earphone from accommodating cavity,
Earphone box detects this right earphone formerly posterior successive taking-up order information of left earphone, and is successively taken according to this detected
Order information out, the preset successive corresponding relationship for taking out order information and the instruction of the second mobile terminal function, searches and determines
The second mobile terminal function instructs out.The instruction of second mobile terminal function is sent to mobile terminal (such as mobile phone), hand by Earphone box
Machine executes after receiving the instruction of the second mobile terminal function, so that the interaction of mobile phone and earphone is realized, for example, opening the logical of mobile phone
Words mode, cell phone display include the dialing interface of dial, by earphone receiving phone or are made a phone call.Pass through with traditional
Earphone takes mobile portable phone and compares, and simplifies the operations such as the dial for opening mobile phone manually after wearing upper earphone, realizes
By from Earphone box take out left and right earphone wear when precedence can be automatically controled recall handset dial or automatically by
The beneficial effect of earphone receiving phone, meets user demand.
Similar with above-mentioned taking-up process, the case where for earphone is put into Earphone box accommodating cavity, the embodiment of the present invention is proposed
When the first earphone is left earphone, and the second earphone is right earphone, obtains the left earphone and being successively put into for the right earphone is secondary
Sequence information, according to the default corresponding relationship being successively put between order information and mobile terminal function instruction, determining and institute
It states and is successively put into the corresponding third mobile terminal function instruction of order information;The third mobile terminal function instruction includes following
At least one of function command: the function command of music application in instruction pause mobile terminal, or instruction turning-off mobile terminal
The function command of middle music application, or instruction play the function command of music by loudspeaker in mobile terminal, indicate mobile terminal
Disconnect the function command with the wireless connection of earphone.
That is, right earphone is then put into earphone when the correspondence accommodating cavity that left earphone is first put into Earphone box by user
When in the correspondence accommodating cavity of box, Earphone box detects that this is successively put into order information control earphone and executes third mobile terminal function
It can instruct and realize preset function, for example, suspending music application in mobile terminal, music application in turning-off mobile terminal passes through shifting
Loudspeaker play music in dynamic terminal, disconnect mobile phone and the wireless connection of earphone etc..
Likewise, when the second earphone is left earphone, acquisition right earphone is successive with left earphone when the first earphone is right earphone
It is put into order information, according to the default corresponding relationship being successively put between order information and mobile terminal function instruction, really
It is fixed to be successively put into the corresponding 4th mobile terminal function instruction of order information with described;The 4th mobile terminal function instruction packet
Include at least one of following function instruction: instruction is played the function command of call voice by loudspeaker in mobile terminal, and instruction moves
Dynamic terminal disconnects the function command with the wireless connection of earphone, or the function command that instruction mobile terminal is hung up the telephone.
In practical application, when right earphone is first put into the second accommodating cavity of Earphone box by user, left earphone is then put into ear
When the first accommodating cavity of machine box, Earphone box detects that this is successively put into order, according to successively order is put into, determines that the 4th is mobile
Terminal function instruction is sent to mobile phone execution, is realized and the interaction of earphone, the 4th mobile terminal function here with controlling mobile phone
Instruction includes: the function command that call voice is played by loudspeaker in mobile terminal, alternatively, mobile terminal disconnect it is wireless with earphone
The function command of connection, then alternatively, the function command that mobile terminal is hung up the telephone.
The intelligence degree for substantially increasing the interactive controlling of Earphone box and mobile phone as a result, meets user demand, is promoted
The competitiveness of product.
In the present embodiment, for method the case where using single earphone further include: when only instruction has the first ear to earphone mark
When the information of machine, taking-up information when taking out according to the first earphone from first accommodating cavity or it is put into first accommodating cavity
It is put into information when middle, and the default corresponding relationship for taking out information or being put between information and mobile terminal function instruction, really
Fixed the 5th mobile terminal function corresponding with the taking-up information instructs or is put into corresponding 6th mobile terminal of information with described
Function command;The 5th mobile terminal function instruction or the 6th function command are sent to mobile terminal, so that described
The instruction of 5th mobile terminal function described in mobile terminal execution or the 6th mobile terminal function instruction are realized and the earphone
The 5th interactive function or the 6th interactive function.
When concrete application, if the first earphone is used only without the use of the second earphone in user, the earphone of the present embodiment
Box determines that the first earphone is left earphone or right earphone according to the earphone of acquisition mark, and (or right according to the left earphone of storage
Earphone) information individually taken out and cell-phone function instruction default corresponding relationship, determine that the 5th mobile terminal function instructs;Or
Person is placed individually into information according to left earphone (or right earphone), determines corresponding 6th mobile terminal function instruction, will determine
The 5th mobile terminal function instruction or the 6th mobile terminal function instruction be sent to mobile phone execution, thus control mobile phone realization
With the interaction of earphone.
For example, in one embodiment, the first earphone is left earphone, whole according to the taking-up information of left earphone and movement
The default corresponding relationship between function command is held, determines that the 5th mobile terminal function corresponding with information is taken out instructs, the 5th moves
Dynamic terminal function instruction includes at least one of following function instruction: instruction establishes the function command being wirelessly connected with earphone,
Indicate that the function command of music application in opening mobile terminal, and instruction open user in music application and often listen to music played column
Table simultaneously carries out the function command that music is played by earphone.
Alternatively, the first earphone is left earphone, it is pre- between information and mobile terminal function instruction according to being put into for left earphone
It is determining to be put into the corresponding 6th mobile terminal function instruction of information, the 6th mobile terminal function with described if corresponding relationship
Instruction includes at least one of following function instruction: the function command of music application, instruction are closed in instruction pause mobile terminal
The function command of music application in mobile terminal is closed, instruction plays the function command of music, instruction by loudspeaker in mobile terminal
Disconnect the function command with the wireless connection of earphone.
In another embodiment of the present invention, the first earphone is right earphone, according to the taking-up information of right earphone and movement
Default corresponding relationship between terminal function instruction determines the 5th mobile terminal function instruction corresponding with the taking-up information,
The 5th mobile terminal function instruction includes at least one of following function instruction: instruction mobile terminal opens call mode
Function command, instruction mobile terminal open dialing interface receive user input telephone number function command, or instruction
The function command that mobile terminal is sent a telegram here by earphone receiving.Alternatively, the first earphone is right earphone, information is put into according to right earphone
It is determining to be put into corresponding 6th mobile terminal function of information with described with the default corresponding relationship between mobile terminal function instruction
Instruction, the 6th mobile terminal function instruction includes at least one of following function instruction: instruction is by loudspeaker in mobile terminal
The function command of broadcasting call voice, instruction disconnect the function command connecting with earphone, or instruction mobile terminal hangs up electricity
The function command of words.
It is explained above the interactive controlling side of the Earphone box of the embodiment of the present invention, method is based on the first earphone and/or described the
Two earphones from the successive taking-up order information of the first accommodating cavity of the Earphone box and/or the second accommodating cavity of the Earphone box or
It is successively put between order information control mobile terminal (such as mobile phone) and earphone and interacts.In addition to this, the embodiment of the present invention
The interaction control method of Earphone box is also based on the first earphone and/or the second earphone and accommodates from the first accommodating cavity and/or second
The successive taking-up order information of chamber or the interaction being successively put between order information control Earphone box and earphone.
In specific one embodiment, the first earphone is left earphone, and the second earphone is right earphone;Obtain the left earphone with
The successive taking-up order information of the right earphone, according to default between the successive taking-up order information and ear-phone function instruction
Corresponding relationship, determining the first ear-phone function instruction corresponding with the successive taking-up order information;First ear-phone function refers to
Enable includes the function command of instruction earphone charge closing mode or the instruction for indicating earphone unlatching pairing connection request.
Alternatively, first earphone is right earphone, second earphone is left earphone;Obtain the right earphone and the left side
The successive taking-up order information of earphone, according to the successive default corresponding pass taken out between order information and ear-phone function instruction
System, determining the second ear-phone function instruction corresponding with the successive taking-up order information;Second ear-phone function instructs
Indicate that earphone enters the function command of standby play mode.
It should be noted that being provided with charging module in the Earphone box of the embodiment of the present invention, on this basis, work as Earphone box
When getting successive taking-up order (behind the i.e. left first right side) information of left and right earphone by the detection sensor in accommodating cavity, Earphone box
Charging module inside control stops working and sends the first function command at the same time to earphone, controls earphone and closes earphone
Charge mode.Moreover, Earphone box can also send the first function command to earphone, control earphone open pairing connection request with
External mobile terminal is matched.The elder generation of right left earphone is got by the detection sensor in accommodating cavity when Earphone box is detected
When taking out order (i.e. right elder generation is left back) information afterwards, Earphone box sends the second function command to earphone, controls earphone and enters to machine sowing
Mode playback prepares to play sound.
Similar, in another embodiment, the first earphone is left earphone, and the second earphone is right earphone;Earphone box obtains
Left earphone and the successive of right earphone are put into order information, default between order information and ear-phone function instruction according to being successively put into
Corresponding relationship, determining third earphone function command corresponding with order information is successively put into;The third earphone function command packet
Include at least one of following function instruction: instruction earphone disconnects the function command connecting with mobile terminal, and instruction earphone stopping is broadcast
The function command of sound reproduction sound, instruction earphone enter the function command of low-power consumption mode.
Or in one embodiment, the first earphone is right earphone, and the second earphone is left earphone;Obtain the right earphone and institute
That states left earphone is successively put into order information, according to default pair be successively put between order information and ear-phone function instruction
It should be related to, it is determining to be successively put into the corresponding 4th ear-phone function instruction of order information with described;The 4th ear-phone function instruction
Enter the function command of charge mode including instruction earphone.
That is, sending third ear when being successively put into information (that is, behind left first right side) when Earphone box detection left and right earphone
Machine function command is executed to earphone, realizes that earphone disconnection is connect with mobile terminal, and earphone stops playing sound, and earphone enters low function
The effect of consumption mode.When Earphone box detects the 4th earphone function of transmission when being successively put into information (that is, right elder generation is left back) of right left earphone
It can instruct and be executed to earphone, realize that earphone enters the effect of charge mode.
The realization step of the interaction control method of above-mentioned Earphone box is illustrated with a specific application scenarios below.
Hardware includes: Earphone box in the application scenarios, the mating double wireless headsets that can be placed in Earphone box, ear
Whether built-in detector picks and places in the earphone accommodating cavity of Earphone box for test earphone in the earphone accommodating cavity of machine box.Detector
The different pressure sensor of resistance value can be used for example, after left and right earphone is placed in accommodating cavity, the pressure of generation is different.It is left
Right earphone is assigned different marks, for example left earphone is 1, right earphone 2.
Specifically, by taking left earphone as an example.After left earphone is put into, the pressure sensor in left earphone accommodating cavity exports electricity
The conversion of signal 0-1;When left earphone is removed, pressure sensor exports the conversion of electric signal 1-0.It is put into earphone pressure sensing
Device detects 1 value;Earphone is taken out, pressure sensor detects 0 value.Moreover, the conversion of pressure sensor record value when
Between, if the time at the appointed time, illustrates that state change has occurred in accommodating cavity.It is emphasized that pressure sensor
Output is the conversion of 0-1 or the conversion of 1-0, not exports fixed value (such as 0,1) but exports a kind of variation of value.Pass through
The conversion of output signal improves the accuracy of state-detection, guarantees that interactive controlling is correctly realized.
For right earphone, it is also equipped with pressure sensor on the accommodating cavity for accommodating right earphone, due to the pressure sensing
Device is different from the resistance value of pressure sensor on the accommodating cavity for accommodating left earphone, then the current value flowed through must not yet
Together, it is based on this, can be the state of which earphone according to the size discrimination of current value.The electric signal exported with above-mentioned left earphone is not
Together, after right earphone is put into, the conversion of the pressure sensor output electric signal 0-2 on right earphone accommodating cavity;When right earphone quilt
It takes out, pressure sensor exports the conversion of electric signal 2-0.
By pre-defined, the conversion of the first detection sensor output 1-0 or 0-1 in left earphone accommodating cavity, right earphone
The conversion of the second detection sensor output 2-0 or 0-2 on accommodating cavity.Pass through the combination of these four conversion signals in preset time
And output, indicate corresponding state.For example, the first detection sensor exports 0-1 conversion, and the second detection sensor in 5 seconds
Export 0-2 conversion, indicate user and be first put into left earphone, after be put into right earphone.When the first detection sensor exports 1- in 5 seconds
0 conversion, and the output 2-0 conversion of the second detection sensor, indicate user and first take out left earphone, take out right earphone afterwards.
In the application scenarios, Earphone box may be implemented to charge and interact with the cooperation of earphone or mobile phone.Specifically, working as
User is first put into left earphone in Earphone box, after be put into right earphone, realize that Earphone box sends instruction to mobile phone, earphone, control is closed
The music of mobile phone is closed, while cutting off the wireless connection of mobile phone and earphone, left and right earphone enters battery saving mode.When user is toward ear
First be put into right earphone in machine box, after be put into left earphone, realize that Earphone box sends instruction to mobile phone, earphone, mobile phone loudspeaker is opened in control
Continue to play music, while cutting off the wireless connection of mobile phone and earphone, left and right earphone enters battery saving mode.
When user first takes out left earphone out of Earphone box, right earphone is taken out afterwards, realizes that Earphone box refers to mobile phone, earphone transmission
It enables, controls mobile phone open music playback function, control left and right earphone connects mobile phone, carries out music.When user is from Earphone box
Right earphone is inside first taken out, takes out left earphone afterwards, realizes that control Earphone box sends instruction to mobile phone, earphone, control mobile phone open is logical
Words mode, left and right earphone connect mobile phone, carry out call broadcasting.
An inventive concept is belonged to the interaction control method of above-mentioned Earphone box, the embodiment of the present invention also provides Earphone box
Interaction control device, referring to fig. 4, Earphone box include the first accommodating cavity for accommodating the first earphone and for accommodating the second earphone
The second accommodating cavity, the interaction control device 400 of Earphone box includes:
Obtain module 401, for obtain first earphone and/or second earphone from first accommodating cavity and/
Second accommodating cavity successive taking-up order information or be successively put into order information;
Instruct determining module 402, for according to successive the taking-ups order information or it is described successively be put into order information and
Default corresponding relationship between mobile terminal or the function command of earphone, determining and the successive taking-up order information or the elder generation
After be put into the instruction of order information corresponding mobile terminal function or with successive the taking-ups order information or it is described be successively put into it is secondary
The corresponding ear-phone function instruction of sequence information;
Control module 403 is instructed to mobile terminal for sending the mobile terminal function so that the mobile terminal
The interactive function of mobile terminal function the instruction realization and the earphone is executed, or sends the ear-phone function and instructs to ear
Machine, to realize the interactive function of the Earphone box Yu the earphone.
In one embodiment of the invention, module 401 is obtained, takes out or puts specifically for obtaining in a fetching process
Enter corresponding earphone mark, determines that first earphone successively takes out order from first accommodating cavity according to earphone mark
Information is successively put into order information;Alternatively, second earphone successively takes out order information or elder generation from second accommodating cavity
After be put into order information;Alternatively, first earphone is accommodated from first accommodating cavity and second earphone from described second
The successive taking-up order information of chamber is successively put into order information.
In one embodiment of the invention, obtaining the successive taking-up order information that module 401 obtains includes: in user elder generation
When first earphone is then taken out second earphone from second accommodating cavity from first accommodating cavity taking-up, obtain
The order information for the taking-up converted electrical number got;Successively being put into order information includes: first to put first earphone in user
When entering first accommodating cavity second earphone being then put into second accommodating cavity, what is got is put into converted electrical number
Order information.
Referring to Fig. 5, a kind of Earphone box 500 is additionally provided in the embodiment of the present invention, including for accommodating the first earphone
One accommodating cavity and the second accommodating cavity for accommodating the second earphone are provided with detection on the first accommodating cavity and the second accommodating cavity and pass
Sensor 501, detection sensor 501 connect processor 502;
The detection sensor 501 is used for first earphone and/or second earphone from first accommodating cavity
And/or second accommodating cavity successive taking-up order information or be successively put into order information and export to processor;
The processor 502, for according to the successive taking-up order information or it is described successively be put into order information and move
Default corresponding relationship between dynamic terminal or the function command of earphone, the determining and successive taking-up order information or described successive
Be put into the instruction of order information corresponding mobile terminal function or with successive the taking-ups order information or described successive be put into order
The corresponding ear-phone function instruction of information;
Communication module 503 is instructed to mobile terminal for sending the mobile terminal function so that the mobile terminal
The interactive function of mobile terminal function the instruction realization and the earphone is executed, or sends the ear-phone function and instructs to ear
Machine, to realize the interactive function of the Earphone box Yu the earphone.As shown in figure 5, communication module is connect with processor.
In one embodiment of the invention, a kind of interaction control method of earphone, earphone and aforementioned headset are additionally provided
Earphone box in box embodiment is mating, and the interaction control method of earphone is applied to earphone, comprising:
Obtain first earphone and/or second earphone the first accommodating cavity and/or the ear from the Earphone box
The successive taking-up order information of second accommodating cavity of machine box is successively put into order information;
According to the successive taking-up order information or the function for being successively put into order information and mobile terminal or Earphone box
Can default corresponding relationship between instruction, it is determining with the successive taking-up order information or described successive to be put into order information corresponding
Mobile terminal function instruction or determining with the successive taking-up order information or described successive be put into the corresponding ear of order information
The instruction of machine kit function;
The mobile terminal function is sent to instruct to mobile terminal so that mobile terminal described in the mobile terminal execution
Function command realizes the interactive function with the earphone, or sends the Earphone box function command to Earphone box, described in realizing
The interactive function of Earphone box and the earphone.
In one embodiment of the invention, first earphone and/or second earphone are obtained from the Earphone box
The first accommodating cavity and/or the Earphone box the second accommodating cavity successive taking-up order information or be successively put into order information packet
It includes:
The mark that corresponding accommodating cavity is removed or placed into a fetching process is obtained, the mark according to the accommodating cavity is true
Fixed first earphone successively takes out order information from first accommodating cavity or is successively put into order information;Alternatively, obtaining institute
The second earphone is stated successively to take out order information from second accommodating cavity or be successively put into order information;Alternatively, obtaining described the
One earphone is from first accommodating cavity and second earphone from the successive taking-up order information of second accommodating cavity or successively
It is put into order information.
In one embodiment of the invention, first earphone is obtained from first accommodating cavity and second earphone
Include: from the successive taking-up order information of second accommodating cavity
The the first detection sensor response user obtained on the first earphone takes out first earphone from the first accommodating cavity
The first taking-up converted electrical number that pressure value variation afterwards generates;
The the second detection sensor response user obtained on the second earphone takes out second earphone from the second accommodating cavity
The second taking-up converted electrical number that pressure value variation afterwards generates;
Wherein, the resistance value of the first detection sensor built-in resistor is different from the resistance value of the second detection sensor built-in resistor,
The first taking-up converted electrical number is acquired prior to the second taking-up converted electrical number;
First earphone is obtained from first accommodating cavity and second earphone from the successive of second accommodating cavity
Being put into order information includes:
Obtain on the first earphone the first detection sensor response user first earphone is put into the first accommodating cavity after
Pressure value variation generate first be put into converted electrical number;
Second earphone is put into the second accommodating by the second detection sensor response user obtained on second earphone
Second of pressure value variation generation after chamber is put into converted electrical number;
Wherein, the resistance value of the first detection sensor built-in resistor is different from the resistance value of the second detection sensor built-in resistor,
Described first, which is put into converted electrical number, is put into converted electrical number prior to described second and is acquired.
In one embodiment of the invention, it obtains and wears or win corresponding accommodating cavity during once wearing or win
Mark includes:
It is determining to believe with first electric current according to the first current information by the first detection sensor built-in resistor
Cease the accommodating cavity mark of corresponding first accommodating cavity;
It is determining to believe with second electric current according to the second current information by the second detection sensor built-in resistor
Cease the accommodating cavity mark of corresponding second accommodating cavity.
It should be noted that unlike the interaction control method of aforementioned headset box, the interaction of the earphone of the present embodiment
In control method, detection sensor is set, earphone passes through the first current information of the first detection sensor built-in resistor on earphone
Or it wears or plucks during once wearing or win by the second current information acquisition of the second detection sensor built-in resistor
It takes corresponding accommodating cavity to identify, is identified according to accommodating cavity and determine the first accommodating of the first earphone and/or the second earphone from Earphone box
The successive taking-up order information of second accommodating cavity of chamber and/or Earphone box is successively put into order information;And then according to successively taking
Order information or order information successively is put into control the interaction of earphone Yu Earphone box, earphone and mobile terminal out, enrich ear
The interactive controlling mode of machine, improves the competitiveness of earphone.
It is computer-readable referring to Fig. 6 another embodiment of the present invention provides a kind of computer readable storage medium 600
Computer program is stored on storage medium 600 (that is, for executing the computer journey of steps of a method in accordance with the invention in Fig. 6
Sequence 601), the step in the interaction control method of aforementioned headset box is realized when which is executed by processor.It is based on
Such understanding, technical solution of the present invention substantially the part that contributes to existing technology or the technical solution in other words
Part can be embodied in the form of software products, which is stored in a storage medium, including
Some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes sheet
Apply for all or part of the steps of each embodiment the method.And storage medium above-mentioned include: USB flash disk, it is mobile hard disk, read-only
The various media that can store program code such as memory ROM, random access memory ram, magnetic or disk.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The form for the computer program product implemented in usable storage medium.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The dress for the function of being specified in one box or multiple boxes of one process or multiple processes and/or block diagrams of present flow chart
It sets.
It should be noted that the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability
Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including
Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device.
In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element
Process, method, article or equipment in there is also other identical elements.
In specification of the invention, numerous specific details are set forth.Although it is understood that the embodiment of the present invention can
To practice without these specific details.In some instances, well known method, structure and skill is not been shown in detail
Art, so as not to obscure the understanding of this specification.Similarly, it should be understood that disclose in order to simplify the present invention and helps to understand respectively
One or more of a inventive aspect, in the above description of the exemplary embodiment of the present invention, each spy of the invention
Sign is grouped together into a single embodiment, figure, or description thereof sometimes.However, should not be by the method solution of the disclosure
Release is in reflect an intention that i.e. the claimed invention requires more than feature expressly recited in each claim
More features.More precisely, as the following claims reflect, inventive aspect is less than single reality disclosed above
Apply all features of example.Therefore, it then follows thus claims of specific embodiment are expressly incorporated in the specific embodiment,
It is wherein each that the claims themselves are regarded as separate embodiments of the invention.
The above description is merely a specific embodiment, under above-mentioned introduction of the invention, those skilled in the art
Other improvement or deformation can be carried out on the basis of the above embodiments.It will be understood by those skilled in the art that above-mentioned tool
Body description only preferably explains that the purpose of the present invention, protection scope of the present invention are subject to the protection scope in claims.
Claims (22)
1. a kind of interaction control method of Earphone box, the Earphone box includes the first accommodating cavity and use for accommodating the first earphone
In the second accommodating cavity for accommodating the second earphone, which comprises
Obtain the elder generation of first earphone and/or second earphone from first accommodating cavity and/or second accommodating cavity
Order information is taken out afterwards or is successively put into order information;
According to the successive taking-up order information or the function command for being successively put into order information and mobile terminal or earphone
Between default corresponding relationship, it is determining with the successive taking-up order information or described successive to be put into the corresponding movement of order information
Terminal function instruction determining with the successive taking-up order information or described successive is put into the corresponding ear-phone function of order information
Instruction;
The mobile terminal function is sent to instruct to mobile terminal so that mobile terminal function described in the mobile terminal execution
Instruction realize with the interactive function of the earphone, or send the ear-phone function and instruct to earphone, with realize the Earphone box with
The interactive function of the earphone.
2. the method according to claim 1, wherein obtaining first earphone and/or second earphone certainly
The successive taking-up order information of first accommodating cavity and/or second accommodating cavity is successively put into order information and includes:
It obtains and is removed or placed into corresponding earphone mark in a fetching process, first ear is determined according to earphone mark
Machine successively takes out order information from first accommodating cavity or is successively put into order information;Alternatively, second earphone is described in
Second accommodating cavity successively takes out order information or is successively put into order information;Alternatively, first earphone is accommodated from described first
Chamber and second earphone are put into order information from the successive taking-up order information of second accommodating cavity or successively.
3. method according to claim 1 or 2, which is characterized in that
The successive taking-up order information includes: first to take out first earphone from first accommodating cavity in user then will
When second earphone takes out from second accommodating cavity, the order information of the taking-up converted electrical number got;
It is described that successively to be put into order information include: that first earphone is first put into first accommodating cavity then for institute in user
When stating the second earphone and being put into second accommodating cavity, what is got is put into the order information of converted electrical number.
4. according to the method described in claim 3, it is characterized in that, the order information of the taking-up converted electrical number got
Include:
First earphone is taken out from first accommodating cavity in user or by second earphone from second accommodating cavity
After taking-up, corresponding taking-up conversion is electric when the first accommodating cavity or the second accommodating cavity of acquisition are converted to blank state by accommodating state
Signal;
The order information for being put into converted electrical number got includes:
First earphone is put into first accommodating cavity in user or second earphone is put into second accommodating cavity
Afterwards, corresponding when the first accommodating cavity of acquisition or second accommodating cavity are converted to accommodating state by blank state to be put into conversion electricity
Signal.
5. according to the method described in claim 2, it is characterized in that,
First earphone is left earphone, and second earphone is right earphone;Obtain the elder generation of the left earphone and the right earphone
After take out order information, according to it is described it is successive take out order information and mobile terminal function instruction between default corresponding relationship,
Determining first movement terminal function instruction corresponding with the successive taking-up order information;The first movement terminal function instruction
Including at least one of following function instruction: instruction mobile terminal and earphone establish the function command being wirelessly connected, and instruction is beaten
The function command of music application in mobile terminal is opened, and instruction plays the function command of music by earphone;
Alternatively,
First earphone is right earphone, and second earphone is left earphone;Obtain the elder generation of the right earphone Yu the left earphone
After take out order information, according to it is described it is successive take out order information and mobile terminal function instruction between default corresponding relationship,
Determining the second mobile terminal function instruction corresponding with the successive taking-up order information;The second mobile terminal function instruction
Including at least one of following function instruction: instruction mobile terminal opens the function command of call mode, indicates mobile terminal
The function command that dialing interface receives the telephone number of user's input is opened, or instruction mobile terminal is sent a telegram here by earphone receiving
Function command.
6. according to the method described in claim 2, it is characterized in that,
First earphone is left earphone, and second earphone is right earphone;Obtain the elder generation of the left earphone and the right earphone
After be put into order information, according to it is described successively be put into order information and mobile terminal function instruction between default corresponding relationship,
It is determining to be successively put into the corresponding third mobile terminal function instruction of order information with described;The third mobile terminal function instruction
Including at least one of following function instruction: the function command of music application in instruction pause mobile terminal, or instruction are closed
The function command of music application in mobile terminal, or instruction play the function command of music, instruction by loudspeaker in mobile terminal
Mobile terminal disconnects the function command with the wireless connection of earphone;
Alternatively,
First earphone is right earphone, and second earphone is left earphone;Obtain the elder generation of the right earphone Yu the left earphone
After be put into order information, according to it is described successively be put into order information and mobile terminal function instruction between default corresponding relationship,
It is determining to be successively put into the corresponding 4th mobile terminal function instruction of order information with described;The 4th mobile terminal function instruction
Including at least one of following function instruction: instruction is played the function command of call voice, instruction by loudspeaker in mobile terminal
Mobile terminal disconnects the function command with the wireless connection of earphone, or the function command that instruction mobile terminal is hung up the telephone.
7. according to the method described in claim 2, it is characterized in that,
First earphone is obtained from first accommodating cavity and second earphone from the successive taking-up of second accommodating cavity
Order information includes:
Obtain on the first accommodating cavity the first detection sensor response user will first earphone from the first accommodating cavity take out after
Pressure value variation generate first take out converted electrical number;
Obtain on the second accommodating cavity the second detection sensor response user will second earphone from the second accommodating cavity take out after
Pressure value variation generate second take out converted electrical number;
Wherein, the resistance value of the first detection sensor built-in resistor is different from the resistance value of the second detection sensor built-in resistor, described
First taking-up converted electrical number is acquired prior to the second taking-up converted electrical number;
First earphone is obtained to be put into from first accommodating cavity and second earphone from the successive of second accommodating cavity
Order information includes:
Obtain on the first accommodating cavity the first detection sensor response user first earphone is put into the first accommodating cavity after
The first of pressure value variation generation is put into converted electrical number;
Second earphone is put into the second accommodating cavity by the second detection sensor response user obtained on second accommodating cavity
The second of pressure value variation generation afterwards is put into converted electrical number;
Wherein, the resistance value of the first detection sensor built-in resistor is different from the resistance value of the second detection sensor built-in resistor, described
First, which is put into converted electrical number, is put into converted electrical number prior to described second and is acquired.
8. the method according to the description of claim 7 is characterized in that obtain once wear or win during wear or win pair
The earphone answered identifies
According to the first current information by the first detection sensor built-in resistor, determining and first current information pair
The earphone for first earphone answered identifies;
According to the second current information by the second detection sensor built-in resistor, determining and second current information pair
The earphone for second earphone answered identifies.
9. according to the method described in claim 8, it is characterized in that, this method further include:
When only instruction has the information of first earphone to earphone mark, accommodated according to first earphone from described first
Taking-up information when taking out in chamber is put into information when being put into first accommodating cavity, and takes out information or be put into information
Default corresponding relationship between mobile terminal function instruction, determines the 5th mobile terminal function corresponding with the taking-up information
Instruction is instructed with corresponding 6th mobile terminal function of information that is put into;
The 5th mobile terminal function instruction or the 6th function command are sent to mobile terminal, so that described mobile whole
End executes the 5th mobile terminal function instruction or the 6th mobile terminal function instruction realization and the 5th of the earphone
Interactive function or the 6th interactive function.
10. according to the method described in claim 9, it is characterized in that,
First earphone is left earphone, according to default corresponding between the taking-up information of left earphone and mobile terminal function instruction
Relationship determines the 5th mobile terminal function instruction corresponding with the taking-up information, the 5th mobile terminal function instruction packet
Include at least one of following function instruction: instruction establishes the function command being wirelessly connected with earphone, and mobile terminal is opened in instruction
The function command of middle music application, and instruction open user in music application and often listen to music playlist and carry out passing through earphone
Play the function command of music;
Alternatively, first earphone is left earphone, it is pre- between information and mobile terminal function instruction according to being put into for left earphone
It is determining to be put into the corresponding 6th mobile terminal function instruction of information, the 6th mobile terminal function with described if corresponding relationship
Instruction includes at least one of following function instruction: the function command of music application, instruction are closed in instruction pause mobile terminal
The function command of music application in mobile terminal is closed, instruction plays the function command of music, instruction by loudspeaker in mobile terminal
Disconnect the function command with the wireless connection of earphone.
11. according to the method described in claim 9, it is characterized in that,
First earphone is right earphone, according to default corresponding between the taking-up information of right earphone and mobile terminal function instruction
Relationship determines the 5th mobile terminal function instruction corresponding with the taking-up information, the 5th mobile terminal function instruction packet
Include at least one of following function instruction: instruction mobile terminal opens the function command of call mode, and instruction mobile terminal is beaten
The function command that dialing interface receives the telephone number of user's input is opened, or indicates what mobile terminal was sent a telegram here by earphone receiving
Function command;
Alternatively,
First earphone is right earphone, default corresponding between information and mobile terminal function instruction according to being put into for right earphone
Relationship, determining to instruct with corresponding 6th mobile terminal function of information that is put into, the 6th mobile terminal function instruction is wrapped
Include at least one of following function instruction: instruction is played the function command of call voice by loudspeaker in mobile terminal, and instruction is disconnected
Open the function command connecting with earphone, or the function command that instruction mobile terminal is hung up the telephone.
12. according to the method described in claim 2, second earphone is it is characterized in that, first earphone is left earphone
Right earphone;The successive taking-up order information for obtaining the left earphone Yu the right earphone, according to the successive taking-up order information
With the default corresponding relationship between ear-phone function instruction, determining the first ear-phone function corresponding with the successive taking-up order information
Instruction;The first ear-phone function instruction includes that the function command of instruction earphone charge closing mode or instruction earphone open pairing
The instruction of connection request;
Alternatively,
First earphone is right earphone, and second earphone is left earphone;Obtain the elder generation of the right earphone Yu the left earphone
After take out order information, according to it is described it is successive take out order information and ear-phone function instruction between default corresponding relationship, determine
The second ear-phone function corresponding with the successive taking-up order information instructs;The second ear-phone function instruction includes instruction earphone
Into the function command of standby play mode.
13. according to the method described in claim 2, it is characterized in that,
First earphone is left earphone, and second earphone is right earphone;Obtain the elder generation of the left earphone and the right earphone
After be put into order information, according to it is described successively be put into order information and ear-phone function instruction between default corresponding relationship, determine
The corresponding third earphone function command of order information is successively put into described;The third earphone function command includes following function
At least one of instruction: instruction earphone disconnects the function command connecting with mobile terminal, and instruction earphone stops playing the function of sound
It can instruct, instruction earphone enters the function command of low-power consumption mode;
Alternatively, first earphone is right earphone, second earphone is left earphone;Obtain the right earphone and the left earphone
Successively be put into order information, according to it is described successively be put into order information and ear-phone function instruction between default corresponding relationship,
It is determining to be successively put into the corresponding 4th ear-phone function instruction of order information with described;The 4th ear-phone function instruction includes instruction
Earphone enters the function command of charge mode.
14. a kind of interaction control device of Earphone box, the Earphone box include for accommodate the first accommodating cavity of the first earphone and
For accommodating the second accommodating cavity of the second earphone, device includes:
Module is obtained, for obtaining first earphone and/or second earphone from first accommodating cavity and/or described the
The successive taking-up order information of two accommodating cavities is successively put into order information;
Determining module is instructed, for according to successive the taking-ups order information or the successive order information and mobile terminal of being put into
Or the default corresponding relationship between the function command of earphone, it is determining with successive the taking-ups order information or it is described be successively put into it is secondary
The instruction of sequence information corresponding mobile terminal function or with successive the taking-ups order information or described successive be put into order information pair
The ear-phone function instruction answered;
Control module is instructed to mobile terminal for sending the mobile terminal function so that described in the mobile terminal execution
The interactive function with the earphone is realized in mobile terminal function instruction, or is sent the ear-phone function and instructed to earphone, to realize
The interactive function of the Earphone box and the earphone.
15. device according to claim 14, which is characterized in that the acquisition module is specifically used for obtaining primary pick and place
It is removed or placed into corresponding earphone mark in the process, determines first earphone from first accommodating according to earphone mark
Chamber successively takes out order information or is successively put into order information;Alternatively, second earphone successively takes from second accommodating cavity
Order information or successively it is put into order information out;Alternatively, first earphone is from first accommodating cavity and second earphone
From the successive taking-up order information of second accommodating cavity or successively it is put into order information.
16. device according to claim 14 or 15, which is characterized in that the acquisition module, the successive taking-up time of acquisition
Sequence information includes: first to take out first earphone then by second earphone described in from first accommodating cavity in user
When second accommodating cavity takes out, the order information of the taking-up converted electrical number got;
Successively being put into order information includes: that first earphone is first put into first accommodating cavity then for described the in user
When two earphones are put into second accommodating cavity, what is got is put into the order information of converted electrical number.
17. a kind of Earphone box, which is characterized in that including the first accommodating cavity for accommodating the first earphone and for accommodating the second ear
Detection sensor, detection sensor connection processing are provided on second accommodating cavity of machine, the first accommodating cavity and the second accommodating cavity
Device;
The detection sensor, for first earphone and/or second earphone from first accommodating cavity and/or described
The successive taking-up order information of second accommodating cavity is successively put into order information and exports to processor;
The processor, for according to the successive taking-up order information or it is described be successively put into order information and mobile terminal or
Default corresponding relationship between the function command of earphone, it is determining with successive the taking-ups order information or described successive to be put into order
The instruction of information corresponding mobile terminal function or with successive the taking-ups order information or described successive to be put into order information corresponding
Ear-phone function instruction;
Communication module is instructed to mobile terminal for sending the mobile terminal function so that described in the mobile terminal execution
The interactive function with the earphone is realized in mobile terminal function instruction, or is sent the ear-phone function and instructed to earphone, to realize
The interactive function of the Earphone box and the earphone.
18. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
Processor realizes method of any of claims 1-13 when executing.
19. a kind of interaction control method of earphone, the earphone and the Earphone box described in claim 17 are mating, the earphone
Interaction control method is applied to earphone, comprising:
Obtain first earphone and/or second earphone the first accommodating cavity and/or the Earphone box from the Earphone box
The second accommodating cavity successive taking-up order information or be successively put into order information;
Referred to according to the successive taking-up order information or the function of being successively put into order information and mobile terminal or Earphone box
Default corresponding relationship between order, it is determining with the successive taking-up order information or described successive to be put into the corresponding shifting of order information
Dynamic terminal function instruction determining with the successive taking-up order information or described successive is put into the corresponding Earphone box of order information
Function command;
The mobile terminal function is sent to instruct to mobile terminal so that mobile terminal function described in the mobile terminal execution
The interactive function with the earphone is realized in instruction, or sends the Earphone box function command to Earphone box, to realize the earphone
The interactive function of box and the earphone.
20. according to the method for claim 19, which is characterized in that obtain first earphone and/or second earphone
From the successive taking-up order information of the second accommodating cavity of the first accommodating cavity and/or Earphone box of the Earphone box or successively put
Entering order information includes:
The mark for being removed or placed into corresponding accommodating cavity in a fetching process is obtained, institute is determined according to the mark of the accommodating cavity
The first earphone is stated successively to take out order information from first accommodating cavity or be successively put into order information;Alternatively, obtaining described the
Two earphones successively take out order information from second accommodating cavity or are successively put into order information;Alternatively, obtaining first ear
Machine is put into from first accommodating cavity and second earphone from the successive taking-up order information of second accommodating cavity or successively
Order information.
21. according to the method for claim 20, which is characterized in that obtain first earphone from first accommodating cavity and
Second earphone includes: from the successive taking-up order information of second accommodating cavity
Obtain on the first earphone the first detection sensor response user by first earphone from the first accommodating cavity taking-up after
The first taking-up converted electrical number that pressure value variation generates;
Obtain on the second earphone the second detection sensor response user by second earphone from the second accommodating cavity taking-up after
The second taking-up converted electrical number that pressure value variation generates;
Wherein, the resistance value of the first detection sensor built-in resistor is different from the resistance value of the second detection sensor built-in resistor, described
First taking-up converted electrical number is acquired prior to the second taking-up converted electrical number;
First earphone is obtained to be put into from first accommodating cavity and second earphone from the successive of second accommodating cavity
Order information includes:
First earphone is put into the pressure after the first accommodating cavity by the first detection sensor response user obtained on the first earphone
The first of force value variation generation is put into converted electrical number;
Obtain on second earphone the second detection sensor response user second earphone is put into the second accommodating cavity after
Pressure value variation generate second be put into converted electrical number;
Wherein, the resistance value of the first detection sensor built-in resistor is different from the resistance value of the second detection sensor built-in resistor, described
First, which is put into converted electrical number, is put into converted electrical number prior to described second and is acquired.
22. according to the method for claim 21, which is characterized in that obtain and wear or win during once wearing or win
Corresponding accommodating cavity identifies
According to the first current information by the first detection sensor built-in resistor, determining and first current information pair
The accommodating cavity for first accommodating cavity answered identifies;
According to the second current information by the second detection sensor built-in resistor, determining and second current information pair
The accommodating cavity for second accommodating cavity answered identifies.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811271607.8A CN109151647A (en) | 2018-10-29 | 2018-10-29 | Interaction control method, device, Earphone box and the storage medium of Earphone box |
US17/309,138 US11558687B2 (en) | 2018-10-29 | 2018-12-29 | Interactive control method and device of earphones, earphone and storage medium |
PCT/CN2018/125261 WO2020087749A1 (en) | 2018-10-29 | 2018-12-29 | Earphone interaction control method and apparatus, and earphone and storage medium |
CN201910054801.9A CN109639903B (en) | 2018-10-29 | 2019-01-21 | Interactive control method and device for earphone, earphone and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811271607.8A CN109151647A (en) | 2018-10-29 | 2018-10-29 | Interaction control method, device, Earphone box and the storage medium of Earphone box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109151647A true CN109151647A (en) | 2019-01-04 |
Family
ID=64806354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811271607.8A Withdrawn CN109151647A (en) | 2018-10-29 | 2018-10-29 | Interaction control method, device, Earphone box and the storage medium of Earphone box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109151647A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111556406A (en) * | 2020-04-23 | 2020-08-18 | 深圳市威麦科技有限公司 | Audio processing method, audio processing device and earphone |
CN111586229A (en) * | 2019-02-18 | 2020-08-25 | 佳能株式会社 | Electronic device, control method thereof, and storage medium |
CN111870274A (en) * | 2020-03-19 | 2020-11-03 | 万佳睿 | Bluetooth auscultation device |
CN112165665A (en) * | 2020-09-27 | 2021-01-01 | 维沃移动通信有限公司 | Earphone control method and device and electronic equipment |
CN112738778A (en) * | 2020-12-24 | 2021-04-30 | 北京搜狗科技发展有限公司 | Recommendation method and earphone device |
CN116074679A (en) * | 2023-02-06 | 2023-05-05 | 优百博实业深圳有限公司 | Method, device, equipment and storage medium for determining left and right states of intelligent earphone |
-
2018
- 2018-10-29 CN CN201811271607.8A patent/CN109151647A/en not_active Withdrawn
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111586229A (en) * | 2019-02-18 | 2020-08-25 | 佳能株式会社 | Electronic device, control method thereof, and storage medium |
US11372614B2 (en) | 2019-02-18 | 2022-06-28 | Canon Kabushiki Kaisha | Electronic apparatus, control method thereof, and storage medium |
CN111870274A (en) * | 2020-03-19 | 2020-11-03 | 万佳睿 | Bluetooth auscultation device |
CN111556406A (en) * | 2020-04-23 | 2020-08-18 | 深圳市威麦科技有限公司 | Audio processing method, audio processing device and earphone |
CN112165665A (en) * | 2020-09-27 | 2021-01-01 | 维沃移动通信有限公司 | Earphone control method and device and electronic equipment |
CN112165665B (en) * | 2020-09-27 | 2023-03-14 | 维沃移动通信有限公司 | Earphone control method and device and electronic equipment |
CN112738778A (en) * | 2020-12-24 | 2021-04-30 | 北京搜狗科技发展有限公司 | Recommendation method and earphone device |
CN116074679A (en) * | 2023-02-06 | 2023-05-05 | 优百博实业深圳有限公司 | Method, device, equipment and storage medium for determining left and right states of intelligent earphone |
CN116074679B (en) * | 2023-02-06 | 2023-11-10 | 宜百科技(深圳)有限公司 | Method, device, equipment and storage medium for determining left and right states of intelligent earphone |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109151647A (en) | Interaction control method, device, Earphone box and the storage medium of Earphone box | |
JP7274527B2 (en) | Change companion communication device behavior based on wearable device state | |
CN109639902A (en) | Interaction control method, device, Earphone box and the storage medium of Earphone box | |
CN110691294B (en) | Audio control method, charging box and wireless earphone device | |
CN110166871B (en) | Earphone charging box, TWS earphone, working state switching method and storage medium | |
CN107809697B (en) | Earphone box for establishing interaction with wireless earphone | |
CN208689384U (en) | A kind of band has the smartwatch of voice interactive function earphone | |
CN105794186A (en) | Method, device and electronic device for controlling application program | |
EP3588248B1 (en) | Earphones and terminal | |
CN109068209A (en) | Bluetooth headset, charging box, bluetooth headset component and its exchange method | |
US20200245051A1 (en) | Bluetooth headset control method, bluetooth headset, and computer readable storage medium | |
WO2009134566A1 (en) | Personal wireless network power-based task distribution | |
CN105704604A (en) | Smart home earphones | |
US11368775B1 (en) | Control handoff and power handling audio device | |
CN105915724A (en) | Incoming call processing method and device, and terminal | |
CN107105358A (en) | A kind of bluetooth earphone and bluetooth earphone control method | |
CN109067965A (en) | Interpretation method, translating equipment, wearable device and storage medium | |
CN205491035U (en) | Intelligent home earphone | |
CN106451824A (en) | Bluetooth earphone charging method, Bluetooth earphone charging device and Bluetooth earphone | |
CN207117880U (en) | Earphone | |
CN110913297B (en) | Composite earphone | |
CN106998513A (en) | The method of earphone and earphone memory storage file | |
CN208863048U (en) | A kind of wireless playing equipment and wear-type wireless headphone system | |
CN109639903A (en) | Interaction control method, the device of earphone, earphone and storage medium | |
CN109068232A (en) | A kind of interaction control method of combination sound box, device and combination sound box |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190104 |