CN108712697A - Wireless headset and its operating mode determine method, apparatus, equipment, storage medium - Google Patents
Wireless headset and its operating mode determine method, apparatus, equipment, storage medium Download PDFInfo
- Publication number
- CN108712697A CN108712697A CN201810530923.6A CN201810530923A CN108712697A CN 108712697 A CN108712697 A CN 108712697A CN 201810530923 A CN201810530923 A CN 201810530923A CN 108712697 A CN108712697 A CN 108712697A
- Authority
- CN
- China
- Prior art keywords
- wireless headset
- acceleration
- angle
- component
- operating mode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2420/00—Details of connection covered by H04R, not provided for in its groups
- H04R2420/05—Detection of connection of loudspeakers or headphones to amplifiers
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Headphones And Earphones (AREA)
Abstract
This application discloses a kind of wireless headsets and its operating mode to determine method, apparatus, equipment, storage medium, is related to wireless headset field, and the false drop rate for solving the problems, such as wireless headset wearing state is higher, including:If preset condition sensor detects corresponding transducing signal in wireless headset, the acceleration information of preset acceleration transducer acquisition in the wireless headset is obtained;Judge whether presently described wireless headset is in wearing state using the acceleration information, if it is not, then setting the operating mode of the wireless headset to low-power consumption mode.The application is when condition sensor detects transducing signal, it can't directly judge that current wireless headset is in wearing state accordingly, but utilize acceleration information to wireless headset whether in the further confirmation of wearing state work, the false drop rate that wireless headset wearing state can effectively be reduced in this way, thus also improves the effective rate of utilization of electric energy in wireless headset.
Description
Technical field
This application involves wireless headset technical field, more particularly to a kind of wireless headset and its operating mode determine method,
Device, equipment, storage medium.
Background technology
Currently, wireless headset is deep to be liked by user as a kind of popular ear speaker device.However, due to wireless ear
Limited battery capacity inside machine, causes it to the more demanding of power consumption.Wireless headset is typically the case where user does not wear
Operating mode is set to low-power consumption mode, to reduce the waste of electric energy.In the prior art, typically collect in wireless headset
At IR (i.e. Infrared Radiation) sensor, by monitoring whether IR sensors detect the infrared signal of human body
Whether mode determines whether current wireless headset is in wearing state, in this, as being adjusted to the operating mode of wireless headset
The foundation of low-power consumption mode.
However, the method for determination of above-mentioned wearing state can be erroneously determined as non-wearing state to wear in some cases
State, for example, when user removes wireless headset, and the hand of user has rested on the region corresponding to IR sensors just at this time
On, then the IR sensors in wireless headset can still detect the infrared signal of human body at this time, therefore still will be considered that wireless
Earphone is currently at wearing state, thus just continues the high power consumption mode for keeping wireless headset, to cause waste to electric energy.
Invention content
In view of this, the application be designed to provide a kind of wireless headset and its operating mode determines method, apparatus, sets
Standby, storage medium can reduce the false drop rate of wireless headset wearing state, improve efficiently using for electric energy in wireless headset
Rate.Its concrete scheme is as follows:
In a first aspect, this application discloses a kind of earphone operating modes to determine method, including:
If preset condition sensor detects corresponding transducing signal in wireless headset, obtain in the wireless headset
The acceleration information of preset acceleration transducer acquisition;
Judge whether presently described wireless headset is in wearing state using the acceleration information, if it is not, then by institute
The operating mode for stating wireless headset is set as low-power consumption mode.
Optionally, described to judge whether presently described wireless headset is in wearing state using the acceleration information, such as
Fruit is no, then sets the operating mode of the wireless headset to low-power consumption mode, including:
Utilize the first component of acceleration and the second preset coordinate axis in the acceleration information on the first preset coordinate axis
On the second component of acceleration, calculate the rotation angle variable quantity that the wireless headset is rotated along third preset coordinate axis;Its
In, the first preset coordinate axis, the second preset coordinate axis and the third preset coordinate axis Special composition rectangular co-ordinate
System, and the third preset coordinate axis is the change in coordinate axis direction reference axis consistent with the wearing direction of the wireless headset;
Judge whether the rotation angle variable quantity is more than predetermined angle variable quantity threshold value;
If it is, analyzing the data fluctuations degree of presently described acceleration information, and judge the data fluctuations degree
Whether the first default degree of fluctuation is more than, if it is, judge that presently described wireless headset is not at wearing state, and will be described
The operating mode of wireless headset is set as low-power consumption mode.
Optionally, first component of acceleration and second using in the acceleration information on the first preset coordinate axis
The second component of acceleration on preset coordinate axis calculates the rotation angle that the wireless headset is rotated along third preset coordinate axis
Variable quantity, including:
Using predetermined angle calculation formula, calculate separately each rotational instant in corresponding rotation duration respectively corresponding to rotation
Gyration obtains multiple rotation angles;
The wireless headset is calculated in the corresponding rotation duration along the third using the multiple rotation angle
The rotation angle variable quantity of preset coordinate axis rotation;
Wherein, the predetermined angle calculation formula is:
θ=arctan (Gy/Gx);
Wherein, Gx indicates that first component of acceleration under target rotational instant, Gy indicate the target rotational instant
Under second component of acceleration, θ indicates wireless headset corresponding rotation angle under the target rotational instant.
Optionally, described to calculate wireless headset edge in the corresponding rotation duration using the multiple rotation angle
The rotation angle variable quantity of the third preset coordinate axis rotation, including:
The direction of rotation of the wireless headset in the corresponding rotation duration is determined using the multiple rotation angle;
Each rotation angle in the multiple rotation angle is added into corresponding preset angle angle value respectively, obtains each rotation
The corresponding angle between the positive axis of the first preset coordinate axis of gyration;Wherein, if any rotation angle is corresponding
Rotating vector is located at the first quartile of coordinates of targets plane, then corresponding preset angle angle value is 0, if any rotation angle is corresponding
Rotating vector is located at the second quadrant or third quadrant of the coordinates of targets plane, then corresponding preset angle angle value is 180 °, if
The corresponding rotating vector of any rotation angle is located at the fourth quadrant of the coordinates of targets plane, then corresponding preset angle angle value is
360 °, the coordinates of targets plane is that the first preset coordinate axis and the second preset coordinate axis are formed by coordinate and put down
Face;
Maximum angle and minimum angle are selected from all angles;
According to the direction of rotation, the maximum angle, the minimum angle, the corresponding rotational instant of the maximum angle
Rotational instant corresponding with the minimum angle calculates the wireless headset in the corresponding rotation duration along the third
The rotation angle variable quantity of preset coordinate axis rotation.
Optionally, described to judge whether the rotation angle variable quantity is more than before predetermined angle variable quantity threshold value, also wrap
It includes:
The corresponding rotation angle variable quantity of each history rotational event in multiple history rotational event is determined respectively,
Obtain corresponding multiple rotation angle variable quantities;
The rotation angle variable quantity of numerical value minimum in the multiple rotation angle variable quantity is determined as the predetermined angle
Variable quantity threshold value.
Optionally, described to judge whether presently described wireless headset is in wearing state using the acceleration information, such as
Fruit is no, then sets the operating mode of the wireless headset to low-power consumption mode, including:
Analyze the data fluctuations degree of presently described acceleration information;
Judge whether the data fluctuations degree is more than the second default degree of fluctuation, if it is, judging presently described nothing
Line earphone is not at wearing state, and sets the operating mode of the wireless headset to low-power consumption mode.
Optionally, the data fluctuations degree of the presently described acceleration information of analysis, including:
Analyze any one in first component of acceleration, second component of acceleration and third component of acceleration
Or the data fluctuations degree of a variety of components;
Wherein, the third component of acceleration is the acceleration on third preset coordinate axis described in the acceleration information
Component.
Optionally, the analysis first component of acceleration, second component of acceleration and third component of acceleration
In any one or more component data fluctuations degree, including:
By way of calculating the standard deviation or variance of component of acceleration, first component of acceleration, described the are analyzed
The data fluctuations degree of two components of acceleration and any one or more component in the third component of acceleration.
Second aspect, this application discloses a kind of earphone operating mode determining devices, including:
Data acquisition module detects corresponding transducing signal, then for working as preset condition sensor in wireless headset
Obtain the acceleration information of preset acceleration transducer acquisition in the wireless headset;
Condition judgment module, for judging presently described wireless headset whether in wearing shape using the acceleration information
State;
Mode setting module then sets the operating mode of the wireless headset for being no when the condition adjudgement result
It is set to low-power consumption mode.
The third aspect, this application discloses a kind of earphone operating modes to determine equipment, including processor and memory;Its
In, the processor realizes that earphone operating mode as previously disclosed is true when executing the computer program preserved in the memory
Determine method.
Fourth aspect, this application discloses a kind of wireless headsets, including condition sensor and acceleration transducer, further include
Earphone operating mode as previously disclosed determines equipment.
Optionally, the condition sensor is IR sensors.
Optionally, the wireless headset is TWS earphones.
5th aspect, this application discloses a kind of computer readable storage mediums, for storing computer program;Wherein,
The computer program realizes that earphone operating mode as previously disclosed determines method when being executed by processor.
As it can be seen that the application when condition sensor detects corresponding transducing signal, obtains the acceleration number of degrees of wireless headset
According to, then using acceleration information judge wireless headset whether be in wearing state, that is, the application condition sensor detect
When to transducing signal, it can't directly judge that current wireless headset is in wearing state accordingly, but utilize acceleration information pair
Whether wireless headset in this way can effectively reduce the flase drop of wireless headset wearing state in the further confirmation of wearing state work
Thus rate also improves the effective rate of utilization of electric energy in wireless headset.
Description of the drawings
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 technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is that a kind of earphone operating mode disclosed in the present application determines method flow diagram;
Fig. 2 is that a kind of specific earphone operating mode disclosed in the present application determines method flow diagram;
Fig. 3 is disclosed in the present application a kind of using wireless headset as the rectangular coordinate system in space of reference object;
Fig. 4 is specific acceleration information schematic diagram when a kind of wireless headset is placed and rotated in earhole;
Fig. 5 is that a kind of specific earphone operating mode disclosed in the present application determines method sub-process figure;
Fig. 6 is a kind of specific rotation example schematic disclosed in the present application;
Fig. 7 is a kind of specific rotation example schematic disclosed in the present application;
Fig. 8 is a kind of specific rotation example schematic disclosed in the present application;
Fig. 9 is a kind of specific rotation example schematic disclosed in the present application;
Figure 10 is specific acceleration information schematic diagram when a kind of wireless headset rotates outside earhole;
Figure 11 is acceleration information standard deviation schematic diagram when wireless headset is rotated in earhole and rotated outside earhole;
Figure 12 is that a kind of specific earphone operating mode disclosed in the present application determines method flow diagram;
Figure 13 is a kind of earphone operating mode determining device structural schematic diagram disclosed in the present application;
Figure 14 is that a kind of earphone operating mode disclosed in the present application determines device structure schematic diagram;
Figure 15 is a kind of wireless earphone structure schematic diagram disclosed in the present application.
Specific implementation mode
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 describes, 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, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
The embodiment of the present application discloses a kind of earphone operating mode and determines method, and shown in Figure 1, this method includes:
Step S11:If preset condition sensor detects corresponding transducing signal in wireless headset, the nothing is obtained
The acceleration information of preset acceleration transducer acquisition in line earphone.
In the present embodiment, it is integrated with condition sensor in advance inside wireless headset, when condition sensor detects accordingly
After transducing signal, then it can thereby determine that current wireless headset is in contact condition with human skin.
In the first specific implementation mode, above-mentioned condition sensor can be for detecting the infrared of user's skin generation
The IR sensors of line signal.After the IR sensors in wireless headset detect infrared signal, current wireless headset can determine that
It is in contact condition with human skin.
In second of specific implementation mode, above-mentioned condition sensor can be when contacting wireless headset for detecting user
The pressure sensor of the pressure value of generation.After the pressure sensor in wireless headset detects pressure signal, it can determine that current
Wireless headset is in contact condition with human skin.
In the third specific implementation mode, above-mentioned condition sensor can be in user body parts wireless headset
Contact or very close in the case of, the distance between detection wireless earphone and user body parts be worth range sensor.When
After range sensor in wireless headset detects distance signal, it can determine that current wireless headset is in contact shape with human skin
State.
In the 4th kind of specific implementation mode, above-mentioned condition sensor can be the temperature sensing for detecting human body temperature
Device.After the temperature sensor in wireless headset detects temperature signal, it can determine that current wireless headset is in human skin
Contact condition.
In the 5th kind of specific implementation mode, whether contacted with human skin with current wireless headset to further increase
The accuracy of corresponding judging result, the condition sensor in the present embodiment wireless headset can also include IR sensors, pressure
Arbitrary multiple sensors in sensor, range sensor and temperature sensor, when all condition sensors in wireless headset
When can detect corresponding sensor signal, it can determine that current wireless headset is in contact condition with human skin.
It is understood that quantity and specific position of each the above-mentioned condition sensor in wireless headset in the present embodiment
Setting can be set according to the actual application, herein without specifically limiting.In addition, above-mentioned temperature sensor, pressure
The specific sensor type of sensor and range sensor can also be selected according to actual conditions, no longer be carried out herein one by one
It limits.
In the present embodiment, acceleration transducer is also integrated with inside wireless headset, when the condition sensor in wireless headset
After detecting corresponding transducing signal, it directly can't just judge that current wireless headset is in wearing state accordingly, but into
One step obtains the collected acceleration information of acceleration transducer, and the above-mentioned acceleration information of later use carrys out the pendant to wireless headset
It wears state and makees further confirmation.
In the present embodiment, in the case where not getting the collected corresponding transducing signal of condition sensor, acceleration
Sensor in a dormant state, after getting condition sensor collected corresponding transducing signal, can control acceleration
Sensor is opened, to acquire corresponding acceleration information.
Step S12:Judge whether presently described wireless headset is in wearing state using the acceleration information, if
It is no, then set the operating mode of the wireless headset to low-power consumption mode.
In actual application, when wireless headset is in wearing state, wear direction on movement be by
The constraint of earhole, and when wireless headset is in non-wearing state, the movement on wearing direction is then freely without hindrance.
Just because of this so that the acceleration information of the wireless headset in wearing state and the wireless headset in non-wearing state
There are notable differences, the present embodiment, and current wireless headset can be judged based on the data difference of the two between acceleration information
Whether it is to be in wearing state.It is understood that the wearing direction in the present embodiment specifically refers to the sound chamber by wireless headset
It is directed toward the direction for going out acoustic aperture of wireless headset.
Further it will be understood that the low-power consumption mode of wireless headset can refer to suspend mode in the present embodiment, also may be used
To refer to shutdown mode.Correspondingly, the high power consumption mode of wireless headset specifically refers to normal audio-frequency play mode.In this way, such as
Fruit determines the wireless headset in wearing state originally and has been not at wearing state now, then can be automatically stopped audio
It plays, into suspend mode or shutdown mode, is achieved in the effect for reducing waste of energy.
As it can be seen that the embodiment of the present application when condition sensor detects corresponding transducing signal, obtains adding for wireless headset
Then speed data judges whether wireless headset is in wearing state using acceleration information, that is, the application is sensed in sign
When device detects transducing signal, it can't directly judge that current wireless headset is in wearing state accordingly, but utilize acceleration
Data, whether in the further confirmation of wearing state work, can effectively reduce wireless headset wearing state in this way to wireless headset
False drop rate, thus also improve the effective rate of utilization of electric energy in wireless headset.
Shown in Figure 2, the embodiment of the present application discloses a kind of specific earphone operating mode and determines method, including:
Step S21:If preset condition sensor detects corresponding transducing signal in wireless headset, the nothing is obtained
The acceleration information of preset acceleration transducer acquisition in line earphone.
It is understood that before acceleration transducer acquires acceleration information, need to predefine for building phase
Three reference axis of the rectangular coordinate system in space answered, respectively the first preset coordinate axis, the second preset coordinate axis and third are default
Reference axis, wherein the third preset coordinate axis is the change in coordinate axis direction seat consistent with the wearing direction of the wireless headset
Parameter, and the first preset coordinate axis and the second preset coordinate axis are mutually perpendicular to, and third preset coordinate is perpendicular to other two
Plane where reference axis.For example, being shown in Fig. 3 a kind of specifically using wireless headset as the rectangular space coordinate of reference object
System, X-axis and Y-axis in Fig. 3 indicate above-mentioned first preset coordinate axis and the second preset coordinate axis respectively, and Z axis then indicates above-mentioned the
Three preset coordinate axis.
In the present embodiment, the data sampling frequency of acceleration transducer can specifically be set according to the actual application
It is fixed.For example, data sampling frequency, which may be used, in the acceleration transducer in the present embodiment is the acceleration transducer of 50HZ, and count
It can be set as 1 second according to window, the acceleration information in data window each in this way is 50.A kind of wireless ear is shown in Fig. 4
Machine corresponding specific acceleration information schematic diagram when placing and rotate in earhole, abscissa indicates data sampling point in Fig. 4, indulges
Coordinate representation passes through pretreated acceleration information, wherein above-mentioned pretreated acceleration information is specially original acceleration number
It is obtained after 2048 this numerical value according to being multiplied by.In Fig. 4, the corresponding duration of each window is 1 second, is acquired in each window
50 acceleration informations, wherein the sections sampled point 0-50 are in static wearing state, sampled point 50-200 corresponding to wireless headset
Section corresponds to the process that is rotated in earhole of wireless headset, the sections sampled point 200-300 correspond to wireless headset by with
The process that family is taken.
Data in each data window can be stored in corresponding array by the present embodiment.Pass through a data
The subscript of each array element in the corresponding array of window, it may be determined that go out the newness degree of the array element, or directly
Determine the corresponding exact rotational instant of the array element.
Step S22:In advance using the first component of acceleration and second in the acceleration information on the first preset coordinate axis
If the second component of acceleration in reference axis, calculates the wireless headset and become along the rotation angle that third preset coordinate axis rotates
Change amount.
In the present embodiment, the detailed process of the calculating rotation angle variable quantity of above-mentioned steps S22 may include:
Using predetermined angle calculation formula, calculate separately each rotational instant in corresponding rotation duration respectively corresponding to rotation
Gyration obtains multiple rotation angles;The wireless headset is calculated in the corresponding rotation using the multiple rotation angle
The rotation angle variable quantity rotated along the third preset coordinate axis in long;Wherein, the predetermined angle calculation formula is:
θ=arctan (Gy/Gx);
Wherein, Gx indicates that first component of acceleration under target rotational instant, Gy indicate the target rotational instant
Under second component of acceleration, θ indicates wireless headset corresponding rotation angle under the target rotational instant.
It is understood that above-mentioned target rotational instant is any one rotational instant in the corresponding rotation duration.
By above-mentioned predetermined angle calculation formula, the corresponding rotation angle of each rotational instant can be calculated.
It is shown in Figure 5, it is described to calculate the wireless headset in the corresponding rotation using the multiple rotation angle
The rotation angle variable quantity rotated along the third preset coordinate axis in long, can specifically include:
Step S221:The rotation of the wireless headset in the corresponding rotation duration is determined using the multiple rotation angle
Turn direction.
Specifically, can calculate each adjacent two in the multiple rotation angle according to following gradient calculation formula and revolve
Gradient data between gyration:
Work as |θ(i+1)-θ(i)|< a, then gradient[i]=θ (i+1)-θ (i);
Work as |θ(i+1)-θ(i)|>=a, then gradient[i]=0;
Wherein, θ (i) indicates that wireless headset corresponding rotation angle under i-th of rotational instant, a indicate preset
Angle threshold, gradient[i]Indicate that corresponding rotation angle is corresponding under i-th of rotational instant under i+1 rotational instant
Rotation angle between gradient data.
It should be pointed out that the present embodiment why |θ(i+1)-θ(i)|In the case of >=a, by gradient[i]If
It is set to 0, is based on following consideration:Due to being not during wireless headset is inserted into earhole progress normal use by user
Will appear it is bigger rotationally-varying, if in shorter time interval, occur it is obvious rotationally-varying, then
It is considered that it is above-mentioned it is rotationally-varying be caused by noise, it is not necessary to taken into account among subsequent calculating process, it is possible to
Its corresponding gradient data is directly assigned a value of 0, it is possible thereby to reduce harmful effect of the noise to subsequent processing result.By big
After the experimental verification of amount, the concrete numerical value of above-mentioned a can be taken as 100 ° in the present embodiment.
In the present embodiment, calculate gradient data in the multiple rotation angle between each adjacent two rotation angle it
Afterwards, all gradient datas can be added up, if cusum is more than 0, can be determined that the corresponding rotation duration
The direction of rotation of the interior wireless headset is direction of rotation counterclockwise, if cusum is less than 0, be can be determined that described corresponding
The direction of rotation of the wireless headset is to rotate clockwise direction in rotation duration.
Step S222:Each rotation angle in the multiple rotation angle is added into corresponding preset angle angle value respectively,
Obtain the corresponding angle between the positive axis of the first preset coordinate axis of each rotation angle.
Wherein, if the corresponding rotating vector of any rotation angle is located at the first quartile of coordinates of targets plane, accordingly
Preset angle angle value is 0, if the corresponding rotating vector of any rotation angle is located at the second quadrant or the of the coordinates of targets plane
Three quadrants, then corresponding preset angle angle value is 180 °, if the corresponding rotating vector of any rotation angle is located at the coordinates of targets
The fourth quadrant of plane, then corresponding preset angle angle value is 360 °, and the coordinates of targets plane is the first preset coordinate axis
It is formed by coordinate plane with the second preset coordinate axis.
It should be noted that in above-mentioned steps S222, why each rotation angle added into corresponding preset angle respectively
Angle value, it is therefore an objective to be that by script value range be [-90°,90°]Rotation angle, being correspondingly converted to really to reflect
Rotation position and value range in practical rotary course are [0 °, 360 ° ]Between the positive axis of the first preset coordinate axis
Angle.After being handled by above-mentioned angular transition, obtained angle is actually that corresponding rotating vector and first are pre-
If the angle between the positive axis of reference axis, the rotation angle of the positive axis relative to the first preset coordinate axis that is to say, therefore
The angle can also be used to characterization rotation position.
Step S223:Maximum angle and minimum angle are selected from all angles.
In the present embodiment, from all angles obtained in above-mentioned steps S222, the maximum angle of numerical value is filtered out,
Maximum angle Amax is obtained, the angle of numerical value minimum is filtered out, obtains minimum angle Amin
Step S224:It is corresponded to according to the direction of rotation, the maximum angle, the minimum angle, the maximum angle
Rotational instant and the corresponding rotational instant of the minimum angle, calculate wireless headset edge in the corresponding rotation duration
The rotation angle variable quantity of the third preset coordinate axis rotation.
It in the first specific implementation mode, participates in shown in Fig. 6, Fig. 6 shows a kind of specific rotation example, in Fig. 6
In, the corresponding rotational instant of maximum angle rotational instant corresponding earlier than the minimum angle, also, the direction of rotation
To rotate clockwise direction, then the wireless headset rotates in the corresponding rotation duration along the third preset coordinate axis
Rotation angle variable quantity be specially:
Δ A=Amin-Amax.
It in second of specific implementation mode, participates in shown in Fig. 7, Fig. 7 shows a kind of specific rotation example, in Fig. 7
In, the corresponding rotational instant of the maximum angle is later than the corresponding rotational instant of the minimum angle, also, the direction of rotation
To rotate clockwise direction, then the wireless headset rotates in the corresponding rotation duration along the third preset coordinate axis
Rotation angle variable quantity be specially:
A=360 ° of+Amax-Amin of Δ.
It in the third specific implementation mode, participates in shown in Fig. 8, Fig. 8 shows a kind of specific rotation example, in Fig. 8
In, the corresponding rotational instant of maximum angle rotational instant corresponding earlier than the minimum angle, also, the direction of rotation
For direction of rotation counterclockwise, then the wireless headset rotates in the corresponding rotation duration along the third preset coordinate axis
Rotation angle variable quantity be specially:
A=360 ° of+Amin-Amax of Δ.
It in the 4th kind of specific implementation mode, participates in shown in Fig. 9, Fig. 9 shows a kind of specific rotation example, in Fig. 9
In, the corresponding rotational instant of the maximum angle is later than the corresponding rotational instant of the minimum angle, also, the direction of rotation
For direction of rotation counterclockwise, then the wireless headset rotates in the corresponding rotation duration along the third preset coordinate axis
Rotation angle variable quantity be specially:
Δ A=Amax-Amin.
Step S23:Judge whether the rotation angle variable quantity is more than predetermined angle variable quantity threshold value.
It is understood that before above-mentioned steps S23, it is also necessary to determine above-mentioned predetermined angle variable quantity threshold value.Specifically
, the determination process of above-mentioned predetermined angle variable quantity threshold value may include:
The corresponding rotation angle variable quantity of each history rotational event in multiple history rotational event is determined respectively,
Obtain corresponding multiple rotation angle variable quantities;By the rotation angle variation of numerical value minimum in the multiple rotation angle variable quantity
Amount is determined as the predetermined angle variable quantity threshold value.
It certainly, can also be by the multiple rotation angle variable quantity after obtaining above-mentioned multiple rotation angle variable quantities
Then the numerical value more slightly smaller than a reference value is determined as described default by the rotation angle variable quantity of middle numerical value minimum as a reference value
Angle variable quantity threshold value.If the rotation angle variable quantity is more than predetermined angle variable quantity threshold value, current institute can be determined that
It is caused by artificial active rotation wireless headset to state rotation angle variable quantity, for example is to be rotated by user when wearing earphone
Caused by earphone either by user caused by Swivel earphone after taking earphone.If the rotation angle variable quantity is not
Less than the predetermined angle variable quantity threshold value, then it can be determined that presently described rotation angle variable quantity is since ambient noise is led
It causes, rather than is caused by artificial active rotation earphone, user at this time can be given tacit consent at this time and just adorn oneself with wireless headset, and do not had
Someone is initiatively Swivel earphone, so the operating mode of the wireless headset can be set to high power consumption mode at this time, so
After go successively to above-mentioned steps S21, using the acceleration information in next data window come continue be unfolded next round monitoring
Analysis.
In addition, being verified by test repeatedly, above-mentioned predetermined angle variable quantity threshold value is preferentially set as 8 ° by the present embodiment.
Step S24:If it is, analyzing the data fluctuations degree of presently described acceleration information.
In actual application, when wireless headset is in wearing state, wear direction on movement be by
The constraint of earhole, and when wireless headset is in non-wearing state, the movement on wearing direction is then freely without hindrance.
Just because of this so that the acceleration information of the wireless headset in wearing state and the wireless headset in non-wearing state
There are notable differences between acceleration information.Shown in Figure 10, Figure 10 shows a kind of wireless headset in earhole outward turning
Corresponding specific acceleration information schematic diagram when turning, it can be clearly seen that, component of acceleration in Figure 10 in each reference axis with
Respective component in Fig. 4 is compared, and degree of fluctuation is all very big.
In the present embodiment, the data fluctuations degree of the presently described acceleration information of analysis can specifically include:
Analyze any one in first component of acceleration, second component of acceleration and third component of acceleration
Or the data fluctuations degree of a variety of components;Wherein, the third component of acceleration is that third described in the acceleration information is pre-
If the component of acceleration in reference axis.
That is, the present embodiment specifically can determine current earphone based on the data fluctuations degree of any component of acceleration
Whether it is in wearing state, whether can also determine current earphone based on the data fluctuations degree of arbitrary two kinds of components of acceleration
In wearing state, naturally it is also possible to whether determine current earphone based on the data fluctuations degree of above-mentioned three kinds of components of acceleration
In wearing state.
In the present embodiment, specifically data fluctuations degree can be determined by way of calculating standard deviation or variance.That is,
In the analysis first component of acceleration, second component of acceleration and third component of acceleration any one or it is more
The data fluctuations degree of kind component, can specifically include:
By way of calculating the standard deviation or variance of component of acceleration, first component of acceleration, described the are analyzed
The data fluctuations degree of two components of acceleration and any one or more component in the third component of acceleration.
When showing that wireless headset is rotated in earhole and rotated outside earhole shown in Figure 11, in Figure 11
The standard deviation of corresponding acceleration information, wherein one section of curve above is corresponding standard deviation curve when being rotated outside earhole,
One section of following curve corresponding standard deviation curve when being rotation in earhole, it is evident that corresponding standard deviation when being rotated outside earhole
Bigger, data fluctuations are stronger, and corresponding standard deviation is then smaller when rotation in earhole, and data fluctuations are more small.
Step S25:Judge whether the data fluctuations degree is more than the first default degree of fluctuation, if it is, judgement is worked as
The preceding wireless headset is not at wearing state, and sets the operating mode of the wireless headset to low-power consumption mode.
It is understood that above-mentioned first default degree of fluctuation can specifically be set according to real application data.
For example, if the standard deviation data in conjunction with shown in Figure 11, it is pre- the standard deviation that numerical value is 35 can be determined as corresponding first
If degree of fluctuation.In addition, if judging that the data fluctuations degree is not more than the first default degree of fluctuation in above-mentioned steps S25,
It then can be determined that the artificial active rotation of current wireless headset is rotation in earhole, it is possible thereby to assert presently described wireless headset
In wearing state, so set the operating mode of the wireless headset to high power consumption mode at this time, may then continue with into
Enter above-mentioned steps S21, continues to be unfolded next round monitoring analysis using the acceleration information in next data window.On if
It states and judges that the data fluctuations degree is more than the first default degree of fluctuation in step S25, then can be determined that current wireless headset
Artificial active rotation is rotated outside earhole, it is possible thereby to assert that presently described wireless headset is taken by user, is not at wearing
State, so the operating mode of the wireless headset can be set to low-power consumption mode at this time.
As it can be seen that the present embodiment is when preset condition sensor detects corresponding transducing signal in wireless headset, first base
Determine current wireless headset whether in artificial along the rotation angle variable quantity of third preset coordinate axis in wireless headset
Active rotation state, if it is, determining current artificial active further combined with the data fluctuations degree of acceleration information
Actually or whether rotation rotation earhole in of the rotation outside earhole, thereby determine that out wireless headset in wearing shape
State.
Shown in Figure 12, the embodiment of the present application discloses a kind of specific earphone operating mode and determines method, including:
Step S31:If preset condition sensor detects corresponding transducing signal in wireless headset, the nothing is obtained
The acceleration information of preset acceleration transducer acquisition in line earphone.
Wherein, it can be referred to about the more specifical processing procedures of above-mentioned steps S31 corresponding disclosed in previous embodiment
Content is no longer repeated herein.
Step S32:Analyze the data fluctuations degree of presently described acceleration information;
In the present embodiment, the data fluctuations degree of the presently described acceleration information of the analysis, specifically open including:
Analyze any one in first component of acceleration, second component of acceleration and third component of acceleration
Or the data fluctuations degree of a variety of components;Wherein, the third component of acceleration is that third described in the acceleration information is pre-
If the component of acceleration in reference axis.
Wherein, in the analysis first component of acceleration, second component of acceleration and third component of acceleration
Any one or more component data fluctuations degree, can specifically include:
By way of calculating the standard deviation or variance of component of acceleration, first component of acceleration, described the are analyzed
The data fluctuations degree of two components of acceleration and any one or more component in the third component of acceleration.
Corresponding contents disclosed in previous embodiment can be referred to about the more specifical processing procedures of above-mentioned steps S32,
It is no longer repeated herein.
Step S33:Judge whether the data fluctuations degree is more than the second default degree of fluctuation, if it is, judgement is worked as
The preceding wireless headset is not at wearing state, and sets the operating mode of the wireless headset to low-power consumption mode.
It is understood that above-mentioned second default degree of fluctuation can specifically be set according to real application data.
Corresponding contents disclosed in previous embodiment can be referred to about the more specifical processing procedures of above-mentioned steps S33, herein no longer
It is repeated.
As it can be seen that the present embodiment is when preset condition sensor detects corresponding transducing signal in wireless headset, directly
Or actually the data fluctuations degree in conjunction with acceleration information determines rotation of the current artificial active rotation outside earhole
Rotation in earhole can be determined that current artificial active rotation is the rotation outside earhole if degree of fluctuation is larger,
If degree of fluctuation is smaller, it can be determined that current artificial active rotation is the rotation in earhole, it accordingly can directly really
Make whether wireless headset is in wearing state.
Correspondingly, the embodiment of the present application also discloses a kind of earphone operating mode determining device, shown in Figure 13, the dress
Set including:
Data acquisition module 11 detects corresponding transducing signal for working as preset condition sensor in wireless headset,
Then obtain the acceleration information of preset acceleration transducer acquisition in the wireless headset;
Condition judgment module 12, for judging presently described wireless headset whether in wearing using the acceleration information
State;
Mode setting module 13, for being no when the condition adjudgement result, then by the operating mode of the wireless headset
It is set as low-power consumption mode.
Corresponding contents disclosed in previous embodiment can be referred to about the more specifical course of work of above-mentioned modules,
It is no longer repeated herein.
Further, the embodiment of the present application also discloses a kind of earphone operating mode and determines equipment, shown in Figure 14, should
Equipment includes processor 21 and memory 22;Wherein, the processor 21 executes the computer journey preserved in the memory 22
Following steps are realized when sequence:
If preset condition sensor detects corresponding transducing signal in wireless headset, obtain in the wireless headset
The acceleration information of preset acceleration transducer acquisition;Whether judge presently described wireless headset using the acceleration information
In wearing state, if it is not, then setting the operating mode of the wireless headset to low-power consumption mode.
In the present embodiment, when the processor 21 executes the computer subprogram preserved in the memory 22, can have
Body realizes following steps:It is preset using the first component of acceleration and second in the acceleration information on the first preset coordinate axis
The second component of acceleration in reference axis calculates the wireless headset and changes along the rotation angle that third preset coordinate axis rotates
Amount;Wherein, the first preset coordinate axis, the second preset coordinate axis and third preset coordinate axis Special composition right angle
Coordinate system, and the third preset coordinate axis is the change in coordinate axis direction coordinate consistent with the wearing direction of the wireless headset
Axis;Judge whether the rotation angle variable quantity is more than predetermined angle variable quantity threshold value;If it is, analyzing presently described acceleration
The data fluctuations degree of degrees of data, and judge whether the data fluctuations degree is more than the first default degree of fluctuation, if it is,
Judge that presently described wireless headset is not at wearing state, and sets the operating mode of the wireless headset to low-power consumption mould
Formula.
In the present embodiment, when the processor 21 executes the computer subprogram preserved in the memory 22, can have
Body realizes following steps:Using predetermined angle calculation formula, each rotational instant respectively institute is calculated separately in corresponding rotation duration
Corresponding rotation angle obtains multiple rotation angles;The wireless headset is calculated in the phase using the multiple rotation angle
The rotation angle variable quantity rotated along the third preset coordinate axis in duration should be rotated;Wherein, the predetermined angle calculates
Formula is:θ=arctan (Gy/Gx);Wherein, Gx indicates that first component of acceleration under target rotational instant, Gy indicate
Second component of acceleration under the target rotational instant, θ indicate the wireless headset under the target rotational instant
Corresponding rotation angle.
In the present embodiment, when the processor 21 executes the computer subprogram preserved in the memory 22, can have
Body realizes following steps:The rotation of the wireless headset in the corresponding rotation duration is determined using the multiple rotation angle
Direction;Each rotation angle in the multiple rotation angle is added into corresponding preset angle angle value respectively, obtains each rotation
The corresponding angle between the positive axis of the first preset coordinate axis of angle;Wherein, if the corresponding rotation of any rotation angle
Turn the first quartile that vector is located at coordinates of targets plane, then corresponding preset angle angle value is 0, if the corresponding rotation of any rotation angle
Turn the second quadrant or third quadrant that vector is located at the coordinates of targets plane, then corresponding preset angle angle value is 180 °, if appointing
The corresponding rotating vector of one rotation angle is located at the fourth quadrant of the coordinates of targets plane, then corresponding preset angle angle value is
360 °, the coordinates of targets plane is that the first preset coordinate axis and the second preset coordinate axis are formed by coordinate and put down
Face;Maximum angle and minimum angle are selected from all angles;According to the direction of rotation, the maximum angle, institute
Minimum angle, the corresponding rotational instant of the maximum angle and the corresponding rotational instant of the minimum angle are stated, the nothing is calculated
The rotation angle variable quantity that line earphone rotates in the corresponding rotation duration along the third preset coordinate axis.
In the present embodiment, when the processor 21 executes the computer subprogram preserved in the memory 22, can have
Body realizes following steps:Each corresponding rotation angle of history rotational event in multiple history rotational event is determined respectively
Variable quantity obtains corresponding multiple rotation angle variable quantities;By the rotation of numerical value minimum in the multiple rotation angle variable quantity
Angle variable quantity is determined as the predetermined angle variable quantity threshold value.
In the present embodiment, when the processor 21 executes the computer subprogram preserved in the memory 22, can have
Body realizes following steps:Analyze the data fluctuations degree of presently described acceleration information;Whether judge the data fluctuations degree
More than the second default degree of fluctuation, if it is, judge that presently described wireless headset is not at wearing state, and will be described wireless
The operating mode of earphone is set as low-power consumption mode.
In the present embodiment, when the processor 21 executes the computer subprogram preserved in the memory 22, can have
Body realizes following steps:It analyzes in first component of acceleration, second component of acceleration and third component of acceleration
The data fluctuations degree of any one or more component;Wherein, the third component of acceleration is institute in the acceleration information
State the component of acceleration on third preset coordinate axis.
In the present embodiment, when the processor 21 executes the computer subprogram preserved in the memory 22, can have
Body realizes following steps:By way of calculating the standard deviation or variance of component of acceleration, analysis first component of acceleration,
The data fluctuations degree of second component of acceleration and any one or more component in the third component of acceleration.
Further, the embodiment of the present application also discloses a kind of wireless headset, including condition sensor and acceleration sensing
Device further includes that earphone operating mode in previous embodiment determines equipment.
It is shown in Figure 15, a kind of specific wireless headset 20 is shown in Figure 15, including:
Earphone operating mode determines equipment, wherein the earphone operating mode determines that equipment includes public in previous embodiment
The processor 21 and memory 22 opened.In the present embodiment, the specific work process of the part of processor 21 and memory 22 can be with
The corresponding contents with reference to disclosed in previous embodiment.In addition, audio treatment unit is also integrated in processor 21, for believing audio
Number carry out relevant treatment, such as denoising, enhanced processing.
Condition sensor 23 is sent to for acquiring sign related to user, and by collected sign
Processor 21.In the present embodiment, condition sensor 23 includes but not limited to the infrared signal for detecting the generation of user's skin
IR sensors, the pressure sensor for detecting the pressure value generated when user contacts wireless headset, in user's body
The contact of position wireless headset or very close in the case of the distance between detection wireless earphone and user body parts value away from
Temperature sensor from sensor and for detecting human body temperature.
Acceleration transducer 24 is sent to processor for acquiring acceleration information, and by collected acceleration information
21 are handled.Specifically, collected sign can be sent to processor 21 by the present embodiment in condition sensor 23
Later, the operating mode that acceleration transducer 24 is waken up by processor 21, so that acceleration transducer 24 starts to acquire acceleration
Data.
Rechargeable battery 25 for providing electric energy for wireless headset, and can enter under the control of the processor 21
Low-power consumption mode or high power consumption mode.
Instruction input interface 26, the control instruction for obtaining extraneous input, is then transmitted to processor by control instruction
21, carry out phase is turned on and off to the size of volume or wireless headset according to the control instruction received by processor 21
It should control.
Then the audio signal got is sent to processing by microphone 27, the audio signal for acquiring user's typing
Device 21 is handled.
Wireless communication unit 28 obtains the audio signal that default terminal is sent for mode by radio communication, will obtain
To audio signal be sent to processor 21 and handled, and for treated by processor 21 for mode by radio communication
Audio data is sent to default terminal.Specifically, the wireless communication unit in the present embodiment specifically can be based on Bluetooth technology
Communication unit, or the communication unit based on infrared communication technology, or the communication unit based on 2.4G wireless technologys.
Sound playing unit 29 sends treated audio data for playback process device 21.
In the present embodiment, the wireless headset 20 can be specifically that (i.e. True Wireless Stereo are very wirelessly stood TWS
Body sound) earphone, naturally it is also possible to it is the wireless headset based on infrared communication technology, or the nothing based on 2.4G wireless technologys
Line earphone.
Further, disclosed herein as well is a kind of computer readable storage mediums, which is characterized in that is calculated for storing
Machine program;Wherein, realize that aforementioned disclosed earphone operating mode determines method when the computer program is executed by processor.
Specific steps about this method can refer to corresponding contents disclosed in previous embodiment, no longer go to live in the household of one's in-laws on getting married herein
It states.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with it is other
The difference of embodiment, just to refer each other for same or similar part between each embodiment.For being filled disclosed in embodiment
For setting, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place is referring to method part
Explanation.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, depends on the specific application and design constraint of technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think to exceed scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only that
A little elements, but also include other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Method, apparatus, equipment, storage, which are situated between, to be determined to a kind of wireless headset provided herein and its operating mode above
Matter is described in detail, and specific examples are used herein to illustrate the principle and implementation manner of the present application, above
The explanation of embodiment is merely used to help understand the present processes and its core concept;Meanwhile for the general skill of this field
Art personnel, according to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion this
Description should not be construed as the limitation to the application.
Claims (14)
1. a kind of earphone operating mode determines method, which is characterized in that including:
If preset condition sensor detects corresponding transducing signal in wireless headset, obtains in the wireless headset and preset
Acceleration transducer acquisition acceleration information;
Judge whether presently described wireless headset is in wearing state using the acceleration information, if it is not, then by the nothing
The operating mode of line earphone is set as low-power consumption mode.
2. earphone operating mode according to claim 1 determines method, which is characterized in that described to utilize the acceleration number of degrees
It is judged that whether presently described wireless headset is in wearing state, if it is not, then the operating mode of the wireless headset is arranged
For low-power consumption mode, including:
Using on the first component of acceleration and the second preset coordinate axis in the acceleration information on the first preset coordinate axis
Second component of acceleration calculates the rotation angle variable quantity that the wireless headset is rotated along third preset coordinate axis;Wherein, institute
The first preset coordinate axis, the second preset coordinate axis and the third preset coordinate axis Special composition rectangular coordinate system are stated, and
And the third preset coordinate axis is the change in coordinate axis direction reference axis consistent with the wearing direction of the wireless headset;
Judge whether the rotation angle variable quantity is more than predetermined angle variable quantity threshold value;
If it is, analyzing the data fluctuations degree of presently described acceleration information, and whether judge the data fluctuations degree
More than the first default degree of fluctuation, if it is, judge that presently described wireless headset is not at wearing state, and will be described wireless
The operating mode of earphone is set as low-power consumption mode.
3. earphone operating mode according to claim 2 determines method, which is characterized in that described to utilize the acceleration number of degrees
The second component of acceleration on the first component of acceleration and the second preset coordinate axis on the first preset coordinate axis calculates institute
The rotation angle variable quantity that wireless headset is rotated along third preset coordinate axis is stated, including:
Using predetermined angle calculation formula, calculate separately each rotational instant in corresponding rotation duration respectively corresponding to rotation angle
Degree, obtains multiple rotation angles;
It is default along the third in the corresponding rotation duration that the wireless headset is calculated using the multiple rotation angle
The rotation angle variable quantity of reference axis rotation;
Wherein, the predetermined angle calculation formula is:
θ=arctan (Gy/Gx);
Wherein, Gx indicates that first component of acceleration under target rotational instant, Gy indicate under the target rotational instant
Second component of acceleration, θ indicate wireless headset corresponding rotation angle under the target rotational instant.
4. earphone operating mode according to claim 3 determines method, which is characterized in that described to utilize the multiple rotation
The rotation angle that wireless headset described in angle calculation rotates in the corresponding rotation duration along the third preset coordinate axis
Variable quantity, including:
The direction of rotation of the wireless headset in the corresponding rotation duration is determined using the multiple rotation angle;
Each rotation angle in the multiple rotation angle is added into corresponding preset angle angle value respectively, obtains each rotation angle
Spend the corresponding angle between the positive axis of the first preset coordinate axis;Wherein, if the corresponding rotation of any rotation angle
Vector is located at the first quartile of coordinates of targets plane, then corresponding preset angle angle value is 0, if the corresponding rotation of any rotation angle
Vector is located at the second quadrant or third quadrant of the coordinates of targets plane, then corresponding preset angle angle value is 180 °, if any
The corresponding rotating vector of rotation angle is located at the fourth quadrant of the coordinates of targets plane, then corresponding preset angle angle value is
360 °, the coordinates of targets plane is that the first preset coordinate axis and the second preset coordinate axis are formed by coordinate and put down
Face;
Maximum angle and minimum angle are selected from all angles;
According to the direction of rotation, the maximum angle, the minimum angle, the corresponding rotational instant of the maximum angle and institute
The corresponding rotational instant of minimum angle is stated, it is default along the third in the corresponding rotation duration to calculate the wireless headset
The rotation angle variable quantity of reference axis rotation.
5. earphone operating mode according to claim 2 determines method, which is characterized in that described to judge the rotation angle
Whether variable quantity is more than before predetermined angle variable quantity threshold value, further includes:
The corresponding rotation angle variable quantity of each history rotational event in multiple history rotational event is determined respectively, is obtained
Corresponding multiple rotation angle variable quantities;
The rotation angle variable quantity of numerical value minimum in the multiple rotation angle variable quantity is determined as the predetermined angle variation
Measure threshold value.
6. earphone operating mode according to claim 1 determines method, which is characterized in that described to utilize the acceleration number of degrees
It is judged that whether presently described wireless headset is in wearing state, if it is not, then the operating mode of the wireless headset is arranged
For low-power consumption mode, including:
Analyze the data fluctuations degree of presently described acceleration information;
Judge whether the data fluctuations degree is more than the second default degree of fluctuation, if it is, the presently described wireless ear of judgement
Machine is not at wearing state, and sets the operating mode of the wireless headset to low-power consumption mode.
7. determining method according to claim 2 to 6 any one of them earphone operating mode, which is characterized in that the analysis is worked as
The data fluctuations degree of the preceding acceleration information, including:
Analyze in first component of acceleration, second component of acceleration and third component of acceleration any one or it is more
The data fluctuations degree of kind component;
Wherein, the third component of acceleration is the acceleration point on third preset coordinate axis described in the acceleration information
Amount.
8. earphone operating mode according to claim 7 determines method, which is characterized in that the analysis described first accelerates
Spend the data wave traverse of component, second component of acceleration and any one or more component in third component of acceleration
Degree, including:
By way of calculating the standard deviation or variance of component of acceleration, analysis first component of acceleration, described second add
The data fluctuations degree of velocity component and any one or more component in the third component of acceleration.
9. a kind of earphone operating mode determining device, which is characterized in that including:
Data acquisition module detects corresponding transducing signal for working as preset condition sensor in wireless headset, then obtains
The acceleration information of preset acceleration transducer acquisition in the wireless headset;
Condition judgment module, for judging whether presently described wireless headset is in wearing state using the acceleration information;
Mode setting module then sets the operating mode of the wireless headset to for being no when the condition adjudgement result
Low-power consumption mode.
10. a kind of earphone operating mode determines equipment, which is characterized in that including processor and memory;Wherein, the processor
Such as claim 1 to 8 any one of them earphone operating mode is realized when executing the computer program preserved in the memory
Determine method.
11. a kind of wireless headset, which is characterized in that further include such as claim including condition sensor and acceleration transducer
Earphone operating mode described in 10 determines equipment.
12. wireless headset according to claim 11, which is characterized in that the condition sensor is IR sensors.
13. wireless headset according to claim 11 or 12, which is characterized in that the wireless headset is TWS earphones.
14. a kind of computer readable storage medium, which is characterized in that for storing computer program;Wherein, the computer journey
It is realized when sequence is executed by processor as claim 1 to 8 any one of them earphone operating mode determines method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810530923.6A CN108712697B (en) | 2018-05-29 | 2018-05-29 | Wireless earphone and working mode determining method, device, equipment and storage medium thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810530923.6A CN108712697B (en) | 2018-05-29 | 2018-05-29 | Wireless earphone and working mode determining method, device, equipment and storage medium thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108712697A true CN108712697A (en) | 2018-10-26 |
CN108712697B CN108712697B (en) | 2020-02-14 |
Family
ID=63869888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810530923.6A Active CN108712697B (en) | 2018-05-29 | 2018-05-29 | Wireless earphone and working mode determining method, device, equipment and storage medium thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108712697B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109361985A (en) * | 2018-12-07 | 2019-02-19 | 潍坊歌尔电子有限公司 | TWS earphone wears detection method, system and electronic equipment and storage medium |
CN109765784A (en) * | 2019-01-11 | 2019-05-17 | 深圳市迷购网络科技有限公司 | Headset control method, earphone and computer readable storage medium |
CN110099322A (en) * | 2019-05-23 | 2019-08-06 | 歌尔科技有限公司 | A kind of detection method and device of earphone wearing state |
CN110460925A (en) * | 2019-03-08 | 2019-11-15 | 美律电子(深圳)有限公司 | Earphone and system for converting sensing data |
CN110505550A (en) * | 2019-08-28 | 2019-11-26 | 歌尔科技有限公司 | Wireless headset enters ear detection method, device and wireless headset |
CN110677765A (en) * | 2019-10-30 | 2020-01-10 | 歌尔股份有限公司 | Wearing control method, device and system of headset |
CN110888620A (en) * | 2019-11-29 | 2020-03-17 | 歌尔科技有限公司 | Head-mounted equipment, wearing detection method and device thereof, and medium |
WO2020082391A1 (en) * | 2018-10-27 | 2020-04-30 | 深圳市欢太科技有限公司 | Wireless earphone control method and relevant product |
CN111103964A (en) * | 2019-12-20 | 2020-05-05 | 歌尔科技有限公司 | Neck-wearing earphone, starting method, system, equipment and computer medium |
CN111212371A (en) * | 2019-12-19 | 2020-05-29 | 东莞宇龙通信科技有限公司 | Bluetooth headset control method and device, storage medium and electronic equipment |
CN111698607A (en) * | 2020-07-03 | 2020-09-22 | 歌尔科技有限公司 | TWS earphone audio output control method, apparatus, device and medium |
CN112312530A (en) * | 2020-11-03 | 2021-02-02 | 深圳德技创新实业有限公司 | Low-power consumption control method and device for radio frequency massager |
CN113132843A (en) * | 2021-03-10 | 2021-07-16 | 青岛歌尔智能传感器有限公司 | Sensor working mode control method and device of wireless earphone |
CN113409559A (en) * | 2021-06-11 | 2021-09-17 | 歌尔智能科技有限公司 | Earphone loss prevention method and device and related equipment |
EP4124061A4 (en) * | 2020-04-03 | 2023-08-16 | Huawei Technologies Co., Ltd. | Method for determining wearing state of wireless earbud, and related device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104185109A (en) * | 2014-09-01 | 2014-12-03 | 联想(北京)有限公司 | Control system, earphone, electronic device and control method |
CN105338447A (en) * | 2015-10-19 | 2016-02-17 | 京东方科技集团股份有限公司 | Earphone control circuit and method, earphone, and audio frequency output apparatus and method |
US9344792B2 (en) * | 2012-11-29 | 2016-05-17 | Apple Inc. | Ear presence detection in noise cancelling earphones |
CN105721976A (en) * | 2016-04-25 | 2016-06-29 | 深圳市禹欣鑫电子有限公司 | Intelligent headset based on Internet and realization method of intelligent headset based on Internet |
CN107105359A (en) * | 2017-06-02 | 2017-08-29 | 歌尔科技有限公司 | One kind switching earphone mode of operation method and a kind of earphone |
CN107801113A (en) * | 2017-10-09 | 2018-03-13 | 维沃移动通信有限公司 | A kind of method, wireless headset and mobile terminal for controlling wireless headset sound channel |
CN107852540A (en) * | 2015-09-16 | 2018-03-27 | 苹果公司 | Earplug with bio-identification sensing function |
CN108810693A (en) * | 2018-05-28 | 2018-11-13 | Oppo广东移动通信有限公司 | Apparatus control method and Related product |
-
2018
- 2018-05-29 CN CN201810530923.6A patent/CN108712697B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9344792B2 (en) * | 2012-11-29 | 2016-05-17 | Apple Inc. | Ear presence detection in noise cancelling earphones |
CN104185109A (en) * | 2014-09-01 | 2014-12-03 | 联想(北京)有限公司 | Control system, earphone, electronic device and control method |
CN107852540A (en) * | 2015-09-16 | 2018-03-27 | 苹果公司 | Earplug with bio-identification sensing function |
CN105338447A (en) * | 2015-10-19 | 2016-02-17 | 京东方科技集团股份有限公司 | Earphone control circuit and method, earphone, and audio frequency output apparatus and method |
CN105721976A (en) * | 2016-04-25 | 2016-06-29 | 深圳市禹欣鑫电子有限公司 | Intelligent headset based on Internet and realization method of intelligent headset based on Internet |
CN107105359A (en) * | 2017-06-02 | 2017-08-29 | 歌尔科技有限公司 | One kind switching earphone mode of operation method and a kind of earphone |
CN107801113A (en) * | 2017-10-09 | 2018-03-13 | 维沃移动通信有限公司 | A kind of method, wireless headset and mobile terminal for controlling wireless headset sound channel |
CN108810693A (en) * | 2018-05-28 | 2018-11-13 | Oppo广东移动通信有限公司 | Apparatus control method and Related product |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112806023A (en) * | 2018-10-27 | 2021-05-14 | 深圳市欢太科技有限公司 | Control method of wireless earphone and related product |
WO2020082391A1 (en) * | 2018-10-27 | 2020-04-30 | 深圳市欢太科技有限公司 | Wireless earphone control method and relevant product |
CN109361985B (en) * | 2018-12-07 | 2020-07-21 | 潍坊歌尔电子有限公司 | TWS earphone wearing detection method and system, electronic device and storage medium |
CN109361985A (en) * | 2018-12-07 | 2019-02-19 | 潍坊歌尔电子有限公司 | TWS earphone wears detection method, system and electronic equipment and storage medium |
CN109765784A (en) * | 2019-01-11 | 2019-05-17 | 深圳市迷购网络科技有限公司 | Headset control method, earphone and computer readable storage medium |
CN110460925A (en) * | 2019-03-08 | 2019-11-15 | 美律电子(深圳)有限公司 | Earphone and system for converting sensing data |
CN110099322A (en) * | 2019-05-23 | 2019-08-06 | 歌尔科技有限公司 | A kind of detection method and device of earphone wearing state |
CN110505550A (en) * | 2019-08-28 | 2019-11-26 | 歌尔科技有限公司 | Wireless headset enters ear detection method, device and wireless headset |
CN110505550B (en) * | 2019-08-28 | 2021-07-06 | 歌尔科技有限公司 | Wireless earphone in-ear detection method and device and wireless earphone |
CN110677765A (en) * | 2019-10-30 | 2020-01-10 | 歌尔股份有限公司 | Wearing control method, device and system of headset |
CN110888620A (en) * | 2019-11-29 | 2020-03-17 | 歌尔科技有限公司 | Head-mounted equipment, wearing detection method and device thereof, and medium |
US11832047B2 (en) | 2019-11-29 | 2023-11-28 | Goertek Inc. | Head-mounted device, wearing detection method and apparatus therefor, and medium |
CN111212371A (en) * | 2019-12-19 | 2020-05-29 | 东莞宇龙通信科技有限公司 | Bluetooth headset control method and device, storage medium and electronic equipment |
CN111103964A (en) * | 2019-12-20 | 2020-05-05 | 歌尔科技有限公司 | Neck-wearing earphone, starting method, system, equipment and computer medium |
EP4124061A4 (en) * | 2020-04-03 | 2023-08-16 | Huawei Technologies Co., Ltd. | Method for determining wearing state of wireless earbud, and related device |
CN111698607A (en) * | 2020-07-03 | 2020-09-22 | 歌尔科技有限公司 | TWS earphone audio output control method, apparatus, device and medium |
CN112312530A (en) * | 2020-11-03 | 2021-02-02 | 深圳德技创新实业有限公司 | Low-power consumption control method and device for radio frequency massager |
CN113132843A (en) * | 2021-03-10 | 2021-07-16 | 青岛歌尔智能传感器有限公司 | Sensor working mode control method and device of wireless earphone |
CN113409559A (en) * | 2021-06-11 | 2021-09-17 | 歌尔智能科技有限公司 | Earphone loss prevention method and device and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108712697B (en) | 2020-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108712697A (en) | Wireless headset and its operating mode determine method, apparatus, equipment, storage medium | |
US11166104B2 (en) | Detecting use of a wearable device | |
TWI652041B (en) | Wearable heart rate monitor, heart rate sensing system, and method for generating notifications for heart rate monitoring devices | |
WO2020061761A1 (en) | Earphone and method for implementing wearing detection and touch operation | |
CN102316394B (en) | Bluetooth equipment and audio playing method using same | |
US20160103590A1 (en) | Systems, devices, and methods for dynamic control | |
CN105228041B (en) | A kind of information processing method and audio output device | |
CN205941703U (en) | A wearable apparatus | |
CN106062679B (en) | A kind of method, apparatus and terminal controlling display screen | |
CN103617801B (en) | Speech detection method, device and electronic equipment | |
CN107122161B (en) | Audio data playing control method and terminal | |
CN104699267A (en) | Control method of wearable device | |
WO2020228307A1 (en) | Fall detection method and apparatus, and wearable device | |
CN104243701A (en) | Method for answering call and call answering device | |
CN112468924A (en) | Earphone noise reduction method and device | |
TW201925741A (en) | Electronic device and method for waterproof warranty condition judgment | |
CN109887494A (en) | The method and apparatus of reconstructed speech signal | |
CN104902169B (en) | A kind of rotating camera control method and terminal | |
US20160259926A1 (en) | User Authentication Based on Body Tremors | |
KR20180045037A (en) | Electromagnetic Interference Signal Detection | |
CN110326273A (en) | Control device, terminal installation, bracket, notice system, control method and control program | |
CN105791518B (en) | Information processing method and electronic equipment | |
KR20200138671A (en) | Environmental and aggregate acoustic dosimetry | |
US20160189495A1 (en) | Prompting movement of a device towards a stronger signal | |
Ni et al. | Uncovering user interactions on smartphones via contactless wireless charging side channels |
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 |