CN112055296B - Earphone wearing state detection method and device and earphone - Google Patents

Earphone wearing state detection method and device and earphone Download PDF

Info

Publication number
CN112055296B
CN112055296B CN202010767814.3A CN202010767814A CN112055296B CN 112055296 B CN112055296 B CN 112055296B CN 202010767814 A CN202010767814 A CN 202010767814A CN 112055296 B CN112055296 B CN 112055296B
Authority
CN
China
Prior art keywords
earphone
detection
area
wearing
wearing state
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
CN202010767814.3A
Other languages
Chinese (zh)
Other versions
CN112055296A (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202010767814.3A priority Critical patent/CN112055296B/en
Publication of CN112055296A publication Critical patent/CN112055296A/en
Application granted granted Critical
Publication of CN112055296B publication Critical patent/CN112055296B/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
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • 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/1016Earpieces of the intra-aural type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/07Applications of wireless loudspeakers or wireless microphones

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)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)

Abstract

The application discloses a method and a device for detecting wearing states of earphones and the earphones. The method comprises the following steps: acquiring area contact values detected in the detection areas of the earphones; comparing each area contact value with an area detection threshold value of a corresponding earphone detection area; and determining the wearing state of the earphone according to the comparison result, wherein the wearing state of the earphone comprises a worn state and an unworn state, and the worn state comprises a normal wearing state and an abnormal wearing state. The embodiment of the application can detect whether the user wears the earphone or not through the divided earphone detection areas, can also automatically detect whether the posture that the user wears the earphone is correct or not, and further can prevent the situations that the wearing is not tight or the earphone is not completely plugged into the ear, the earphone drops or is lost and the like.

Description

Earphone wearing state detection method and device and earphone
Technical Field
The application relates to the technical field of earphones, in particular to an earphone wearing state detection method and device and an earphone.
Background
The wearing detection of the Wireless Bluetooth headset such as a TWS (True Wireless Stereo) headset can realize that Bluetooth is automatically connected to a mobile phone when the Wireless Bluetooth headset is put into the ear, and the Wireless Bluetooth headset automatically sleeps when the Wireless Bluetooth headset is taken off. The functions are realized mainly by detecting the wearing state of the earphone, the most commonly adopted wearing detection scheme at present is an optical scheme, and a part of the wearing detection scheme adopts a traditional capacitance detection scheme. The optical scheme detects the wearing state of the user using a proximity sensor, and the capacitive detection scheme detects the wearing state of the user using a conventional touch sensor by detecting the contact of the position of the headset head with the surface of the ear skin.
However, the inventor finds that both of the existing detection schemes are only used for detecting whether a user wears the earphone, and cannot detect the specific contact condition of the earphone and the ear, for example, whether the earphone is worn loosely or not, whether a risk of falling exists or not, how to remind the user when the risk of falling exists, and the like. In addition, the user can cause ear fatigue after wearing the earphone for a long time, and when the earphone and the ear are matched and become flexible, the human body can lose the feeling due to wearing fatigue, and the wrong wearing posture can not be corrected in time.
Disclosure of Invention
The application provides a method and a device for detecting wearing states of earphones and the earphones, and aims to solve or partially solve the problems.
According to a first aspect of the present application, there is provided a method for detecting a wearing state of an earphone, the earphone being divided into a plurality of earphone detection areas according to a contact condition between a human ear and the earphone in a normal wearing state, the method comprising:
acquiring area contact values detected in the detection areas of the earphones;
comparing each area contact value with an area detection threshold value of a corresponding earphone detection area;
and determining the wearing state of the earphone according to the comparison result, wherein the wearing state of the earphone comprises a worn state and an unworn state, and the worn state comprises a normal wearing state and an abnormal wearing state.
According to a second aspect of the present application, there is provided an earphone wearing state detection apparatus, the earphone being divided into a plurality of earphone detection areas according to a contact condition of a human ear with the earphone in a normal wearing state, the apparatus comprising:
an acquisition unit configured to acquire an area contact value detected in each headphone detection area;
the comparison unit is used for comparing each area contact value with an area detection threshold value of a corresponding earphone detection area, wherein the area detection threshold value is obtained by statistics according to the area contact value obtained in the earphone testing process;
and the determining unit is used for determining the wearing state of the earphone according to the comparison result, wherein the wearing state of the earphone comprises a worn state and an unworn state, and the worn state comprises a normal wearing state and an abnormal wearing state.
According to a third aspect of the present application, there is provided a headset comprising: a memory storing computer executable instructions and a processor,
the executable instructions, when executed by the processor, implement the aforementioned headset wearing state detection method.
According to a fourth aspect of the present application, there is provided a computer-readable storage medium storing one or more programs which, when executed by a processor, implement the aforementioned headset wearing state detection method.
The beneficial effect of this application is: the earphone is divided into a plurality of earphone detection areas according to the contact condition between the human ear and the earphone in a normal wearing state, and area contact values detected in the earphone detection areas are obtained; comparing each area contact value with an area detection threshold value of a corresponding earphone detection area, wherein the area detection threshold value is obtained by statistics according to the area contact values obtained in the earphone test process; and determining the wearing state of the earphone according to the comparison result, wherein the wearing state of the earphone comprises a worn state and an unworn state, and the worn state comprises a normal wearing state and an abnormal wearing state. The embodiment of the application can detect whether the user wears the earphone or not through the divided earphone detection areas, can also automatically detect whether the posture that the user wears the earphone is correct or not, and further can prevent the situations that the wearing is not tight or the earphone is not completely plugged into the ear, the earphone drops or is lost and the like.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a method for detecting a wearing state of an earphone according to an embodiment of the present application;
fig. 2 is a schematic view illustrating a normal wearing state of the earphone according to an embodiment of the present application;
FIG. 3 is a schematic diagram of earphone detection area division according to an embodiment of the present application;
fig. 4 is a logic block diagram of a headset wearing state detection process according to an embodiment of the present application;
fig. 5 is a block diagram of a headset wearing state detection device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an earphone according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a schematic flowchart illustrating a method for detecting a wearing state of a headset according to an embodiment of the present application, where, referring to fig. 1, the headset according to the embodiment of the present application is divided into a plurality of headset detection areas according to a contact condition between a human ear and the headset in a normal wearing state, and the method for detecting a wearing state of the headset includes steps S110 to S130 as follows:
in step S110, the area contact values detected in each earphone detection area are acquired.
According to the embodiment of the application, a plurality of earphone detection areas are set in advance according to different structures of different earphones and contact conditions of the earphones and human ears, as shown in fig. 2, a schematic diagram of the earphones in a normal wearing state is provided, and as shown in fig. 3, a schematic diagram of the earphones in the wireless earphones is provided. Because different types of earphones are in different contact conditions with human ears, and different parts of the same type of earphones are in different contact conditions with the human ears, how to set or divide the earphone detection area is specifically determined, and a person skilled in the art can flexibly select the earphone detection area according to the actual condition without specific limitation.
When the wearing state of the earphone is detected, the area contact value detected by the sensor in each earphone detection area can be acquired first and used as the basis for subsequently judging the wearing state of the earphone. The area contact value here may refer to a capacitance value detected by the capacitance sensor in each of the earphone detection areas, or may refer to a pressure value detected by the pressure sensor in each of the earphone detection areas. The wearing state of the earphone is detected by taking the area as a unit, so that the conditions of misjudgment and the like of the sensor can be avoided to a certain extent, and the detection precision is improved.
Step S120, comparing each area contact value with an area detection threshold of the corresponding earphone detection area.
The embodiment of the application determines the area detection threshold of each earphone detection area in advance to be used as a standard for judging the wearing state of the earphone. Specifically, the earphone can be tested for many times before the earphone leaves the factory, and the contact values of the areas obtained in the testing process are counted to obtain the area detection threshold values corresponding to the earphone detection areas. And then comparing the obtained area contact value of each area with the area detection threshold value corresponding to each area respectively to determine the wearing state of the earphone.
Step S130, determining the wearing state of the earphone according to the comparison result, wherein the wearing state of the earphone comprises a worn state and an unworn state, and the worn state comprises a normal wearing state and an abnormal wearing state.
The wearing state of the earphone in the embodiment of the present application may specifically include a worn state and an unworn state, where the worn state may be understood as that the earphone is in contact with the human ear, and the unworn state may be understood as that the earphone is not in contact with the human ear or the contact degree is negligible. Further, according to different degrees of contact, the worn state can include a normal wearing state and an abnormal wearing state, the normal wearing state can be understood as a state in which the earphone is in full contact with the human ear and the fall-off or the like does not occur, and the abnormal wearing state can be understood as a state in which the earphone is not in full contact with the human ear or the contact is not tight and the fall-off or the like easily occurs.
According to the obtained comparison result, whether the current earphone is in a worn state or not can be determined, if the earphone is in the worn state, whether the earphone is in a normal wearing state or an abnormal wearing state is determined, and whether the current wearing posture of the user has risks or not can be determined according to the detection result of the wearing state.
The embodiment of the application can detect whether the user wears the earphone or not through the divided earphone detection areas, can also automatically detect whether the posture that the user wears the earphone is correct or not, and further can prevent the situations that the wearing is not tight or the earphone is not completely plugged into the ear, the earphone drops or is lost and the like.
In an embodiment of the present application, each earphone detection area is provided with a multi-channel capacitive sensor, and the acquiring an area contact value detected in each earphone detection area includes: for each earphone detection area, acquiring a multi-channel capacitance value detected by a corresponding multi-channel capacitance sensor; and calculating the average value of the multi-channel capacitance values as the area contact value of the detection area of the earphone.
This application embodiment can adopt multichannel capacitive sensor to detect the capacitance value, compares in traditional single channel capacitive sensor, and multichannel capacitive sensor is more sensitive to the capacitance value change of each position, and then can detect more accurate regional contact value, provides the basis for follow-up earphone wearing state of confirming. In specific implementation, a multi-channel capacitance sensor may be respectively disposed for each earphone detection area, each channel may measure a capacitance value, each area is taken as a statistical unit, the capacitance values measured by each channel in the area may be summed and averaged to serve as an area contact value of the area, and of course, in addition to a statistical manner of summing and averaging, a person skilled in the art may also determine the area contact value by using other statistical methods, which are not listed herein.
It should be noted that, in the embodiment of the present application, in addition to the capacitance sensor may be used to detect the contact condition between the earphone and the human ear, other types of sensors such as a pressure sensor may also be used to detect the contact pressure between each detection area on the earphone and the human ear to determine the wearing state, that is, the earphone wearing state detection process in the embodiment of the present application is also applicable to other types of sensors.
In one embodiment of the present application, the region detection threshold includes a normal wearing threshold and an abnormal wearing threshold, and the normal wearing threshold and the abnormal wearing threshold are determined by: testing multi-channel capacitance values detected in each earphone detection area under the condition that the earphones are normally worn, and taking the average value of the capacitance values of each channel corresponding to each earphone detection area as a normal wearing threshold value of each earphone detection area; and determining the abnormal wearing threshold value of each earphone detection area according to the normal wearing threshold value of each earphone detection area and a preset proportion coefficient.
The area detection threshold of the embodiment of the application may specifically include a normal wearing threshold and an abnormal wearing threshold, the normal wearing threshold may be used as a criterion for determining whether the earphone is in a normal wearing state, and the abnormal wearing threshold may be used as a criterion for determining whether the earphone is in an abnormal wearing state. The threshold may be obtained by testing the earphone for multiple times before the earphone leaves a factory, for example, for a normal wearing threshold, the capacitance values detected in each channel at each time may be added and averaged; for the abnormal wearing threshold, since the capacitance value detected under the abnormal wearing condition is usually smaller than the capacitance value detected under the normal wearing condition, and the corresponding abnormal wearing threshold is also smaller than the normal wearing threshold, the normal wearing threshold may be multiplied by a scaling factor smaller than 1 to serve as the abnormal wearing threshold, and the scaling factor may be flexibly set according to the actual situation, for example, may be 0.5.
In an embodiment of the present application, the area detection threshold includes a normal wearing threshold and an abnormal wearing threshold, and the determining the wearing state of the headset according to the comparison result includes: when the area contact value of any one earphone detection area is larger than the normal wearing threshold value corresponding to the earphone detection area, determining that the earphone wearing state is the worn state; and when the area contact value of each earphone detection area is smaller than the abnormal wearing threshold value corresponding to the earphone detection area, determining that the earphone wearing state is the non-wearing state.
When the wearing state of the earphone is detected, if the area contact value of any one earphone detection area is larger than the normal wearing threshold value corresponding to the earphone detection area, it is indicated that at least one earphone detection area of the earphone is in contact with the human ear at present, that is, the earphone is in the worn state, and as for the wearing state corresponding to the contact degree, whether the wearing state belongs to the normal wearing state of sufficient contact or the abnormal wearing state of untight contact can be further judged. Otherwise, when the area contact values of all the earphone detection areas are smaller than the abnormal wearing threshold corresponding to the area, it is indicated that all the detection areas of the earphone are not in contact with the human ears at present, and the earphone can be considered to be in an unworn state at this time.
In an embodiment of the present application, in a case where it is determined that the headset wearing state is the worn state, the determining a headset wearing state according to the comparison result includes: if the area contact value of each earphone detection area is larger than the normal wearing threshold value, determining that the earphone wearing state is the normal wearing state; and if the area contact value of any one earphone detection area is larger than the abnormal wearing threshold value and smaller than the normal wearing threshold value, determining that the earphone wearing state is the abnormal wearing state.
As described above, when the area contact value of at least one earphone detection area is greater than the normal wearing threshold corresponding to the earphone detection area, it is indicated that the earphone is in the worn state, and at this time, it may be further determined whether the earphone is in the normal wearing state or the abnormal wearing state. Specifically, if the area contact value of each earphone detection area is greater than the normal wearing threshold value, the earphone is in sufficient contact with the human ear, and the earphone is determined to be in a normal wearing state; if the area contact value of any earphone detection area is larger than the abnormal wearing threshold value and smaller than the normal wearing threshold value, it indicates that at least one earphone detection area does not achieve sufficient contact with human ears, and the earphone is determined to be in an abnormal wearing state.
In one embodiment of the application, the zone detection threshold comprises a normal wear threshold, the earphone detection zone comprises a first detection zone on a side close to the ear canal, a third detection zone on a side remote from the ear canal, and a second detection zone located between the first detection zone and the third detection zone, the method further comprising: determining whether to send an early warning prompt according to the wearing state of the earphone; the determining whether to send an early warning prompt according to the wearing state of the earphone comprises: when the area contact value detected by the third detection area is lower than the normal wearing threshold value, determining to send a low-level early warning reminder; when the area contact value detected by the second detection area is lower than the normal wearing threshold value, determining to send a middle-level early warning reminder; and when the area contact values detected by the first detection area, the second detection area and the third detection area are all smaller than the normal wearing threshold value, determining to send advanced early warning prompt.
Because different types of earphones have different structures and correspondingly arranged earphone detection areas, the embodiment of the application takes the earplug type earphone in fig. 3 as an example for description, and when the earplug type earphone is worn, the contact tightness between the surface of the earphone and the ears of a person has regional difference, so that the earphone is suitable for using the technical scheme provided by the application. As shown in fig. 3, the earphone detection area of the embodiment of the present application may include three annular areas, where the first detection area is located at a side close to the ear canal, and can determine whether to contact with the ear according to the size of the area contact value, and can be directly used to detect the wearing state of the earphone and whether to be worn tightly. The contour diameter of the second detection area is the largest, so that the area is a key detection area of the degree of close fit between the human ear and the earphone, namely when the area contact value of the second detection area is smaller than the normal wearing threshold value, the earphone is worn loosely, and the earphone does not fall off only by means of contact between other areas of the earphone and the human ear. The third detection area represents the area outside the earphone on the side far away from the ear canal, and when the threshold value detected by the third detection area is lower than the wearing threshold value, the wearing condition of the earphone can be detected to be changed at the first time.
In order to avoid the situation that the earphone drops or is lost due to untight wearing, the embodiment of the application can also determine whether to send the warning prompt to the user according to the wearing state of the earphone, for example, if the earphone is in an abnormal wearing state of untight wearing, the warning prompt is given to the user by broadcasting the voice built in the earphone, so that the user can correct or adjust the wearing state of the earphone.
Different early warning levels can be set in advance according to detection results of different earphone detection areas. In specific implementation, as shown in fig. 4, before the wearing state detection is performed, initialization is performed to obtain the area detection threshold of each detection area, and then the area contact value of each detection area is read in real time by a Micro Controller Unit (MCU). Then, state judgment is carried out, if the area contact values of the three detection areas are detected to be higher than a normal wearing threshold value, the current detection area is considered to be in a normal wearing state, and early warning reminding is not needed; when the third detection area is also kept away from the earphone of duct and is less than normally wearing the threshold value when the capacitance value that detects in the outside region, it indicates that the earphone mainly relies on inboard second detection area and the contact of first detection area and people's ear, although wear still closely, still have certain risk of wearing this moment, consequently can get into low-level early warning mode to voice broadcast through the built-in voice data of earphone once reminds. When the capacitance value that detects the second detection area is less than normally wearing the threshold value, explain that the earphone is in wearing untight unusual wearing state, only leans on partial position to block the earphone, has produced in fact not hard up, can get into the middle level early warning mode this moment to carry out the voice broadcast warning that is interrupted many times through the built-in voice data of earphone. When the three detection areas are detected to be all lower than the normal wearing threshold value, the earphone is probably dropped from the ear at any time, the earphone enters an advanced early warning mode at the moment, and the user is informed to adjust the wearing state in time through uninterrupted voice broadcasting. For the warning reminding modes corresponding to the different warning levels, a person skilled in the art can flexibly set the warning reminding modes according to actual conditions, and the warning reminding modes are not specifically limited herein.
For the three detection areas, the three detection areas are sequentially as follows from far to near according to the far-near relation with the auditory canal of the human ear: a third detection area, a second detection area, and a first detection area. Generally speaking, when the area contact value of the third detection area on the outermost side exceeds the normal wearing state threshold value, it indicates that the outermost side of the earphone has fully contacted with the human ear, and it may be considered that the second detection area and the first detection area located on the inner side also have fully contacted with the human ear, that is, the area contact values of the three areas are all greater than the normal wearing state threshold value, at this time, the real-time detection and monitoring may be continued on the area contact values of the areas without performing the warning prompt.
In an embodiment of the application, the determining whether to send an early warning reminder according to the wearing state of the headset includes: when the wearing state of the earphone is the abnormal wearing state, determining to send an early warning prompt; and when the wearing state of the earphone is switched from the abnormal wearing state to the normal wearing state, interrupting the early warning prompt.
According to the embodiment of the application, the area contact value of each detection area can be read in real time through the MCU, and then the wearing state of the earphone can be detected and monitored in real time. And once the earphone is detected to enter or be in an abnormal wearing state, an early warning prompt is sent to the user, so that the damage or loss caused by the falling of the earphone is avoided. And after the wearing state of the user is adjusted to be the normal wearing state according to the reminding, the early warning reminding can be interrupted, and excessive interference to the user is avoided.
It should be noted that, although the earphone mentioned in the above embodiments is mainly directed to an earplug earphone, for other types of earphones, the earphone can also be adapted to the wearing state detection for other types of earphones by adaptively adjusting the technical solution of the present application. For example, for the wearing state detection of the headset, the corresponding sensors may be provided and the headset detection area may be divided according to the specific configuration of the headset, for example, the headset is usually in contact with the auricle of the human ear through the ear pad of the headset, so that the sensors may be provided and the plurality of detection areas may be divided at the corresponding contact positions of the headset according to the contact condition of the headset with the human ear in the normal wearing state to perform the wearing state detection.
The method and the device for detecting the wearing state of the earphone belong to the same technical concept, and the embodiment of the application further provides a device for detecting the wearing state of the earphone. Fig. 5 is a block diagram of a headset wearing state detection apparatus according to an embodiment of the present application, and referring to fig. 5, the headset is divided into a plurality of headset detection areas according to a contact condition between a human ear and the headset in a normal wearing state, and the headset wearing state detection apparatus 500 includes: an acquisition unit 510, a comparison unit 520 and a determination unit 530. Wherein, the first and the second end of the pipe are connected with each other,
an acquisition unit 510 configured to acquire an area contact value detected in each headphone detection area;
a comparing unit 520, configured to compare each area contact value with an area detection threshold of a corresponding earphone detection area;
a determining unit 530, configured to determine a wearing state of the headset according to the comparison result, where the wearing state of the headset includes a worn state and an unworn state, and the worn state includes a normal wearing state and an abnormal wearing state.
In an embodiment of the present application, each earphone detection area is respectively provided with a multi-channel capacitive sensor, and the obtaining unit 510 is specifically configured to: for each earphone detection area, acquiring a multi-channel capacitance value detected by a corresponding multi-channel capacitance sensor; and calculating the average value of the multi-channel capacitance values as the area contact value of the detection area of the earphone.
In one embodiment of the present application, the region detection threshold includes a normal wearing threshold and an abnormal wearing threshold, and the normal wearing threshold and the abnormal wearing threshold are determined by: testing multi-channel capacitance values detected in each earphone detection area under the condition that the earphones are normally worn, and taking the average value of the capacitance values of each channel corresponding to each earphone detection area as a normal wearing threshold value of each earphone detection area; and determining the abnormal wearing threshold value of each earphone detection area according to the normal wearing threshold value of each earphone detection area and a preset proportion coefficient.
In an embodiment of the application, the area detection threshold includes a normal wearing threshold and an abnormal wearing threshold, and the determining unit 530 is specifically configured to: when the area contact value of any one earphone detection area is larger than the normal wearing threshold value corresponding to the earphone detection area, determining that the earphone wearing state is the worn state; and when the area contact value of each earphone detection area is smaller than the abnormal wearing threshold value corresponding to the earphone detection area, determining that the earphone wearing state is the non-wearing state.
In an embodiment of the present application, in a case that it is determined that the wearing state of the earphone is the worn state, the determining unit 530 is specifically configured to: if the area contact value of each earphone detection area is larger than the normal wearing threshold value, determining that the earphone wearing state is the normal wearing state; and if the area contact value of any one earphone detection area is larger than the abnormal wearing threshold value and smaller than the normal wearing threshold value, determining that the earphone wearing state is the abnormal wearing state.
In one embodiment of the present application, the region detection threshold includes a normal wearing threshold, the earphone detection region includes a first detection region on a side close to the ear canal, a third detection region on a side far from the ear canal, and a second detection region between the first detection region and the third detection region, the apparatus further includes: the early warning unit is used for determining whether to send an early warning prompt according to the wearing state of the earphone; the early warning unit is specifically further configured to: when the area contact value detected by the third detection area is lower than the normal wearing threshold value, determining to send a low-level early warning reminder; when the area contact value detected by the second detection area is lower than the normal wearing threshold value, determining to send a middle-level early warning reminder; and when the area contact values detected by the first detection area, the second detection area and the third detection area are all smaller than the normal wearing threshold value, determining to send advanced early warning prompt.
In an embodiment of the application, the early warning unit is further specifically configured to: when the wearing state of the earphone is the abnormal wearing state, determining to send an early warning reminder; and when the wearing state of the earphone is switched from the abnormal wearing state to the normal wearing state, interrupting the early warning prompt.
It should be noted that:
fig. 6 illustrates a schematic structural diagram of the earphone. Referring to fig. 6, at a hardware level, the headset includes a memory and a processor, and optionally further includes an interface module, a communication module, and the like. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may also include a non-volatile Memory, such as at least one disk Memory. Of course, the headset may also include hardware required for other services.
The processor, the interface module, the communication module, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 6, but that does not indicate only one bus or one type of bus.
A memory for storing computer executable instructions. The memory provides computer executable instructions to the processor through the internal bus.
A processor executing computer executable instructions stored in the memory and specifically configured to perform the following operations:
acquiring area contact values detected in the detection areas of the earphones;
comparing each area contact value with an area detection threshold value of a corresponding earphone detection area, wherein the area detection threshold value is obtained by statistics according to the area contact values obtained in the earphone test process;
and determining the wearing state of the earphone according to the comparison result, wherein the wearing state of the earphone comprises a worn state and an unworn state, and the worn state comprises a normal wearing state and an abnormal wearing state.
The functions performed by the earphone wearing state detection device disclosed in the embodiment of fig. 5 of the present application may be applied to or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The headset may also perform the steps performed by the headset wearing state detection method in fig. 1, and implement the functions of the headset wearing state detection method in the embodiment shown in fig. 1, which are not described herein again in this application embodiment.
An embodiment of the present application further provides a computer-readable storage medium, which stores one or more programs, and when the one or more programs are executed by a processor, the computer-readable storage medium implements the foregoing headset wearing state detection method, and is specifically configured to perform:
acquiring area contact values detected in the detection areas of the earphones;
comparing each area contact value with an area detection threshold value of a corresponding earphone detection area, wherein the area detection threshold value is obtained by statistics according to the area contact values obtained in the earphone test process;
and determining the wearing state of the earphone according to the comparison result, wherein the wearing state of the earphone comprises a worn state and an unworn state, and the worn state comprises a normal wearing state and an abnormal wearing state.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) characterized by computer-usable program code.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (7)

1. A method for detecting a wearing state of an earphone, wherein the earphone is divided into a plurality of earphone detection areas according to a contact condition between human ears and the earphone in a normal wearing state, the method comprising:
acquiring area contact values detected in the detection areas of the earphones;
comparing each area contact value with an area detection threshold value of a corresponding earphone detection area;
determining the wearing state of the earphone according to the comparison result, wherein the wearing state of the earphone comprises a worn state and an unworn state, and the worn state comprises a normal wearing state and an abnormal wearing state; each earphone detection area is provided with multichannel capacitive sensor respectively, it includes to acquire the regional contact value that detects in each earphone detection area:
for each earphone detection area, acquiring a multi-channel capacitance value detected by a corresponding multi-channel capacitance sensor, wherein the multi-channel capacitance value comprises a capacitance value respectively measured by each channel in the multi-channel capacitance sensor;
calculating the average value of the multi-channel capacitance values to be used as the area contact value of the earphone detection area;
the zone detection threshold comprises a normal wear threshold, the earphone detection zone comprises a first detection zone on a side proximate to the ear canal, a third detection zone on a side distal from the ear canal, and a second detection zone located between the first detection zone and the third detection zone, the method further comprising:
determining whether to send an early warning prompt according to the wearing state of the earphone;
the determining whether to send an early warning prompt according to the wearing state of the earphone comprises:
when the area contact value detected by the third detection area is lower than the normal wearing threshold value, determining to send a low-level early warning reminder;
when the area contact value detected by the second detection area is lower than the normal wearing threshold value, determining to send a middle-level early warning reminder;
and when the area contact values detected by the first detection area, the second detection area and the third detection area are all smaller than the normal wearing threshold value, determining to send advanced early warning reminding.
2. The method of claim 1, wherein the zone detection threshold comprises a normal wear threshold and an abnormal wear threshold, the normal wear threshold and the abnormal wear threshold being determined by:
testing the multi-channel capacitance values detected in each earphone detection area under the condition that the earphones are normally worn, and taking the average value of the capacitance values of each channel corresponding to each earphone detection area as the normal wearing threshold value of each earphone detection area;
and determining the abnormal wearing threshold value of each earphone detection area according to the normal wearing threshold value of each earphone detection area and a preset proportion coefficient.
3. The method of claim 1, wherein the region detection threshold comprises a normal wearing threshold and an abnormal wearing threshold, and wherein determining the wearing state of the headset according to the comparison result comprises:
when the area contact value of any one earphone detection area is larger than the normal wearing threshold value corresponding to the earphone detection area, determining that the earphone wearing state is the worn state;
and when the area contact value of each earphone detection area is smaller than the abnormal wearing threshold value corresponding to the earphone detection area, determining that the earphone wearing state is the non-wearing state.
4. The method according to claim 3, wherein in a case where it is determined that the headset wearing state is the worn state, the determining a headset wearing state according to the comparison result includes:
if the area contact value of each earphone detection area is larger than the normal wearing threshold value, determining that the earphone wearing state is the normal wearing state;
and if the area contact value of any one earphone detection area is larger than the abnormal wearing threshold value and smaller than the normal wearing threshold value, determining that the earphone wearing state is the abnormal wearing state.
5. The method of claim 1, wherein the determining whether to send an alert reminder according to the headset wearing status comprises:
when the wearing state of the earphone is the abnormal wearing state, determining to send an early warning prompt;
and when the wearing state of the earphone is switched from the abnormal wearing state to the normal wearing state, interrupting the early warning prompt.
6. An earphone wearing state detection apparatus, wherein the earphone is divided into a plurality of earphone detection areas according to a contact condition between a human ear and the earphone in a normal wearing state, the apparatus comprising:
an acquisition unit configured to acquire an area contact value detected in each headphone detection area;
the comparison unit is used for comparing each area contact value with an area detection threshold value of a corresponding earphone detection area;
a determining unit, configured to determine a wearing state of the headset according to a comparison result, where the wearing state of the headset includes a worn state and an unworn state, and the worn state includes a normal wearing state and an abnormal wearing state; each earphone detection area is provided with multichannel capacitive sensor respectively, the acquisition unit specifically is used for: for each earphone detection area, acquiring a multi-channel capacitance value detected by a corresponding multi-channel capacitance sensor, wherein the multi-channel capacitance value comprises a capacitance value respectively measured by each channel in the multi-channel capacitance sensor;
calculating the average value of the multi-channel capacitance values to be used as the area contact value of the earphone detection area;
the region detection threshold comprises a normal wear threshold, the earphone detection region comprises a first detection region on a side close to an ear canal, a third detection region on a side away from the ear canal, and a second detection region between the first detection region and the third detection region,
when the area contact value detected by the third detection area is lower than the normal wearing threshold value, determining to send a low-level early warning reminder;
when the area contact value detected by the second detection area is lower than the normal wearing threshold value, determining to send a middle-level early warning reminder;
and when the area contact values detected by the first detection area, the second detection area and the third detection area are all smaller than the normal wearing threshold value, determining to send advanced early warning reminding.
7. An earphone, comprising: a memory storing computer executable instructions and a processor,
the executable instructions, when executed by the processor, implement the headset wearing state detection method of any one of claims 1 to 5.
CN202010767814.3A 2020-08-03 2020-08-03 Earphone wearing state detection method and device and earphone Active CN112055296B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010767814.3A CN112055296B (en) 2020-08-03 2020-08-03 Earphone wearing state detection method and device and earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010767814.3A CN112055296B (en) 2020-08-03 2020-08-03 Earphone wearing state detection method and device and earphone

Publications (2)

Publication Number Publication Date
CN112055296A CN112055296A (en) 2020-12-08
CN112055296B true CN112055296B (en) 2022-11-18

Family

ID=73601637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010767814.3A Active CN112055296B (en) 2020-08-03 2020-08-03 Earphone wearing state detection method and device and earphone

Country Status (1)

Country Link
CN (1) CN112055296B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113825063B (en) * 2021-11-24 2022-03-15 珠海深圳清华大学研究院创新中心 Earphone voice recognition starting method and earphone voice recognition method
CN114745651B (en) * 2022-02-28 2023-04-25 潍坊歌尔电子有限公司 Headset state detection method, headset and computer readable storage medium
CN114630242B (en) * 2022-03-23 2024-04-09 歌尔股份有限公司 Earphone wearing detection method, earphone and storage medium
CN115278431A (en) * 2022-06-24 2022-11-01 维沃移动通信有限公司 State determination method and device, electronic equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427101A (en) * 2013-08-27 2015-03-18 联想(北京)有限公司 Method for status switching of electronic device and wearable device, and method for sending identification information
JP2016158878A (en) * 2015-03-02 2016-09-05 Nsウエスト株式会社 Biological information measurement device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4360552A2 (en) * 2014-08-06 2024-05-01 Yukka Magic LLC Optical physiological sensor modules with reduced signal noise
WO2017035636A1 (en) * 2015-09-01 2017-03-09 Keewave Corporation Earphone system
CN107135437B (en) * 2016-02-29 2019-06-11 宇龙计算机通信科技(深圳)有限公司 A kind of bluetooth headset and its control method
CN107106044B (en) * 2017-03-30 2021-03-16 深圳市汇顶科技股份有限公司 Wearable device, wearing quality detection method and device
EP3525490A1 (en) * 2018-02-13 2019-08-14 Oticon A/s An in-the-ear hearing aid device, a hearing aid, and an electro-acoustic transducer
US10932062B2 (en) * 2018-02-17 2021-02-23 Apple Inc. Ultrasonic proximity sensors, and related systems and methods
CN111510810A (en) * 2018-07-02 2020-08-07 Oppo广东移动通信有限公司 Master-slave earphone switching control method and related product
WO2020061761A1 (en) * 2018-09-25 2020-04-02 深圳市汇顶科技股份有限公司 Earphone and method for implementing wearing detection and touch operation
CN209234032U (en) * 2019-02-01 2019-08-09 深圳市汇顶科技股份有限公司 Wear detection device and earphone

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104427101A (en) * 2013-08-27 2015-03-18 联想(北京)有限公司 Method for status switching of electronic device and wearable device, and method for sending identification information
JP2016158878A (en) * 2015-03-02 2016-09-05 Nsウエスト株式会社 Biological information measurement device

Also Published As

Publication number Publication date
CN112055296A (en) 2020-12-08

Similar Documents

Publication Publication Date Title
CN112055296B (en) Earphone wearing state detection method and device and earphone
US10999667B2 (en) Earbud and method for implementing wearing detection and touch operation
CN108712697B (en) Wireless earphone and working mode determining method, device, equipment and storage medium thereof
CN107106044B (en) Wearable device, wearing quality detection method and device
CN109257674B (en) Wearing condition detection method and device of wireless earphone and wireless earphone
EP3419258A1 (en) Controlling power for a headset
CN111988692A (en) Earphone wearing state detection method and device, earphone and storage medium
CN112468924A (en) Earphone noise reduction method and device
CN112804607B (en) Tone quality adjusting method and device and tone quality adjustable earphone
CN112261532B (en) Earphone volume control method and device and earphone
WO2022135220A1 (en) Control method and system for adjusting vibration frequency on the basis of pressure, and storage medium
CN111770409A (en) Earphone loss prevention method, device and system and earphone
WO2023178869A1 (en) Earbud wearing detection method, earbud and storage medium
CN111464906A (en) Headset and left and right sound channel switching device and method thereof
EP3499910B1 (en) Device and method for detecting removal of an in-the-ear headphone from a user's ear
CN109068225B (en) Earphone, control method thereof and computer storage medium
WO2022233192A1 (en) Detection method for wireless in-ear earphones, and earphones and storage medium
CN108834015A (en) Earphone and its volume adjusting method and device
CN117692843B (en) Sound automatic adjusting method, system, storage medium and electronic equipment
CN113973246A (en) Control method and device for suppressing howling of earphone and earphone
CN114745627A (en) Wireless earphone and method for detecting entrance and exit of wireless earphone
CN113852889B (en) Active noise reduction method and device and electronic equipment
CN107968889A (en) Quarter-bell reminding method, device, mobile terminal and computer-readable storage medium
CN109246513A (en) A kind of active noise reduction earphone and its noise-reduction method, device
US9949878B2 (en) System and method to automatically switch on and switch off device for accurate recording of personal sound exposure measurements

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