Headphone wearing status detection method, device and headphone
By combining the acceleration sensor and the proximity sensor, the on-ear and off-ear events of the earphones are identified, and the wearing status of the earphones is accurately determined, which solves the problem of insufficient detection accuracy in the existing technology and achieves low performance of the earphones in the wearing and non-wearing states. Power consumption mode switching optimizes battery life.
Patent Information
- Application Number
- CN201911225999.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-04
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2039-12-04
Smart Images

Figure CN112911438B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and in particular to detection of earphone wearing status. Background Art
[0002] Headphones are widely used in people's lives. In order to save power consumption of headphones, it is expected that the headphones will automatically enter low power consumption mode when the user is not wearing the headphones, and automatically return to normal mode when the user is wearing the headphones. For this reason, the detection of the wearing state of the headphones is very important. Incorrect detection of the wearing state of the headphones will not only lead to unnecessary increase in power consumption, but also may cause trouble to the user.
[0003] Currently, an acceleration sensor is usually used to collect motion data to identify the state of the earphone being picked up to detect the wearing state of the earphone. When it is determined that the earphone is picked up, it is considered to be in the wearing state, so the earphone enters the normal mode, otherwise it remains in the low power consumption mode.
[0004] There is also a method of determining whether the earphone is picked up by analyzing the data collected by the acceleration sensor, and then combining the data collected by other sensors (such as a proximity sensor and / or a micro-motion sensor) to comprehensively judge the wearing status of the earphone.
[0005] However, there is still a need for a more accurate way to determine the wearing status of a headset. Summary of the invention
[0006] It is desirable to provide a method and device for detecting the wearing state of an earphone and a corresponding earphone, which can more accurately determine the wearing state of the earphone.
[0007] According to one aspect, a method for determining a wearing state of an earphone is provided, comprising determining an on-ear event or an off-ear event experienced by the earphone based on first data representing a movement of the earphone; determining a first wearing state of the earphone based on second data representing proximity of the earphone to a user's skin; and determining the wearing state of the earphone based on the determined on-ear event or off-ear event and the first wearing state.
[0008] According to another aspect, a device for determining the wearing status of an earphone is provided, comprising a receiving unit for acquiring first data representing the movement of the earphone, third data and second data representing the proximity of the earphone to the user's skin; and a processing unit for executing the method steps according to various embodiments of the present invention.
[0009] According to another aspect, an earphone is provided, comprising an acceleration sensor for collecting first data and third data representing the movement of the earphone; a proximity sensor for collecting second data representing the proximity of the earphone to the user's skin, and a device for determining the wearing state of the earphone according to various embodiments of the present invention.
[0010] According to yet another aspect, a machine-readable storage medium is provided, which stores computer program instructions, which, when executed, cause a computer to perform the method according to various embodiments of the present invention.
[0011] Different from simply identifying whether the earphone is picked up, according to various embodiments of various aspects of the present disclosure, the process of putting on or taking off the earphone is considered. On the one hand, a signal unique to when the user puts on or takes off the earphone is identified from the first data representing the movement of the earphone, thereby identifying an upper ear event or an ear-off event. For earbud earphones, the upper ear event and the ear-off event can correspond to the earmuff event of inserting and removing the earphone into and out of the ear respectively. For head-mounted headphones, the upper ear event and the ear-off event can correspond to the event of fixing the earmuff to or detaching from the ear respectively; on the other hand, considering that putting on and taking off the earphone will be accompanied by changes in optical signals such as those representing proximity, while considering the upper ear event or the ear-off event, at least the earphone state determined based on the second data representing the proximity between the earphone and the user's skin is combined to comprehensively judge the wearing state of the earphone. This increases the accuracy of the detection of the wearing state of the earphone. Based on the more accurately determined wearing state, the earphone can appropriately switch between the low power consumption mode and the normal working mode, thereby improving the energy consumption of the earphone.
[0012] According to one embodiment of various aspects, when it is determined that the headset experiences the supra-auricular event and the first wearing state indicates that the headset is in a worn state, the wearing state of the headset is determined to be a worn state.
[0013] Therefore, taking into account the action of the user putting on the earphones, by determining the ear-on event and determining the first wearing state based on the data of the proximity sensor, such as the data of the light sensor indicating that the light is blocked, it is possible to accurately detect the process of the user fixing the earphones to the ears, thereby accurately determining that the earphones are in a state of just being put on.
[0014] According to one embodiment of various aspects, when it is determined that the earphone has experienced the ear-off event and the first wearing state indicates that the earphone is in a not-worn state, the wearing state of the earphone is determined to be a not-worn state.
[0015] Therefore, considering the action of the user taking off the earphones, the ear-off event is determined, and the first wearing state is determined based on the data of the proximity sensor, such as the data of the light sensor indicating that the light becomes unblocked. This can accurately detect the process of the user removing the earphones from the ears, thereby accurately determining that the earphones are in a state of just being taken off.
[0016] According to one embodiment of various aspects, the first data is compared with a first predetermined pattern representing the supra-ear event of the earphone and a second predetermined pattern representing the off-ear event of the earphone, respectively; and the supra-ear event or the off-ear event is determined based on the comparison result. This provides detection of supra-ear and off-ear events.
[0017] According to another embodiment of various aspects, third data representing the movement of the earphone is compared with a first predetermined threshold to determine whether the earphone is picked up, and the third data is collected before the first data; in response to determining that the earphone is picked up, the on-ear event or the off-ear event of the earphone is determined based on the first data.
[0018] In this embodiment, before detecting the ear-on or ear-off events corresponding to the earphone being fixed to or detached from the ear, it is first detected whether the earphone is picked up. It can be understood that before the earphone is put on or taken off, the user will first pick up the earphone, and then drive the earphone to do the ear-on or ear-off action. Therefore, in this embodiment, the entire process of the user putting on or taking off the earphone can be detected more accurately, and subsequent processing is performed only in response to the user picking up the earphone, which further saves the energy consumption of the earphone.
[0019] According to another embodiment of various aspects, in response to determining that the earphone is picked up, the first wearing state of the earphone is determined based on the second data representing proximity of the earphone to the user's skin.
[0020] According to another embodiment of various aspects, in response to determining the on-ear event or the off-ear event, the first wearing state of the earphone is determined based on the second data representing proximity of the earphone to the user's skin.
[0021] In the above embodiment, the wearing state detection based on the second data is started only when it is detected that the earphone is picked up or an ear-on or ear-off event is detected, which can further save the energy consumption of the earphone.
[0022] According to another embodiment of the various aspects, the amplitude of the second data is compared with a second predetermined threshold; and the first wearing state of the headset is determined based on the result of the comparison. This provides detection of the first wearing state based on the second data.
[0023] According to another embodiment of various aspects, in response to determining the ear-off event, extracting a pulse signal in the second data; comparing the amplitude and pulse width of the pulse signal with a second predetermined threshold and a third predetermined threshold, respectively; and determining the first wearing state of the headset based on the result of the comparison. This takes into account the situation where the headset has just been removed from the ear, but the proximity sensor is blocked by other objects. This provides more comprehensive and accurate wearing state detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Embodiments are illustrated by way of example only and not by way of limitation in the figures of the accompanying drawings in which like reference numerals refer to similar elements.
[0025] Figure 1 A method for determining a wearing state of an earphone according to an embodiment is shown;
[0026] Figure 2 A method for determining a wearing state of an earphone according to another embodiment is shown;
[0027] Figure 3 A method for determining a wearing state of an earphone according to another embodiment is shown;
[0028] Figure 4 A method for determining a wearing state of an earphone according to another embodiment is shown;
[0029] Figure 5 A device for determining a wearing state of an earphone according to an embodiment is shown;
[0030] Figure 6 A headset according to one embodiment is shown.
[0031] The various aspects and features of various embodiments of the present invention are described with reference to the above drawings. The above drawings are merely illustrative and non-restrictive. Without departing from the subject matter of the present invention, the size, shape, number, or appearance of each element in the above drawings may vary and are not limited to those shown in the drawings only. DETAILED DESCRIPTION
[0032] According to various embodiments of the present invention, it is recognized that when a user puts on an earphone, the earphone is fixed to the ear, that is, an upper ear event occurs, and when the user takes off the earphone, the earphone is separated from the ear, that is, a separation event occurs. For earbud-type earphones, the upper ear event can correspond to an in-ear event of inserting the earphone into the ear, and the separation event can correspond to an out-of-ear event of taking the earphone out of the ear; for head-mounted headphones, the upper ear event can correspond to an event of fixing the earmuff to the ear, and the separation event can correspond to an event of separating the earmuff from the ear. Detecting the upper ear or separation event of the user fixing or separating the earphone from the ear will be meaningful for accurately determining the wearing state of the earphone. In particular, combining the detection of the upper ear or separation event with the detection of the proximity between the ear and the user's skin can more accurately determine the wearing state of the earphone. It can be determined that when the user fixes the earphone to the ear or separates the earphone from the ear, the sensor data representing the movement of the earphone will show different signal patterns. For example, when an accelerometer is used to measure the movement of headphones, when the user fixes the headphones to the ears or removes them from the ears, the motion data from the accelerometer will show different peaks and orientation changes. Thus, it is possible to determine whether the headphones have experienced an on-ear or off-ear event based on the sensor data representing the movement of the headphones.
[0033] Figure 1 A method 100 for determining a wearing state of an earphone according to an embodiment is shown. The method 100 includes the following processing.
[0034] At 110, first data representing the movement of the earphone is received. For example, the first data representing the movement of the earphone can be measured using an acceleration sensor disposed on the earphone. The first data can be collected continuously. The first data can be received in real time or at a fixed time at 110. It can be expected that the first data received in real time is processed in real time, and it can also be expected that the first data of a predetermined length or at a fixed time is processed.
[0035] At 120, it is determined whether the earphone has experienced an on-ear event or a off-ear event based on the first data. The on-ear event indicates a signal corresponding to the user fixing the earphone to the ear, while the off-ear event indicates a signal corresponding to the user separating the earphone from the ear. Whether the earphone has experienced an on-ear event or an off-ear event can be determined by detecting a predetermined pattern corresponding to the on-ear event or the off-ear event in the first data.
[0036] As described above, supra-ear or off-ear events can manifest as a series of orientation and peak changes in motion data from an accelerometer, from which a predetermined pattern representing supra-ear or off-ear events can be determined, which can be represented by thresholds for a series of orientation and / or waveform amplitude / width changes.
[0037] For example, for an supra-auricular event, when the user picks up the earphone, the earphone first undergoes a significant orientation change to properly align the ear, and then undergoes a slight vibration and / or rotation, which corresponds to the earplug or earmuff contacting the ear and being fixed. Thus, a first predetermined pattern representing a supra-auricular event of the earphone can be defined as first representing an orientation change of a predetermined size or size range, followed by one or more waveforms of a predetermined amplitude and / or width within a predetermined time. Preferably, the amplitude of the one or more waveforms is small and relatively narrow, and therefore, the above-mentioned predetermined amplitude and / or width can be set relatively small.
[0038] For the off-ear event, in contrast to the on-ear event, the earphone first experiences slight vibration and / or rotation after the user picks up the earphone, and then experiences a significant orientation change. Thus, the second predetermined pattern representing the off-ear event of the earphone can be defined as first representing one or more waveforms of predetermined amplitude and / or width, followed by an orientation change of a predetermined size or size range within a predetermined time.
[0039] As can be seen from the above, the first and second predetermined modes correspond to a series of thresholds such as orientation change, waveform amplitude and / or width, and / or timing of the acceleration data, respectively, and these thresholds can be compared with the measured acceleration data to determine the upper ear or off-ear events. In order to distinguish between upper ear and off-ear events, the orientation change and the order of occurrence of the above one or more waveforms can also be considered. The above thresholds can vary for upper ear and off-ear events. Specifically, they can be set by technicians according to their experience for different situations.
[0040] In one embodiment, the first data can be compared with a first predetermined pattern representing an upper ear event of the headset and a second predetermined pattern representing an off-ear event of the headset, and based on the comparison result, it is determined whether the headset has experienced an upper ear event, an off-ear event, or has not experienced an upper ear / off-ear event. Specifically, when the orientation change of the first data, the waveform amplitude and / or width thereof, and the timing / sequence of the orientation change and the corresponding waveform occurrence conform to the first predetermined pattern, it indicates that the headset has experienced an upper ear event; and when the orientation change of the first data, the waveform amplitude and / or width thereof, and the timing / sequence of the orientation change and the corresponding waveform occurrence conform to the second predetermined pattern, it indicates that the headset has experienced an off-ear event, and when the signal of the first data neither conforms to the first predetermined pattern nor to the second predetermined pattern, it indicates that the headset has not experienced any upper ear / off-ear event. The first predetermined pattern and the second predetermined pattern can be predetermined by technicians based on experience.
[0041] At 130, a first wearing state of the headset is determined based on second data indicating the proximity of the headset to the user's skin. In some cases, the first wearing state can be directly indicated by whether the light irradiating the headset is blocked. The second data can be measured by a proximity sensor provided in the headset, for example, the second data can be measured by a light sensor provided on the headset. The second data can be received at 110 as well as the first data.
[0042] Considering that whether the user puts on or takes off the earphone, the signal of the proximity sensor provided on the earphone will reflect the corresponding change after the signal of the acceleration sensor. In a preferred embodiment, after the upper ear event or the ear-off event is determined at 120, the proximity sensor can be started to obtain the second data. Preferably, the second data is received within a predetermined time period (e.g., 2 seconds) after the upper ear or ear-off event is determined according to the first data. In this case, in response to the upper ear event or the ear-off event being determined at 120, the proximity sensor is started to obtain the second data, and after receiving the obtained second data (such as the predetermined time period) at 130, the first wearing state of the earphone is determined based on the second data. In this case, if the upper ear or ear-off event is not detected at 120, it returns to 110 to continue to receive new first data, and the upper ear or ear-off event is determined at 120 based on the new first data. Thus, the power consumption of the earphone can be further saved.
[0043] Of course, it is also conceivable that the proximity sensor continuously monitors the earphones to obtain continuous second data, but the first wearing state of the earphones will be determined based on the second data collected for the corresponding time period only after an on-ear event or off-ear event is determined (or it is determined that the earphones are picked up, which will be described below). The advantage of continuously collecting the second data is that even when the data from the acceleration sensor does not reflect an on-ear or off-ear event, it is still possible to determine the wearing state of the earphones by detecting the second data. For example, if the acceleration data does not detect an on-ear or off-ear event, and the optical sensor data indicates that the earphones are taken off, it may be that the earphones are slowly sliding off, and thus the earphones may be automatically converted to a low-power state. This can also improve the reliability of the system when the accuracy of the acceleration sensor is reduced or it is not set up properly, resulting in incorrect data.
[0044] Typically, the second data can be compared with a second predetermined threshold to determine the first wearing state of the headset.
[0045] In one embodiment, the second predetermined threshold can represent the amplitude of the signal. Thus, the amplitude of the second data can be compared with the second predetermined threshold to determine the wearing state of the headset. For example, when the amplitude of the second data from the proximity sensor is greater than the predetermined threshold, such as indicating that the irradiated light is not blocked, it can be determined according to the second data that the headset is in the unworn state, that is, the first wearing state is the unworn state. Preferably, if the amplitude of the second data from the predetermined time period is greater than the predetermined threshold, it is determined that the headset is in the unworn state. The predetermined time period can be set to be relatively long, such as 5 seconds.
[0046] In another embodiment, the second data can be compared with a second predetermined threshold and a third predetermined threshold to determine the first wearing state of the earphone, which is particularly aimed at the off-ear situation. The second predetermined threshold also represents the amplitude of the signal, and particularly represents the amplitude of the signal amplitude drop or rise. The third predetermined threshold represents the width (duration) of the pulse. This is particularly aimed at the situation where there is a pulse signal in the second data.
[0047] When it is determined at 120 that an ear-off event has occurred, a corresponding signal in the second data (e.g., a predetermined time period), preferably an amplitude and a pulse width (duration) of a pulse signal, can be extracted and compared with a second predetermined threshold and a third predetermined threshold. For example, when the amplitude of the pulse signal extracted from the second data is greater than the second predetermined threshold, and the pulse width is greater than the third predetermined threshold, it can be determined that the earphone has been detached from the ear by the user, but the proximity sensor may be immediately blocked by other objects. Thus, the first wearing state is still determined to be a non-wearing state. Otherwise, it can be determined that the earphone is in a wearing state.
[0048] At 140, the wearing state of the headset is determined based on the determined ear-on event or ear-off event and the first wearing state. Then, the headset can enter a corresponding mode based on the determined earphone wearing state.
[0049] Specifically, if the ear-on event is detected at 120 and the first wearing state is determined to be the wearing state at 130, it means that the headset is currently in the worn state, which may correspond to the scenario that the user has just put on the headset. Therefore, at 140, it is determined that the headset is in the wearing state, and then the headset can be converted from the low power consumption mode to the normal mode.
[0050] If the ear-off event is detected at 120, and the first wearing state is determined to be the unworn state at 130, it means that the headset is in the unworn state, which may correspond to the scenario that the user has just taken off the headset. Therefore, at 140, it is determined that the headset is in the taken-off state, and then the headset can be converted from the normal mode to the low power consumption mode.
[0051] Most of the components of the headset can enter a low-power mode (such as a sleep mode), such as the microcontroller unit, Bluetooth, and proximity sensor. Unlike other components, the acceleration sensor should be ensured to be in a working state, which can measure the motion data from the headset. At the same time, the processor associated with the acceleration sensor should be in a working state so that it can determine in real time whether a movement has occurred based on the motion data of the acceleration sensor. As mentioned above, when it is determined that an ear-on or ear-off event has occurred based on the motion data from the headset, the microcontroller unit and the proximity sensor can be awakened for further processing.
[0052] Figure 2 FIG. 2 shows a method 200 for determining a wearing state of an earphone according to another embodiment. Figure 1 The illustrated embodiment has a different process for detecting the change from the earphone on-ear or off-ear event to the optical signal indicating proximity. Figure 2 The illustrated embodiment further detects the action of picking up the earphone.
[0053] It is understandable that when the earphones are put on or taken off, the user will first pick up the earphones and then drive the earphones to do the action of putting on the ear or taking them off the ear. Therefore, it will make sense to first detect the action of the earphones being picked up and then perform the detection of putting on the ear or taking them off the ear when it is detected that the earphones are picked up.
[0054] and Figure 1 Different from that shown, according to method 200, first at 204, third data representing the movement of the earphone is received. At 208, it is determined whether the earphone is picked up based on the third data, for example, this can be determined by comparing the third data with a first predetermined threshold. For example, when the amplitude of the motion data of the earphone is greater than the first predetermined threshold, it indicates that the earphone is picked up, otherwise it indicates that the earphone is not picked up. The first predetermined threshold can also be set by considering other changes in the motion data when the earphone is picked up, such as the width (duration) of the motion pulse signal. Thus, in addition to the amplitude, the width of the motion pulse signal can also be compared with the predetermined threshold. In this case, the first predetermined threshold includes an amplitude threshold and a pulse width threshold, and it can be expected that corresponding values in the third data, such as pulse amplitude and width, are extracted to compare with the first predetermined threshold.
[0055] When it is determined at step 208 that the headset is picked up, Figure 1Similar to 110 shown in FIG. 1 , first data indicating the movement of the earphone is further collected at 210, and whether the earphone experiences an on-ear event or a off-ear event is further determined at 220 based on the first data indicating the movement of the earphone. It can be understood that the first data is collected after the third data, and the two can be collected by the same sensor. Considering the time period that may be experienced from the earphone being picked up to the earphone being inserted or taken out, it is possible to determine whether the earphone experiences an on-ear or off-ear event based on the first data collected within a predetermined time period (e.g., 3 seconds) after the earphone is picked up.
[0056] In a preferred embodiment, the acceleration sensor can be set to initially collect the third data at a relatively low first data collection frequency, and when it is determined in 208 that the earphone is picked up, it is switched to collect the first data at a relatively high second data collection frequency. The above control of the acceleration sensor can be implemented by the micro control unit of the earphone in response to the corresponding signal from the acceleration sensor. In this case, the micro control unit can first be maintained in a low power consumption mode, in which mode it is sufficient as long as it can process the third data with a low sampling frequency to identify the pick-up event.
[0057] If it is not determined that the earphone has experienced an ear-on or ear-off event according to the collected first data within a predetermined period of time after it is determined that the earphone is picked up, the acceleration sensor can be returned to a state of collecting third data at a relatively low first data collection frequency.
[0058] Further, when it is determined at 208 that the earphone is picked up, a first wearing state of the earphone is also determined at 230 based on second data indicating proximity of the earphone to the user's skin.
[0059] In a preferred embodiment, the proximity sensor (such as a light sensor) that measures the second data can be set to not work or to collect the second data at a relatively low third data collection frequency, and when it is determined in 208 that the earphone is picked up, it is switched to collect the second data at a relatively high fourth data collection frequency. The collection can be maintained for a predetermined period of time, such as the above-mentioned 2 seconds. The above-mentioned control of the proximity sensor can be implemented by the micro control unit of the earphone in response to the corresponding signal from the acceleration sensor.
[0060] If it is found at 208 that the earphone is not picked up, the process returns to 204 to continue receiving new third data, and at 208 a determination is made as to whether the earphone is picked up based on the new third data.
[0061] Further, at 240, similar to 140, the wearing state of the headset is determined based on the on-ear event or off-ear event determined at 220 and the first wearing state determined at 230. The headset can then enter a corresponding mode based on the determined wearing state of the headset.
[0062] Although Figure 2 As shown, the processing of 210 and 220 is performed in parallel with 230 after the processing of 208 . It is also conceivable that the processing of 230 is performed only after the on-ear event or the off-ear event is determined in 220 .
[0063] In this case, the proximity sensor can be switched to collect the second data at a relatively high fourth data collection frequency only after an on-ear event or off-ear event is determined at 220. Then, at 230, the first wearing state is determined based on the collected second data.
[0064] Figure 3 The method 300 for determining the wearing state of the headset according to this embodiment is shown. The processes 304 and 308 are as follows: Figure 2 Processes 204 and 208 are shown to be identical.
[0065] After it is determined at 308 that the earphone is picked up, first data is collected at 310, and it is determined at 320 whether the earphone has an ear-on or ear-off event based on the collected first data. If the ear-on or ear-off event has not occurred, the process returns to 304 to continue receiving new third data. If it is determined at 320 that an ear-on or ear-off event has occurred, a first wearing state is determined at 330 based on second data acquired by the proximity sensor, and then at 340, the wearing state of the earphone is determined based on the determination results at 320 and 330.
[0066] Figure 4 FIG. 4 shows a method 400 for determining a wearing state of an earphone according to another embodiment. Figure 3 The embodiment of the present invention is different from that of the present invention, which describes in detail the processing performed after the ear-on or ear-off event is determined at 420. Among them, the processing 404-420 is different from that of the present invention. Figure 3 304-320 are the same as shown.
[0067] If it is determined at 420 that the headset has experienced an on-ear or off-ear event, and it is determined that the event experienced is an on-ear event, then at 430, the first wearing state of the headset is determined according to the second data. If it is determined at 430 that the headset is in a wearing state, such as if the light sensor data indicates that the light is blocked, then at 440, it is determined that the headset has changed to a wearing state, and then the headset can be adjusted from a low power consumption mode to a normal mode. If it is determined at 430 that the headset is still in a non-wearing state, such as if the light sensor data indicates that the light is not blocked, then return to 410 to receive new first data.
[0068] If it is determined at 420 that the headset has experienced an ear-on or ear-off event, and it is determined that the ear-off event is a first wearing state of the headset according to the second data, at 430', if it is determined at 430' that the headset is in an unworn state, such as the light sensor data indicates that the light is not blocked or the light sensor is immediately blocked by other objects after the headset is taken off, then it is determined at 440 that the headset has become an unworn state, and then the headset can be adjusted from a normal mode to a low power consumption mode. If it is determined at 430' that the headset is still in a worn state, return to 410 to receive new first data.
[0069] Reference above Figure 1-4 The methods of various embodiments are described, and it can be understood that the various processes of different embodiments can be partially combined to obtain better results, and the various processes can be changed, split, and combined to achieve the desired purpose, mainly without departing from the spirit of the present invention. The first, second, and third predetermined thresholds mentioned above can be pre-set according to different application scenarios. In addition, the predetermined time periods mentioned for different scenarios can be set by technicians as needed.
[0070] Figure 5 A device 10 for determining a wearing state of an earphone according to an embodiment is shown. The device 10 comprises a receiving unit 11, which is used to receive sensor data from a sensor of the earphone, in particular, first data representing movement of the earphone and second data representing proximity of the earphone to the user's skin. Figure 1-4 In the described method, the receiving unit 11 can be configured to receive the first data according to the processes of 110, 210, 310, and 410, and receive the second data when appropriate.
[0071] The device 10 also includes a processing unit 12, which is configured to perform further processing of the first data and the second data, as described above with reference to Figure 1-4 The various processes described except 110, 210, 310, 410. All functions of the processing unit 12 can generally be implemented by a micro control unit of the headset.
[0072] Although only one processing unit 12 is shown, it is also conceivable that Figure 1-4 The various processes shown are used to split the processing unit 12 into multiple processing units, and some of the processing units are kept in low power consumption mode and switched to normal mode when necessary.
[0073] Figure 6 The diagram shows an earphone 20 according to one embodiment using the apparatus 10 for determining the wearing state of the earphone according to various embodiments of the present invention.
[0074] In addition to the device 10 for determining the wearing state of the headset, the headset 20 also includes an acceleration sensor 21, which is used to collect first data and third data representing the movement of the headset; a proximity sensor 22, which is used to collect second data representing the proximity of the headset to the skin, and the proximity sensor is, for example, a light sensor; a speaker 23, which is used to convert an electrical signal into a sound signal and play it to the user; a microphone 24, which is used to convert a sound signal from the user into an electrical signal; a Bluetooth device 25; and a battery device 26, which is used to power the various components of the headset.
[0075] like Figure 6 The earphone 20 shown, the acceleration sensor 21 can be configured to continuously collect acceleration data, that is, the third data and the first data. The processing unit 12 in the device 10 determines whether the earphone is picked up according to the third data or whether it has experienced an ear-on or ear-off event according to the first data. If it is picked up or has experienced an ear-on or ear-off event, an interrupt signal is sent to the control unit of the earphone (not shown). The control unit can start or control the proximity sensor to collect second data at a relatively high collection frequency, so that the processing unit 12 can determine the first wearing state according to the second data, and determine the earphone wearing state based on the ear-on or ear-off event and the first wearing state. If it is determined that the earphone is in a worn state, the control unit will start the various components of the earphone to make them enter a normal working mode. Conversely, if it is determined that the earphone has just been taken off, the control unit will make the various components of the earphone enter a low power consumption mode or even a non-working mode to save energy. Figure 6 The control unit is not shown in the figure, it can be envisioned that the device 10 and the control unit are part of the micro control unit of the headset. Figure 6 Only acceleration sensors and proximity sensors are shown, and other sensors, such as temperature sensors, are not excluded to sense other sensor data for comprehensive judgment of wearing status.
[0076] The control unit can also be in a low power consumption mode (or non-working mode), and when the acceleration sensor data senses that the earphone is picked up or an ear-on event or an ear-off event occurs, the control unit is activated to the working mode by receiving an interrupt signal from the processing unit 12.
[0077] In one embodiment, it is only necessary to maintain the acceleration sensor and the corresponding processing unit in the working mode, including maintaining the acceleration sensor to collect data at a low collection frequency, and the corresponding processing unit needs to be maintained in a low power mode to ensure that the corresponding acceleration data can be processed. When the earphone is picked up or an ear-on event or an ear-off event is detected, the processing unit returns to the normal working mode, and the proximity sensor enters the normal working mode through the control unit. After the change of the earphone wearing state is determined based on the data of the comprehensive proximity sensor, the control unit can make the operating state of each component of the earphone change accordingly, such as switching to a low power mode or a normal working mode.
[0078] It is understood that the methods and devices for determining the wearing state of the headset according to various embodiments of the present disclosure can be implemented by computer programs / software. These software can be loaded into the working memory of the data processor and used to execute the methods according to various embodiments of the present disclosure when running.
[0079] Exemplary embodiments of the present disclosure cover both creating / using the computer program / software of the present disclosure from the outset and converting an existing program / software to use the computer program / software of the present disclosure by means of an update.
[0080] According to another embodiment of the present disclosure, a machine (such as a computer) readable medium is provided, such as a CD-ROM, wherein the readable medium has a computer program code stored thereon, and when the computer program code is executed, the computer or processor executes the method according to each embodiment of the present disclosure. The machine readable medium is, for example, an optical storage medium or a solid-state medium supplied together with other hardware or as part of other hardware.
[0081] The computer program for executing the methods according to the embodiments of the present disclosure may also be distributed in other forms, for example, via the Internet or other wired or wireless telecommunication systems.
[0082] The computer program may also be provided over a network like the World Wide Web and can be downloaded from such a network to a working computer of a data processor.
[0083] It must be noted that the embodiments of the present disclosure are described with reference to different subject matters. In particular, some embodiments are described with reference to method claims, while other embodiments are described with reference to device claims. However, those skilled in the art will learn from the above and following descriptions that, unless otherwise specified, in addition to any combination of features belonging to one type of subject matter, any combination of features involving different subject matters is also deemed to be disclosed by the present application. Furthermore, all features can be combined to provide a synergistic effect that is greater than the simple sum of the features.
[0084] The above describes specific embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0085] The present disclosure is described above with reference to specific embodiments. It should be understood by those skilled in the art that the technical solution of the present disclosure can be implemented in various ways without departing from the spirit and basic features of the present disclosure. The specific embodiments are merely illustrative and not restrictive. In addition, these embodiments can be arbitrarily combined to achieve the purpose of the present disclosure. The scope of protection of the present disclosure is defined by the attached claims.
[0086] The word "comprising" in the specification and claims does not exclude the existence of other elements or steps, and the expressions "first", "second", etc. do not indicate the order or limit the quantity. The functions of the various elements described in the specification or recorded in the claims may also be split or combined and implemented by corresponding multiple elements or a single element.
Claims
1. A method for determining a wearing state of an earphone, comprising: The on-ear event or off-ear event experienced by the earphone is determined based on first data representing the movement of the earphone, wherein: The first data is compared with a first predetermined pattern indicating the supra-ear event of the earphone and a second predetermined pattern indicating the off-ear event of the earphone, respectively, and based on the comparison result, it is determined that the earphone has experienced the supra-ear event or the off-ear event, wherein the first predetermined pattern includes firstly indicating an orientation change of a predetermined size or size range and then one or more waveforms of a predetermined amplitude and / or width appearing within a predetermined time, and the second predetermined pattern includes firstly indicating one or more waveforms of a predetermined amplitude and / or width and then an orientation change of a predetermined size or size range appearing within a predetermined time; determining a first wearing state of the headset based on second data indicating proximity of the headset to the user's skin; as well as The wearing state of the earphone is determined based on the determined on-ear event or off-ear event and the first wearing state.
2. The method according to claim 1, wherein: The determining the wearing state of the headset includes: When it is determined that the headset has experienced the upper ear event and the first wearing state indicates that the headset is in a worn state, the wearing state of the headset is determined to be a worn state.
3. The method according to claim 2, wherein: The determining the wearing state of the headset includes: When it is determined that the earphone has experienced the ear-off event and the first wearing state indicates that the earphone is in a not-worn state, the wearing state of the earphone is determined to be a not-worn state.
4. The method according to claim 1, further comprising comparing third data representing the movement of the earphone with a first predetermined threshold to determine whether the earphone is picked up, wherein: The third data is collected before the first data; Wherein, the determining of the earphone on-ear event or off-ear event comprises: In response to determining that the earphone is picked up, determining the on-ear event or the off-ear event of the earphone based on the first data.
5. The method according to claim 1 or 4, wherein: Determining the first wearing state of the headset includes In response to determining the on-ear event or the off-ear event, determining the first wearing state of the earphone based on the second data representing proximity of the earphone to the user's skin.
6. The method according to claim 4, wherein: Determining the first wearing state of the headset includes In response to determining that the earphone is picked up, the first wearing state of the earphone is determined based on the second data representing the proximity of the earphone to the user's skin.
7. The method according to any one of claims 1 to 4, wherein: Determining the first wearing state of the headset includes comparing the amplitude of the second data with a second predetermined threshold; as well as The first wearing state of the headset is determined based on a result of the comparison.
8. The method according to claim 5, wherein: Determining the first wearing state of the headset includes In response to determining the ear-off event, extracting a pulse signal in the second data; comparing the amplitude and pulse width of the pulse signal with a second predetermined threshold and a third predetermined threshold respectively; as well as The first wearing state of the headset is determined based on a result of the comparison.
9. A device for determining a wearing state of an earphone, comprising: a receiving unit configured to acquire first data indicating movement of the earphone, third data, and second data indicating proximity of the earphone to a user's skin; and A processing unit configured to perform the method steps according to any one of claims 1-8.
10. A headset comprising an acceleration sensor, configured to collect first data and third data representing the movement of the earphone; a proximity sensor for collecting second data representing the proximity of the earphone to the user's skin, and The device for determining the wearing state of an earphone according to claim 9.
11. The headset according to claim 10, further comprising a control unit for switching a working state of the headset based on the determined wearing state of the headset.
12. The headset according to claim 11, wherein The control unit is further configured to, in response to determining that the earphone is picked up based on the third data or in response to determining that the earphone experiences an on-ear event or off-ear event based on the first data, start the proximity sensor to collect the second data.
13. The headset according to claim 11, wherein: The control unit is further configured to enable the acceleration sensor to collect the first data at a second data collection frequency higher than the first data collection frequency in response to determining that the earphone is picked up based on the third data, wherein the third data is collected at the first data collection frequency.
14. A computer program product comprising computer program instructions which, when executed, cause a processor to perform the method steps according to any one of claims 1 to 8.
