CN112449297B - Method for detecting wearing state of earphone - Google Patents

Method for detecting wearing state of earphone Download PDF

Info

Publication number
CN112449297B
CN112449297B CN202011119617.7A CN202011119617A CN112449297B CN 112449297 B CN112449297 B CN 112449297B CN 202011119617 A CN202011119617 A CN 202011119617A CN 112449297 B CN112449297 B CN 112449297B
Authority
CN
China
Prior art keywords
value
sensor
judgment reference
reference value
earphone
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.)
Active
Application number
CN202011119617.7A
Other languages
Chinese (zh)
Other versions
CN112449297A (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.)
Anker Innovations Co Ltd
Original Assignee
Anker Innovations Co 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 Anker Innovations Co Ltd filed Critical Anker Innovations Co Ltd
Priority to CN202011119617.7A priority Critical patent/CN112449297B/en
Publication of CN112449297A publication Critical patent/CN112449297A/en
Application granted granted Critical
Publication of CN112449297B publication Critical patent/CN112449297B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Headphones And Earphones (AREA)

Abstract

The invention relates to the technical field of wearable electronic equipment, and discloses a method for detecting the wearing state of an earphone. The detection method comprises the following steps: receiving a first measurement value group, wherein the measurement values in the first measurement value group are measured by a sensor on the earphone when the earphone is in a wearing state; and setting the minimum value in the first measurement value group as a first judgment reference value of the sensor, wherein the earphone is considered to be in a wearing state when the actual value acquired by the sensor is less than or equal to the first judgment reference value. Through the mode, the method and the device can customize the detection parameters of the wearing state of the personalized earphone.

Description

Method for detecting wearing state of earphone
Technical Field
The invention relates to the technical field of wearable electronic equipment, in particular to a method for detecting the wearing state of an earphone.
Background
At present, a TWS (true Wireless bluetooth) headset is widely used due to the advantage of convenient wearing, and meanwhile, an intelligent detection solution is increasingly applied to consumer electronic products, so that people can feel more comfortable and the operation is simpler. However, the current earphone cannot customize the detection parameters of the personalized earphone wearing state for different users, and cannot accurately judge whether the earphone is worn or not for different users.
Disclosure of Invention
In view of this, the present invention mainly solves the technical problem of providing a method for detecting a wearing state of an earphone, which can customize personalized detection parameters of the wearing state of the earphone.
In order to solve the technical problems, the invention adopts a technical scheme that: provided is a method for detecting a wearing state of an earphone, the method comprising: receiving a first measurement value group, wherein the measurement values in the first measurement value group are measured by a sensor on the earphone when the earphone is in a wearing state; and setting the minimum value in the first measurement value group as a first judgment reference value of the sensor, wherein the earphone is considered to be in a wearing state when the actual value acquired by the sensor is less than or equal to the first judgment reference value.
In order to solve the technical problem, the invention adopts another technical scheme that: there is provided a method for detecting a wearing state of a headphone including a sensor, the method comprising: the control sensor collects a first measurement value group, wherein measurement values in the first measurement value group are measured when the earphone is in a wearing state; and transmitting the first measurement value group acquired by the sensor to the terminal equipment so as to set the minimum value in the first measurement value group as a first judgment reference value of the sensor by the terminal equipment, wherein the earphone is considered to be in a wearing state when the actual value acquired by the sensor is less than or equal to the first judgment reference value.
The invention has the beneficial effects that: different from the prior art, the invention provides a method for detecting the wearing state of an earphone. In the detection method, a first measurement value group is received, wherein the measurement values in the first measurement value group are measured by a sensor on the earphone in a wearing state of the earphone, and the minimum value in the first measurement value group is set as a first judgment reference value of the sensor. Therefore, when the actual value acquired by the sensor is smaller than or equal to the first judgment reference value, the earphone is judged to be in a wearing state. The first judgment reference value obtained by the invention is the detection parameter of the customized individual earphone wearing state for the user, and different users can obtain the first judgment reference value adapted to the first judgment reference value by the way of the invention, so that the first judgment reference value applied to earphone wearing state detection can be adapted to individual differences of different users.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
fig. 1 is a schematic flow chart of a first embodiment of a method for detecting wearing state of an earphone according to the present invention;
fig. 2 is a schematic flow chart of a second embodiment of the method for detecting wearing state of the earphone according to the present invention;
fig. 3 is a schematic flow chart of a third embodiment of the method for detecting wearing state of an earphone according to the present invention;
fig. 4 is a schematic flow chart of a fourth embodiment of the method for detecting wearing state of the earphone according to the present invention;
fig. 5 is a schematic flow chart of a fifth embodiment of the method for detecting wearing state of the earphone of the present invention;
fig. 6 is a schematic structural diagram of a system for detecting wearing states of earphones according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first", "second", and the like in the present invention are used for distinguishing different objects, not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for detecting a wearing state of an earphone according to a first embodiment of the present invention. It should be noted that the detection method provided in this embodiment is not limited to the following steps:
s101: receiving a first set of measurements;
in this embodiment, in order to customize the detection parameters of the personalized wearing state of the headset, the embodiment receives a first measurement value set measured by a sensor on the headset when the headset is in the wearing state, where the first measurement value set is the detection parameters for customizing the personalized wearing state of the headset.
S102: setting the minimum value in the first measurement value group as a first judgment reference value of the sensor;
in the present embodiment, the minimum value in the first measurement value group is set as the first judgment reference value of the sensor. In this way, when the actual value acquired by the sensor is less than or equal to the first judgment reference value, the earphone is considered to be in a wearing state.
The first judgment reference value obtained in this embodiment is a detection parameter of the customized wearing state of the personalized headset for the user, and different users can obtain the first judgment reference value adapted to the first judgment reference value through the above method in this embodiment, so that the first judgment reference value applied to the detection of the wearing state of the headset can be adapted to individual differences of different users.
It should be noted that the present embodiment corresponds to a terminal device, that is, the terminal device executes the above steps in the present embodiment. Specifically, the content of the steps in this embodiment may be directly executed by the terminal device, or the content of the steps in this embodiment may be executed by installing a corresponding Application program (APP) on the terminal device and using the installed APP. Referring to fig. 2, fig. 2 is a schematic flow chart of a method for detecting a wearing state of an earphone according to a second embodiment of the present invention.
In this embodiment, the sensor may be a touch sensor or the like, and the capacitance value acquired by the sensor is a measurement value, and is used to acquire a first judgment reference value and a second judgment reference value described below, so as to detect the wearing state of the earphone. Since the capacitance value acquired by the sensor is small when the earphone is in a worn state and the capacitance value acquired by the sensor is large when the earphone is not in a worn state, the detection parameter of the worn state of the earphone can be determined by using the sensor such as the touch sensor. The principle of acquiring the capacitance value by the touch sensor belongs to the understanding scope of those skilled in the art, and is not described herein again.
Preferably, a plurality of sensors are distributed on the headset, and each sensor is used for acquiring detection parameters of the wearing state of the headset and detecting the wearing state of the headset. Therefore, the risk that the sensor is contacted with the human body to cause the misjudgment problem due to the fact that the user touches the sensor by mistake when holding the earphone can be reduced, and the accuracy of detecting the wearing state of the earphone can be improved. The following description will be given taking a case where the number of sensors is plural as an example.
Of course, the number of sensors may be one in other embodiments of the invention.
S201: sending indication information to indicate a user to wear and take off the earphone for multiple times so as to obtain a first measurement value group and a second measurement value group corresponding to each sensor;
in the present embodiment, in order to improve the accuracy of determining the wearing state of the headset and to customize the detection parameters of the personalized wearing state of the headset, the headset includes a plurality of sensors, and the present embodiment obtains the detection parameters of the wearing state of the headset (including the first judgment reference value and the second judgment reference value described below) by receiving the first measurement value group and the second measurement value group (the measurement value in the first measurement value group is measured when the headset is in the wearing state, and the measurement value in the second measurement value group is measured when the headset is in the non-wearing state) collected by each sensor.
Specifically, in the process of collecting the measurement value by the sensor, first indication information may be sent to indicate that the user wears the headset, so that the first measurement value group collected by the sensor; and second indication information can be sent out to indicate that the user takes off the earphone, so that the sensor acquires the second measurement value group.
When the first indication information is sent out, the sensors respectively collect measurement values, and the collected measurement values are used as samples in the first measurement value groups corresponding to the sensors; when the second indication information is sent out, the sensors respectively collect the measured values, and the collected measured values are used as samples in the second measured value group corresponding to each sensor. The first indication information and the second indication information are sent out alternately one by one to indicate a user to wear and take off the earphone for multiple times, so that each sensor respectively collects multiple measurement values when the earphone is in a wearing state, and then a first measurement value group corresponding to each sensor is obtained, and each sensor respectively collects multiple measurement values when the earphone is not in a wearing state, and then a second measurement value group corresponding to each sensor is obtained.
For example, the terminal device sends indication information representing the start of measurement, which indicates the start of receiving the collected measurement values, and prompts the user to cooperate with the collection process, such as prompting the user to wear and remove the earphone for the first time, in the process, each sensor on the earphone starts collecting the measurement values, that is, the collected multiple measurement values of the earphone in the worn state form a first measurement value group, and the collected multiple measurement values of the earphone in the unworn state form a second measurement value group.
Or the indication information may be sent by a terminal device (e.g., a smart phone, a tablet computer, etc.). Specifically, the terminal device directly sends the prompt information or an application installed on the terminal device sends the instruction information, such as prompting the user to start setting, wear and remove the headset for the first time, wear and remove the headset for the second time … …, and the user gives feedback, such as "next step", "complete", and other instructions, indicating that the user completes the currently instructed action of wearing or removing the headset.
It should be noted that, the measured values are collected in different environments such as temperature, humidity, water mist, etc. as far as possible, so as to ensure that the customized detection parameters of the wearing state of the personalized headset can accurately describe the wearing state of the headset.
S202: respectively setting the minimum value in each first measurement value group as a first judgment reference value of the corresponding sensor and respectively setting the minimum value in each second measurement value group as a second judgment reference value of the corresponding sensor;
in this embodiment, the minimum value of the measurement values in each first measurement value group acquired by each sensor is set as the first judgment reference value of the corresponding sensor. In this way, when the actual values acquired by the sensors are less than or equal to the respective corresponding first judgment reference values, the headset is considered to be in a wearing state. Step S203 is then performed.
In the embodiment, the situation that the ear canal structures of different users are different is considered, and the situation that different users wear earphones can be accurately described through the first judgment reference value obtained by the embodiment. In this embodiment, corresponding first determination reference values are respectively set for different users, so as to implement personalized customization of detection parameters of wearing states of earphones of different users.
Since the headset is in closest contact with the user's ear when the user is wearing the headset correctly, the capacitance value collected by the sensor is the smallest. When the user wears the earphone but the pose of the earphone in the ear is incorrect, namely the user does not wear the earphone correctly, the contact degree of the earphone and the ear of the user is low, and the capacitance value acquired by the sensor is larger than the capacitance value acquired by the sensor when the user wears the earphone correctly. Therefore, in the present embodiment, the minimum value in the first measurement value set is preferably used as the first judgment reference value, which is intended to detect the wearing state of the headset in response to the condition that the user correctly wears the headset, that is, when the user does not correctly wear the headset, the headset is also considered to be in the non-wearing state, which is convenient for prompting the user to adjust the wearing condition of the headset, thereby ensuring that the user correctly wears the headset.
In this embodiment, the minimum value of the measurement values in the second measurement value sets acquired by the sensors is also set as the second judgment reference value of the corresponding sensor. In this way, when the actual values acquired by the sensors are greater than or equal to the respective second judgment reference values, the headset is considered to be in an unworn state.
The second judgment reference value is the minimum value of the measurement values collected by the sensor when the earphone is in the unworn state, that is, the earphone is not in contact with the ear of the user at this time.
S203: when the earphone is in a wearing state, actual values acquired by the sensors are added into the corresponding first measurement value groups, and the first judgment reference values corresponding to the sensors are updated according to the measurement values in the first measurement value groups.
In this embodiment, in order to obtain a greater number of measurement values, and to collect more measurement values in different environments such as temperature, humidity, and water mist, so that the first determination reference value in the embodiment of the present invention can more accurately describe the wearing state of the earphone, in the process of using the earphone by a user, the actual values collected by the sensors can still be used as the measurement values to update the first measurement value set, so as to update the first determination reference value set. The flow is then ended.
Specifically, it may be determined whether the actual value added to the first measurement value group is smaller than the original first determination reference value. And if the actual value added into the first measurement value group is smaller than the original first judgment reference value, setting the actual value added into the first measurement value group as the first judgment reference value of the sensor, namely updating the first judgment reference value. And if the actual value added into the first measurement value group is not less than the original first judgment reference value, the original first judgment reference value is still kept.
S204: and when the earphone is not worn, adding the actual values acquired by the sensors into the corresponding second measurement value groups, and updating the second judgment reference values corresponding to the sensors according to the measurement values in the second measurement value groups.
In this embodiment, in order to obtain a greater number of measurement values, and also to collect more measurement values in different environments such as temperature, humidity, and water mist, so that the second determination reference value in the embodiment of the present invention can describe the wearing state of the earphone more accurately, in the process of using the earphone by the user, the actual values collected by the sensors can still be used as the measurement values to update the second measurement value set, and then used for updating the second determination reference value, and then the process is ended.
Specifically, it may be determined whether the actual value added to the second measurement value group is smaller than the original second determination reference value. If the actual value added to the second measurement value group is smaller than the original second judgment reference value, the actual value added to the second measurement value group is set as the second judgment reference value of the sensor, namely, the second judgment reference value is updated. And if the actual value added into the second measurement value group is not less than the original second judgment reference value, the original second judgment reference value is still kept.
It should be noted that the present embodiment corresponds to a terminal device, that is, the terminal device executes the above steps in the present embodiment. Specifically, the content of the steps in this embodiment may be directly executed by the terminal device, or the content of the steps in this embodiment may be executed by installing a corresponding Application program (APP) on the terminal device and using the installed APP.
As can be seen from the above, the method for detecting the wearing state of the earphone provided by the embodiment of the present invention considers that the earphone is in the wearing state only when the actual value acquired by each sensor is less than or equal to the first judgment reference value, and can judge the wearing state of the earphone as accurately as possible. And the design of the multiple sensors can avoid the problem that the judgment of the wearing state of the earphone has misjudgment as far as possible under the condition that only one sensor is arranged, for example, a user holds the earphone by hand so that the sensor can also collect corresponding data to cause misjudgment, so that the embodiment of the invention can improve the accuracy of judging the wearing state of the earphone.
In addition, the first judgment reference value and the second judgment reference value obtained in the embodiment of the invention are detection parameters of the customized wearing state of the earphone customized for different users, and are applied to the detection of the wearing state of the earphone when different users use the earphone, so as to accurately judge whether different users wear the earphone, and further improve the accuracy of judging the wearing state of the earphone.
Referring to fig. 3, fig. 3 is a schematic flow chart of a method for detecting a wearing state of an earphone according to a third embodiment of the present invention. It should be noted that, the detection method provided by the present embodiment is also directed to the case that the number of the sensors is multiple as described in the above embodiment, and of course, the number of the sensors may also be one.
S301: judging whether a user switching instruction is received or not;
in this embodiment, if the user switching instruction is received, step S302 is executed, and if the user switching instruction is not received, step S301 is continuously executed.
In this embodiment, corresponding first and second judgment reference values are preset for different users. In the actual using process, the corresponding first judgment reference value and the second judgment reference value can be switched according to the currently used user through the user switching instruction, so that whether the currently used user wears the earphone is accurately detected.
S302: switching the first judgment reference value and the second judgment reference value corresponding to each sensor into a first judgment reference value and a second judgment reference value corresponding to a target user of a user switching instruction;
in this embodiment, when a user switching instruction is received, a switching operation between the first judgment reference value and the second judgment reference value is performed. Specifically, the user switching instruction carries information representing switching to a target user, where the target user is a user currently using the earphone and has preset a corresponding first judgment reference value and a corresponding second judgment reference value for the target user. Therefore, when a user switching instruction is received, the first judgment reference value and the second judgment reference value corresponding to each sensor are switched to the first judgment reference value and the second judgment reference value corresponding to the target user, so that the state that the target user wears the earphone is accurately detected and judged.
As can be seen from the above, in this embodiment, the detection parameters of the wearing states of different users are customized individually, and when the users are replaced, the corresponding first judgment reference value and the second judgment reference value are switched at the same time, so as to accurately judge whether the different users wear the earphones, thereby further improving the accuracy of judging the wearing states of the earphones.
Referring to fig. 4, fig. 4 is a schematic flow chart of a method for detecting a wearing state of an earphone according to a fourth embodiment of the present invention. It should be noted that, the detection method provided by the present embodiment is also directed to the case that the number of the sensors is multiple as described in the above embodiment, and of course, the number of the sensors may also be one.
S401: receiving actual values acquired by each sensor;
in this embodiment, the actual values collected by the sensors are received, and the wearing state of the headset is detected, specifically, the received actual values are determined according to the first determination reference value and the second determination reference value obtained in the above embodiments, and are measured when the headset is in the wearing state or the non-wearing state.
S402: judging whether the actual values acquired by the sensors are all smaller than or equal to the corresponding first judgment reference values or are all larger than or equal to the corresponding second judgment reference values;
in this embodiment, if the actual values acquired by the sensors are all greater than the respective corresponding first judgment reference values and less than the threshold value, step S403 is executed; if the actual values collected by the sensors are all greater than the respective corresponding second determination reference values, step S404 is executed.
S403: the earphone is considered to be in a wearing state;
in this embodiment, if the actual values acquired by the sensors are all less than or equal to the respective corresponding first judgment reference values, the headset is considered to be in a wearing state.
S404: the headset is considered to be in an unworn state;
in this embodiment, if the actual values acquired by the sensors are all greater than or equal to the respective corresponding second determination reference values, the headset is considered to be in an unworn state.
It should be noted that the present embodiment corresponds to a terminal device, that is, the terminal device executes the above steps in the present embodiment. Specifically, the content of the steps in this embodiment may be directly executed by the terminal device, or the content of the steps in this embodiment may be executed by installing a corresponding Application program (APP) on the terminal device and using the installed APP.
As can be seen from the above, the method for detecting the wearing state of the earphone provided by the embodiment of the present invention considers that the earphone is in the wearing state only when the actual value acquired by each sensor is less than or equal to the first judgment reference value, and can judge the wearing state of the earphone as accurately as possible, thereby avoiding misjudgment as much as possible when the earphone contacts other media. Moreover, due to the design of the plurality of sensors, the problem that misjudgment exists in the judgment of the wearing state of the earphone under the condition that only one sensor is arranged can be avoided as much as possible, for example, a user holds the earphone by hand, so that the sensor can also collect corresponding data to cause misjudgment, and therefore, the accuracy of judging the wearing state of the earphone can be improved.
Referring to fig. 5, fig. 5 is a flowchart illustrating a method for detecting a wearing state of an earphone according to a fifth embodiment of the present invention. It should be noted that, the detection method provided by the present embodiment is also directed to the case that the number of the sensors is multiple as described in the above embodiment, and of course, the number of the sensors may also be one.
S501: controlling each sensor to respectively acquire a first measurement value group, and controlling each sensor to respectively acquire a second measurement value group;
in this embodiment, the headset controls each sensor to collect a measurement value, and receives the measurement value collected by each sensor for executing step S502. Specifically, each sensor is controlled to acquire a first measurement value group respectively, and each sensor is controlled to acquire a second measurement value group respectively. And measuring the measurement values in the first measurement value group when the earphone is in a wearing state, and measuring the measurement values in the second measurement value group when the earphone is not in a wearing state.
S502: transmitting the first measuring value group and the second measuring value group acquired by each sensor to terminal equipment;
in this embodiment, the earphone transmits the first measurement value group and the second measurement value group collected by each sensor to the terminal device, and the terminal device sets the minimum value of the measurement values in each first measurement value group and each second measurement value group as the first judgment reference value and the second judgment reference value of the corresponding sensor.
And when the actual values acquired by the sensors are greater than or equal to the second judgment reference values, the earphone is considered to be in a non-wearing state.
It should be noted that the execution subject of the present embodiment is an earphone, that is, the earphone executes the above steps in the present embodiment. The above process of determining whether the headset is in the wearing state or the non-wearing state may be executed by the terminal device in the above embodiment, or may be executed by the headset in this embodiment. In addition, in the above embodiments, the setting method of the first judgment reference value and the second judgment reference value and the judgment method for the wearing state of the earphone have been described specifically, and details are not repeated here.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a detection system according to an embodiment of the invention.
In one embodiment, the system for detecting the wearing state of the headset comprises the headset 1 and the terminal device 2. The earphone 1 comprises a processor 11 and a sensor 12, the processor 11 and the sensor 12 are externally connected, the sensor 12 transmits a measured value to the processor 11, the processor 11 sends the measured value to the terminal device 2, and the terminal device 2 receives the measured value and performs data processing.
It should be noted that the headset 1 may be a tws (tune Wireless stereo) headset, the processor 11 may be a bluetooth chip and has BLE/SPP communication protocol, the sensor 12 may be a touch sensor, and after contacting with the skin, the capacitance of the sensor 12 changes, which is used as a measurement value to determine the wearing state of the headset, and the headset 1 has a plurality of sensors 12. The terminal device 2 has observability, can send out indication information, and can be connected with the earphone 1 in a matching way. The terminal device 2 is a device having a bluetooth connection function, and may be a device such as a smart phone and a tablet computer, which is not limited herein.
Specifically, the touch sensor 12 collects a capacitance value, and transmits the capacitance value to the bluetooth chip 11 through the IIC bus, the bluetooth chip 11 sends the capacitance value to the terminal device 2 through the BLE/SPP communication protocol, the terminal device 2 receives the capacitance value collected by the touch sensor 12, and the terminal device 2 records and counts the capacitance value, so as to obtain a first judgment reference value and a second judgment reference value through the detection method of the wearing state of the headset described in the above embodiment, and further to detect the wearing state of the headset. For example, the sensors respectively acquire the measured values C01, C02, C03 … C0X, i.e. the second measured value group, of the headset in the unworn state, and the sensors respectively acquire the measured values C11, C12, C13 … C1X, i.e. the first measured value group, of the headset in the worn state.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. A method for detecting a wearing state of an earphone, the method comprising:
receiving a first measurement value group, wherein the measurement values in the first measurement value group are measured by a sensor on an earphone when the earphone is in a wearing state;
setting the minimum value in the first measurement value group as a first judgment reference value of the sensor, wherein the earphone is considered to be in a wearing state when the actual value acquired by the sensor is smaller than or equal to the first judgment reference value;
receiving a second set of measurements, wherein measurements in the second set of measurements are taken by the sensor while the headset is not worn;
setting the minimum value in the second measurement value group as a second judgment reference value of the sensor, wherein the earphone is considered to be in an unworn state when the actual value acquired by the sensor is greater than or equal to the second judgment reference value;
judging whether a user switching instruction is received or not;
if so, switching the first judgment reference value and the second judgment reference value corresponding to the sensor to the first judgment reference value and the second judgment reference value corresponding to the target user of the user switching instruction, wherein the first judgment reference value and the second judgment reference value are preset for different users.
2. The detection method of claim 1, wherein said step of receiving a first set of measurements and said step of receiving a second set of measurements are preceded by:
sending first indication information to indicate that a user wears the headset so that the first measurement value group acquired by the sensor; and is
Sending second indication information to indicate that the user takes off the earphone, so that the second measurement value group is collected by the sensor.
3. The detection method according to claim 1, wherein the step of setting the minimum value in the first measurement value group as the first judgment reference value of the sensor and the step of setting the minimum value in the second measurement value group as the second judgment reference value of the sensor are followed by:
when the earphone is in a wearing state, adding an actual value acquired by the sensor into the first measurement value group, and updating the first judgment reference value according to a measurement value in the first measurement value group; and is
And when the earphone is not worn, adding the actual value acquired by the sensor into the second measurement value group, and updating the second judgment reference value according to the measurement value in the second measurement value group.
4. The detection method according to claim 3,
the step of updating the first judgment reference value based on the measurement values in the first measurement value group includes:
judging whether the actual value added into the first measurement value group is smaller than the original first judgment reference value;
if so, setting the actual value added into the first measurement value group as a first judgment reference value of the sensor;
the step of updating the second determination reference value based on the measurement values in the second measurement value set comprises:
judging whether the actual value added into the second measurement value group is smaller than the original second judgment reference value;
if so, the actual value added to the second measurement value set is set as a second determination reference value of the sensor.
5. The method according to claim 1, wherein the step of setting the minimum value in the first measurement value group as the first judgment reference value of the sensor and the step of setting the minimum value in the second measurement value group as the second judgment reference value of the sensor are followed by:
receiving an actual value collected by the sensor;
judging whether the actual value acquired by the sensor is less than or equal to the first judgment reference value or greater than or equal to the second judgment reference value:
if the actual value acquired by the sensor is smaller than or equal to the first judgment reference value, the earphone is considered to be in a wearing state;
and if the actual value acquired by the sensor is greater than or equal to the second judgment reference value, the earphone is considered to be in an unworn state.
6. The method for detecting the wearing state of an earphone according to claim 1,
the step of receiving a first set of measurement values comprises:
receiving a plurality of first measurement value groups, wherein the measurement value in each first measurement value group is measured by different sensors on the earphone when the earphone is in a wearing state;
the step of setting the minimum value of the first measurement value group as the first judgment reference value of the sensor includes:
and respectively setting the minimum value in each first measurement value group as the first judgment reference value of the corresponding sensor, wherein the earphone is considered to be in a wearing state when the actual value acquired by each sensor is less than or equal to the corresponding first judgment reference value.
7. A method for detecting a wearing state of a headphone, the headphone including a sensor, the method comprising:
controlling the sensor to acquire a first measurement value group, wherein measurement values in the first measurement value group are measured when the earphone is in a wearing state;
transmitting the first measurement value group acquired by the sensor to a terminal device so as to set the minimum value in the first measurement value group as a first judgment reference value of the sensor by the terminal device, wherein the earphone is considered to be in a wearing state when the actual value acquired by the sensor is less than or equal to the first judgment reference value;
controlling the sensor to acquire a second measurement value group, wherein the measurement values in the second measurement value group are measured when the earphone is not worn;
transmitting the second measurement value group acquired by the sensor to a terminal device to set a minimum value of the second measurement value group as a second judgment reference value of the sensor by the terminal device, wherein the headset is considered to be in an unworn state when an actual value acquired by the sensor is greater than or equal to the second judgment reference value;
judging whether a user switching instruction is received or not;
if so, the terminal device switches the first judgment reference value and the second judgment reference value corresponding to the sensor to the first judgment reference value and the second judgment reference value corresponding to the target user of the user switching instruction, wherein the first judgment reference value and the second judgment reference value are preset for different users.
CN202011119617.7A 2020-10-19 2020-10-19 Method for detecting wearing state of earphone Active CN112449297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011119617.7A CN112449297B (en) 2020-10-19 2020-10-19 Method for detecting wearing state of earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011119617.7A CN112449297B (en) 2020-10-19 2020-10-19 Method for detecting wearing state of earphone

Publications (2)

Publication Number Publication Date
CN112449297A CN112449297A (en) 2021-03-05
CN112449297B true CN112449297B (en) 2022-04-29

Family

ID=74736485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011119617.7A Active CN112449297B (en) 2020-10-19 2020-10-19 Method for detecting wearing state of earphone

Country Status (1)

Country Link
CN (1) CN112449297B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110888620A (en) * 2019-11-29 2020-03-17 歌尔科技有限公司 Head-mounted equipment, wearing detection method and device thereof, and medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9402124B2 (en) * 2013-04-18 2016-07-26 Xiaomi Inc. Method for controlling terminal device and the smart terminal device thereof
CN106291121B (en) * 2016-07-29 2023-10-13 歌尔股份有限公司 Wearing state detection method of wearable device and wearable device
US10291976B2 (en) * 2017-03-31 2019-05-14 Apple Inc. Electronic devices with configurable capacitive proximity sensors
CN108429964A (en) * 2018-05-09 2018-08-21 广东小天才科技有限公司 Control method, TWS earphones, equipment and the storage medium of TWS earphones
WO2020061761A1 (en) * 2018-09-25 2020-04-02 深圳市汇顶科技股份有限公司 Earphone and method for implementing wearing detection and touch operation
CN110418236A (en) * 2019-08-16 2019-11-05 歌尔股份有限公司 A kind of wireless headset wears detection device, method and TWS earphone
CN111083271B (en) * 2019-12-27 2022-03-18 歌尔股份有限公司 Wearing detection method, system, equipment and computer readable storage medium
CN111683318A (en) * 2020-06-04 2020-09-18 歌尔科技有限公司 Earphone wearing detection method and device, earphone and readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110888620A (en) * 2019-11-29 2020-03-17 歌尔科技有限公司 Head-mounted equipment, wearing detection method and device thereof, and medium

Also Published As

Publication number Publication date
CN112449297A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
CN110677768A (en) Wireless earphone control method and device, wireless earphone and storage medium
CN111698601B (en) Bluetooth headset, and key sensitivity adjustment method, device and readable storage medium thereof
CN106225806B (en) Calibrate the method, device and mobile terminal of Magnetic Sensor
CN108362304B (en) Data processing method and mobile terminal
EP3240198B1 (en) Mobile terminal and antenna determining method
KR20110069503A (en) Thimble-type mediated device and method for recognizing thimble gesture using the device
CN107205187B (en) A kind of method, apparatus and terminal device based on earphone control music
CN111083271B (en) Wearing detection method, system, equipment and computer readable storage medium
CN103294583B (en) A kind of method of control terminal screen and mobile terminal
CN112040359B (en) Earphone control method and earphone
US20110153163A1 (en) Movement input apparatus applied to steering apparatus and mobile control system using the same
CN108512615B (en) Signal intensity display method and mobile terminal
CN107784298B (en) Identification method and device
CN112449297B (en) Method for detecting wearing state of earphone
CN113495609A (en) Sleep state judgment method and system, wearable device and storage medium
CN113709617A (en) Wireless earphone control method and device, wireless earphone and storage medium
CN111787444A (en) Bluetooth headset pairing method and device, Bluetooth headset and storage medium
CN105611497A (en) Wearable intelligent device, terminal, control method and device of wearable intelligent device, and control method and device of terminal
CN108632713B (en) Volume control method and device, storage medium and terminal equipment
CN109040457B (en) Screen brightness adjusting method and mobile terminal
CN110764650A (en) Key trigger detection method and electronic equipment
CN110784797A (en) Wireless earphone control method and device, wireless earphone and storage medium
CN103297833B (en) Data processing method and date processing device based on intelligent remote control system
CN115243145A (en) Earphone control method, earphone control device, earphone and computer readable storage medium
CN104009808B (en) Terminal device and its data transmission method

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