CN108955758A - The wearing detection method and Related product of wearable device - Google Patents

The wearing detection method and Related product of wearable device Download PDF

Info

Publication number
CN108955758A
CN108955758A CN201810387109.3A CN201810387109A CN108955758A CN 108955758 A CN108955758 A CN 108955758A CN 201810387109 A CN201810387109 A CN 201810387109A CN 108955758 A CN108955758 A CN 108955758A
Authority
CN
China
Prior art keywords
frequency
resistance
wearable device
earplug
electric signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810387109.3A
Other languages
Chinese (zh)
Other versions
CN108955758B (en
Inventor
张伟正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810387109.3A priority Critical patent/CN108955758B/en
Publication of CN108955758A publication Critical patent/CN108955758A/en
Application granted granted Critical
Publication of CN108955758B publication Critical patent/CN108955758B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; 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
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details 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)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the present application discloses the wearing detection method and Related product of a kind of wearable device, the wearable device includes: at least one earplug, and the earplug includes: the first cavity, the second cavity, first pressure sensor, second pressure sensor and processor;First cavity is connected to when the wearable device is wearing state with ear canal, and second cavity is communicated with the atmosphere.Technical solution provided by the present application, which has, improves the advantages of wearing accuracy, improving user experience.

Description

The wearing detection method and Related product of wearable device
Technical field
This application involves Mobile terminal accessory technical fields, and in particular to a kind of wearing detection method of wearable device And Related product.
Background technique
As universal and application, the user of smart phone more and more rely on smart phone, wearable device, example Such as, wireless headset, smartwatch, Intelligent bracelet etc. equipment are widely used also with the rise of smart phone.It is right In wearable device, here by taking wireless headset as an example, wireless headset has the advantages that connect convenience with smart phone, wearable The wearing detection of formula equipment such as earphone has great importance, for earphone, if wearing is the important item of its work Part, for example whether wearing the audio-frequency function that may determine whether to open earphone, existing earphone can not accurately carry out wearing detection, Cause user experience low.
Summary of the invention
The embodiment of the present application provides the wearing detection method and wearable device of a kind of wearable device, to mention Height wears the accuracy rate of detection, improves user experience.
In a first aspect, the embodiment of the present application provides a kind of wearable device, the wearable device includes: at least one A earplug, the earplug include: the first cavity, the second cavity, first pressure sensor, second pressure sensor and processor; First cavity is connected to when the wearable device is wearing state with ear canal, and second cavity is communicated with the atmosphere;
First pressure sensor, the atmospheric pressure for detecting first cavity using first frequency export the first telecommunications Number;
Second pressure sensor, for the atmospheric pressure output second for detecting second cavity using first frequency Electric signal;
The earplug further include: zoom comparison circuit, the zoom comparison circuit include: the first amplifying circuit, second put Big circuit and comparison circuit;
The input terminal of first amplifying circuit connects first electric signal, and the output end of first amplifying circuit connects An input terminal of the comparison circuit is connect, the input terminal of second amplifying circuit connects the second electric signal, and described second puts The output end of big circuit connects another input terminal of the comparison circuit, and the output end of the comparison circuit connects the one of processor A input and output pin;
The processor detects the third electric signal and exists for obtaining the third electric signal of the input and output pin The second frequency in first time section determines whether the earplug is according to the second frequency and the first frequency relationship Wearing state.
Second aspect, provides a kind of wearing detection method of wearable device, and the method is applied to wearable set Standby, the wearable device includes: at least one earplug, and the earplug includes: the first cavity, the second cavity, first pressure Sensor, second pressure sensor and processor;First cavity the wearable device be wearing state when and ear Road connection, second cavity are communicated with the atmosphere;First pressure sensor, for using first frequency to detect first cavity Atmospheric pressure export the first electric signal;Second pressure sensor detects second cavity using first frequency for described Atmospheric pressure export the second electric signal;The earplug further include: zoom comparison circuit, the zoom comparison circuit include: One amplifying circuit, the second amplifying circuit and comparison circuit;The input terminal of first amplifying circuit connects first electric signal, The output end of first amplifying circuit connects an input terminal of the comparison circuit, the input terminal of second amplifying circuit The second electric signal is connected, the output end of second amplifying circuit connects another input terminal of the comparison circuit, the comparison One input and output pin of the output end connection processor of circuit;Described method includes following steps:
The third electric signal for obtaining the input and output pin detects the third electric signal the of first time section Two frequencies determine whether the earplug is in wearing state according to the second frequency and the first frequency relationship.
The third aspect, provides a kind of computer readable storage medium, and storage is used for the computer journey of electronic data interchange Sequence, wherein the computer program makes computer execute the method that second aspect provides.
Fourth aspect, provides a kind of computer program product, and the computer program product includes storing computer journey The non-transient computer readable storage medium of sequence, the computer program are operable to that computer is made to execute second aspect offer Method.
As can be seen that it is the variation based on air pressure that wearable device provided by the present application, which realizes wearing detection, for Wearable device, by taking earphone as an example, when earphone is worn in human ear, the space of ear canal becomes an enclosure space at this time, By experimental verification, the air pressure of the enclosure space and the pressure of outside atmosphere are different, and the air pressure of this enclosure space exists It is almost constant under wearing state, then we are identical between first sensor and second sensor by being arranged here The frequency between the first electric signal and the second electric signal that sample frequency obtains is identical, and the first electric signal and second Electric signal its size relation under wearing state is also fixed, so that the third electric signal of the output end of comparison circuit If frequency is identical with sample frequency, it can determine that it corresponds to wearing state.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the network architecture schematic diagram of a kind of wearable device and wireless telecom equipment.
Fig. 1 a is a kind of structural schematic diagram of wireless headset provided by the present application.
Fig. 1 b is a kind of another structural schematic diagram of wireless headset provided by the present application.
Fig. 2 is a kind of structural schematic diagram of wearable device provided by the present application.
Fig. 2 a is the waveform diagram under a kind of wearing state of the application.
Fig. 2 b is the waveform diagram under a kind of wearing state of the application
Fig. 3 is the schematic diagram of the zoom comparison circuit of the application.
Fig. 4 is a kind of flow diagram of the wearing detection method of wearable device provided by the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, those of ordinary skill in the art are obtained every other under that premise of not paying creative labor Embodiment shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Wireless telecom equipment involved by the embodiment of the present application may include various hand-held with wireless communication function Equipment, wearable device, calculates equipment or is connected to other processing equipments of radio modem mobile unit, and each The user equipment (User Equipment, UE) of kind form, mobile station (Mobile Station, MS), terminal device (terminal device) etc..Certainly in other application, above-mentioned wireless telecom equipment can also be network side equipment, example Such as base station, access point network side equipment.For convenience of description, apparatus mentioned above is referred to as wireless telecom equipment.
Referring to Fig. 1, Fig. 1 is a kind of network architecture signal for implementing display control method disclosed in the embodiment of the present application Figure, which may include electronic equipment and wireless headset, wherein wireless headset can be by wireless network (for example, blue Tooth, infrared ray or WiFi) it is communicated to connect with electronic equipment.It should be noted that wireless headset may include one or more ear Plug, the embodiment of the present application are not construed as limiting.In specific implementation, wireless headset can send pairing request to electronic equipment method, and electronics is set Standby to can receive the pairing request sent by wearable device, wearable device includes at least one individual components, and response pairing is asked It asks, the detection wearable device number of components that includes, shows the information of wearable device according to number of components, such as electricity, match To quantity etc..
As shown in Figure 1a, Fig. 1 a is a kind of structure chart of wireless headset provided by the embodiments of the present application, as shown in Figure 1a, Two earplugs are kept completely separate setting, certainly in practical applications, especially in the wireless headset of type of sports, among two earplugs Also a connector can be set, for example, connecting two earplugs by connecting line as shown in Figure 1a, the application is in wireless headset Connection type between two earplugs does not limit.As shown in Figure 1 b, which includes: two earplugs, each earplug packet Include: earpiece 121, the Trackpad and loudspeaker that 121 surface of earpiece is arranged in, the earplug can also include: wireless Transceiver 122, processing chip (being not drawn into figure) and air pressure detection circuit (being not drawn into figure), the processing chip and Trackpad, Be electrically connected between wireless transceiver and air pressure detection circuit, specifically, the mode of the electrical connection can by bus mode come Connection, certainly in practical applications, above-mentioned electrical connection is also possible to connect by other connection types.
Fig. 1 b is please referred to, Fig. 1 b is a kind of structural schematic diagram of wearable device 100 disclosed in the embodiment of the present application, can Wearable device 100 includes storage and processing circuit 110, and the telecommunication circuit connecting with the storage and processing circuit 110 120 and audio component 140, wherein in some specific wearable devices 100, display component 130 or touching can also be set Control component.
Wearable device 100 may include control circuit, which may include storage and processing circuit 110. The storage and processing circuit 110 can store device, such as hard drive memory, nonvolatile memory (such as flash memory or use In the other electrically programmable read only memories etc. for forming solid state drive), volatile memory (such as it is either statically or dynamically random Access memory etc.) etc., the embodiment of the present application is with no restriction.Processing circuit in storage and processing circuit 110 can be used for controlling The operating of electronic equipment 100 processed.The processing circuit can microprocessor based on one or more, microcontroller, at digital signal Manage device, baseband processor, power management unit, audio codec chip, specific integrated circuit, display-driver Ics Etc. realizing.
Storage and processing circuit 110 can be used for running the software in wearable device 100, such as voice over internet protocol (Voice over Internet Protocol, VOIP) call application program, simultaneous interpretation function, media play application Program, operation system function etc..These softwares can be used for executing some control operations, for example, the image based on camera is adopted Collection, the ambient light measurement based on ambient light sensor, the proximity sensor measurement based on proximity sensor, based on such as luminous two The information display function that the positioning indicators such as the status indicator lamp of pole pipe are realized, the touch event detection based on touch sensor, Operation associated with wireless communication function is executed, operation associated with collecting and generating audio signal, with collection and processing Other functions etc. in the associated control operation of button press event data and wearable device 100, the application is implemented Example is with no restriction.
Wearable device 100 can also include input-output circuit 150.Input-output circuit 150 can be used for making can Wearable device 100 realizes that data are output and input, i.e., permission wearable device 100 from outer equipment receiving data and Wearable device 100 is allowed to export data to external equipment from wearable device 100.Input-output circuit 150 can be with It further comprise sensor 170.Sensor 170 may include ambient light sensor, the proximity sensor based on light and capacitor, touching Sensor is touched (for example, based on light touch sensor and/or capacitive touch sensors, wherein touch sensor can be touch-control A part of display screen can also be used as a touch sensor arrangement and independently use), acceleration transducer and other sensings Device etc..
Input-output circuit 150 can also include that touch sensor array (is shown that is, display 130 can be touch-control Screen).Touch sensor can be the electricity formed by transparent touch sensor electrode (such as tin indium oxide (ITO) electrode) array Appearance formula touch sensor, or can be the touch sensor formed using other touching techniques, such as sound wave touch-control, pressure-sensitive touching It touches, resistive touch, optical touch etc., the embodiment of the present application is with no restriction.
Wearable device 100 can also include audio component 140.Audio component 140 can be used for setting to be wearable Standby 100 provide audio input and output function.Audio component 140 in wearable device 100 may include loudspeaker, Mike Wind, buzzer, tone generator and other components for being used to generate and detect sound.
Telecommunication circuit 120 can be used for providing the ability with external device communication for electronic equipment 100.Telecommunication circuit 120 It may include analog- and digital- input-output interface circuit, and the radio communication circuit based on radiofrequency signal and/or optical signal. Radio communication circuit in telecommunication circuit 120 may include radio-frequency transceiver circuitry, power amplifier circuit, low noise amplification Device, switch, filter and antenna.For example, the radio communication circuit in telecommunication circuit 120 may include for passing through transmitting The circuit of near-field communication (Near Field Communication, NFC) is supported with near-field coupling electromagnetic signal is received.Example Such as, telecommunication circuit 120 may include near-field communication aerial and near-field communication transceiver.Telecommunication circuit 120 can also include honeycomb Telephone transceiver and antenna, wireless lan transceiver circuit and antenna etc..
Wearable device 100 can further include battery, power management circuitry and other input-output units 160.Input-output unit 160 may include button, control stick, click wheel, scroll wheel, touch tablet, keypad, keyboard, photograph Machine, light emitting diode or other positioning indicators etc..
User can input a command for the operation of control wearable device 100 by input-output circuit 150, and The output data of input-output circuit 150 can be used to realize and receive status information from wearable device 100 and its It is exported.
Referring to Fig.2, Fig. 2 be a kind of wearable device provided by the embodiments of the present application, the wearable device include: to A few earplug, which includes: the first cavity 201, the second cavity 202, first pressure sensor, second pressure sensor; Wherein, the first cavity 201 is connected to ear canal (i.e. with ear canal air communication) when wearable device is wearing state, the second chamber Body 202 is communicated with the atmosphere;
First pressure sensor 203, for using first frequency to detect the first electricity of atmospheric pressure output of the first cavity 201 Signal;
Second pressure sensor 204, for using first frequency to detect the second electricity of atmospheric pressure output of the second cavity 202 Signal;
The wearable device can also include: zoom comparison circuit, which includes: amplifying circuit, ratio Compared with circuit, wherein
The input terminal of first amplifying circuit connects the first electric signal, the output end connection comparison circuit of the first amplifying circuit The input terminal of one input terminal, the second amplifying circuit connects the second electric signal, and the output end of the second amplifying circuit connects this and compares Another input terminal of circuit, an input and output pin of the output end connection processor of comparison circuit;
Processor detects the third telecommunications in first time section for obtaining the third electric signal of the input and output pin Number second frequency, determine whether earplug is in wearing state according to the second frequency and first frequency relationship.
It is the variation based on air pressure that wearable device provided by the present application, which realizes wearing detection, is set for wearable Standby, by taking earphone as an example, when earphone is worn in human ear, the space of ear canal becomes an enclosure space at this time, by testing Card, the air pressure of the enclosure space and the pressure of outside atmosphere are different, and the air pressure of this enclosure space is under wearing state It is almost constant, then we are obtained by the identical sample frequency between setting first sensor and second sensor here To the first electric signal and the second electric signal between frequency be identical, and the first electric signal and the second electric signal are being worn It is also fixed for wearing its size relation under state, so that if the frequency of the third electric signal of the output end of comparison circuit and Sample frequency is identical, then can determine that it corresponds to wearing state.
The determination of above-mentioned determining wearing state is that when wearing, state is relatively fixed based on wearable device, that is, needs to lead to A setting duration is crossed to detect, this accuracy for detection operation is high, because acting it for one can not have very Good duration, for example, earphone is when wearing acts, due to various reasons, 201 pressure value of the first cavity and the second cavity 202 Pressure value be possible to be also possible to greatly small, the first electric signal for causing first pressure sensor to sample in this way is possible to than Two electric signals be also possible to greatly it is small, after being amplified at this time by amplifying circuit, due to the first electric signal and the second electric signal Between size relation it is unstable, then comparison circuit may export high level or level, the second frequency of such third electric signal Rate can also change, and make the value of second frequency be not necessarily steady state value first in this way, in addition, second frequency is also impossible to and first Frequency is identical, avoids pleasant error detection caused by the contingency of movement in this way, so it, which has, wears detection accurately, The advantages of improving user experience.
Optionally, processor, it is not identical as first frequency specifically for such as second frequency, determine that earplug is in non-wearing shape State determines that earplug is in non-wearing state if second frequency is identical as first frequency.
Optionally, processor, but second frequency unchanged in the setting time specifically for such as first frequency change, determine Earplug is in non-wearing state.
Optionally, processor is also used in the second time interval (time interval behind first time section) The first frequency of one pressure sensor and second pressure sensor is modified to third frequency, obtains the after one time t of delay 4th frequency of the third signal of two time intervals, such as the 4th frequency is identical as third frequency, determines that wearable device is in Wearing state.
This technical solution determines whether the case where will appear error detection by the change to sample frequency, passes through two frequencies The consistent scheme of detection of rate can greatly improve the accuracy of detection.
It is the waveform diagram of the first electric signal, the second electric signal and third electric signal refering to Fig. 2 a, Fig. 2 a, as shown in Figure 2 a, For the wearing state schematic diagram of wearable device.
It is the waveform diagram of the first electric signal, the second electric signal and third electric signal refering to Fig. 2 b, Fig. 2 b, as shown in Figure 2 b, For the non-wearing state schematic diagram of wearable device.
A kind of zoom comparison circuit is provided refering to Fig. 3, Fig. 3, as shown in figure 3, the zoom comparison circuit includes: amplification electricity Road 301 and comparison circuit 302, wherein amplifying circuit 301 includes: the first amplifying circuit 3011 and the second amplifying circuit 3012;
First amplifying circuit 3011 include: first resistor R1 the other end connect the first triode T1 base stage, the one or three The other end of the collector connection eleventh resistor R11 of pole pipe T1, one end of eleventh resistor R11 connects first voltage source VCC1, the both ends of second resistance R2 are separately connected the collector and base stage of the first triode T1, the emitter of the first triode T1 Ground connection, one end of 3rd resistor R3 connect the collector of the first triode T1, and the other end of 3rd resistor R3 connects the two or three pole The base stage of pipe T2, the both ends of the 4th resistance R4 are separately connected the collector and base stage of the second triode T2, and the one of the 5th resistance R5 The collector of the second triode T2 of end connection, the other end of the 5th resistance R5 connect first voltage source VCC1, the second triode T2 Collector connection comparator an input terminal;The output of the current collection of second triode T2 extremely the first amplifying circuit 3011 End, the emitter ground connection of the second triode T2, one end of first resistor R1 is the input terminal of the first amplifying circuit 3011;
Second amplifying circuit 3012 include: the 6th resistance R6 the other end connection third transistor T3 base stage, the three or three The other end of the collector connection twelfth resistor R12 of pole pipe T3, one end of twelfth resistor R12 connects first voltage source The both ends of VCC1, the 7th resistance R7 are separately connected the collector and base stage of third transistor T3, the emitter of third transistor T3 Ground connection, the collector of one end connection third transistor T3 of the 8th resistance R8, the other end of the 8th resistance R8 connect the four or three pole The base stage of pipe T4, the both ends of the 9th resistance R9 are separately connected the collector and base stage of the 4th triode T4, and the one of the tenth resistance R10 The collector of the 4th triode T4 of end connection, the other end of the tenth resistance R10 connect first voltage source VCC1, the 4th triode T4 Collector connection comparator another input terminal;The output of the current collection of 4th triode T4 extremely the second amplifying circuit 3012 End, one end of the 6th resistance R6 are the input terminal of the second amplifying circuit 3012;
Wherein, first resistor R1, the electrical parameter of the 6th resistance R6 are identical;
Second resistance R2, the electrical parameter of the 7th resistance R7 are identical;
3rd resistor R3, the electrical parameter of the 8th resistance R8 are identical;
4th resistance R4, the electrical parameter of the 9th resistance R9 are identical;
5th resistance R5, the electrical parameter of the tenth resistance R10 are identical;
Eleventh resistor R11, the electrical parameter of twelfth resistor R12 are identical;
First triode T1, the electrical parameter of third transistor T3 are identical;
Second triode T2, the electrical parameter of the 4th triode T4 are identical.
One input and output pin of the output end connection processor of comparator.
The identical amplification performance that can make amplifying circuit of above-mentioned electrical parameter is identical, and this avoid due to amplification The variation of voltage value caused by energy is different.
The wearing detection method of the application wearable device, the method is applied to wearable device, described to wear The formula equipment of wearing includes: at least one earplug, and the earplug includes: the first cavity, the second cavity, first pressure sensor, second Pressure sensor and processor;First cavity is connected to when the wearable device is wearing state with ear canal, described Second cavity is communicated with the atmosphere;First pressure sensor, for detecting the atmospheric pressure of first cavity using first frequency Export the first electric signal;Second pressure sensor, for the atmospheric pressure for detecting second cavity using first frequency Export the second electric signal;The earplug further include: zoom comparison circuit, the zoom comparison circuit include: the first amplifying circuit, Second amplifying circuit and comparison circuit;The input terminal of first amplifying circuit connects first electric signal, and described first puts The output end of big circuit connects an input terminal of the comparison circuit, the second electricity of input terminal connection of second amplifying circuit The output end of signal, second amplifying circuit connects another input terminal of the comparison circuit, the output of the comparison circuit One input and output pin of end connection processor;Refering to Fig. 4, the method that Fig. 4 is provided includes the following steps:
Step S401, the third electric signal of the input and output pin is obtained;
Step S402, the third electric signal is detected in the second frequency in first time section, according to the second frequency Determine whether the earplug is in wearing state with the first frequency relationship.
It is the variation based on air pressure that wearable device provided by the present application, which realizes wearing detection, is set for wearable Standby, by taking earphone as an example, when earphone is worn in human ear, the space of ear canal becomes an enclosure space at this time, by testing Card, the air pressure of the enclosure space and the pressure of outside atmosphere are different, and the air pressure of this enclosure space is under wearing state It is almost constant, then we are obtained by the identical sample frequency between setting first sensor and second sensor here To the first electric signal and the second electric signal between frequency be identical, and the first electric signal and the second electric signal are being worn It is also fixed for wearing its size relation under state, so that if the frequency of the third electric signal of the output end of comparison circuit and Sample frequency is identical, then can determine that it corresponds to wearing state.
The determination of above-mentioned determining wearing state is that when wearing, state is relatively fixed based on wearable device, that is, needs to lead to A setting duration is crossed to detect, this accuracy for detection operation is high, because acting it for one can not have very Good duration, for example, earphone is when wearing acts, due to various reasons, 201 pressure value of the first cavity and the second cavity 202 Pressure value be possible to be also possible to greatly small, the first electric signal for causing first pressure sensor to sample in this way is possible to than Two electric signals be also possible to greatly it is small, after being amplified at this time by amplifying circuit, due to the first electric signal and the second electric signal Between size relation it is unstable, then comparison circuit may export high level or level, the second frequency of such third electric signal Rate can also change, and make the value of second frequency be not necessarily steady state value first in this way, in addition, second frequency is also impossible to and first Frequency is identical, avoids pleasant error detection caused by the contingency of movement in this way, so it, which has, wears detection accurately, The advantages of improving user experience.
Optionally, above-mentioned to determine whether the earplug is in wearing according to the second frequency and the first frequency relationship State can specifically include:
If the second frequency and the first frequency be not identical, determine that the earplug is in non-wearing state, it is such as described Second frequency is identical as the first frequency, determines that the earplug is in non-wearing state.
Optionally, above-mentioned to determine whether the earplug is in wearing according to the second frequency and the first frequency relationship State can specifically include:
As the first frequency in the first time section the unchanged but described second frequency in the first time area Between change, determine that the earplug is in non-wearing state.
Optionally, the above method can also include:
The first frequency of the first pressure sensor and second pressure sensor is modified in the second time interval Three frequencies obtain the 4th frequency of the third electric signal of the second time interval after one time t of delay, such as the described 4th Frequency is identical as the third frequency, determines that the wearable device is in wearing state.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also be realized in the form of software program module.
It is the embodiment of the embodiment of the present application above, it is noted that those skilled in the art are come It says, under the premise of not departing from the embodiment of the present application principle, several improvements and modifications can also be made, these improvements and modifications It is considered as the protection scope of the application.

Claims (11)

1. a kind of wearable device, the wearable device includes: at least one earplug, which is characterized in that the earplug It include: the first cavity, the second cavity, first pressure sensor, second pressure sensor and processor;First cavity is in institute It states when wearable device is wearing state and is connected to ear canal, second cavity is communicated with the atmosphere;
First pressure sensor, the atmospheric pressure for detecting first cavity using first frequency export the first electric signal;
Second pressure sensor exports the second telecommunications for the atmospheric pressure for detecting second cavity using first frequency Number;
The earplug further include: zoom comparison circuit, the zoom comparison circuit include: the first amplifying circuit, the second amplification electricity Road and comparison circuit;
The input terminal of first amplifying circuit connects first electric signal, and the output end of first amplifying circuit connects institute An input terminal of comparison circuit is stated, the input terminal of second amplifying circuit connects the second electric signal, the second amplification electricity The output end on road connects another input terminal of the comparison circuit, and one of the output end connection processor of the comparison circuit is defeated Enter output pin;
The processor detects the third electric signal first for obtaining the third electric signal of the input and output pin The second frequency of time interval determines whether the earplug is in wearing according to the second frequency and the first frequency relationship State.
2. wearable device according to claim 1, which is characterized in that
The processor, it is not identical specifically for such as second frequency and the first frequency, determine that the earplug is in non- Wearing state, such as second frequency is identical as the first frequency, determines that the earplug is in non-wearing state.
3. wearable device according to claim 1, which is characterized in that
The processor is specifically used for as in the first time section, the unchanged but described second frequency exists the first frequency The first time section variation, determines that the earplug is in non-wearing state.
4. wearable device according to claim 1, which is characterized in that
The processor is also used to the first of the first pressure sensor and second pressure sensor in the second time interval Frequency is modified to third frequency, obtains the 4th frequency of the third electric signal of the second time interval after one time t of delay Rate, such as the 4th frequency is identical as the third frequency, determines that the wearable device is in wearing state.
5. wearable device according to any one of claims 1-4, which is characterized in that the zoom comparison circuit tool Body includes:
First amplifying circuit includes: that the other end of first resistor connects the base stage of the first triode, the collection of the first triode Electrode connects the other end of eleventh resistor, and one end of eleventh resistor connects first voltage source, the both ends difference of second resistance Connect the collector and base stage of the first triode, the emitter ground connection of the first triode, one end connection the one or three of 3rd resistor The collector of pole pipe, the other end of 3rd resistor connect the base stage of the second triode, and the both ends of the 4th resistance are separately connected second The collector and base stage of triode, one end of the 5th resistance connect the collector of the second triode, and the other end of the 5th resistance connects Connect first voltage source, an input terminal of the collector connection comparator of the second triode;The current collection of second triode extremely The output end of one amplifying circuit, the emitter ground connection of the second triode, one end of first resistor is the input of the first amplifying circuit End;
Second amplifying circuit includes: the base stage of the other end connection third transistor of the 6th resistance, the collector of third transistor The other end of twelfth resistor is connected, one end of twelfth resistor connects first voltage source, and the both ends of the 7th resistance are separately connected The collector and base stage of third transistor, the emitter ground connection of third transistor, one end of the 8th resistance connects third transistor Collector, the other end of the 8th resistance connects the base stage of the 4th triode, and the both ends of the 9th resistance are separately connected the four or three pole The collector and base stage of pipe, one end of the tenth resistance connect the collector of the 4th triode, the other end connection of the tenth resistance the One voltage source, another input terminal of the collector connection comparator of the 4th triode;The current collection extremely second of 4th triode The output end of amplifying circuit, one end of the 6th resistance are the input terminal of the second amplifying circuit;
Wherein, first resistor, the electrical parameter of the 6th resistance are identical, and second resistance, the electrical parameter of the 7th resistance are identical, third electricity Resistance, the electrical parameter of the 8th resistance are identical, and the 4th resistance, the electrical parameter of the 9th resistance are identical, the electricity ginseng of the 5th resistance, the tenth resistance Number is identical, and eleventh resistor, the electrical parameter of twelfth resistor are identical, and the first triode, the electrical parameter of third transistor are identical, the Two triodes, the electrical parameter of the 4th triode are identical;
One input and output pin of the output end connection processor of the comparator.
6. a kind of wearing detection method of wearable device, the method is applied to wearable device, described wearable Equipment includes: at least one earplug, which is characterized in that the earplug includes: the first cavity, the second cavity, first pressure sensing Device, second pressure sensor and processor;First cavity connects when the wearable device is wearing state with ear canal Logical, second cavity is communicated with the atmosphere;First pressure sensor, for detecting the big of first cavity using first frequency Atmospheric pressure exports the first electric signal;Second pressure sensor detects the big of second cavity using first frequency for described Atmospheric pressure exports the second electric signal;The earplug further include: zoom comparison circuit, the zoom comparison circuit include: first to put Big circuit, the second amplifying circuit and comparison circuit;The input terminal of first amplifying circuit connects first electric signal, described The output end of first amplifying circuit connects an input terminal of the comparison circuit, the input terminal connection of second amplifying circuit The output end of second electric signal, second amplifying circuit connects another input terminal of the comparison circuit, the comparison circuit Output end connection processor an input and output pin;Described method includes following steps:
The third electric signal for obtaining the input and output pin detects the third electric signal in second frequency in first time section Rate determines whether the earplug is in wearing state according to the second frequency and the first frequency relationship.
7. according to the method described in claim 6, it is characterized in that, described close according to the second frequency and the first frequency System determines whether the earplug specifically includes in wearing state:
If the second frequency and the first frequency be not identical, determine that the earplug is in non-wearing state, such as described second Frequency is identical as the first frequency, determines that the earplug is in non-wearing state.
8. according to the method described in claim 6, it is characterized in that, described close according to the second frequency and the first frequency System determines whether the earplug specifically includes in wearing state:
As in the first time section, the unchanged but described second frequency becomes the first frequency in the first time section Change, determines that the earplug is in non-wearing state.
9. according to the method described in claim 6, it is characterized in that, the method also includes:
The first frequency of the first pressure sensor and second pressure sensor is modified to third frequency in the second time interval Rate obtains the 4th frequency of the third electric signal of the second time interval after one time t of delay, such as the 4th frequency It is identical as the third frequency, determine that the wearable device is in wearing state.
10. a kind of computer readable storage medium, which is characterized in that it stores the computer program for being used for electronic data interchange, Wherein, the computer program makes the method for computer execution as claim in any one of claims 6-9.
11. a kind of computer program product, which is characterized in that the computer program product includes storing computer program Non-transient computer readable storage medium, the computer program are operable to that computer is made to execute such as claim 6-9 Method described in one.
CN201810387109.3A 2018-04-26 2018-04-26 Wearable device wearing detection method and related product Active CN108955758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810387109.3A CN108955758B (en) 2018-04-26 2018-04-26 Wearable device wearing detection method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810387109.3A CN108955758B (en) 2018-04-26 2018-04-26 Wearable device wearing detection method and related product

Publications (2)

Publication Number Publication Date
CN108955758A true CN108955758A (en) 2018-12-07
CN108955758B CN108955758B (en) 2021-04-09

Family

ID=64498903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810387109.3A Active CN108955758B (en) 2018-04-26 2018-04-26 Wearable device wearing detection method and related product

Country Status (1)

Country Link
CN (1) CN108955758B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110114738A (en) * 2019-03-25 2019-08-09 深圳市汇顶科技股份有限公司 Wearable device wears detection method and storage medium
CN110161575A (en) * 2019-05-22 2019-08-23 广州杰赛科技股份有限公司 A kind of intelligent wearable device disassembly status detection method, device and storage medium
CN112653958A (en) * 2019-10-11 2021-04-13 Oppo广东移动通信有限公司 Earphone box, earphone device and mobile terminal

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102610248A (en) * 2012-03-16 2012-07-25 深圳市福智软件技术有限公司 Method and device for reducing electric power consumption
CN102600012A (en) * 2012-03-16 2012-07-25 深圳市福智软件技术有限公司 Method and device for preventing ear fatigue
CN202736242U (en) * 2012-03-16 2013-02-13 深圳市福智软件技术有限公司 Device preventing ear fatigue
CN103257873A (en) * 2013-04-18 2013-08-21 北京小米科技有限责任公司 Method and system for controlling intelligent terminal device
CN104010241A (en) * 2013-02-21 2014-08-27 Lg电子株式会社 Bluetooth headset
CN104113794A (en) * 2013-04-22 2014-10-22 联想(北京)有限公司 Information processing method, information processing system and headset
CN104185109A (en) * 2014-09-01 2014-12-03 联想(北京)有限公司 Control system, earphone, electronic device and control method
CN104808781A (en) * 2014-01-24 2015-07-29 北京奇虎科技有限公司 Device and method for determining validity of operation of head-wearing intelligent device
CN105744325A (en) * 2015-11-04 2016-07-06 广东欧珀移动通信有限公司 Audio/video play control method and audio/video play control device
CN106293601A (en) * 2016-08-09 2017-01-04 乐视控股(北京)有限公司 A kind of audio frequency playing method and device
CN106454588A (en) * 2016-09-30 2017-02-22 维沃移动通信有限公司 Earphone and earphone channel switching method
CN106535020A (en) * 2016-12-02 2017-03-22 歌尔科技有限公司 Neck-worn in-ear Bluetooth headset and in-ear detection method thereof
CN206136198U (en) * 2016-08-25 2017-04-26 歌尔股份有限公司 Earphone
CN106851459A (en) * 2017-03-22 2017-06-13 广州三星通信技术研究有限公司 In-Ear Headphones
CN107106044A (en) * 2017-03-30 2017-08-29 深圳市汇顶科技股份有限公司 Wearable device, wear quality determining method and device
US20170280223A1 (en) * 2016-03-23 2017-09-28 Chiara Cavarra Automated and body driven headset audio control

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102610248A (en) * 2012-03-16 2012-07-25 深圳市福智软件技术有限公司 Method and device for reducing electric power consumption
CN102600012A (en) * 2012-03-16 2012-07-25 深圳市福智软件技术有限公司 Method and device for preventing ear fatigue
CN202736242U (en) * 2012-03-16 2013-02-13 深圳市福智软件技术有限公司 Device preventing ear fatigue
CN104010241A (en) * 2013-02-21 2014-08-27 Lg电子株式会社 Bluetooth headset
CN103257873A (en) * 2013-04-18 2013-08-21 北京小米科技有限责任公司 Method and system for controlling intelligent terminal device
CN104113794A (en) * 2013-04-22 2014-10-22 联想(北京)有限公司 Information processing method, information processing system and headset
CN104808781A (en) * 2014-01-24 2015-07-29 北京奇虎科技有限公司 Device and method for determining validity of operation of head-wearing intelligent device
CN104185109A (en) * 2014-09-01 2014-12-03 联想(北京)有限公司 Control system, earphone, electronic device and control method
CN105744325A (en) * 2015-11-04 2016-07-06 广东欧珀移动通信有限公司 Audio/video play control method and audio/video play control device
US20170280223A1 (en) * 2016-03-23 2017-09-28 Chiara Cavarra Automated and body driven headset audio control
CN106293601A (en) * 2016-08-09 2017-01-04 乐视控股(北京)有限公司 A kind of audio frequency playing method and device
CN206136198U (en) * 2016-08-25 2017-04-26 歌尔股份有限公司 Earphone
CN106454588A (en) * 2016-09-30 2017-02-22 维沃移动通信有限公司 Earphone and earphone channel switching method
CN106535020A (en) * 2016-12-02 2017-03-22 歌尔科技有限公司 Neck-worn in-ear Bluetooth headset and in-ear detection method thereof
CN106851459A (en) * 2017-03-22 2017-06-13 广州三星通信技术研究有限公司 In-Ear Headphones
CN107106044A (en) * 2017-03-30 2017-08-29 深圳市汇顶科技股份有限公司 Wearable device, wear quality determining method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110114738A (en) * 2019-03-25 2019-08-09 深圳市汇顶科技股份有限公司 Wearable device wears detection method and storage medium
CN110114738B (en) * 2019-03-25 2020-12-01 深圳市汇顶科技股份有限公司 Wearable device, wearing detection method, and storage medium
US11438685B2 (en) 2019-03-25 2022-09-06 Shenzhen GOODIX Technology Co., Ltd. Wearable device, wearing detection method, and storage medium
CN110161575A (en) * 2019-05-22 2019-08-23 广州杰赛科技股份有限公司 A kind of intelligent wearable device disassembly status detection method, device and storage medium
CN112653958A (en) * 2019-10-11 2021-04-13 Oppo广东移动通信有限公司 Earphone box, earphone device and mobile terminal

Also Published As

Publication number Publication date
CN108955758B (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN108958696A (en) Principal and subordinate's earphone method for handover control and Related product
CN109068206A (en) Principal and subordinate's earphone method for handover control and Related product
CN108955759A (en) The wearing detection method and Related product of wearable device
CN108810693A (en) Apparatus control method and Related product
CN109150221B (en) Master-slave switching method for wearable equipment and related product
CN108737923A (en) Volume adjusting method and related product
CN109639367A (en) The method of adjustment and Related product of electromagnetic interference
CN109561420A (en) A kind of method and relevant device of emergency help
CN108683444A (en) Data transmission method and related product
CN108955758A (en) The wearing detection method and Related product of wearable device
CN108769387A (en) Application control method and relevant device
CN108897516A (en) A kind of wearable device method for regulation of sound volume and Related product
CN108600539A (en) Mobile terminal, method for detecting position and Related product
CN108834013B (en) Wearable equipment electric quantity balancing method and related product
CN108769401A (en) Signal detecting method and related product
CN108777741A (en) antenna switching control method and related product
CN109743129A (en) Electromagnetic interference control method and Related product
CN109121034B (en) Master-slave switching method based on volume and related product
CN108882084A (en) A kind of wearable device electric quantity balancing method and Related product
CN108965583A (en) Proximity test method and relevant device
CN108649672A (en) Wireless charging circuit and wearable device
CN108649671B (en) Wireless charging circuit and wearable equipment
CN108668018A (en) Mobile terminal, method for controlling volume and Related product
CN109032344A (en) Location processing method and Related product
CN106534589A (en) Mobile terminal control method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant