WO2020087749A1 - 耳机的交互控制方法、装置,耳机和存储介质 - Google Patents

耳机的交互控制方法、装置,耳机和存储介质 Download PDF

Info

Publication number
WO2020087749A1
WO2020087749A1 PCT/CN2018/125261 CN2018125261W WO2020087749A1 WO 2020087749 A1 WO2020087749 A1 WO 2020087749A1 CN 2018125261 W CN2018125261 W CN 2018125261W WO 2020087749 A1 WO2020087749 A1 WO 2020087749A1
Authority
WO
WIPO (PCT)
Prior art keywords
earphone
instruction
function
information
wearing
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.)
Ceased
Application number
PCT/CN2018/125261
Other languages
English (en)
French (fr)
Inventor
赵吉福
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Inc
Original Assignee
Goertek Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201811271607.8A external-priority patent/CN109151647A/zh
Application filed by Goertek Inc filed Critical Goertek Inc
Priority to US17/309,138 priority Critical patent/US11558687B2/en
Publication of WO2020087749A1 publication Critical patent/WO2020087749A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/6058Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone
    • H04M1/6066Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone including a wireless connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/033Headphones for stereophonic communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/04Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1016Earpieces of the intra-aural type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/07Applications of wireless loudspeakers or wireless microphones

Definitions

  • the invention relates to the technical field of earphones, in particular to a method and device for interactive control of earphones, earphones and storage media.
  • the invention provides a method and device for interactive control of a headset, a headset and a storage medium, which further perfects and improves the details of function realization and improves the user experience.
  • a method for interactively controlling a headset includes a first headset and a second headset.
  • the method includes:
  • an interactive control device for a headset the headset includes a first headset and a second headset, and the device includes:
  • An obtaining module configured to obtain the order information of the first earphones and / or the order of wearing the second earphones;
  • An instruction determining module configured to determine the first functional instruction or the corresponding to the sequential wearing order information according to the preset correspondence between the sequential wearing order information or the sequential extracting order information and the mobile terminal functional instructions
  • the second function instruction corresponding to the sequence information is sequentially extracted
  • the control module is configured to send the first function instruction or the second function instruction to the mobile terminal, so that the mobile terminal executes the first function instruction or the second function instruction to implement the first An interactive function or a second interactive function.
  • a headset including:
  • a detection sensor configured to detect the sequence information of the first earphone and / or the sequence of the second earphone, or the sequence information of the first earphone;
  • the processor is configured to determine, according to the preset correspondence between the successive wearing order information or the successive extracting order information output by the detection sensor and the functional instruction of the mobile terminal, the first corresponding to the successive wearing order information A functional instruction or a second functional instruction corresponding to the sequential extraction sequence information;
  • the communication module is configured to send the first function instruction or the second function instruction to the mobile terminal, so that the mobile terminal executes the first function instruction or the second function instruction to implement the first An interactive function or a second interactive function.
  • a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the method described in one aspect of the present application.
  • the method and device for interactive control of the earphones according to the embodiments of the present invention, by obtaining the order information of the first earphones and / or the second earphones or the order information of the first earphone; according to the order of wearing the earphone or the order information
  • the preset correspondence between the mobile terminal functional instructions, the corresponding first functional instruction or the corresponding second functional instruction is determined, and the first functional instruction or the second functional instruction is sent to the mobile terminal, so that after the mobile terminal executes The first interactive function or the second interactive function of the headset.
  • the embodiments of the present application control the mobile terminal to realize different interaction functions with the headset based on the order of wearing or removing the first headset or the second headset, which enriches the control method of the headset and the mobile terminal, and satisfies the user ’s
  • the control requirements of mobile phone function switching improves the user experience and makes the human-computer interaction, the interaction between the headset and the mobile terminal more intelligent and convenient, and improves the market competitiveness of the product.
  • the earphones provided in the embodiments of the present application can intelligently detect the order of wearing or taking off different earphones, and control the mobile terminal to complete different interaction functions with the earphones based on the order of wearing or taking out the earphones.
  • the degree of intelligence is high and the user experience is good.
  • FIG. 1 is a schematic flowchart of an interactive control method of a headset according to an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of an earphone according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of earphone wearing detection according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of the order and control functions of the left earphone and the right earphone in sequence according to an embodiment of the present application;
  • FIG. 5 is a schematic diagram of the order and control functions of the right earphone and the left earphone in sequence according to an embodiment of the present application;
  • FIG. 6 is a block diagram of an interactive control device for headphones according to an embodiment of the present application.
  • FIG. 7 is a block diagram of an earphone according to an embodiment of the present application.
  • FIG. 8 is a block diagram of a computer storage medium according to an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of an interactive control method of a headset according to an embodiment of the present application.
  • the headset in this embodiment includes a first headset and a second headset.
  • the interactive control method of the headset includes the following steps:
  • Step S101 Acquire sequence information of the first earphones and / or the second earphones or extract sequence information successively;
  • Step S102 Determine, according to the preset correspondence between the sequential wearing order information or the sequential extracting order information and the mobile terminal functional instructions, the first functional instruction corresponding to the sequential wearing order information or the sequential order Extract the second function instruction corresponding to the sequence information;
  • Step S103 Send the first function instruction or the second function instruction to the mobile terminal, so that the mobile terminal executes the first function instruction or the second function instruction to realize the first interaction with the headset Function or second interactive function.
  • the interaction control method of the headset of this embodiment is based on the acquired sequence information of the first headset and / or the second headset, or the sequence information of the sequence of the first headset and / or the second headset in the functional interaction between the headset and the mobile terminal.
  • Implementation that is to say, the order of wearing or removing different headsets is different, and the interactive functions implemented are also different. In this way, the user's diversified switching function needs are met, and the user experience is improved, so that the user only needs to control the function selection and switching according to different orders when wearing or taking off the headset, the degree of intelligence is higher, and the human-computer interaction More convenient.
  • the method of obtaining the order information of the first earphone and / or the second earphone successively wearing or extracting the order information includes: acquiring the wearing or extracting during the one-time wearing or extracting process
  • Corresponding earphone identification according to the earphone identification, determine the order of wearing the first earphone or the order of picking the order information; or, the order of wearing the second earphone or the order of picking the order information; or,
  • the order information of the first earphone and the second earphone is the order of wearing or the order of picking the information.
  • the earphones are used in pairs, which means that users usually use the first earphone and the second earphone at the same time when using the earphone. Wear the first earphone and the second earphone into the left and right ear canal to listen to the sound, but Considering the actual situation, there may be a case of using a single earphone, such as using only the first earphone and not using the second earphone. In the embodiments of the present application, the corresponding earphones are also worn or taken during the one-time wearing or removing process.
  • the earphone logo to determine the order of wearing the earphones or the order of picking the earphones in three cases, namely (1) the order of wearing the first earphone or the order of picking the information; (2) the order of wearing the second earphones Information or sequence information; (3) Order information or sequence information of the first headset and the second headset.
  • the following embodiment gives priority to the information obtained is (3) the order of the first earphone and the second earphone
  • the order information is worn or the order information is extracted successively for explanation.
  • the wearing order information includes: when the user first wears the first earphone on the first ear and then wears the second earphone on the second ear, the order information of the worn conversion electrical signal is acquired; The information includes: when the user first removes the first earphone from the ear and then removes the second earphone from the ear, the sequence information of the extracted and converted electrical signals is obtained.
  • the earphone is a wireless earphone as an example.
  • FIG. 2 illustrates an earphone.
  • the earphone includes a speaker external network and a rubber sleeve.
  • a detector is also provided on the earphone. To detect the wear or removal status.
  • the obtained sequence information of the wearing conversion electrical signal includes: after the user wears the first earphone to the first ear or the second earphone to the second ear, the obtained earphone is converted from the non-wearing state to the wearing Corresponding wearing and switching electrical signals in the state; the obtained sequence information of extracting and switching electrical signals includes: after the user removes the first earphone from the first ear or removes the second earphone from the second ear , When the acquired earphone is switched from the wearing state to the non-wearing state, the corresponding extracted and converted electrical signal is corresponding.
  • the detector on the earphone can detect that the earphone is changed from the non-wearing state to the wearing state, and the corresponding detector will generate a wearing conversion signal at this time.
  • the detection on the earphone can also detect that the earphone is switched from the wearing state to the non-wearing state. At this time, the corresponding detection will generate a removal conversion electrical signal.
  • the corresponding order in which the converted electrical signals are worn is also different. This order is the order between the first headphones and the second headphones.
  • the identification of the corresponding headset worn or removed during the wearing or removing process is also obtained through the detection sensor, that is, according to the first current information passing through the built-in resistance of the first detection sensor, it is determined to correspond to the first current information
  • Acquiring information about the order of wearing the first earphone and the second earphone includes: acquiring the first detection sensor on the first earphone in response to the user wearing the first earphone on the first earphone.
  • the resistance value of the built-in resistance of the first detection sensor is different from the resistance value of the built-in resistance of the second detection sensor, and the first wearing conversion electrical signal is obtained before the second wearing conversion electrical signal.
  • obtaining the sequence information of the first earphone and the second earphone includes: obtaining the first detection sensor on the first earphone in response to the change in the current value after the user removes the first earphone from the first ear 1. Extract the converted electrical signal; obtain the second extracted converted electrical signal generated by the second detection sensor on the second earphone in response to the change in the current value after the user removes the second earphone from the second ear. The electrical signal is acquired before the second extracted converted electrical signal.
  • a first detection sensor is provided on the first earphone, and a second detection sensor is provided on the second earphone.
  • the resistance values of the built-in resistors of the first detection sensor and the second detection sensor are different, and In this way, the detection sensors are distinguished. If the resistance is different, the current flowing through the sensor must be different. According to the different current values, the order of wearing the first earphone or the second earphone, or the order of taking off the first earphone or the second earphone, is determined.
  • the current value of the detection sensor in the wearing state is equal to or within a range of values, and when the earphone switches from the wearing state to the extracting state within a preset time period (5 seconds), the current flowing through the detection sensor The value will change, for example, from the current value corresponding to the value 0 to the current value corresponding to the value 1.
  • the change of the current value (or conversion) within the preset time period is formally used to distinguish the wearing and removing status of the same earphone. That is, the first detection sensor on the first earphone responds to the user ’s The change in the current value after an earphone is worn on the first ear generates a first worn conversion electrical signal.
  • the first detection sensor generates a first pick-up converted electrical signal in response to a change in current value after the user removes the first earphone from the first ear.
  • the second detection sensor of the second earphone can detect the wearing or removing state of the second earphone.
  • the method shown in FIG. 1 obtains the order of wearing the left earphone and the right earphone according to the order of wearing the information and the mobile terminal
  • the preset correspondence between the functional commands determines the first functional command corresponding to the wearing order information;
  • the first functional command includes at least one of the following functional commands: a functional command indicating establishment of a connection with the headset, and an instruction to turn on the mobile terminal Function instructions of the music application, and instructions to open the music application in which the user often listens to music playlists and perform music instructions through headphones.
  • the left earphone is the earphone that is worn by the user first
  • the mobile terminal in FIG. 4 uses a mobile phone as an example.
  • the first function instruction includes an instruction to establish a wireless connection with the headset (see the two-way arrow between the mobile phone and the headset in FIG. 4), and an instruction to open the music application on the mobile phone, see "Music Play" in FIG. 4.
  • the interface illustrated in FIG. 4 is only used to explain the content of the first functional instruction in this embodiment of the present invention, and the content of the first functional instruction in this embodiment of the present invention is not limited to the schematic in FIG. 4.
  • the first function instruction may be defined according to requirements.
  • the function of controlling the mobile phone to play the music on the mobile phone through the earphone can be realized only by wearing the left earphone first and then wearing the right earphone to the ear, which greatly improves the user and the earphone Interactive experience improves the degree of intelligence of the headset.
  • the first earphone is a right earphone
  • the second earphone is a left earphone
  • acquiring the order of wearing the right earphone and the left earphone according to the order of wearing the earphone and the function command of the mobile terminal The preset correspondence between them determines the first function instruction corresponding to the wearing order information
  • the first function instruction includes at least one of the following function instructions: a function instruction that instructs the mobile terminal to open the call mode, and a instruction to instruct the mobile terminal to open the dialing interface
  • the first function instruction includes an instruction to open the call mode of the mobile phone, as shown in the "call mode" illustrated in FIG. 5. It can also include more specific instructions in the call mode, for example, instructions to open the phone's "Address Book”, instructions to open the "History”, and instructions to open the dial pad (see the number pad in the lower half of the phone's current interface in Figure 5).
  • the earphone can control the mobile phone to open the call mode of the mobile phone, which is convenient for the user to make or receive a call, and play the call sound through the earphone, which improves the user experience.
  • the order of the left and right earphones can also be distinguished during the removal process and different functions can be controlled based on the order of the left and right earphone removal.
  • the first earphone is a left earphone
  • the second earphone is a right earphone
  • the order information of the left earphone and the right earphone is extracted, and the order information and the mobile terminal function instruction are extracted according to the order The preset correspondence between them, to determine the second function instruction corresponding to the sequence information
  • the second function instruction includes at least one of the following function instructions: a function instruction to suspend the music application in the mobile terminal, or to instruct to close the mobile
  • the first earphone is a right earphone and the second earphone is a left earphone; the order information of the right earphone and the left earphone is extracted, and the order information is extracted according to the order Determines the second functional instruction corresponding to the sequence information of the order of extraction; the second functional instruction includes at least one of the following functional instructions: a functional instruction indicating that the speaker of the mobile terminal plays a conversation voice, and a The functional command for connecting the headset, or the functional command for instructing the mobile terminal to hang up the phone.
  • the headset can control the mobile phone to execute some instructions related to the interactive function of the headset based on the order information of the wearing order or the order information of the picking order, and can also control its own implementation with the mobile terminal such as the mobile phone.
  • Interactive function That is to say, the interactive control method of the earphone further includes determining a third corresponding to the successive wearing order information according to the preset correspondence between the successive wearing order information or the successive extracting order information and the earphone function instruction A function instruction or a fourth function instruction corresponding to the sequence information; control the headset to execute the third function instruction or the fourth function instruction to realize the third interaction function or the fourth interaction with the mobile terminal Features.
  • a third function instruction corresponding to the wearing order information is determined, and the third function instruction includes at least one of the following function instructions: indicating the headset and the mobile terminal A function command to establish a connection, a function command to instruct the headset to enter a standby playback mode, and a function command to instruct the headset to play music or answer a call.
  • the fourth function command includes at least one of the following function commands: indicating the headset The function instruction to enter the standby play mode, the function instruction to instruct the headset to disconnect from the mobile terminal, and the function instruction to instruct the headset to enter the power saving mode.
  • the headset interactive control method further includes when the headset identifier indicates only the wearing information or the removal information of the first headset, according to the preset correspondence between the wearing information or the removal information and the functional instruction of the mobile terminal Relationship, determine the fifth function instruction corresponding to the wearing information or the sixth function instruction corresponding to the extraction information; send the fifth function instruction or the sixth function instruction to the mobile terminal, so that the mobile terminal executes the fifth function instruction or the sixth function instruction
  • the function instruction realizes the fifth interaction function or the sixth interaction function with the headset.
  • the first earphone is a left earphone.
  • determine a fifth functional instruction corresponding to the wearing information the fifth functional instruction including at least one of the following functional instructions: indicating the establishment of a connection with the earphone
  • the function instruction indicates the function instruction to open the music application in the mobile terminal, and the function instruction to instruct the user to listen to the music playlist frequently in the music application and play music through the headset.
  • the fifth function instruction is determined according to the acquired wearing information of the left earphone and the preset correspondence, and the fifth function instruction is sent to the mobile phone, and the mobile phone After the execution, the function of connecting the mobile phone and the headset and opening the music application in the mobile phone can also be realized.
  • the user is not required to wear both the left headset and the right headset. It should be noted that, in this case, the user only wears the left earphone, then the user also wears the left earphone first compared to the unweared right earphone.
  • the first earphone is a left earphone
  • the first earphone is determined and extracted according to the preset correspondence between the left earphone extract information and the mobile terminal function instruction Get the sixth function instruction corresponding to the information.
  • the sixth function instruction includes at least one of the following function instructions: a function instruction to suspend the music application in the mobile terminal, a function instruction to close the music application in the mobile terminal, and an instruction to pass the speaker in the mobile terminal
  • the function command for playing music indicates the function command for disconnecting the headset.
  • the sixth function instruction is determined according to the obtained left earphone extraction information and the preset correspondence, and the sixth function instruction is sent to After the mobile phone is executed, it can realize the functions of pausing music playback or closing music applications.
  • the first earphone may also be a right earphone.
  • the earphone identifier indicates information of only the right earphone, according to the preset correspondence between the wearing information of the right earphone and the functional instruction of the mobile terminal, the fifth earphone corresponding to the wearing information is determined.
  • the function command, the fifth function command includes at least one of the following function commands: a function command instructing the mobile terminal to open a call mode, a function command instructing the mobile terminal to open a dialing interface to receive a phone number input by a user, or instructing the mobile terminal to answer an incoming call through a headset Function instructions.
  • the first earphone is a right earphone
  • the earphone identifier indicates that there is only the right earphone information, according to the preset correspondence between the right earphone's extracting information and the mobile terminal function instruction, it is determined to correspond to the extracting information
  • the sixth function instruction includes at least one of the following function instructions: a function instruction to instruct the speaker in the mobile terminal to play the conversation voice, a function instruction to disconnect the headset, or to instruct the mobile terminal to hang up the phone Function instructions.
  • the application scenario includes a mobile phone, and the left and right headphones used with the mobile phone.
  • the left earphone is provided with a first detector
  • the right earphone is provided with a second detector.
  • the first detector can detect whether the earphone is worn on the user's ear and is used to generate the left ear instruction A and the left ear instruction a
  • the second detector can detect whether the earphone It is worn on the user's ear and used to generate the right ear command B and the right ear command b;
  • the left earphone is provided with a third detector
  • the right earphone is provided with a fourth detector.
  • the third detector can detect whether the earphone is worn on the user's ear and is used to generate the left ear instruction M and the left ear instruction m
  • the second detector can detect whether the earphone It is worn on the user's ear and used to generate the right ear command N and the right ear command n;
  • the left earphone is provided with a fifth detector
  • the right earphone is provided with a sixth detector.
  • the fifth detector can detect whether the earphone is worn on the user's ear and is used to generate the left ear instruction E and the left ear instruction e
  • the sixth detector can detect whether the earphone It is worn on the user's ear and used to generate the right ear command F and the right ear command f;
  • the first detector, third detector, and fifth detector on the left earphone, and the second detector, fourth detector, and sixth detector on the right earphone can all be infrared sensors for detecting the temperature in the ear canal .
  • the infrared sensor can detect the temperature value range in the user's ear canal, and determine whether the user wears the headset according to the temperature value range.
  • the instruction is an electrical signal sent by the infrared sensor, which can refer to the conversion of 0-1; when the left earphone is removed, an instruction is generated, and the instruction is the infrared sensor
  • the electrical signal sent which can refer to the conversion of 1-0. That is, when you put on the headset, the infrared sensor gives a value of 1; when you take off the headset, the infrared sensor gives a value of 0, and when the specified time is output 0-1 conversion (not a fixed value but a change in value), It indicates that the user puts on the headset, and when the output of 1-0 is converted, it indicates that the user has removed the headset.
  • the first detector, the third detector, and the fifth detector of the left earphone are different from the second detector, the fourth detector, and the sixth detector of the corresponding right earphone. It is reflected in the difference of the built-in resistance of the sensor (for example, the resistance value is different), the output current difference, specific to the electrical signal, can be 0-2 conversion or 2-0 conversion.
  • the first detector, the third detector, and the fifth detector of the left earphone can be the same detector A, and the corresponding second detector, fourth detector, and sixth detector of the right earphone can also be the same Detector B, through pre-defined, detector A output 1-0 or 0-1 conversion, and detector B output 2-0 or 0-2 conversion, a total of four conversion combinations, different in the preset time
  • the output sequence realizes different output of control commands. For example, within 5 seconds, detector A outputs 0-1 conversion, and detector B outputs 0-2 conversion, instructing the user to wear the left earphone first and then the right earphone.
  • the detector A outputs a 1-0 transition within 5 seconds
  • the detector B outputs a 2-0 transition, instructing the user to remove the left earphone first and then the right earphone.
  • the system first receives the left ear instruction A.
  • the instruction A is configured to be sent to the user's mobile phone, instructing the user's mobile phone to open the music application, and at the same time, used to send to the left and right headphones, Instruct the left and right headphones to establish a wireless connection with the mobile phone and the left and right headphones to enter standby playback mode.
  • the system receives the right ear instruction B.
  • the instruction B is configured to be sent to the user's mobile phone, instructing the user's mobile phone to open the user's "listening music playlist" in the music application, and performing music through the earphone. Play.
  • the system When the user puts on the right earphone first, the system first receives the right ear instruction b.
  • the instruction b is configured to be sent to the user's mobile phone, instructing the user's mobile phone to open the call mode, and at the same time, used to send to the left and right earphones. Instruct the left and right headphones to enter standby playback mode.
  • the system receives the right ear instruction a.
  • the instruction a is configured to be sent to the user's mobile phone, instructing the user's mobile phone to answer the user's mobile phone call, and play it to the user through the headset, or when not receiving When the user's mobile phone calls, directly open the dial pad of the mobile phone and wait for the user to enter the mobile phone number.
  • the extracting process is divided into extracting in the case of music playback and extracting in the case of call, specifically in the case of music playback,
  • the system first receives the left ear instruction M, which is configured to be sent to the user's mobile phone, instructing the user's mobile phone to pause music playback of the music application, and at the same time, used to send to the left and right Headphones, instruct the left and right headphones to enter standby playback mode.
  • the system continues to receive the right ear instruction N, which is configured to send to the user's mobile phone, control the user's mobile phone to turn off the music, and at the same time used to send to the left and right headphones, indicating the left and right headphones Cut off the wireless connection with the phone and enter the power saving mode.
  • the system When the user takes off the right earphone first, the system first receives the right ear instruction n, which is configured to be sent to the user's mobile phone, control the phone speaker to play music (realize the external release), and also used to send to the left and right Right earphone, instruct the left and right earphones to enter standby playback mode.
  • the system continues to receive the left ear instruction m, which is configured to cut off the wireless connection between the left and right earphones and the mobile phone, and instruct the left and right earphones to enter the power saving mode.
  • the system first receives the right ear instruction F, which is configured to be sent to the user's mobile phone, control the phone's call off mode (hang up the phone), and used to send to the left and right earphones, Instruct the left and right headphones to enter standby playback mode.
  • the system continues to receive the left ear instruction E.
  • the instruction E is configured to be sent to the user's mobile phone to control the wireless connection between the left and right earphones and the mobile phone, instructing the left and right earphones to enter the power saving mode.
  • the system When the user first removes the left earphone, the system first receives the left ear instruction e, which is configured to be sent to the user's mobile phone, control the phone speaker to play the call (call out), and used to send to the left and right Right earphone, instruct the left and right earphones to enter standby playback mode.
  • the system continues to receive the right earphone instruction f, which is configured to be sent to the user's mobile phone and controls to cut off the wireless connection between the left and right earphones and the mobile phone, instructing the left and right earphones to enter the province Electric mode.
  • control commands are generated through the order of wearing or removing the left and right earphones to control the function selection or switching of the earphone and the mobile phone, which enriches the interaction between the earphone and the user, and the earphone and other mobile terminals, and improves the user experience.
  • An embodiment of the present invention also provides a headset interactive control apparatus.
  • the headset includes a first headset and a second headset, and the headset interactive control apparatus 600 includes:
  • An obtaining module 601 configured to obtain the order information of wearing the first earphone and / or the second earphone sequentially or extracting the order information successively;
  • the instruction determining module 602 is configured to determine the first functional instruction or the first functional instruction corresponding to the sequential wearing order information according to the preset correspondence between the sequential wearing order information or the sequential extracting order information and the mobile terminal functional instructions A second function instruction corresponding to the sequential extraction sequence information;
  • the control module 603 is configured to send the first function instruction or the second function instruction to the mobile terminal, so that the mobile terminal executes the first function instruction or the second function instruction to achieve The first interactive function or the second interactive function.
  • the obtaining module 601 is specifically configured to obtain a corresponding headset identifier worn or taken during a wearing or removing process, and determine the order or sequence of wearing the first headset according to the headset identifier Order information; or, order information or order information of the second earphones; or order information or order information of the first and second earphones.
  • the acquired order of wearing order includes: acquired when the user first wears the first earphone on the first ear and then wears the second earphone on the second ear Sequence information for wearing and converting electrical signals; the sequence information for successive extraction includes: when the user first removes the first earphone from the first ear and then removes the second earphone from the second ear, obtain To extract the sequence information of the converted electrical signal.
  • the order information of the wearing conversion electrical signal acquired by the acquiring module 601 includes: after the user wears the first earphone to the first ear or the second earphone to the second ear , The earphones obtained from the non-wearing state is converted into the wearing state corresponding to the wearing conversion electrical signal; the obtained sequence information of extracting the converted electrical signal includes: when the user removes the first earphone from the first ear or removes After the second earphone is detached from the second ear, the acquired earphone corresponding to the electrical signal when the earphone is switched from the wearing state to the non-wearing state.
  • the first earphone is a left earphone and the second earphone is a right earphone; acquiring the order of wearing the left earphone and the right earphone according to the order of wearing A preset correspondence between the functional instructions of the mobile terminal and determining a first functional instruction corresponding to the sequence information of the order of wearing; the first functional instruction includes at least one of the following functional instructions: a function indicating the establishment of a connection with the headset The instruction indicates a function instruction for opening a music application in the mobile terminal, and a function instruction for opening a music application in which the user often listens to a music playlist and plays music through a headset.
  • the first earphone is a right earphone and the second earphone is a left earphone; acquiring the order of wearing the right earphone and the left earphone according to the order of wearing A preset correspondence between the functional instructions of the mobile terminal, and determining a first functional instruction corresponding to the order of wearing information; the first functional instruction includes at least one of the following functional instructions:
  • the function instruction instructs the mobile terminal to open the dialing interface to receive the function instruction of the phone number input by the user, or instructs the mobile terminal to answer the incoming call through the headset.
  • the first earphone is a left earphone
  • the second earphone is a right earphone
  • the second function instruction includes at least one of the following function instructions: instructs to suspend the mobile terminal The function instruction of the middle music application, or the function instruction of closing the music application in the mobile terminal, or the function instruction of playing music through the speaker in the mobile terminal, and the function instruction of disconnecting the headset.
  • the first earphone is a right earphone
  • the second earphone is a left earphone
  • the second function instruction includes at least one of the following function instructions: indicates that the mobile terminal The function instruction for the middle speaker to play the call voice, the function instruction for instructing to disconnect the headset, or the function instruction for instructing the mobile terminal to hang up the phone.
  • the acquiring module 601 is specifically configured to acquire the first wearer generated by the first detection sensor on the first earphone in response to a change in current value after the user wears the first earphone on the first ear Converting electrical signals; acquiring a second wear-converted electrical signal generated by a second detection sensor on the second headset in response to a change in current value after the user wears the second headset on the second ear; wherein, the first detection The resistance value of the built-in resistance of the sensor is different from the resistance value of the built-in resistance of the second detection sensor, and the first wearing conversion electrical signal is acquired before the second wearing conversion electrical signal.
  • acquiring the sequence information of the first earphone and the second earphone includes: acquiring the first detection sensor on the first earphone in response to the user The first pick-up converted electrical signal generated by the change in current value after the first ear is removed; acquiring the second detection sensor on the second earphone in response to the user removing the second earphone from the second ear The second extracted converted electrical signal generated by the change in current value; wherein the resistance value of the built-in resistance of the first detection sensor is different from the resistance value of the built-in resistance of the second detection sensor, the first extracted converted electrical signal is first The second extracted converted electrical signal is obtained.
  • acquiring the corresponding headset identifier worn or removed during one-time wearing or removing includes: determining the first current according to the first current information passing through the built-in resistance of the first detection sensor The earphone identifier of the first earphone corresponding to the information; based on the second current information passing through the internal resistance of the second detection sensor, the earphone identifier of the second earphone corresponding to the second current information is determined.
  • the device shown in FIG. 6 further includes: a self-control module, configured to preset the correspondence between the order information of the wearing order or the order information of the order of picking and the function command of the headset, Determining a third function instruction corresponding to the successive wearing order information or a fourth function instruction corresponding to the successive extracting order information; controlling the headset to execute the third function instruction or the fourth function instruction to achieve The third interaction function or the fourth interaction function with the mobile terminal.
  • a self-control module configured to preset the correspondence between the order information of the wearing order or the order information of the order of picking and the function command of the headset, Determining a third function instruction corresponding to the successive wearing order information or a fourth function instruction corresponding to the successive extracting order information; controlling the headset to execute the third function instruction or the fourth function instruction to achieve The third interaction function or the fourth interaction function with the mobile terminal.
  • a third functional instruction corresponding to the sequential wearing order information is determined, where the third functional instruction includes at least the following functional instructions A: a function command to instruct the headset to establish a connection with the mobile terminal, a function command to instruct the headset to enter standby playback mode, a function command to instruct the headset to play music or answer a call; or, according to the sequence information and the headset function command
  • the preset correspondence between them determines a fourth function instruction corresponding to the sequence information, and the fourth function instruction includes at least one of the following function instructions: a function instruction instructing the headset to enter a standby playback mode, instructing the headset Function command to disconnect the mobile terminal and instruct the headset to enter the power saving mode.
  • an embodiment of the present invention also provides an earphone 700, including:
  • a detection sensor 701 configured to detect the order information of the first earphone and / or the second earphone, or the order information of the first earphone;
  • the processor 702 is configured to determine, according to the preset correspondence between the successive wearing order information or the successive extracting order information output by the detection sensor and the mobile terminal function instruction, the corresponding to the successive wearing order information A first functional instruction or a second functional instruction corresponding to the sequential extraction sequence information;
  • the communication module 703 is configured to send the first function instruction or the second function instruction to the mobile terminal, so that the mobile terminal executes the first function instruction or the second function instruction to achieve The first interactive function or the second interactive function.
  • each module of the headset of the embodiment of the present invention corresponds to the implementation step in the foregoing embodiment of the interactive control method of the headset. Therefore, for more information about each module of the headset, refer to the foregoing method implementation The description in the example will not be repeated here.
  • FIG. 8 Another embodiment of the present invention provides a computer-readable storage medium 800.
  • a computer program is stored on the computer-readable storage medium 800 (ie, the computer program in FIG. 8 for performing the method steps according to the present invention 801), when the computer program 801 is executed by the processor, the steps in the aforementioned interactive control method of the headset are realized.
  • the embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
  • computer usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processing machine, or other programmable data processing device to produce a machine that enables the generation of instructions executed by the processor of the computer or other programmable data processing device

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种耳机的交互控制方法、装置、耳机和存储介质,耳机包括第一耳机和第二耳机,方法包括:获取第一耳机和/或第二耳机的先后佩戴次序信息或先后摘取次序信息;根据先后佩戴次序信息或先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定与先后佩戴次序信息对应的第一功能指令或与先后摘取次序信息对应的第二功能指令;发送第一功能指令或第二功能指令至移动终端,以使得移动终端执行所述第一功能指令或第二功能指令实现与所述耳机的第一交互功能或第二交互功能。本发明技术方案满足了用户对耳机的多样化控制需求,改善了用户体验。

Description

耳机的交互控制方法、装置,耳机和存储介质
本申请要求于2018年11月9日提交中国专利局、申请号为201811332529.8、发明名称为“耳机的交互控制方法、装置,耳机和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及耳机技术领域,具体涉及一种耳机的交互控制方法、装置,耳机和存储介质。
背景技术
随着人工智能的迅速发展,智能终端实现的功能越来越多,用户对功能实现的要求也越来越高。如何更好的实现人机交互、终端之间的交互,进一步改善用户体验的问题亟待完善解决。
发明内容
本发明提供了一种耳机的交互控制方法、装置,耳机和存储介质,进一步完善和改进了功能实现的细节,改善了用户体验。
根据本申请的一个方面,提供了一种耳机的交互控制方法,所述耳机包括第一耳机和第二耳机,所述方法包括:
获取所述第一耳机和/或所述第二耳机的先后佩戴次序信息或先后摘取次序信息;
根据所述先后佩戴次序信息或所述先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第一功能指令或与所述先后摘取次序信息对应的第二功能指令;
发送所述第一功能指令或所述第二功能指令至移动终端,以使得所述移动终端执行所述第一功能指令或所述第二功能指令实现与所述耳机的第一交互功能或第二交互功能。
根据本申请的另一个方面,提供了一种耳机的交互控制装置,所述耳机 包括第一耳机和第二耳机,装置包括:
获取模块,用于获取所述第一耳机和/或所述第二耳机的先后佩戴次序信息或先后摘取次序信息;
指令确定模块,用于根据所述先后佩戴次序信息或所述先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第一功能指令或与所述先后摘取次序信息对应的第二功能指令;
控制模块,用于发送所述第一功能指令或所述第二功能指令至移动终端,以使得所述移动终端执行所述第一功能指令或所述第二功能指令实现与所述耳机的第一交互功能或第二交互功能。
根据本申请的又一个方面,提供了一种耳机,包括:
检测传感器,用于检测所述第一耳机和/或所述第二耳机的先后佩戴次序信息或先后摘取次序信息;
处理器,用于根据所述检测传感器输出的所述先后佩戴次序信息或所述先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第一功能指令或与所述先后摘取次序信息对应的第二功能指令;
通信模块,用于发送所述第一功能指令或所述第二功能指令至移动终端,以使得所述移动终端执行所述第一功能指令或所述第二功能指令实现与所述耳机的第一交互功能或第二交互功能。
根据本申请的再一个方面,提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现本申请一个方面所述的方法。
有益效果:本发明实施例的耳机的交互控制方法、装置,通过获取第一耳机和/或第二耳机的先后佩戴次序信息或先后摘取次序信息;根据先后佩戴次序信息或先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定对应的第一功能指令或对应的第二功能指令,发送第一功能指令或第二功能指令至移动终端,以使得移动终端执行后实现与耳机的第一交互功能或第二交互功能。由此,本申请实施例基于第一耳机或第二耳机的佩戴或摘取先后次序控制移动终端实现与耳机的不同交互功能,丰富了耳机以及移动终端的控制方式,满足了用户的对耳机或手机功能切换的控制需求,改善了用户 体验,并使得人机交互,耳机和移动终端之间的交互更加智能化和便捷化,提高了产品的市场竞争力。本申请实施例提供的耳机能够智能检测不同耳机的先后佩戴或摘取次序,基于先后佩戴或摘取次序控制移动终端完成与耳机的不同交互功能,智能化程度高,用户体验好。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一部分附图,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。
图1是本申请一个实施例的耳机的交互控制方法的流程示意图;
图2是本申请一个实施例的耳机的结构示意图;
图3是本申请一个实施例的耳机佩戴检测的示意图;
图4是本申请一个实施例的左耳机、右耳机先后佩戴次序与控制的功能的示意图;
图5是本申请一个实施例的右耳机、左耳机先后佩戴次序与控制的功能的示意图;
图6是本申请一个实施例的耳机的交互控制装置的框图;
图7是本申请一个实施例的耳机的框图;
图8是本申请一个实施例的计算机存储介质的框图。
具体实施方式
为使本发明的上述目的、特征和优点更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1是本申请一个实施例的耳机的交互控制方法的流程示意图,参见图1,本实施例中耳机包括第一耳机和第二耳机,耳机的交互控制方法包括下列步骤:
步骤S101,获取所述第一耳机和/或所述第二耳机的先后佩戴次序信息或先后摘取次序信息;
步骤S102,根据所述先后佩戴次序信息或所述先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第一功能指令或与所述先后摘取次序信息对应的第二功能指令;
步骤S103,发送所述第一功能指令或所述第二功能指令至移动终端,以使得所述移动终端执行所述第一功能指令或所述第二功能指令实现与所述耳机的第一交互功能或第二交互功能。
由图1所示可知,本实施例的耳机的交互控制方法在耳机与移动终端的功能交互上,基于获取的第一耳机和/或第二耳机的先后佩戴次序信息或先后摘取次序信息来实现,也就是说,不同耳机的先后佩戴或摘取次序不同,实现的交互功能也不同。这样,满足了用户的多样化切换功能的需求,改善了用户体验,使得用户只需要在佩戴或摘取耳机时按照不同次序即可控制完成功能选择、切换,智能化程度更高,人机交互更便捷。
在本发明的一个实施例中,获取所述第一耳机和/或所述第二耳机的先后佩戴次序信息或先后摘取次序信息的方式包括:获取一次佩戴或摘取过程中佩戴或摘取对应的耳机标识,根据所述耳机标识确定所述第一耳机的先后佩戴次序信息或先后摘取次序信息;或者,所述第二耳机的先后佩戴次序信息或先后摘取次序信息;或者,所述第一耳机和所述第二耳机的先后佩戴次序信息或先后摘取次序信息。
一般的,耳机都是成对使用的,也就是说用户在使用耳机时通常都会同时使用第一耳机和第二耳机,将第一耳机和第二耳机分别佩戴到左右耳道内来收听声音,但考虑到实际情况中,可能存在使用单只耳机的情况,比如仅使用第一耳机而不使用第二耳机,本申请的实施例中也通过获取一次佩戴或摘取过程中佩戴或摘取对应的耳机标识来确定三种情况下耳机的先后佩戴次序信息或先后摘取次序信息,即(1)第一耳机的先后佩戴次序信息或先后摘取次序信息;(2)第二耳机的先后佩戴次序信息或先后摘取次序信息;(3)第一耳机和第二耳机的先后佩戴次序信息或先后摘取次序信息。
由于现实中,第三种即同时使用第一耳机和第二耳机的情况是大部分人的使用习惯,以下实施例中优先对获取到的信息为(3)第一耳机和第二耳机 的先后佩戴次序信息或先后摘取次序信息进行说明。
本实施例中,先后佩戴次序信息包括:在用户先将第一耳机佩戴于第一耳朵而后将第二耳机佩戴于第二耳朵时,获取到的佩戴转换电信号的次序信息;先后摘取次序信息包括:在用户先将第一耳机自耳朵摘取下而后将第二耳机自耳朵摘取下时,获取到的摘取转换电信号的次序信息。参见图2,本实施例中以耳机是无线耳机为例进行的说明,图2示意了一只耳机,该耳机包括喇叭外网和胶套,在耳机上还设置有检测器,检测器对耳机的佩戴或摘取状态进行检测。一个实施例中,获取到的佩戴转换电信号的次序信息包括:在用户将第一耳机佩戴于第一耳朵或将第二耳机佩戴于第二耳朵后,获取的耳机由非佩戴状态转换为佩戴状态时对应的佩戴转换电信号;获取到的摘取转换电信号的次序信息包括:在用户将所述第一耳机自第一耳朵摘取下或将第二耳机自第二耳朵摘取下后,获取的耳机由佩戴状态转换为非佩戴状态时对应的摘取转换电信号。
也就是说,当用户将耳机佩戴到耳朵后,耳机上的检测器能够检测到耳机由非佩戴状态转换成了佩戴状态,此时对应的检测器上会生成佩戴转换信号。相应的,当用户将耳机从耳朵上摘取下来的时候,耳机上的检测也能够检测到耳机由佩戴状态转换为了非佩戴状态此时对应的检测上会生成摘取转换电信号。当用户佩戴耳机的次序不同,对应的佩戴转换电信号的次序也不同,这种次序是第一耳机和第二耳机之间的次序。同样的,获取一次佩戴或摘取过程中佩戴或摘取对应的耳机标识也是通过检测传感器,即根据通过所述第一检测传感器内置电阻的第一电流信息,确定与所述第一电流信息对应的所述第一耳机的耳机标识;根据通过所述第二检测传感器内置电阻的第二电流信息,确定与所述第二电流信息对应的所述第二耳机的耳机标识。
参见图3,一个实施例中无线耳机的佩戴检测示意,获取第一耳机和第二耳机的先后佩戴次序信息包括:获取第一耳机上的第一检测传感器响应用户将第一耳机佩戴于第一耳朵后的电流值变化生成的第一佩戴转换电信号;获取第二耳机上的第二检测传感器响应用户将第二耳机佩戴于第二耳朵后的电流值变化生成的第二佩戴转换电信号;其中,第一检测传感器内置电阻的阻值与第二检测传感器内置电阻的阻值不同,第一佩戴转换电信号先于第二佩戴转换电信号被获取到。
相应的,获取第一耳机和第二耳机的先后摘取次序信息包括:获取第一耳机上的第一检测传感器响应用户将第一耳机自第一耳朵摘取下后的电流值变化生成的第一摘取转换电信号;获取第二耳机上的第二检测传感器响应用户将第二耳机自第二耳朵摘取下后的电流值变化生成的第二摘取转换电信号,第一摘取转换电信号先于第二摘取转换电信号被获取到。
由上可知,本发明一个实施例中,在第一耳机上设置第一检测传感器,第二耳机上设置第二检测传感器,第一检测传感器和第二检测传感器的内置电阻的阻值不同,并以此来区分检测传感器。阻值不同则流过传感器的电流必定不同,根据不同电流值来确定是第一耳机或第二耳机的佩戴次序,或者确定第一耳机或第二耳机的摘取次序。
进一步的,在佩戴状态下检测传感器的电流值等于一个数值或属于一个数值范围内,当预设时间段(5秒)内,耳机由佩戴状态转换为摘取状态时,流过检测传感器的电流值会发生变化,比如,从0值对应的电流值变换到1值对应的电流值。本实施例中正式基于这种预设时间段内电流值的变化(或称转换)来区分同一个耳机的佩戴和摘取状态,也即,第一耳机上的第一检测传感器响应用户将第一耳机佩戴于第一耳朵后的电流值变化生成第一佩戴转换电信号。第一检测传感器响应用户将第一耳机自第一耳朵摘取下后的电流值变化生成第一摘取转换电信号。同理,第二耳机的第二检测传感器可以检测到第二耳机的佩戴或摘取状态。
参见图4,一个实施中,当第一耳机为左耳机,第二耳机为右耳机时,图1所示方法,获取左耳机与右耳机的先后佩戴次序信息,根据先后佩戴次序信息与移动终端功能指令之间的预设对应关系,确定与先后佩戴次序信息对应的第一功能指令;第一功能指令包括下列功能指令中的至少一个:指示与耳机建立连接的功能指令,指示打开移动终端中音乐应用的功能指令,以及指示打开音乐应用中用户常听音乐播放列表并进行通过耳机播放音乐的功能指令。
在图4中,左耳机是先被用户佩戴上的耳机,图4中移动终端以手机为例。当用户先佩戴上左耳机,而后又佩戴上右耳机时,根据获取到的这种左耳机、右耳机的先后佩戴次序信息,查找先后佩戴次序信息与移动终端功能指令之间的预设对应关系,确定与先后佩戴次序信息对应的第一功能指令。本实施 例中,第一功能指令包括了与耳机建立无线连接的指令(参见图4中手机和耳机之间的双向箭头),打开手机上音乐应用的指令,见图4中的“音乐播放”,打开手机上音乐应用的“常听音乐列表”、“最爱音乐列表”或者“音乐分类库”的指令,还包括通过耳机播放的指令。可以理解,图4中示意的界面仅用作说明本发明实施例的第一功能指令的内容,本发明实施例的第一功能指令的内容不以图4中的示意为限。例如,还可以包括打开手机上安装的声音均衡器器的指令,实际应用中可以根据需求定义第一功能指令。
由图4所示可得,对于用户而言,只需要通过先佩戴左耳机、后佩戴右耳机到耳朵上即可实现控制手机将手机上的音乐经耳机播放的功能,大大改善了用户与耳机的交互体验,提高了耳机的智能化程度。
参见图5,在本发明的另一个实施例中,第一耳机为右耳机,第二耳机为左耳机;获取右耳机与左耳机的先后佩戴次序信息,根据先后佩戴次序信息与移动终端功能指令之间的预设对应关系,确定与先后佩戴次序信息对应的第一功能指令;第一功能指令包括下列功能指令中的至少一个:指示移动终端打开通话模式的功能指令,指示移动终端打开拨号界面接收用户输入的电话号码的功能指令,或者指示移动终端通过耳机接听来电的功能指令。
如图5所示,在本发明的另一个实施例中,当用户先将右耳机佩戴到耳朵上,而后将左耳机佩戴到耳朵上,耳机根据这种右耳机以及左耳机的先后佩戴次序信息确定出相应的第一功能指令,本实施例中,第一功能指令包括了打开手机通话模式的指令,见图5中示意的“通话模式”。还可以包括通话模式下更具体的指令,例如,打开手机“通讯录”、打开“历史记录”的指令、打开拨号盘(见图5中位于手机当前界面下半部分的数字盘)的指令。如此,用户只需要将右耳机以及左耳机先后佩戴到耳朵上,即可由耳机来控制手机打开手机的通话模式,方便用户拨打或接听电话,并通过耳机播放通话声音,改善了用户体验。
与上述佩戴过程类似,摘取的过程中也可以区分左右耳机的先后次序并基于左右耳机摘取的先后次序实现不同功能的控制。具体的,在本发明的一个实施例中,第一耳机为左耳机,第二耳机为右耳机;获取左耳机与右耳机的先后摘取次序信息,根据先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定与先后摘取次序信息对应的第二功能指令;第二功能指令 包括下列功能指令中的至少一个:指示暂停移动终端中音乐应用的功能指令,或指示关闭移动终端中音乐应用的功能指令,或指示通过移动终端中喇叭播放音乐的功能指令,指示断开与耳机的连接的功能指令。
在本发明的另一个实施例中,第一耳机为右耳机,第二耳机为左耳机;获取右耳机与左耳机的先后摘取次序信息,根据先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定与先后摘取次序信息对应的第二功能指令;第二功能指令包括下列功能指令中的至少一个:指示由移动终端中喇叭播放通话语音的功能指令,指示断开与耳机的连接的功能指令,或指示移动终端挂断电话的功能指令。
在本发明的一个实施例中,耳机除了可以基于先后佩戴次序信息或先后摘取次序信息来控制手机执行一些与耳机的交互功能相关的指令之外,还可以控制自身实现与移动终端比如手机的交互功能。也就是说,耳机的交互控制方法还包括根据所述先后佩戴次序信息或所述先后摘取次序信息与耳机功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第三功能指令或与所述先后摘取次序信息对应的第四功能指令;控制所述耳机执行所述第三功能指令或所述第四功能指令以实现与移动终端的第三交互功能或第四交互功能。
例如,根据先后佩戴次序信息与耳机功能指令之间的预设对应关系,确定与先后佩戴次序信息对应的第三功能指令,第三功能指令包括下列功能指令中的至少一个:指示耳机与移动终端建立连接的功能指令,指示耳机进入待机播放模式的功能指令,指示耳机进行音乐播放或接听通话的功能指令。
再例如,根据先后摘取次序信息与耳机功能指令之间的预设对应关系,确定与先后摘取次序信息对应的第四功能指令,第四功能指令包括下列功能指令中的至少一个:指示耳机进入待机播放模式的功能指令,指示耳机断开与移动终端连接的功能指令,指示耳机进入省电模式的功能指令。
如前述,实际中可能存在使用单只耳机的情况,比如仅使用第一耳机而不使用第二耳机。对此,本发明实施例的耳机交互控制方法还包括当耳机标识仅指示有第一耳机的佩戴信息或摘取信息时,根据佩戴信息或摘取信息与移动终端功能指令之间的预设对应关系,确定与佩戴信息对应的第五功能指令或与摘取信息对应的第六功能指令;发送第五功能指令或第六功能指令至 移动终端,以使得移动终端执行第五功能指令或第六功能指令实现与耳机的第五交互功能或第六交互功能。
在一个实施例中,第一耳机为左耳机。根据左耳机的佩戴信息与移动终端功能指令之间的预设对应关系,确定与佩戴信息对应的第五功能指令,所述第五功能指令包括下列功能指令中的至少一个:指示与耳机建立连接的功能指令,指示打开移动终端中音乐应用的功能指令,以及指示打开音乐应用中用户常听音乐播放列表并进行通过耳机播放音乐的功能指令。
也就是说,当一次使用过程中,用户仅使用左耳机时,根据获取的左耳机的佩戴信息,以及预设的对应关系确定出第五功能指令,将第五功能指令发送给手机,由手机执行后也可以实现手机与耳机连接,打开手机中音乐应用等功能,并不要求用户既佩戴左耳机又佩戴右耳机。需要说明的是,由于这种情况下,用户仅佩戴了左耳机,那么相对于未佩戴的右耳机来说也是用户先佩戴了左耳机。
在本发明的一个实施例中,第一耳机为左耳机,当耳机标识指示只有左耳机的信息时,根据左耳机的摘取信息与移动终端功能指令之间的预设对应关系,确定与摘取信息对应的第六功能指令,第六功能指令包括下列功能指令中的至少一个:指示暂停移动终端中音乐应用的功能指令,指示关闭移动终端中音乐应用的功能指令,指示通过移动终端中喇叭播放音乐的功能指令,指示断开与耳机的连接的功能指令。
当用户仅佩戴了左耳机并在使用完毕后对应有摘取左耳机的操作,根据获取的左耳机的摘取信息以及预设的对应关系确定出第六功能指令,将第六功能指令发送给手机执行后,可以实现暂停音乐播放,或关闭音乐应用等功能。
同理,第一耳机也可以为右耳机,当耳机标识指示只有右耳机的信息时,根据右耳机的佩戴信息与移动终端功能指令之间的预设对应关系,确定与佩戴信息对应的第五功能指令,第五功能指令包括下列功能指令中的至少一个:指示移动终端打开通话模式的功能指令,指示移动终端打开拨号界面接收用户输入的电话号码的功能指令,或者指示移动终端通过耳机接听来电的功能指令。
在一个实施例中,第一耳机为右耳机,当耳机标识指示只有右耳机的信 息时,根据右耳机的摘取信息与移动终端功能指令之间的预设对应关系,确定与摘取信息对应的第六功能指令,第六功能指令包括下列功能指令中的至少一个:指示由移动终端中喇叭播放通话语音的功能指令,指示断开与耳机的连接的功能指令,或指示移动终端挂断电话的功能指令。
由于右耳机的交互控制过程与前述左耳机的交互控制过程类似,因此此处不再赘述,可以参见前述对左耳机的佩戴或摘取的交互控制过程的说明。
以下结合一个具体应用场景对本发明实施例的耳机的交互控制方法的实现步骤进行说明。
在结构硬件上,该应用场景包括手机,配合手机使用的左、右耳机。左耳机设置第一检测器,右耳机设置第二检测器,第一检测器可以检测耳机是否佩戴于用户耳朵,用于产生左耳指令A和左耳指令a;第二检测器可以检测耳机是否佩戴于用户耳朵,用于产生右耳指令B和右耳指令b;
左耳机设置第三检测器,右耳机设置第四检测器,第三检测器可以检测耳机是否佩戴于用户耳朵,用于产生左耳指令M和左耳指令m;第二检测器可以检测耳机是否佩戴于用户耳朵,用于产生右耳指令N和右耳指令n;
左耳机设置第五检测器,右耳机设置第六检测器,第五检测器可以检测耳机是否佩戴于用户耳朵,用于产生左耳指令E和左耳指令e;第六检测器可以检测耳机是否佩戴于用户耳朵,用于产生右耳指令F和右耳指令f;
左耳机上的第一检测器、第三检测器、第五检测器,右耳机上的第二检测器、第四检测器、第六检测器均可以是红外传感器,用于检测耳道内的温度。例如红外传感器可以检测用户耳道内的温度值范围,并根据该温度值范围,确定用户是否佩戴上耳机。
具体的当左耳机佩戴进用户耳道,生成指令,指令是红外传感器发出的电信号,该电信号可以代指0-1的转换;当左耳机被取下,生成指令,该指令是红外传感器发出的电信号,该电信号可以代指1-0的转换。即佩戴上耳机,红外传感器给出1的值;取下耳机,红外传感器给出0的值,当规定时间内输出0-1的转换(并非输出固定值而是输出一种值的变化),说明用户佩戴上耳机,当输出1-0的转换,说明用户取下了耳机。
另外,左耳机的第一检测器、第三检测器、第五检测器,与对应的右耳机的第二检测器、第四检测器、第六检测器并不相同,其检测出的电信号反 应在通过传感器内置电阻不同(比如阻值大小不同),输出的电流差异,具体到电信号上,可以是0-2的转换或2-0的转换。
左耳机的第一检测器、第三检测器、第五检测器,可以是同一个检测器甲,对应的右耳机的第二检测器、第四检测器、第六检测器也可以是同一个检测器乙,通过预先定义,检测器甲输出1-0或0-1的转换,与检测器乙输出2-0或0-2的转换,共四种转换组合,在预设时间内不同的输出顺序,实现对控制指令的不同输出。例如,在5秒内,检测器甲输出0-1转换,又检测器乙输出0-2转换,指示了用户先佩戴上左耳机,后佩戴上右耳机。当在5秒内检测器甲输出1-0转换,又检测器乙输出2-0转换,指示了用户先取下左耳机,后取下右耳机。
在具体软件实现上,(一)针对于佩戴过程:
(1)当用户先佩戴上左耳机,系统首先接到左耳指令A,指令A被配置为用于发送给用户手机,指示用户手机打开音乐应用,同时,用于发送给左、右耳机,指示左、右耳机与手机建立无线连接以及左右耳机进入待机播放模式。当用户继续佩戴上右耳机,系统后接到右耳指令B,指令B被配置为用于发送给用户手机,指示用户手机打开音乐应用中用户“常听音乐播放列表”,进行通过耳机的音乐播放。
(2)当用户先戴上右耳机,系统首先接到右耳指令b,指令b被配置为用于发送给用户手机,指示用户手机打开通话模式,同时,用于发送给左、右耳机,指示左、右耳机进入待机播放模式。当用户继续佩戴上左耳机,系统后接到右耳指令a,指令a被配置为用于发送给用户手机,指示用户手机接听用户的手机来电,并通过耳机播放给用户,或者在没有接到用户手机来电时,直接控制打开手机拨号盘,等待用户输入手机号码。
(二)针对摘取过程,
摘取过程分为音乐播放情况下的摘取和通话情况下的摘取,具体的在音乐播放的情况下,
(1)当用户首先摘取左耳机,系统首先接到左耳指令M,指令M被配置为用于发送给用户手机,指示用户手机暂停音乐应用的音乐播放,同时,用于发送给左、耳机,指示左、右耳机进入待机播放模式。当用户继续摘取右耳机,系统继续接到右耳指令N,指令N被配置为用于发送给用户手机,控制 用户手机关闭音乐,同时用于发送给左、右耳机,指示左、右耳机切断与手机之间的无线连接,并进入省电模式。
(2)当用户先摘取右耳机,系统首先接到右耳指令n,指令n被配置为用于发送给用户手机,控制手机喇叭播放音乐(实现外放),同时用于发送给左、右耳机,指示左、右耳机进入待机播放模式。当用户继续摘取左耳机,系统继续接到左耳指令m,指令m被配置为用于切断左、右耳机与手机之间的无线连接,指示左右耳机进入省电模式。
在通话情况下,
(1)当用户首先摘取右耳机,系统首先接到右耳指令F,指令F被配置为用于发送给用户手机,控制切断手机通话模式(挂断电话),并用于发送给左右耳机,指示左右耳机进入待机播放模式。当用户继续摘取左耳机,系统继续接到左耳指令E,指令E被配置为用于发送给用户手机,控制切断左右耳机与手机之间的无线连接,指示左右耳机进入省电模式。
(2)当用户首先摘取左耳机,系统首先接到左耳指令e,指令e被配置为用于发送给用户手机,控制手机喇叭播放通话(通话外放),同时用于发送给左、右耳机,指示左、右耳机进入待机播放模式。当用户继续摘取右耳机,系统继续接到右耳机指令f,指令f被配置为用于发送给用户手机,控制切断左、右耳机与手机之间的无线连接,指示左、右耳机进入省电模式。
至此,通过左、右耳机的佩戴或摘取次序生成控制指令,来控制耳机与手机的功能选择或切换,丰富了耳机与用户、耳机与其他移动终端的交互方式,提高了用户体验。
与前述耳机的交互控制方法同属一个发明构思,本发明实施例还提供了一种耳机的交互控制装置,耳机包括第一耳机和第二耳机,耳机的交互控制装置600包括:
获取模块601,用于获取所述第一耳机和/或所述第二耳机的先后佩戴次序信息或先后摘取次序信息;
指令确定模块602,用于根据所述先后佩戴次序信息或所述先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第一功能指令或与所述先后摘取次序信息对应的第二功能指令;
控制模块603,用于发送所述第一功能指令或所述第二功能指令至移动终 端,以使得所述移动终端执行所述第一功能指令或所述第二功能指令实现与所述耳机的第一交互功能或第二交互功能。
在本发明的一个实施例中,获取模块601具体用于获取一次佩戴或摘取过程中佩戴或摘取对应的耳机标识,根据所述耳机标识确定所述第一耳机的先后佩戴次序信息或先后摘取次序信息;或者,所述第二耳机的先后佩戴次序信息或先后摘取次序信息;或者,所述第一耳机和所述第二耳机的先后佩戴次序信息或先后摘取次序信息。
在本发明的一个实施例中,获取的所述先后佩戴次序信息包括:在用户先将所述第一耳机佩戴于第一耳朵而后将所述第二耳机佩戴于第二耳朵时,获取到的佩戴转换电信号的次序信息;所述先后摘取次序信息包括:在用户先将所述第一耳机自第一耳朵摘取下而后将所述第二耳机自第二耳朵摘取下时,获取到的摘取转换电信号的次序信息。
在本发明的一个实施例中,获取模块601获取到的佩戴转换电信号的次序信息包括:在用户将所述第一耳机佩戴于第一耳朵或将所述第二耳机佩戴于第二耳朵后,获取的耳机由非佩戴状态转换为佩戴状态时对应的佩戴转换电信号;获取到的摘取转换电信号的次序信息包括:在用户将所述第一耳机自第一耳朵摘取下或将所述第二耳机自第二耳朵摘取下后,获取的耳机由佩戴状态转换为非佩戴状态时对应的摘取转换电信号。
在本发明的一个实施例中,所述第一耳机为左耳机,所述第二耳机为右耳机;获取所述左耳机与所述右耳机的先后佩戴次序信息,根据所述先后佩戴次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第一功能指令;所述第一功能指令包括下列功能指令中的至少一个:指示与耳机建立连接的功能指令,指示打开移动终端中音乐应用的功能指令,以及指示打开音乐应用中用户常听音乐播放列表并进行通过耳机播放音乐的功能指令。
在本发明的一个实施例中,所述第一耳机为右耳机,所述第二耳机为左耳机;获取所述右耳机与所述左耳机的先后佩戴次序信息,根据所述先后佩戴次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第一功能指令;所述第一功能指令包括下列功能指令中的至少一个:指示移动终端打开通话模式的功能指令,指示移动终端打开拨号界 面接收用户输入的电话号码的功能指令,或者指示移动终端通过耳机接听来电的功能指令。
在本发明的一个实施例中,所述第一耳机为左耳机,所述第二耳机为右耳机;获取所述左耳机与所述右耳机的先后摘取次序信息,根据所述先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后摘取次序信息对应的第二功能指令;所述第二功能指令包括下列功能指令中的至少一个:指示暂停移动终端中音乐应用的功能指令,或指示关闭移动终端中音乐应用的功能指令,或指示通过移动终端中喇叭播放音乐的功能指令,指示断开与耳机的连接的功能指令。
在本发明的一个实施例中,所述第一耳机为右耳机,所述第二耳机为左耳机;获取所述右耳机与所述左耳机的先后摘取次序信息,根据所述先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后摘取次序信息对应的第二功能指令;所述第二功能指令包括下列功能指令中的至少一个:指示由移动终端中喇叭播放通话语音的功能指令,指示断开与耳机的连接的功能指令,或指示移动终端挂断电话的功能指令。
在本发明的一个实施例中,获取模块601具体用于获取所述第一耳机上的第一检测传感器响应用户将所述第一耳机佩戴于第一耳朵后的电流值变化生成的第一佩戴转换电信号;获取所述第二耳机上的第二检测传感器响应用户将所述第二耳机佩戴于第二耳朵后的电流值变化生成的第二佩戴转换电信号;其中,所述第一检测传感器内置电阻的阻值与所述第二检测传感器内置电阻的阻值不同,所述第一佩戴转换电信号先于所述第二佩戴转换电信号被获取到。
在本发明的一个实施例中,获取所述第一耳机和所述第二耳机的先后摘取次序信息包括:获取所述第一耳机上的第一检测传感器响应用户将所述第一耳机自第一耳朵摘取下后的电流值变化生成的第一摘取转换电信号;获取所述第二耳机上的第二检测传感器响应用户将所述第二耳机自第二耳朵摘取下后的电流值变化生成的第二摘取转换电信号;其中,所述第一检测传感器内置电阻的阻值与所述第二检测传感器内置电阻的阻值不同,所述第一摘取转换电信号先于所述第二摘取转换电信号被获取到。
在本发明的一个实施例中,获取一次佩戴或摘取过程中佩戴或摘取对应 的耳机标识包括:根据通过所述第一检测传感器内置电阻的第一电流信息,确定与所述第一电流信息对应的所述第一耳机的耳机标识;根据通过所述第二检测传感器内置电阻的第二电流信息,确定与所述第二电流信息对应的所述第二耳机的耳机标识。
在本发明的一个实施例中,图6所示的装置还包括:自控模块,用于根据所述先后佩戴次序信息或所述先后摘取次序信息与耳机功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第三功能指令或与所述先后摘取次序信息对应的第四功能指令;控制所述耳机执行所述第三功能指令或所述第四功能指令以实现与移动终端的第三交互功能或第四交互功能。
具体的,根据所述先后佩戴次序信息与耳机功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第三功能指令,所述第三功能指令包括下列功能指令中的至少一个:指示耳机与移动终端建立连接的功能指令,指示耳机进入待机播放模式的功能指令,指示耳机进行音乐播放或接听通话的功能指令;或者,根据所述先后摘取次序信息与耳机功能指令之间的预设对应关系,确定与所述先后摘取次序信息对应的第四功能指令,所述第四功能指令包括下列功能指令中的至少一个:指示耳机进入待机播放模式的功能指令,指示耳机断开与移动终端连接的功能指令,指示耳机进入省电模式的功能指令。
另外,本发明一个实施例还提供了一种耳机700,包括:
检测传感器701,用于检测所述第一耳机和/或所述第二耳机的先后佩戴次序信息或先后摘取次序信息;
处理器702,用于根据所述检测传感器输出的所述先后佩戴次序信息或所述先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第一功能指令或与所述先后摘取次序信息对应的第二功能指令;
通信模块703,用于发送所述第一功能指令或所述第二功能指令至移动终端,以使得所述移动终端执行所述第一功能指令或所述第二功能指令实现与所述耳机的第一交互功能或第二交互功能。
需要说明的是,本发明实施例的耳机的各模块的工作过程与前述耳机的交互控制方法实施例中实现步骤是对应的,因此,有关耳机的各模块的更多 的信息可以参见前述方法实施例中的说明,这里不再赘述。
本发明的另一个实施例提供一种计算机可读存储介质800,参见图8,计算机可读存储介质800上存储有计算机程序(即,图8中用于执行根据本发明的方法步骤的计算机程序801),该计算机程序801被处理器执行时实现前述耳机的交互控制方法中的步骤。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图的一个流程或多个流程和/或方框图的一个方框或多个方框中指定的功能的装置。
需要说明的是术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本发明的说明书中,说明了大量具体细节。然而能够理解的是,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。类似地,应当理解,为了精简本发明公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释 呈反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
以上所述,仅为本发明的具体实施方式,在本发明的上述教导下,本领域技术人员可以在上述实施例的基础上进行其他的改进或变形。本领域技术人员应该明白,上述的具体描述只是更好的解释本发明的目的,本发明的保护范围以权利要求的保护范围为准

Claims (23)

  1. 一种耳机的交互控制方法,所述耳机包括第一耳机和第二耳机,所述方法包括:
    获取所述第一耳机和/或所述第二耳机的先后佩戴次序信息或先后摘取次序信息;
    根据所述先后佩戴次序信息或所述先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第一功能指令或与所述先后摘取次序信息对应的第二功能指令;
    发送所述第一功能指令或所述第二功能指令至移动终端,以使得所述移动终端执行所述第一功能指令或所述第二功能指令实现与所述耳机的第一交互功能或第二交互功能。
  2. 根据权利要求1所述的方法,其特征在于,获取所述第一耳机和/或所述第二耳机的先后佩戴次序信息或先后摘取次序信息包括:
    获取一次佩戴或摘取过程中佩戴或摘取对应的耳机标识,根据所述耳机标识确定所述第一耳机的先后佩戴次序信息或先后摘取次序信息;或者,所述第二耳机的先后佩戴次序信息或先后摘取次序信息;或者,所述第一耳机和所述第二耳机的先后佩戴次序信息或先后摘取次序信息。
  3. 根据权利要求1或2所述的方法,其特征在于,
    所述先后佩戴次序信息包括:在用户先将所述第一耳机佩戴于第一耳朵而后将所述第二耳机佩戴于第二耳朵时,获取到的佩戴转换电信号的次序信息;
    所述先后摘取次序信息包括:在用户先将所述第一耳机自第一耳朵摘取下而后将所述第二耳机自第二耳朵摘取下时,获取到的摘取转换电信号的次序信息。
  4. 根据权利要求3所述的方法,其特征在于,所述获取到的佩戴转换电信号的次序信息包括:
    在用户将所述第一耳机佩戴于第一耳朵或将所述第二耳机佩戴于第二耳朵后,获取的耳机由非佩戴状态转换为佩戴状态时对应的佩戴转换电信号;
    所述获取到的摘取转换电信号的次序信息包括:
    在用户将所述第一耳机自第一耳朵摘取下或将所述第二耳机自第二耳朵 摘取下后,获取的耳机由佩戴状态转换为非佩戴状态时对应的摘取转换电信号。
  5. 根据权利要求2所述的方法,其特征在于,所述第一耳机为左耳机,所述第二耳机为右耳机;
    获取所述左耳机与所述右耳机的先后佩戴次序信息,根据所述先后佩戴次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第一功能指令;
    所述第一功能指令包括下列功能指令中的至少一个:指示与耳机建立连接的功能指令,指示打开移动终端中音乐应用的功能指令,以及指示打开音乐应用中用户常听音乐播放列表并进行通过耳机播放音乐的功能指令。
  6. 根据权利要求2所述的方法,其特征在于,所述第一耳机为右耳机,所述第二耳机为左耳机;
    获取所述右耳机与所述左耳机的先后佩戴次序信息,根据所述先后佩戴次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第一功能指令;
    所述第一功能指令包括下列功能指令中的至少一个:指示移动终端打开通话模式的功能指令,指示移动终端打开拨号界面接收用户输入的电话号码的功能指令,或者指示移动终端通过耳机接听来电的功能指令。
  7. 根据权利要求2所述的方法,其特征在于,所述第一耳机为左耳机,所述第二耳机为右耳机;
    获取所述左耳机与所述右耳机的先后摘取次序信息,根据所述先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后摘取次序信息对应的第二功能指令;
    所述第二功能指令包括下列功能指令中的至少一个:指示暂停移动终端中音乐应用的功能指令,或指示关闭移动终端中音乐应用的功能指令,或指示通过移动终端中喇叭播放音乐的功能指令,指示断开与耳机的连接的功能指令。
  8. 根据权利要求2所述的方法,其特征在于,所述第一耳机为右耳机,所述第二耳机为左耳机;
    获取所述右耳机与所述左耳机的先后摘取次序信息,根据所述先后摘取 次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后摘取次序信息对应的第二功能指令;
    所述第二功能指令包括下列功能指令中的至少一个:指示由移动终端中喇叭播放通话语音的功能指令,指示断开与耳机的连接的功能指令,或指示移动终端挂断电话的功能指令。
  9. 根据权利要求2所述的方法,其特征在于,获取所述第一耳机和所述第二耳机的先后佩戴次序信息包括:
    获取所述第一耳机上的第一检测传感器响应用户将所述第一耳机佩戴于第一耳朵后的电流值变化生成的第一佩戴转换电信号;
    获取所述第二耳机上的第二检测传感器响应用户将所述第二耳机佩戴于第二耳朵后的电流值变化生成的第二佩戴转换电信号;
    其中,所述第一检测传感器内置电阻的阻值与所述第二检测传感器内置电阻的阻值不同,所述第一佩戴转换电信号先于所述第二佩戴转换电信号被获取到。
  10. 根据权利要求2所述的方法,其特征在于,获取所述第一耳机和所述第二耳机的先后摘取次序信息包括:
    获取所述第一耳机上的第一检测传感器响应用户将所述第一耳机自第一耳朵摘取下后的电流值变化生成的第一摘取转换电信号;
    获取所述第二耳机上的第二检测传感器响应用户将所述第二耳机自第二耳朵摘取下后的电流值变化生成的第二摘取转换电信号;
    其中,所述第一检测传感器内置电阻的阻值与所述第二检测传感器内置电阻的阻值不同,所述第一摘取转换电信号先于所述第二摘取转换电信号被获取到。
  11. 根据权利要求9或10所述的方法,其特征在于,获取一次佩戴或摘取过程中佩戴或摘取对应的耳机标识包括:
    根据通过所述第一检测传感器内置电阻的第一电流信息,确定与所述第一电流信息对应的所述第一耳机的耳机标识;
    根据通过所述第二检测传感器内置电阻的第二电流信息,确定与所述第二电流信息对应的所述第二耳机的耳机标识。
  12. 根据权利要求1所述的方法,其特征在于,该方法还包括:
    根据所述先后佩戴次序信息或所述先后摘取次序信息与耳机功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第三功能指令或与所述先后摘取次序信息对应的第四功能指令;
    控制所述耳机执行所述第三功能指令或所述第四功能指令以实现与移动终端的第三交互功能或第四交互功能。
  13. 根据权利要求12所述的方法,其特征在于,根据所述先后佩戴次序信息或所述先后摘取次序信息与耳机功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第三功能指令或与所述先后摘取次序信息对应的第四功能指令包括:
    根据所述先后佩戴次序信息与耳机功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第三功能指令,
    所述第三功能指令包括下列功能指令中的至少一个:指示耳机与移动终端建立连接的功能指令,指示耳机进入待机播放模式的功能指令,指示耳机进行音乐播放或接听通话的功能指令;
    或者,根据所述先后摘取次序信息与耳机功能指令之间的预设对应关系,确定与所述先后摘取次序信息对应的第四功能指令,
    所述第四功能指令包括下列功能指令中的至少一个:指示耳机进入待机播放模式的功能指令,指示耳机断开与移动终端连接的功能指令,指示耳机进入省电模式的功能指令。
  14. 根据权利要求2所述的方法,其特征在于,当所述耳机标识仅指示有所述第一耳机的佩戴信息或摘取信息时,根据所述佩戴信息或摘取信息与移动终端功能指令之间的预设对应关系,确定与所述佩戴信息对应的第五功能指令或与所述摘取信息对应的第六功能指令;
    发送所述第五功能指令或所述第六功能指令至移动终端,以使得所述移动终端执行所述第五功能指令或所述第六功能指令实现与所述耳机的第五交互功能或第六交互功能。
  15. 根据权利要求14所述的方法,其特征在于,所述第一耳机为左耳机,
    根据左耳机的佩戴信息与移动终端功能指令之间的预设对应关系,确定与所述佩戴信息对应的第五功能指令,
    所述第五功能指令包括下列功能指令中的至少一个:指示与耳机建立连 接的功能指令,指示打开移动终端中音乐应用的功能指令,以及指示打开音乐应用中用户常听音乐播放列表并进行通过耳机播放音乐的功能指令。
  16. 根据权利要求14所述的方法,其特征在于,所述第一耳机为左耳机,
    当所述耳机标识指示只有左耳机的信息时,根据左耳机的摘取信息与移动终端功能指令之间的预设对应关系,确定与所述摘取信息对应的第六功能指令,
    所述第六功能指令包括下列功能指令中的至少一个:指示暂停移动终端中音乐应用的功能指令,指示关闭移动终端中音乐应用的功能指令,指示通过移动终端中喇叭播放音乐的功能指令,指示断开与耳机的连接的功能指令。
  17. 根据权利要求14所述的方法,其特征在于,所述第一耳机为右耳机,
    当所述耳机标识指示只有右耳机的信息时,根据右耳机的佩戴信息与移动终端功能指令之间的预设对应关系,确定与所述佩戴信息对应的第五功能指令,
    所述第五功能指令包括下列功能指令中的至少一个:指示移动终端打开通话模式的功能指令,指示移动终端打开拨号界面接收用户输入的电话号码的功能指令,或者指示移动终端通过耳机接听来电的功能指令。
  18. 根据权利要求14所述的方法,其特征在于,所述第一耳机为右耳机,当所述耳机标识指示只有右耳机的信息时,根据右耳机的摘取信息与移动终端功能指令之间的预设对应关系,确定与所述摘取信息对应的第六功能指令,
    所述第六功能指令包括下列功能指令中的至少一个:指示由移动终端中喇叭播放通话语音的功能指令,指示断开与耳机的连接的功能指令,或指示移动终端挂断电话的功能指令。
  19. 一种耳机的交互控制装置,所述耳机包括第一耳机和第二耳机,其特征在于,包括:
    获取模块,用于获取所述第一耳机和/或所述第二耳机的先后佩戴次序信息或先后摘取次序信息;
    指令确定模块,用于根据所述先后佩戴次序信息或所述先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第一功能指令或与所述先后摘取次序信息对应的第二功能指令;
    控制模块,用于发送所述第一功能指令或所述第二功能指令至移动终端, 以使得所述移动终端执行所述第一功能指令或所述第二功能指令实现与所述耳机的第一交互功能或第二交互功能。
  20. 根据权利要求19所述的装置,其特征在于,所述获取模块,具体用于获取一次佩戴或摘取过程中佩戴或摘取对应的耳机标识,根据所述耳机标识确定所述第一耳机的先后佩戴次序信息或先后摘取次序信息;或者,所述第二耳机的先后佩戴次序信息或先后摘取次序信息;或者,所述第一耳机和所述第二耳机的先后佩戴次序信息或先后摘取次序信息。
  21. 根据权利要求19所述的装置,其特征在于,获取的所述先后佩戴次序信息包括:在用户先将所述第一耳机佩戴于第一耳朵而后将所述第二耳机佩戴于第二耳朵时,获取到的佩戴转换电信号的次序信息;所述先后摘取次序信息包括:在用户先将所述第一耳机自第一耳朵摘取下而后将所述第二耳机自第二耳朵摘取下时,获取到的摘取转换电信号的次序信息。
  22. 一种耳机,其特征在于,包括:
    检测传感器,用于检测所述第一耳机和/或所述第二耳机的先后佩戴次序信息或先后摘取次序信息;
    处理器,用于根据所述检测传感器输出的所述先后佩戴次序信息或所述先后摘取次序信息与移动终端功能指令之间的预设对应关系,确定与所述先后佩戴次序信息对应的第一功能指令或与所述先后摘取次序信息对应的第二功能指令;
    通信模块,用于发送所述第一功能指令或所述第二功能指令至移动终端,以使得所述移动终端执行所述第一功能指令或所述第二功能指令实现与所述耳机的第一交互功能或第二交互功能。
  23. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现权利要求1-18中任一项所述的方法。
PCT/CN2018/125261 2018-10-29 2018-12-29 耳机的交互控制方法、装置,耳机和存储介质 Ceased WO2020087749A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/309,138 US11558687B2 (en) 2018-10-29 2018-12-29 Interactive control method and device of earphones, earphone and storage medium

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201811271607.8 2018-10-29
CN201811271607.8A CN109151647A (zh) 2018-10-29 2018-10-29 耳机盒的交互控制方法、装置、耳机盒以及存储介质
CN201811332529.8 2018-11-09
CN201811332529 2018-11-09

Publications (1)

Publication Number Publication Date
WO2020087749A1 true WO2020087749A1 (zh) 2020-05-07

Family

ID=66062255

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/125261 Ceased WO2020087749A1 (zh) 2018-10-29 2018-12-29 耳机的交互控制方法、装置,耳机和存储介质

Country Status (3)

Country Link
US (1) US11558687B2 (zh)
CN (1) CN109639903B (zh)
WO (1) WO2020087749A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110087161B (zh) * 2019-04-23 2020-07-07 青岛恒茂电子有限公司 一种蓝牙耳机的佩戴状态切换方法、耳机及存储介质
CN114079836B (zh) * 2020-08-20 2023-03-03 华为技术有限公司 一种耳机
CN114640918A (zh) * 2022-03-23 2022-06-17 立讯电子科技(昆山)有限公司 可侦测佩戴状态的头戴式耳机及其控制方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257873A (zh) * 2013-04-18 2013-08-21 北京小米科技有限责任公司 一种智能终端设备的控制方法和系统
US20140198026A1 (en) * 2013-01-11 2014-07-17 Lg Electronics Inc. Device for transmitting and receiving data using earphone and method for controlling the same
CN104616676A (zh) * 2014-12-15 2015-05-13 惠州Tcl移动通信有限公司 基于耳机使用状态的多媒体文件的播放方法及系统
CN105451111A (zh) * 2015-12-10 2016-03-30 小米科技有限责任公司 耳机播放控制方法、装置及终端
CN105491469A (zh) * 2014-09-15 2016-04-13 Tcl集团股份有限公司 一种基于耳机佩戴状态控制音频输出模式的方法及系统
CN105759944A (zh) * 2014-12-18 2016-07-13 富泰华工业(深圳)有限公司 智能控制音频播放的系统、方法及耳机

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7945297B2 (en) * 2005-09-30 2011-05-17 Atmel Corporation Headsets and headset power management
US20070223725A1 (en) * 2006-03-24 2007-09-27 Neumann John C Method and apparatus for wirelessly streaming multi-channel content
US9648409B2 (en) * 2012-07-12 2017-05-09 Apple Inc. Earphones with ear presence sensors
US9326058B2 (en) 2012-09-26 2016-04-26 Sony Corporation Control method of mobile terminal apparatus
KR102193699B1 (ko) * 2014-12-31 2020-12-21 엘지전자 주식회사 근거리 무선 통신을 이용하여 이동 단말기와 연동하는 헤드셋
CN106161804A (zh) 2016-08-31 2016-11-23 维沃移动通信有限公司 一种音频播放控制方法及移动终端
CN106535023A (zh) 2016-12-26 2017-03-22 歌尔股份有限公司 颈戴式耳机及其操控方式
CN108632703B (zh) * 2017-03-22 2024-05-07 深圳市三诺声智联股份有限公司 一种蓝牙耳机音箱系统及音箱
US10257602B2 (en) * 2017-08-07 2019-04-09 Bose Corporation Earbud insertion sensing method with infrared technology
CN108702567B (zh) 2017-11-27 2020-08-21 深圳市汇顶科技股份有限公司 耳机、检测耳机的佩戴状态的方法和电子设备
CN108496374B (zh) 2018-04-13 2020-06-23 万魔声学科技有限公司 耳机工作模式切换方法及装置、音频电路、耳机及耳机系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140198026A1 (en) * 2013-01-11 2014-07-17 Lg Electronics Inc. Device for transmitting and receiving data using earphone and method for controlling the same
CN103257873A (zh) * 2013-04-18 2013-08-21 北京小米科技有限责任公司 一种智能终端设备的控制方法和系统
CN105491469A (zh) * 2014-09-15 2016-04-13 Tcl集团股份有限公司 一种基于耳机佩戴状态控制音频输出模式的方法及系统
CN104616676A (zh) * 2014-12-15 2015-05-13 惠州Tcl移动通信有限公司 基于耳机使用状态的多媒体文件的播放方法及系统
CN105759944A (zh) * 2014-12-18 2016-07-13 富泰华工业(深圳)有限公司 智能控制音频播放的系统、方法及耳机
CN105451111A (zh) * 2015-12-10 2016-03-30 小米科技有限责任公司 耳机播放控制方法、装置及终端

Also Published As

Publication number Publication date
CN109639903B (zh) 2021-02-23
CN109639903A (zh) 2019-04-16
US20220038807A1 (en) 2022-02-03
US11558687B2 (en) 2023-01-17

Similar Documents

Publication Publication Date Title
JP6275734B2 (ja) スマート端末デバイスの制御方法、システム、プログラム及び記録媒体
US11445285B2 (en) Interactive control method and device of an earphone case, earphone case and storage medium
CN1939087B (zh) 音频娱乐系统、设备、方法和计算机程序
US20200245051A1 (en) Bluetooth headset control method, bluetooth headset, and computer readable storage medium
CN110493678B (zh) 耳机的控制方法、装置、耳机和存储介质
CN109151647A (zh) 耳机盒的交互控制方法、装置、耳机盒以及存储介质
CN102984615B (zh) 通过光线感应耳机操控电子设备的方法和光线感应耳机
CN107683459A (zh) 基于可佩戴设备的状态改变伴随通信设备行为
AU2014281595A1 (en) Determining proximity for devices interacting with media devices
CN103974158B (zh) 音频输出装置
WO2018000764A1 (zh) 一种声道自动匹配的方法、装置以及耳机
CN106095382A (zh) 音量控制方法及用户终端
CN105245993A (zh) 一种耳机音量自动调节方法、系统和智能耳机
CN109618263A (zh) 头/颈部倾角检测方法、装置、系统及无线耳机控制器
WO2020087749A1 (zh) 耳机的交互控制方法、装置,耳机和存储介质
CN108900951A (zh) 音量调节方法、耳机及计算机可读存储介质
CN109067965A (zh) 翻译方法、翻译装置、可穿戴装置及存储介质
CN105554631B (zh) 音频切换方法、装置及电子设备
CN111741391A (zh) 真无线耳机及其敲击实现操作控制的方法、装置和系统
WO2023159717A1 (zh) 耳机的运行控制方法、指环耳机及存储介质
WO2022247627A1 (zh) 基于耳机的控制方法、装置、耳机及计算机可读存储介质
CN113905123B (zh) 一种通话方法、装置和电子设备
CN110517678B (zh) 一种基于视觉感应的ai语音应答响应系统
CN104168465A (zh) 一种视频音频采集方法
CN204377136U (zh) 一种全息音频采集回放装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18938776

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18938776

Country of ref document: EP

Kind code of ref document: A1