CN108429964A - Control method, TWS earphones, equipment and the storage medium of TWS earphones - Google Patents
Control method, TWS earphones, equipment and the storage medium of TWS earphones Download PDFInfo
- Publication number
- CN108429964A CN108429964A CN201810437079.2A CN201810437079A CN108429964A CN 108429964 A CN108429964 A CN 108429964A CN 201810437079 A CN201810437079 A CN 201810437079A CN 108429964 A CN108429964 A CN 108429964A
- Authority
- CN
- China
- Prior art keywords
- earphone
- wearer
- heart rate
- rate information
- tws earphones
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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/1091—Details not provided for in groups H04R1/1008 - H04R1/1083
-
- 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
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)
Abstract
The embodiment of the invention discloses a kind of control method of TWS earphones, TWS earphones, equipment and storage mediums.This method includes:When the wearing state of first earphone and/or the second earphone changes, first earphone and the second earphone obtain the heart rate information of wearer respectively;First earphone and the second earphone obtain the heart rate information of opposite end earphone wearer respectively;First earphone or the second earphone determine whether the wearer of first earphone and the second earphone is same people according to the heart rate information of the machine wearer and the heart rate information of opposite end earphone wearer.The heart rate information of wearer and opposite end earphone wearer are obtained when the embodiment of the present invention is changed by the wearing state of the first earphone and/or the second earphone respectively, determine whether wearer is same people according to heart rate information, to realize the different users for differentiating TWS earphones, for different users, individually service seamlessly switches to the hommizations effects such as the same user of service.
Description
Technical field
The present embodiments relate to TWS earphones control technology field more particularly to a kind of control method of TWS earphones, TWS
Earphone, equipment and storage medium.
Background technology
True wireless stereo (True Wireless Stereo, abbreviation TWS) earphone carried out bluetooth left and right acoustic channels without
Line detaches, and connects main earphone by intelligent terminal, then connect from earphone from the main earphone by bluetooth wireless mode, realizes main ear
Machine and left and right sound channels from earphone wirelessly detach.
Currently, consumer is for using TWS earphones increasingly to approve, but TWS earphones use still only connect it is blue
Audio is played out after tooth and is made a phone call, different users cannot be differentiated, and individually service body can not be also provided for user
It tests.
Invention content
The embodiment of the present invention provides a kind of control method of TWS earphones, TWS earphones, equipment and storage medium, to realize point
It distinguishes the different users of TWS earphones, and service is provided separately for user, while can be implemented as different users and individually servicing
Seamlessly switch to the hommizations effects such as the same user of service.
In a first aspect, an embodiment of the present invention provides a kind of control method of TWS earphones, the TWS earphones include wireless
Communication the first earphone and the second earphone, this method include:
When the wearing state of first earphone and/or the second earphone changes, first earphone and the second earphone
The heart rate information of wearer is obtained respectively;
First earphone and the second earphone obtain the heart rate information of opposite end earphone wearer respectively;
First earphone or the second earphone are according to the heart of the heart rate information and opposite end earphone wearer of the machine wearer
Rate information determines whether the wearer of first earphone and the second earphone is same people.
Second aspect, the embodiment of the present invention additionally provide a kind of TWS earphones, and the TWS earphones include the of wireless communication
One earphone and the second earphone, first earphone and the second earphone respectively include:
Heart rate information acquisition module when for detecting that the wearing state of the machine changes, obtains the heart rate of wearer
Information;
Wirelessly communicate acquisition module, the heart rate information for obtaining opposite end earphone wearer;
Wearer's determining module is used for the heart rate information of the heart rate information and opposite end earphone wearer according to the machine wearer
Determine whether the wearer of first earphone and the second earphone is same people.
The third aspect, the embodiment of the present invention additionally provide a kind of equipment, including memory, processor and are stored in memory
Computer program that is upper and can running on a processor, the processor realize that the embodiment of the present invention is any when executing described program
The control method of the TWS earphones.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer
Program realizes the control method of any TWS earphones of the embodiment of the present invention when program is executed by processor.
When the embodiment of the present invention is changed by the wearing state of the first earphone and/or the second earphone, first ear
Machine and the second earphone obtain the heart rate information of wearer respectively, and first earphone and the second earphone obtain opposite end earphone and wear respectively
The heart rate information of wearer, first earphone or the second earphone are worn according to the heart rate information and opposite end earphone of the machine wearer
The heart rate information of person determines whether the wearer of first earphone and the second earphone is same people, and TWS earphones are differentiated to realize
Different users, and service is provided separately for user, while can be implemented as different users and individually servicing seamless switching
To hommizations effects such as the same users of service.
Description of the drawings
Fig. 1 is a kind of flow chart of the control method for TWS earphones that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the control method of TWS earphones provided by Embodiment 2 of the present invention;
Fig. 3 is the schematic diagram for the pulse wave that variation of the capacity of blood vessel within cardiac cycle obtains;
Fig. 4 is a kind of structure chart for TWS earphones that the embodiment of the present invention three provides;
Fig. 5 is a kind of overall structure figure for TWS earphones that the embodiment of the present invention three provides;
Fig. 6 is a kind of hardware architecture diagram for equipment that the embodiment of the present invention four provides.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with the accompanying drawings to of the invention specific real
Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention,
Rather than limitation of the invention.
It also should be noted that only the parts related to the present invention are shown for ease of description, in attached drawing rather than
Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail
At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart,
It is that many of which operation can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again
It arranges.The processing can be terminated when its operations are completed, it is also possible to the additional step being not included in attached drawing.
The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow chart of the control method for TWS earphones that the embodiment of the present invention one provides, the TWS earphones packet
The first earphone and the second earphone of wireless communication are included, the present embodiment is applicable to the feelings that the wearer of TWS earphones is identified
Condition, this method can be executed by TWS earphones.
TWS earphones connect main earphone by intelligent terminal, then are connected from earphone from the main earphone by bluetooth wireless mode,
Wherein, intelligent terminal includes but not limited to mobile phone, tablet computer and the music player etc. exported with bluetooth.In the present embodiment
In, main earphone is that either right earphone from earphone is that either the first earphone of left earphone is main earphone or first to right earphone to left earphone
Earphone is from earphone, and it is not affect TWS earphones in the present embodiment from earphone that the second earphone, which is from earphone or the second earphone,
The realization of control method.
As described in Figure 1, the method for the present embodiment specifically includes:
When the wearing state of S110, first earphone and/or the second earphone change, first earphone and second
Earphone obtains the heart rate information of wearer respectively.
Wherein, first earphone can be the left ear earphone of TWS earphones, or the auris dextra earphone of TWS earphones, when
When first earphone is the left ear earphone of TWS earphones, then the second earphone corresponds to the auris dextra earphone of TWS earphones, when the first earphone is
When the auris dextra earphone of TWS earphones, then the second earphone corresponds to the left ear earphone of TWS earphones.TWS involved in the embodiment of the present invention
Earphone is a pair of of TWS earphones comprising left ear earphone and auris dextra earphone, and the first earphone and the second earphone correspond to a left side for TWS earphones
Ear earphone and auris dextra earphone only explain that the embodiment of the present invention does not do this any limitation.
Specifically, wearing state includes the state that the first earphone and/or the second earphone are worn or do not worn, i.e., first
The state that earphone and/or the second earphone are worn or do not worn changes, and the first earphone and the second earphone obtain respectively respectively
From the heart rate information of wearer.
S120, first earphone and the second earphone obtain the heart rate information of opposite end earphone wearer respectively.
Wherein, the opposite end earphone wearer of the first earphone refers to the wearer of the second earphone, pair of the second earphone
End earphone wearer refers to the wearer of the first earphone.
Exist specifically, the major-minor earphone of the first earphone and the second earphone as TWS earphones, between major-minor earphone and wirelessly connects
It connects, the bluetooth that can carry out data is sent, that is to say, that data can be sent to the second ear by the first earphone by Bluetooth communication
Data can also be sent to the first earphone by machine, the second earphone by Bluetooth communication.Optionally, the first earphone is obtaining the first ear
The heart rate letter of the second earphone wearer after the heart rate information of machine wearer, then by wireless blue tooth reception the second earphone transmission
Breath, correspondingly, the second earphone receives the first earphone after the heart rate information for obtaining the second earphone wearer, then by wireless blue tooth
The heart rate information of the first earphone wearer sent.
The heart rate information and opposite end earphone wearer of S130, first earphone or the second earphone according to the machine wearer
Heart rate information determine whether the wearer of first earphone and the second earphone is same people.
Wherein, the machine wearer refers to the first earphone either the second earphone, is worn when the machine wearer corresponds to the first earphone
When wearer, opposite end earphone wearer corresponds to the second earphone wearer, when the machine wearer corresponds to the second earphone wearer, opposite end
Earphone wearer corresponds to the first earphone wearer.
Specifically, the first earphone passes through bluetooth according to the heart rate information of the first earphone wearer with the second earphone received
The heart rate information of the second earphone wearer sent, by the heart of the heart rate information of the first earphone wearer and the second earphone wearer
Rate information is compared, and when two heart rate informations are identical, judges that the wearer of the first earphone and the second earphone is same
Individual judges that the wearer of the first earphone and the second earphone is different people when two heart rate informations are different.
Correspondingly, the second earphone passes through bluetooth according to the heart rate information of the second earphone wearer with the first earphone received
The heart rate information of the first earphone wearer sent, by the heart of the heart rate information of the second earphone wearer and the first earphone wearer
Rate information is compared, and when two heart rate informations are identical, judges that the wearer of the first earphone and the second earphone is same
Individual judges that the wearer of the first earphone and the second earphone is different people when two heart rate informations are different.
When the embodiment of the present invention is changed by the wearing state of the first earphone and/or the second earphone, first ear
Machine and the second earphone obtain the heart rate information of wearer respectively, and first earphone and the second earphone obtain opposite end earphone and wear respectively
The heart rate information of wearer, first earphone or the second earphone are worn according to the heart rate information and opposite end earphone of the machine wearer
The heart rate information of person determines whether the wearer of first earphone and the second earphone is same people, and TWS earphones are differentiated to realize
Different users, and service is provided separately for user, while can be implemented as different users and individually servicing seamless switching
To hommizations effects such as the same users of service.
Embodiment two
Fig. 2 is a kind of flow chart of the control method of TWS earphones provided by Embodiment 2 of the present invention, the TWS earphones packet
Include the first earphone and the second earphone of wireless communication.The present embodiment is optimized based on above-described embodiment, in the present embodiment
In, the first earphone described in step and the second earphone are obtained respectively wearer heart rate information advanced optimize for:Described first
Earphone acquires the heart rate information of wearer by photoplethysmographic graphical method;And second earphone passes through photocapacitance
The heart rate information of product pulse tracing acquisition wearer.On this basis, by the first earphone described in step and/or the second earphone
Wearing state change advanced optimize for:The capacitance that capacitance sensor built in first earphone detects occurs
Variation, so that it is determined that the wearing state of first earphone changes, and/or, the infrared sensing built in first earphone
The temperature value that device detects changes, so that it is determined that the wearing state of first earphone changes;And/or described
The capacitance that capacitance sensor built in two earphones detects changes, so that it is determined that the wearing state hair of second earphone
Changing, and/or, the temperature value that the infrared sensor built in second earphone detects changes, so that it is determined that described
The wearing state of second earphone changes.On this basis, the method further includes:If first earphone and the second ear
The wearer of machine is not same people, then first earphone or the second earphone according to the user operation instruction execution pair received
The operation answered.
Correspondingly, the method for the present embodiment specifically includes:
The capacitance that capacitance sensor built in S210, first earphone detects changes, so that it is determined that described
The wearing state of first earphone changes, and/or, the temperature value hair that the infrared sensor built in first earphone detects
Changing, so that it is determined that the wearing state of first earphone changes;And/or
The capacitance that capacitance sensor built in second earphone detects changes, so that it is determined that second ear
The wearing state of machine changes, and/or, the temperature value that the infrared sensor built in second earphone detects becomes
Change, so that it is determined that the wearing state of second earphone changes.
Wherein, capacitance sensor refers to that will be measured the variation of (such as size, pressure) to be converted into the one of electric capacitance change
Kind sensor, in fact, itself and/or testee are exactly a variable condenser.
Infrared sensor is the fuel factor using infra-red radiation, causes temperature after the sensing element absorption radiation energy of detector
It increases, and then certain related physical parameters is made to change, determine that detector is absorbed by the variation of measure physical parameters
Infra-red radiation.By taking infrared radiation thermometer as an example, temperature is caused to increase after the sensing element absorption radiation energy of detector, due to temperature
The variation of value, and then infra-red radiation that detector is absorbed is determined by the variation of temperature value.
Specifically, the capacitance detected in the capacitance sensor built in the first earphone keeps a timing, then it represents that first
Earphone may be that the state that do not worn or the first earphone are being worn by active user, be detected when capacitance sensor
When capacitance changes, then it represents that the state that the first earphone is worn by the first earphone wearer either the first earphone is by current
User is switched to the state that other users are worn;And/or the temperature detected in the infrared sensor built in the first earphone
Value keeps a timing, then it represents that the first earphone may be that the state that do not worn or the first earphone are being worn by active user
In, when the temperature value that infrared sensor detects changes, then it represents that the first earphone is worn by the first earphone wearer
State either the first earphone is switched to the state that other users are worn by active user.
Correspondingly, the capacitance detected in the capacitance sensor built in the second earphone keeps a timing, then it represents that second
Earphone may be that the state that do not worn or the second earphone are being worn by active user, be detected when capacitance sensor
When capacitance changes, then it represents that the state that the second earphone is worn by the second earphone wearer either the second earphone is by current
User is switched to the state that other users are worn;And/or the temperature detected in the infrared sensor built in the second earphone
Value keeps a timing, then it represents that the second earphone may be that the state that do not worn or the second earphone are being worn by active user
In, when the temperature value that infrared sensor detects changes, then it represents that the second earphone is worn by the second earphone wearer
State either the second earphone is switched to the state that other users are worn by active user.
It is further to note that based on capacitance sensor and infrared sensor pair the first earphone wearer's wearing state
Detection can be capacitance sensor and infrared sensor while play the role of wearing state detection, can also be capacitance sensing
One of which in device and infrared sensor plays the role of detecting wearing state, and the embodiment of the present invention only does the solution in principle
It releases, is not limited herein.
S220, first earphone acquire the heart rate information of wearer by photoplethysmographic graphical method;And
Second earphone acquires the heart rate information of wearer by photoplethysmographic graphical method.
Wherein, photoplethysmographic graphical method (photo plethysmo graph, abbreviation PPG) is to utilize photocapacitance
Product traces the detection that technology carries out human motion heart rate, is Infrared Non-destructive Testing technology, is applied in biomedicine.It utilizes light
Electric transducer detects the difference of the intensity of reflected light after blood of human body and tissue resorption, traces out capacity of blood vessel aroused in interest
Variation in period calculates heart rate from obtained pulse wave, illustratively, as Fig. 3 be capacity of blood vessel in cardiac cycle
The schematic diagram for the pulse wave that interior variation obtains.
Specifically, when detecting that the wearing state of the first earphone changes, at least one built in the first earphone is triggered
A LED emits light source directive the first earphone wearer, and the light being reflected back through the skin histology of the first earphone wearer is by photoelectricity
Sensor receives, and digital signal is converted by conversion of photoelectric sensor at electric signal and using A/D, is denoted as the first earphone pendant
The heart rate information of wearer.
Correspondingly, when detecting that the wearing state of the second earphone changes, at least one built in the second earphone is triggered
A LED emits light source directive the second earphone wearer, and the light being reflected back through the skin histology of the second earphone wearer is by photoelectricity
Sensor receives, and digital signal is converted by conversion of photoelectric sensor at electric signal and using A/D, is denoted as the second earphone pendant
The heart rate information of wearer.
S230, first earphone and the second earphone obtain the heart rate information of opposite end earphone wearer respectively.
The heart rate information and opposite end earphone wearer of S240, first earphone or the second earphone according to the machine wearer
Heart rate information determine whether the wearer of first earphone and the second earphone is same people.
Wherein, the heart rate information of the wearer includes frequency, amplitude and phase.By frequency, amplitude and phase to the heart
Rate information is identified.In general, the left and right ear of same person frequency, amplitude and the phase of collected heart rate information be
Consistent, the inevitable difference of frequency, amplitude and phase of different its heart rate information of people identifies that earphone is worn so as to pass through
Frequency, amplitude and the phase of wearer's heart rate information judge whether earphone wearer is same person.
Specifically, the first earphone passes through bluetooth according to the heart rate information of the first earphone wearer with the second earphone received
The heart rate information of the second earphone wearer sent, by frequency, amplitude and the phase of the heart rate information of the first earphone wearer and
Frequency, amplitude and the phase of the heart rate information of second earphone wearer are compared, when the frequency of two heart rate informations, amplitude and
When phase is consistent, judge that the wearer of the first earphone and the second earphone is same person, when two heart rate informations frequency,
Amplitude and phase difference when, judge that the wearer of the first earphone and the second earphone is different people.
Correspondingly, the second earphone passes through bluetooth according to the heart rate information of the second earphone wearer with the first earphone received
The heart rate information of the first earphone wearer sent, by frequency, amplitude and the phase of the heart rate information of the second earphone wearer and
Frequency, amplitude and the phase of the heart rate information of first earphone wearer are compared, when the frequency of two heart rate informations, amplitude and
When phase is consistent, judge that the wearer of the first earphone and the second earphone is same person, when two heart rate informations frequency,
Amplitude and phase difference when, judge that the wearer of the first earphone and the second earphone is different people.
If the wearer of S250, first earphone and the second earphone be same people, first earphone or
Second earphone executes corresponding operation according to the user operation instruction received.
Wherein, user operation instruction can be that the first earphone wearer either the second earphone wearer adjusts the first earphone
Either the instruction of the operations such as second earpiece volume, concrete condition exist according to the had function decision of earphone, the embodiment of the present invention
This is not limited.
Illustratively, if when TWS earphones wear the first earphone and the second earphone in use, the first earphone is worn respectively by two people
Wearer either the second earphone wearer wants to know about weather conditions, then can carry out single earpiece operation input by the earphone of wearing
Voice is inquired, and also can only be reported to the earphone wearer operated in the result of obtained weather conditions, can't be influenced
To ear earphone wearer's normal use earphone.
If when TWS earphones by two people wear the first earphone and the second earphone respectively in use, the first earphone wearer or
That the second earphone wearer wants to adjust the current volume for wearing earphone, then it can be by the first earphone of wearing either
Second earphone carries out the adjusting of volume, and the result of volume adjustment does not interfere with the volume to ear earphone wearer,
At this point, if the first earphone either the second earphone that first earphone wearer the second earphone wearer removes wearing is given
This is detected when then current first earphone or the second headset detection change to wearing state to the wearer of ear earphone
When the first earphone either the second earphone wearer heart rate information, then obtain after the heart rate information to ear earphone wearer with
The heart rate information of current the first earphone either the second earphone wearer is compared, and is judged as the at this time after same people
The volume of one earphone either the second earphone is switched to the volume to ear earphone.
The capacitance that the embodiment of the present invention is detected by capacitance sensor built in the first earphone and/or infrared sensor
And/or temperature value changes, and determines that the first earphone and/or the wearing state of the second earphone change, first earphone
Obtain the heart rate information of wearer, first earphone and second respectively by photoplethysmographic graphical method with the second earphone
Earphone obtains the heart rate information of opposite end earphone wearer respectively, and first earphone or the second earphone are according to the machine wearer's
Heart rate information and the heart rate information of opposite end earphone wearer determine whether the wearer of first earphone and the second earphone is same
One people, if the wearer of first earphone and the second earphone is not same people, first earphone or the second earphone
Corresponding operation is executed according to the user operation instruction received, to realize the different users for differentiating TWS earphones, and to use
Service is provided separately in person, while can be implemented as the independent service of different users and seamlessly switching to the human nature such as the same user of service
Change effect.
Embodiment three
Fig. 4 is a kind of structure chart for TWS earphones that the embodiment of the present invention three provides, and the TWS earphones include wireless communication
The first earphone and the second earphone, the case where the present embodiment is applicable to that the wearer of TWS earphones is identified.
As shown in figure 4, the TWS earphones include:Heart rate information acquisition module 310, wireless communication acquisition module 320 and pendant
Wearer's determining module 330, wherein:
Heart rate information acquisition module 310 when for detecting that the wearing state of the machine changes, obtains the heart of wearer
Rate information;
Wirelessly communicate acquisition module 320, the heart rate information for obtaining opposite end earphone wearer;
Wearer's determining module 330 is used for the heart rate of the heart rate information and opposite end earphone wearer according to the machine wearer
Information determines whether the wearer of first earphone and the second earphone is same people.
A kind of TWS earphones of the present embodiment, when being changed by the wearing state of the first earphone and/or the second earphone,
First earphone and the second earphone obtain the heart rate information of wearer respectively, and first earphone and the second earphone obtain respectively
The heart rate information of opposite end earphone wearer, first earphone or the second earphone are according to the heart rate information of the machine wearer and right
The heart rate information of end earphone wearer determines whether the wearer of first earphone and the second earphone is same people, is divided with realizing
It distinguishes the different users of TWS earphones, and service is provided separately for user, while can be implemented as different users and individually servicing
Seamlessly switch to the hommizations effects such as the same user of service.
On the basis of the various embodiments described above, the TWS earphones further include:
Whether capacitance sensor changes for the capacitance by detecting and determines whether the wearing state of described the machine becomes
Change.
On the basis of the various embodiments described above, the TWS earphones further include:
Whether infrared sensor, the wearing state for whether changing determining the machine for the temperature value by detecting change.
It is a kind of the whole of TWS earphones that the embodiment of the present invention three provides as shown in Figure 5 on the basis of the various embodiments described above
Body structure chart, 311 be whether the wearing state of first earphone and/or the second earphone for detecting TWS earphones becomes
The structural representation of change, 311 can be capacitance sensor or infrared sensor, 312 illustrate that the first earphone of TWS earphones and
Second earphone obtains the structural representation of the heart rate information of wearer.Capacitance sensor in 311 signals or infrared sensor inspection
The wearing state of first earphone and/or the second earphone that measure TWS earphones changes, 312 detection TWS earphones of triggering
First earphone and the second earphone obtain the heart rate information of wearer, after the heart rate information that 312 have detected corresponding wearer, close
312 heart rate detecting function, until 311 detect the heart rate of retriggered 312 when the wearing state of earphone changes again
Detection function, with this come ensure TWS earphones have smaller operation power consumption, improve TWS earphones cruising ability.
The TWS earphones that the various embodiments described above are provided can perform the control for the TWS earphones that any embodiment of the present invention is provided
Method processed has the corresponding function module of control method and advantageous effect for executing TWS earphones.
Example IV
As shown in fig. 6, a kind of hardware architecture diagram of the equipment provided for the embodiment of the present invention four, as shown in fig. 6, should
Equipment includes:
One or more processors 410, in Fig. 6 by taking a processor 410 as an example;
Memory 420;
The equipment can also include:Input unit 430 and output device 440.
Processor 410, memory 420, input unit 430 and output device 440 in the equipment can pass through bus
Or other modes connect, in Fig. 6 for being connected by bus.
Memory 420 is used as a kind of non-transient computer readable storage medium, and can be used for storing software program, computer can
Program and module are executed, such as a kind of corresponding program instruction/module of control method of TWS earphones in the embodiment of the present invention
(for example, attached heart rate information acquisition module 310 shown in Fig. 4, wireless communication acquisition module 320 and wearer's determining module 330).
Processor 410 is stored in software program, instruction and module in memory 420 by operation, to execute the various of equipment
A kind of control method of TWS earphones of above method embodiment is realized in application of function and data processing.
Memory 420 may include storing program area and storage data field, wherein storing program area can store operation system
System, the required application program of at least one function;Storage data field can be stored uses created data etc. according to equipment.
Can also include non-transitory memory in addition, memory 420 may include high-speed random access memory, for example, at least one
A disk memory, flush memory device or other non-transitory solid-state memories.In some embodiments, memory 420 can
Choosing includes the memory remotely located relative to processor 410, these remote memories can be set by network connection to terminal
It is standby.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 430 can be used for receiving the number or character information of input, and generate with the user setting of equipment with
And the related key signals input of function control.Output device 440 may include that display screen etc. shows equipment.
Embodiment five
The embodiment of the present invention also provides a kind of storage medium including computer executable instructions, and the computer is executable
When being executed by computer processor for executing a kind of control method of TWS earphones, this method includes for instruction:
When the wearing state of first earphone and/or the second earphone changes, first earphone and the second earphone
The heart rate information of wearer is obtained respectively;
First earphone and the second earphone obtain the heart rate information of opposite end earphone wearer respectively;
First earphone or the second earphone are according to the heart of the heart rate information and opposite end earphone wearer of the machine wearer
Rate information determines whether the wearer of first earphone and the second earphone is same people.
Optionally, which can be also used for executing the present invention times when being executed by computer processor
A kind of technical solution of the control method for TWS earphones that meaning embodiment is provided.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases
Good embodiment.Based on this understanding, technical scheme of the present invention substantially in other words contributes to the prior art
Part can be expressed in the form of software products, which can be stored in computer readable storage medium
In, such as the floppy disk of computer, read-only memory (Read-Only Memory, ROM), random access memory (Random
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server or the network equipment etc.) executes the control of TWS earphones described in each embodiment of the present invention
Method processed.
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
1. a kind of control method of TWS earphones, the TWS earphones include the first earphone and the second earphone of wireless communication, special
Sign is, including:
When the wearing state of first earphone and/or the second earphone changes, first earphone and the second earphone difference
Obtain the heart rate information of wearer;
First earphone and the second earphone obtain the heart rate information of opposite end earphone wearer respectively;
First earphone or the second earphone are believed according to the heart rate information of the machine wearer and the heart rate of opposite end earphone wearer
Breath determines whether the wearer of first earphone and the second earphone is same people.
2. control method according to claim 1, which is characterized in that first earphone and the second earphone obtain pendant respectively
The heart rate information of wearer, including:
First earphone acquires the heart rate information of wearer by photoplethysmographic graphical method;And
Second earphone acquires the heart rate information of wearer by photoplethysmographic graphical method.
3. control method according to claim 1, which is characterized in that the wearing of first earphone and/or the second earphone
State changes, including:
The capacitance that capacitance sensor built in first earphone detects changes, so that it is determined that first earphone
Wearing state changes, and/or, the temperature value that the infrared sensor built in first earphone detects changes, from
And it determines the wearing state of first earphone and changes;And/or
The capacitance that capacitance sensor built in second earphone detects changes, so that it is determined that second earphone
Wearing state changes, and/or, the temperature value that the infrared sensor built in second earphone detects changes, from
And it determines the wearing state of second earphone and changes.
4. control method according to claim 1, which is characterized in that further include:
If the wearer of first earphone and the second earphone is not same people, first earphone or the second earphone root
Corresponding operation is executed according to the user operation instruction received.
5. control method according to claim 1, which is characterized in that the heart rate information of the wearer includes frequency, width
Value and phase.
6. a kind of TWS earphones, the TWS earphones include the first earphone and the second earphone of wireless communication, which is characterized in that described
First earphone and the second earphone respectively include:
Heart rate information acquisition module when for detecting that the wearing state of the machine changes, obtains the heart rate information of wearer;
Wirelessly communicate acquisition module, the heart rate information for obtaining opposite end earphone wearer;
Wearer's determining module, for being determined according to the heart rate information of the machine wearer and the heart rate information of opposite end earphone wearer
Whether the wearer of first earphone and the second earphone is same people.
7. TWS earphones according to claim 6, which is characterized in that the TWS earphones further include:
Whether capacitance sensor changes for the capacitance by detecting and determines whether the wearing state of described the machine changes.
8. TWS earphones according to claim 6, which is characterized in that the TWS earphones further include:
Whether infrared sensor, the wearing state for whether changing determining the machine for the temperature value by detecting change.
9. a kind of equipment, including memory, processor and storage are on a memory and the computer journey that can run on a processor
Sequence, which is characterized in that the processor is realized when executing described program such as the TWS earphones as described in any in claim 1-5
Control method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The control method of the TWS earphones as described in any in claim 1-5 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810437079.2A CN108429964A (en) | 2018-05-09 | 2018-05-09 | Control method, TWS earphones, equipment and the storage medium of TWS earphones |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810437079.2A CN108429964A (en) | 2018-05-09 | 2018-05-09 | Control method, TWS earphones, equipment and the storage medium of TWS earphones |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108429964A true CN108429964A (en) | 2018-08-21 |
Family
ID=63162556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810437079.2A Pending CN108429964A (en) | 2018-05-09 | 2018-05-09 | Control method, TWS earphones, equipment and the storage medium of TWS earphones |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108429964A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110012377A (en) * | 2019-03-25 | 2019-07-12 | 安克创新科技股份有限公司 | A kind of true wireless Bluetooth headsets |
CN111182401A (en) * | 2019-12-31 | 2020-05-19 | 联想(北京)有限公司 | Detection method and electronic equipment |
CN111246338A (en) * | 2020-03-31 | 2020-06-05 | 北京小米移动软件有限公司 | Earphone set |
CN111366175A (en) * | 2020-04-20 | 2020-07-03 | 深圳市科奈信科技有限公司 | Wireless earphone, method and device for detecting wearing state of wireless earphone and storage medium |
CN111683318A (en) * | 2020-06-04 | 2020-09-18 | 歌尔科技有限公司 | Earphone wearing detection method and device, earphone and readable storage medium |
CN111787452A (en) * | 2020-07-29 | 2020-10-16 | 歌尔科技有限公司 | TWS earphone, TWS earphone control method, TWS earphone control device and computer readable storage medium |
CN111787444A (en) * | 2020-06-19 | 2020-10-16 | 深圳市蓝色冰川教育科技有限公司 | Bluetooth headset pairing method and device, Bluetooth headset and storage medium |
CN112118502A (en) * | 2020-09-10 | 2020-12-22 | 北京小米移动软件有限公司 | Earphone control method, device, equipment and storage medium |
CN112449297A (en) * | 2020-10-19 | 2021-03-05 | 安克创新科技股份有限公司 | Method for detecting wearing state of earphone |
CN112752198A (en) * | 2019-10-31 | 2021-05-04 | 深圳市冠旭电子股份有限公司 | Method, device, terminal and storage medium for controlling earphone to play stereo |
CN113055868A (en) * | 2021-03-12 | 2021-06-29 | 上海物骐微电子有限公司 | Bluetooth rapid networking method and system and Bluetooth headset |
CN113475094A (en) * | 2020-01-29 | 2021-10-01 | 谷歌有限责任公司 | Different head detection in headphones |
CN115052224A (en) * | 2022-08-16 | 2022-09-13 | 歌尔股份有限公司 | Splitting and using method and device of earphone equipment, earphone equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104159173A (en) * | 2014-08-27 | 2014-11-19 | 宇龙计算机通信科技(深圳)有限公司 | Earphone, earphone application method, earphone control method and device as well as mobile terminal |
CN204539449U (en) * | 2014-12-31 | 2015-08-05 | 青岛歌尔声学科技有限公司 | A kind of wireless stereo headset |
CN206370927U (en) * | 2016-12-01 | 2017-08-01 | 佳禾智能科技股份有限公司 | A kind of intelligent wireless earphone |
CN107277668A (en) * | 2017-07-28 | 2017-10-20 | 广州黑格智能科技有限公司 | A kind of pair of bluetooth earphone |
CN107295434A (en) * | 2017-05-26 | 2017-10-24 | 广东思派康电子科技有限公司 | TWS earphones and realize the vocal music of TWS earphones with the computer-readable recording medium broadcast |
CN207321559U (en) * | 2017-07-26 | 2018-05-04 | 深圳市艾能可电子商务有限公司 | A kind of shared stereosonic blue tooth receiver |
-
2018
- 2018-05-09 CN CN201810437079.2A patent/CN108429964A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104159173A (en) * | 2014-08-27 | 2014-11-19 | 宇龙计算机通信科技(深圳)有限公司 | Earphone, earphone application method, earphone control method and device as well as mobile terminal |
CN204539449U (en) * | 2014-12-31 | 2015-08-05 | 青岛歌尔声学科技有限公司 | A kind of wireless stereo headset |
CN206370927U (en) * | 2016-12-01 | 2017-08-01 | 佳禾智能科技股份有限公司 | A kind of intelligent wireless earphone |
CN107295434A (en) * | 2017-05-26 | 2017-10-24 | 广东思派康电子科技有限公司 | TWS earphones and realize the vocal music of TWS earphones with the computer-readable recording medium broadcast |
CN207321559U (en) * | 2017-07-26 | 2018-05-04 | 深圳市艾能可电子商务有限公司 | A kind of shared stereosonic blue tooth receiver |
CN107277668A (en) * | 2017-07-28 | 2017-10-20 | 广州黑格智能科技有限公司 | A kind of pair of bluetooth earphone |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110012377A (en) * | 2019-03-25 | 2019-07-12 | 安克创新科技股份有限公司 | A kind of true wireless Bluetooth headsets |
CN112752198A (en) * | 2019-10-31 | 2021-05-04 | 深圳市冠旭电子股份有限公司 | Method, device, terminal and storage medium for controlling earphone to play stereo |
CN111182401A (en) * | 2019-12-31 | 2020-05-19 | 联想(北京)有限公司 | Detection method and electronic equipment |
CN113475094A (en) * | 2020-01-29 | 2021-10-01 | 谷歌有限责任公司 | Different head detection in headphones |
CN113475094B (en) * | 2020-01-29 | 2024-04-19 | 谷歌有限责任公司 | Different head detection in headphones |
CN111246338A (en) * | 2020-03-31 | 2020-06-05 | 北京小米移动软件有限公司 | Earphone set |
CN111366175A (en) * | 2020-04-20 | 2020-07-03 | 深圳市科奈信科技有限公司 | Wireless earphone, method and device for detecting wearing state of wireless earphone and storage medium |
CN111683318A (en) * | 2020-06-04 | 2020-09-18 | 歌尔科技有限公司 | Earphone wearing detection method and device, earphone and readable storage medium |
CN111787444A (en) * | 2020-06-19 | 2020-10-16 | 深圳市蓝色冰川教育科技有限公司 | Bluetooth headset pairing method and device, Bluetooth headset and storage medium |
CN111787452A (en) * | 2020-07-29 | 2020-10-16 | 歌尔科技有限公司 | TWS earphone, TWS earphone control method, TWS earphone control device and computer readable storage medium |
CN112118502B (en) * | 2020-09-10 | 2022-08-05 | 北京小米移动软件有限公司 | Earphone control method, device, equipment and storage medium |
CN112118502A (en) * | 2020-09-10 | 2020-12-22 | 北京小米移动软件有限公司 | Earphone control method, device, equipment and storage medium |
CN112449297A (en) * | 2020-10-19 | 2021-03-05 | 安克创新科技股份有限公司 | Method for detecting wearing state of earphone |
CN113055868A (en) * | 2021-03-12 | 2021-06-29 | 上海物骐微电子有限公司 | Bluetooth rapid networking method and system and Bluetooth headset |
CN113055868B (en) * | 2021-03-12 | 2022-09-23 | 上海物骐微电子有限公司 | Bluetooth rapid networking method and system and Bluetooth headset |
CN115052224A (en) * | 2022-08-16 | 2022-09-13 | 歌尔股份有限公司 | Splitting and using method and device of earphone equipment, earphone equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108429964A (en) | Control method, TWS earphones, equipment and the storage medium of TWS earphones | |
US11871197B2 (en) | Multifunctional earphone system for sports activities | |
US10575086B2 (en) | System and method for sharing wireless earpieces | |
US20180253151A1 (en) | Method for recognizing a gesture and an electronic device thereof | |
CN109256146B (en) | Audio detection method, device and storage medium | |
JP2019504515A (en) | Control device for media player communicating with earphone or earphone, and control method therefor | |
US20180324515A1 (en) | Over-the-ear headphones configured to receive earpieces | |
US20160051184A1 (en) | System and method for providing sleep recommendations using earbuds with biometric sensors | |
US20150190077A1 (en) | Electronic device and photoplethysmography method | |
KR102500128B1 (en) | Method for recognizing a gesture and an electronic device thereof | |
CN106371816B (en) | Left-right hand determination method and device | |
US20230233153A1 (en) | Wearable device and method for measuring biometric information | |
CN106791120B (en) | Control method and device for screen-off of mobile terminal | |
US20230045200A1 (en) | Electronic Device, Method for Controlling Electronic Device to Perform PPG Detection, and Medium | |
JP2009240754A (en) | Biosignal detecting device | |
CN117319870A (en) | Earphone wearing state detection method and device, earphone and storage medium | |
US20220287571A1 (en) | Apparatus and method for estimating bio-information | |
CN111603154B (en) | Method and device for detecting heart rhythm, storage medium and mobile terminal | |
CN108446025A (en) | Filming control method and Related product | |
CN113873382A (en) | Headset control method, headset, and computer-readable storage medium | |
CN113835670A (en) | Device control method, device, storage medium and electronic device | |
CN109429562B (en) | Biological characteristic detection device and electronic terminal | |
US11863937B2 (en) | Binaural hearing system for providing sensor data indicative of a physiological property, and method of its operation | |
US20240172945A1 (en) | Apparatus and method for estimating blood pressure | |
US20240081663A1 (en) | Apparatus for estimating bio-information and method of detecting abnormal bio-signal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180821 |