CN115314825A - Wireless in-ear earphone detection method, earphone and storage medium - Google Patents

Wireless in-ear earphone detection method, earphone and storage medium Download PDF

Info

Publication number
CN115314825A
CN115314825A CN202110497069.XA CN202110497069A CN115314825A CN 115314825 A CN115314825 A CN 115314825A CN 202110497069 A CN202110497069 A CN 202110497069A CN 115314825 A CN115314825 A CN 115314825A
Authority
CN
China
Prior art keywords
earphone
ear
wearing state
sensor
value
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.)
Pending
Application number
CN202110497069.XA
Other languages
Chinese (zh)
Inventor
许超杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110497069.XA priority Critical patent/CN115314825A/en
Priority to PCT/CN2022/082218 priority patent/WO2022233192A1/en
Publication of CN115314825A publication Critical patent/CN115314825A/en
Pending legal-status Critical Current

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
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • 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

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)
  • General Physics & Mathematics (AREA)
  • Headphones And Earphones (AREA)

Abstract

The embodiment of the application discloses a wireless in-ear earphone detection method, an earphone and a storage medium, wherein a first earphone and a second earphone of the wireless in-ear earphone respectively comprise a sensor; wherein a tragus-side housing of the first earpiece includes the sensor and an opposing tragus-side housing of the second earpiece includes the sensor, the method comprising: collecting a detection value through a sensor; determining a wearing state of the first and/or second headset based on the detection value. Like this, need not fixed earphone about to the in-ear earphone, but the wearing state of earphone about detecting through the sensor that sets up to earphone's playback mode about nimble setting avoids using the broadcast effect because of the user wears the mistake, improves wireless earphone's use and experiences.

Description

Wireless in-ear earphone detection method, earphone and storage medium
Technical Field
The present application relates to the field of wireless headsets, and in particular, to a wireless in-ear headset detecting method, a headset, and a storage medium.
Background
The left ear and the right ear of the existing wireless earphone are fixed through the structural design, for example, the right ear cannot be placed in the design of the left earphone of some wireless earphones, the left ear cannot be placed in the design of the right earphone, the left sound channel is output by the left earphone of some wireless earphones, and the right sound channel is output by the right earphone. Like this, the ear design about fixed can't wear wireless earphone on the ear at will, if the earphone wears the mistake, can influence earphone broadcast effect to and user's the experience of wearing.
Disclosure of Invention
In order to solve the foregoing technical problems, embodiments of the present application are directed to a wireless in-ear earphone detection method, an earphone and a storage medium.
The technical scheme of the application is realized as follows:
in a first aspect, a method for detecting a wireless in-ear earphone is provided, where a first earphone and a second earphone of the wireless in-ear earphone each include a sensor; wherein a tragus side housing of the first earpiece includes the sensor and an opposing tragus side housing of the second earpiece includes the sensor, the method comprising:
collecting a detection value through a sensor;
determining a wearing state of the first and/or second headset based on the detection value.
In a second aspect, there is provided a wireless in-ear headphone,
the first earphone and the second earphone of the wireless in-ear earphone respectively comprise a sensor and a processor; wherein a tragus side housing of the first earpiece comprises the sensor and an opposing tragus side housing of the second earpiece comprises the sensor, wherein,
the sensor is used for acquiring a detection value;
the processor is used for determining the wearing state of the first earphone and/or the second earphone based on the detection value.
In a third aspect, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to the first aspect.
The embodiment of the application provides a wireless in-ear earphone detection method, an earphone and a storage medium, wherein a first earphone and a second earphone of the wireless in-ear earphone respectively comprise a sensor; wherein a tragus-side housing of the first earpiece includes the sensor and an opposing tragus-side housing of the second earpiece includes the sensor, the method comprising: collecting a detection value through a sensor; determining a wearing state of the first and/or second headset based on the detection value. Like this, need not fixed earphone about to the in-ear earphone, but the wearing state of earphone about detecting through the sensor that sets up to earphone's playback mode about nimble setting avoids using the broadcast effect because of the user wears the mistake, improves wireless earphone's use and experiences.
Drawings
Fig. 1 is a schematic diagram of a right ear wearing of an in-ear headphone according to an embodiment of the present application;
fig. 2 is a schematic left ear wearing diagram of an in-ear headphone according to an embodiment of the present application;
fig. 3 is a first flowchart of a wireless in-ear headphone detection method according to an embodiment of the present application;
FIG. 4 is a second flowchart of a wireless in-ear headphone detection method according to an embodiment of the present application;
fig. 5 is a third flowchart of a wireless in-ear headphone detection method according to an embodiment of the present application;
fig. 6 is a fourth flowchart illustrating a wireless in-ear headphone detection method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a wireless in-ear headphone according to an embodiment of the present application.
Detailed Description
So that the manner in which the features and elements of the present embodiments can be understood in detail, a more particular description of the embodiments, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
The embodiment of the application provides a wireless in-ear earphone detection method, wherein a first earphone and a second earphone of the wireless in-ear earphone respectively comprise a sensor; wherein a tragus-side housing of the first earpiece includes the sensor and an opposing tragus-side housing of the second earpiece includes the sensor.
It can be understood that the sensor positions of the two earphones are the same, but the sensor detection positions are different when the two ears are in the ear insertion state at the same time.
As shown in fig. 1, which is a schematic view of the first earphone being worn on the right ear, the sensor 11 of the first earphone is close to the ear-screen side (i.e. the first position), and correspondingly, when the first earphone is worn on the left ear, the sensor 11 of the first earphone is close to the opposite ear-screen side (i.e. the second position).
As shown in fig. 2, which is a schematic view of the second earphone being worn on the left ear, the sensor 21 of the second earphone is close to the opposite ear-screen side (i.e. the second position), and correspondingly, when the second earphone is worn on the right ear, the sensor 21 of the second earphone is close to the ear-screen side (i.e. the first position). Therefore, the contact characteristics of the two earphones collected by the sensors on different ears are different, and the wearing state of the earphones can be judged according to the detection values collected by the sensors.
On the basis of the wireless in-ear headphone, an embodiment of the present application provides a method for detecting a wireless in-ear headphone, fig. 3 is a first flowchart of the method for detecting a wireless in-ear headphone in an embodiment of the present application, and as shown in fig. 3, the method may specifically include:
step 301: collecting a detection value through a sensor;
step 302: determining a wearing state of the first and/or second headset based on the detection value.
In some embodiments, the sensor is one of: a contact area sensor, a pressure sensor, a temperature sensor, or a light sensor.
Correspondingly, when the sensor is a pressure sensor, the detection value is a pressure value; when the sensor is a temperature sensor, the detection value is a temperature value; when the sensor is a light sensor, the detected value is the amount of light entering.
As shown in fig. 1, when the in-ear headphone is in a wearing state, it is determined whether the in-ear headphone is worn on the left ear or the right ear according to a difference between contact characteristics of the in-ear headphone, such as a contact area, a pressure, a distance, and the like, between a position near the tragus (a position corresponding to the sensor 11, which may be referred to as a first position) and a position on the opposite side (which may be referred to as a second position). In the embodiment of the application, the arrangement position of the sensor can be determined according to the contact characteristics of the earphone and the ear canal, and the larger the difference of the contact characteristics is, the higher the detection accuracy is. Illustratively, the first earpiece is worn on the left ear with the sensor positioned in contact with a first location of the ear and the sensor positioned opposite the first location of the ear in non-contact with a second location of the ear. On the contrary, when the ear-protection device is worn on the right ear, the position of the sensor is in contact with the second position of the ear, and the position of the opposite side of the sensor is not in contact with the first position of the ear.
When the sensor is a pressure sensor, a temperature sensor or a light sensor, whether the first earphone and/or the second earphone is in a left-ear wearing state or a right-ear wearing state is determined by comparing the detection value with the detection threshold value.
In some embodiments, upon detecting that the first earpiece and/or the second earpiece switch from a non-in-ear state to an in-ear state, turning on a respective sensor; after determining the wearing state of the first earphone and/or the second earphone, turning off the corresponding sensor. That is, when the earphone is switched from the non-in-ear state to the in-ear state, the wearing operation of the earphone by the user is indicated, the wearing state detection is required, and the sensor is started; in other states, the wearing detection is not needed, and the sensor can be closed, so that the power consumption of the earphone is reduced.
In other embodiments, the sensor may be in a normally open state or may be in a normally open state.
In some embodiments, the method further comprises: and controlling the first earphone and/or the second earphone to work in an earphone playing mode corresponding to the wearing state of the first earphone and/or the second earphone. Here, the headphone play mode is a left ear play mode or a right ear play mode. For an in-ear headphone user, two headphones can be used simultaneously, or one headphone can be used alone. The two earphones do not need to be distinguished from each other, and the earphones can automatically identify the ears worn by each earphone according to the detection values of the first sensor and the second sensor after being worn, so that the earphones are controlled to work in an earphone playing mode corresponding to the wearing state of the earphones, the playing effect is prevented from being influenced due to the wearing error of the user, and the use experience of the user on the wireless earphones is improved. In addition, the left earphone and the right earphone can be set to be identical, and design cost and manufacturing cost are saved.
The detection methods of the different sensors are further exemplified below.
In some embodiments, the sensor is a contact area sensor and the detection value is a contact area value;
the determining a wearing state of the first earphone and/or the second earphone based on the detection value comprises:
under predetermined conditions
When the contact area value is larger than the area threshold value, determining that the first earphone is in a right ear wearing state, and when the contact area value is smaller than the area threshold value, determining that the first earphone is in a left ear wearing state;
when the contact area value is larger than the area threshold value, the second earphone is determined to be in a right ear wearing state, and when the contact area value is smaller than the area threshold value, the second earphone is determined to be in a left ear wearing state.
That is, the left and right headphone recognition methods of the first headphone and the second left ear are identical.
As shown in fig. 1, the contact area of the earphone on the opposite tragus side (i.e. the second position) is smaller due to the larger contact area of the earphone on the tragus side (i.e. the first position). At this time, when the in-ear headphone is in a right ear wearing state, the first sensor is used for detecting a contact area value of a first position of the ear of the right ear, and the detected contact area value is large. On the contrary, when the in-ear headphone is in the left ear wearing state, the sensor is used for detecting the contact area value of the second position of the left ear, and the detected contact area value is smaller.
Therefore, when the sensor of the first earphone detects that the contact area value is larger than the area threshold value, the first earphone is determined to be worn on the right ear, and when the contact area value is smaller than the area threshold value, the first earphone is determined to be worn on the left ear. When the sensor of the second earphone detects that the contact area value is larger than the area threshold value, the second earphone is determined to be worn on the right ear, and when the contact area value is smaller than the area threshold value, the second earphone is determined to be worn on the left ear.
Here, the area threshold may be obtained by analyzing and counting a large amount of detection data with respect to the contact areas of the first position and the second position when the in-ear headphone is worn by different persons, in advance.
In some embodiments, the sensor is a pressure sensor, and the detection value is a pressure value;
the determining a wearing state of the first earphone and/or the second earphone based on the detection value comprises:
under the condition of the predetermined condition, the method can be used,
when the pressure value is greater than the pressure threshold value, determining that the first earphone is in a right ear wearing state, and when the pressure value is smaller than the pressure threshold value, determining that the first earphone is in a left ear wearing state;
and when the pressure value is greater than the pressure threshold value, determining that the second earphone is in a right ear wearing state, and when the pressure value is less than the pressure threshold value, determining that the second earphone is in a left ear wearing state.
As shown in fig. 1, since the earphone has a larger contact area at the first position of the ear, the earphone exerts a larger pressure on the first position, the earphone has a smaller contact area at the second position of the ear, and the earphone exerts a smaller pressure on the second position. At this time, when the in-ear headphone is in a right ear wearing state, the sensor is used for detecting a pressure value of a first position of an ear of the right ear, and the detected pressure value is large. On the contrary, when the in-ear earphone is in the left ear wearing state, the sensor is used for detecting the pressure value of the second position of the left ear, and the detected pressure value is smaller.
Therefore, when the sensor of the first earphone detects that the pressure value is larger than the pressure threshold value, the first earphone is determined to be worn on the right ear, and when the pressure value is smaller than the pressure threshold value, the first earphone is determined to be worn on the left ear. When the pressure value detected by the sensor of the second earphone is larger than the pressure threshold value, the second earphone is determined to be worn on the right ear, and when the pressure value is smaller than the pressure threshold value, the second earphone is determined to be worn on the left ear.
Here, the pressure threshold may be obtained by analyzing and counting a large amount of detection data with respect to the pressure values at the first position and the second position by detecting in advance that the in-ear headphone is worn by different persons, and is suitable for left and right ear determination.
In some embodiments, the sensor is a temperature sensor and the detection value is a temperature threshold;
the determining a wearing state of the first earphone and/or the second earphone based on the detection value comprises:
under the condition of the predetermined condition, the method can be used,
when the temperature threshold is larger than the temperature threshold, determining that the first earphone is in a right ear wearing state, and when the temperature threshold is smaller than the temperature threshold, determining that the first earphone is in a left ear wearing state;
when the temperature threshold is larger than the temperature threshold, the second earphone is determined to be in a right ear wearing state, and when the temperature threshold is smaller than the temperature threshold, the second earphone is determined to be in a left ear wearing state.
As shown in fig. 1, since the contact area of the earphone at the first position of the ear is large, the temperature value detected at the first position is greatly influenced by the temperature of the human body, the contact area of the earphone at the second position of the ear is small, and the temperature detected at the second position is less influenced by the temperature of the human body. At this time, when the in-ear earphone is in a right ear wearing state, the sensor is used for detecting a temperature value of a first position of a right ear, and the detected temperature value is large. On the contrary, when the in-ear earphone is in the left ear wearing state, the sensor is used for detecting the temperature value of the second position of the left ear, and the detected temperature value is smaller.
Therefore, when the sensor of the first earphone detects that the temperature value is larger than the temperature threshold value, the first earphone is determined to be worn on the right ear, and when the temperature value is smaller than the temperature threshold value, the first earphone is determined to be worn on the left ear. When the temperature value detected by the sensor of the second earphone is greater than the temperature threshold value, the second earphone is determined to be worn on the right ear, and when the temperature value is less than the temperature threshold value, the second earphone is determined to be worn on the left ear.
Here, the pressure threshold may be obtained by analyzing and counting a large amount of detection data with respect to the pressure values at the first position and the second position by detecting in advance that the in-ear headphone is worn by different persons, and is suitable for left and right ear determination.
In some embodiments, the sensor is a light sensor, and the detection value is an amount of light entering;
the determining a wearing state of the first earphone and/or the second earphone based on the detection value comprises:
under the condition of the predetermined condition, the method can be used,
when the light incoming amount is smaller than the light incoming amount threshold value, determining that the first earphone is in a right ear wearing state, and when the light incoming amount is larger than the light incoming amount threshold value, determining that the first earphone is in a left ear wearing state;
when the light entering amount is smaller than the light entering amount threshold value, the second earphone is determined to be in a left ear wearing state, and when the light entering amount is larger than the light entering amount threshold value, the second earphone is determined to be in a right ear wearing state.
The light sensor has self-emitting and self-receiving functions, the wearing state is judged according to the light receiving quantity, and the light sensor can sense visible light signals or non-visible light signals. As shown in fig. 1, since the contact area of the earphone at the first position of the ear is larger, the first position has a larger influence on light transmission, the incident light quantity reflected by the first position to enter the light sensor is smaller, the detected incident light quantity is smaller, the contact area of the earphone at the second position of the ear is smaller, the second position has a smaller influence on light transmission, the incident light quantity reflected by the second position to enter the light sensor is larger, and the detected incident light quantity is larger. At this time, when the in-ear headphone is in a right-ear wearing state, the sensor is configured to detect an amount of light entering at a first position of an ear of the right ear. In contrast, when the in-ear headphone is in the left-ear wearing state, the sensor is configured to detect an amount of incoming light at a second position of the ear of the left ear.
Therefore, when the sensor of the first earphone detects that the light entering amount is larger than the light entering amount threshold value, the first earphone is determined to be worn on the right ear, and when the light entering amount is smaller than the light entering amount threshold value, the first earphone is determined to be worn on the left ear. When the sensor of the second earphone detects that the light entering amount is larger than the light entering amount threshold value, the second earphone is determined to be worn on the right ear, and when the light entering amount is smaller than the light entering amount threshold value, the second earphone is determined to be worn on the left ear.
Here, the light amount threshold value may be obtained by preliminarily detecting the light amount of the in-ear headphone at the first position and the second position when the in-ear headphone is worn by a different person, and analyzing and counting a large amount of detection data, thereby obtaining the light amount threshold value suitable for the left and right ear determination.
In some embodiments, the predetermined condition comprises any one of: the first earphone and the second earphone are in a communication disconnection state; the first earphone and the second earphone are in a communication connection state, and the first earphone or the second earphone is in an in-ear state; and the first earphone and the second earphone are in a communication connection state, and the first earphone and the second earphone are in an in-ear state.
That is to say, the earphone detection method provided by the embodiment of the present application can be implemented for one earphone separately; or only one earphone is in the in-ear state or two earphones are in the in-ear state simultaneously when the two earphones are in the communication connection state.
Further, in some embodiments, when the first earphone performs wearing state detection, the first earphone serves as a receiving end, the first earphone and the second earphone are in a communication connection state, and the first earphone and the second earphone are in an in-ear state, as shown in fig. 4, the method further includes:
step 401: the first earphone receives second detection information sent by the second earphone;
in some embodiments, the method further comprises: and in a preset time period, the first earphone does not receive second detection information sent by the second earphone, and the first earphone determines that the first earphone is in a left ear wearing state or a right ear wearing state based on the first detection information.
That is to say, if the first earphone receives the second detection information overtime, the first earphone does not need to use the detection information of the second earphone for judgment, and the current wearing state is directly determined according to the first detection information.
Step 402: when the first detection information of the first earphone is consistent with the second detection information, determining that the first detection information is wrong;
the detection information (including the first detection information and the second detection information) may be a left earphone wearing state or a right earphone wearing state.
In some embodiments, upon determining that the detected information error (here, the first detected information error), the method further comprises: re-executing the wireless in-ear headphone detection method; or generating and outputting prompt information for detecting errors.
That is, if the first detection information and the second detection information are consistent, it is indicated that two earphones are worn on one ear, and there is certainly one earphone detection error, a prompt message (for example, a prompt sound of a droplet or an abnormal light signal) may be generated to prompt the user to manually find a problem. Or generating a re-detection instruction to control the first earphone and the second earphone to re-execute the detection operation.
Step 403: and when the first detection information of the first earphone is consistent with the second detection information, determining that the first detection information is correct.
That is to say, if both earphones are in a wearing state, mutual verification can be performed according to respective detection information, so that the detection accuracy is improved.
When the second earphone is used as a receiving end during the wearing state detection, the first earphone and the second earphone are in a communication connection state, and the first earphone and the second earphone are in an in-ear state, as shown in fig. 5, the method further includes:
step 501: the second earphone receives first detection information sent by the first earphone;
in some embodiments, the method further comprises: and in a preset time period, the second earphone does not receive the first detection information sent by the first earphone, and the second earphone determines that the second earphone is in a left ear wearing state or a right ear wearing state based on the second detection information.
That is, if the second earphone receives the first detection information overtime, the second earphone does not need to use the detection information of the first earphone for judgment, and the current wearing state is determined directly according to the second detection information.
Step 502: when the second detection information of the second earphone is consistent with the first detection information, determining that the second detection information is wrong;
in some embodiments, upon determining that the detected information error (here, the second detected information error), the method further comprises: re-executing the wireless in-ear headphone detection method; or generating and outputting prompt information for detecting errors.
That is, if the first detection information and the second detection information are consistent, it indicates that two earphones are worn on one ear, and there is certainly one earphone detection error, and prompt information (for example, a prompt sound of a droplet or an abnormal light signal) may be generated to prompt the user to manually search for a problem. Or generating a re-detection instruction to control the first earphone and the second earphone to re-execute the detection operation.
Step 503: when the second detection information of the second earphone is inconsistent with the first detection information, determining that the second detection information is correct; wherein, the detection information is the wearing state of the left earphone or the wearing state of the right ear.
In some embodiments, the detection information (including the first detection information and the second detection information) may also be a detection value.
Accordingly, the first earphone and the second earphone are in a communication connection state, and the first earphone and the second earphone are in an in-ear state, the method further comprises:
the first earphone receives second detection information sent by the second earphone;
when the wearing state represented by the first detection information is consistent with the wearing state represented by the second detection information, determining that the first detection information is wrong;
and when the wearing state represented by the first detection information is inconsistent with the wearing state represented by the second detection information, determining that the first detection information is correct.
Or
The second earphone receives first detection information sent by the first earphone;
when the wearing state represented by the first detection information is consistent with the wearing state represented by the second detection information, determining that the first detection information is wrong;
and when the wearing state represented by the first detection information is inconsistent with the wearing state represented by the second detection information, determining that the first detection information is correct.
In some embodiments, the method further comprises: when the first detection information is determined to be correct, controlling the first earphone to work in an earphone playing mode corresponding to the wearing state of the first earphone; and when the second detection information is determined to be correct, controlling the second earphone to work in an earphone playing mode corresponding to the wearing state of the second earphone.
Like this, need not fixed earphone about to the in-ear earphone, need not fixed earphone about to wireless in-ear earphone, but the wearing state of earphone about detecting through the sensor that sets up to earphone's playback mode about nimble setting avoids using the broadcast effect because of the user wears the mistake, improves wireless earphone's use and experiences. In addition, the left earphone and the right earphone can be set to be identical, and the design cost and the manufacturing cost are also saved.
It should be noted that, the first earphone and the second earphone are only used for distinguishing two earphones of the wireless earphone, the first earphone can also be regarded as the second earphone, and the second earphone can also be regarded as the first earphone.
Based on the above-mentioned wireless in-ear headphone detection method, the sensor further exemplifies an area sensor, and fig. 6 is a fourth flowchart of the wireless in-ear headphone detection method in the embodiment of the present application, as shown in fig. 6, the method includes:
step 601: the earphone is worn in the ear;
step 602: judging whether the two earphones are in a connection state, if not, executing a step 603; if yes, go to step 604;
step 603: the local contact area value is larger than the area threshold value; if yes, determining the earphone as a right earphone; if not, determining the earphone as a left earphone;
here, the local terminal earphone is the first earphone, and the opposite terminal earphone is the second earphone; the local terminal earphone is the second earphone, and the opposite terminal earphone is the first earphone.
That is to say, if the two earphones are in the off state, the left earphone and the right earphone are identified by adopting a single-ear detection method, and the two earphones are not required to transmit detection results to verify each other.
In some embodiments, if two earphones are in a connected state, but one earphone is in an in-ear state and the other earphone is in an out-of-ear state, it is not necessary for the two earphones to transmit detection results for mutual verification, and in this state, it may also be understood that one earphone receives a detection signal of the other earphone when time elapses.
Step 604: requesting to acquire an opposite terminal detection signal;
that is, if both earphones are in the connected state and in the in-ear state, the detection accuracy can be improved by performing mutual authentication based on the respective detection results.
If the two earphones are in the connected state but are not in the ear-entering state, the left ear and the right ear are not judged.
Step 605: judging whether the opposite end detection message is overtime, if yes, executing step 603; if not, go to step 606;
step 606: judging that the contact area value of the opposite end is smaller than that of the local end, and if so, determining the earphone as a right earphone; if not, determining the earphone as a left earphone;
that is to say, if the local earphone is worn on the right ear and the sensor is close to the tragus, the opposite earphone is worn on the left ear and the sensor is close to the opposite tragus side, and the local contact area value acquired by the sensor of the local earphone is larger than the opposite contact area value.
If the local end earphone is worn on the left ear and the sensor is close to the opposite ear screen side, the opposite end earphone is worn on the right ear and the sensor is close to the ear screen, and the local end contact area value acquired by the sensor of the local end earphone is smaller than the opposite end contact area value.
By adopting the left and right earphone automatic identification technology, the left and right earphones do not need to be distinguished in structure and appearance of the earphones, and the left and right earphones do not need to be distinguished when earphone manufacturers produce the earphones. The contact area value can be collected through the contact area sensor arranged on the earphone, the left earphone and the right earphone are distinguished according to the contact area value, and therefore wearing experience of a user is guaranteed, and the earphone playing effect is achieved.
Embodiments of the present application also provide a wireless in-ear headset, as shown in figure 7,
the first earphone and the second earphone of the wireless in-ear earphone respectively comprise a sensor 701 and a processor 702; wherein a tragus side housing of the first earpiece comprises the sensor 701 and an opposite tragus side housing of the second earpiece comprises the sensor 701, wherein,
the sensor 701 is used for acquiring a detection value;
the processor 702 is configured to determine a wearing status of the first earphone and/or the second earphone based on the detection value.
In some embodiments, the sensor is one of: a contact area sensor, a pressure sensor, a temperature sensor, or a light sensor.
In some embodiments, the sensor is a contact area sensor and the detection value is a contact area value;
the processor 702 is specifically configured to determine that the first earphone is in a right ear wearing state when the contact area value is greater than the area threshold value under a predetermined condition, and determine that the first earphone is in a left ear wearing state when the contact area value is less than the area threshold value; when the contact area value is larger than the area threshold value, the second earphone is determined to be in a right ear wearing state, and when the contact area value is smaller than the area threshold value, the second earphone is determined to be in a left ear wearing state.
In some embodiments, the sensor is a pressure sensor, and the detection value is a pressure value;
the processor 702 is specifically configured to determine that the first earphone is in a right ear wearing state when the pressure value is greater than the pressure threshold value under a predetermined condition, and determine that the first earphone is in a left ear wearing state when the pressure value is less than the pressure threshold value; when the pressure value is greater than the pressure threshold value, the second earphone is determined to be in a right ear wearing state, and when the pressure value is smaller than the pressure threshold value, the second earphone is determined to be in a left ear wearing state.
In some embodiments, the sensor is a temperature sensor and the detection value is a temperature threshold;
the processor 702 is specifically configured to determine that the first earphone is in a right ear wearing state when the temperature threshold is greater than the temperature threshold under a predetermined condition, and determine that the first earphone is in a left ear wearing state when the temperature threshold is less than the temperature threshold; and when the temperature threshold is smaller than the temperature threshold, determining that the second earphone is in a left ear wearing state.
In some embodiments, the sensor is a light sensor, and the detection value is an amount of light entering; a processor 702, specifically configured to determine that the first earphone is in a right ear wearing state when the light incoming amount is smaller than a light incoming amount threshold value under a predetermined condition, and determine that the first earphone is in a left ear wearing state when the light incoming amount is larger than the light incoming amount threshold value; when the light incoming amount is smaller than the light incoming amount threshold value, the second earphone is determined to be in a left ear wearing state, and when the light incoming amount is larger than the light incoming amount threshold value, the second earphone is determined to be in a right ear wearing state.
In some embodiments, the predetermined condition comprises any one of: the first earphone and the second earphone are in a communication disconnection state; the first earphone and the second earphone are in a communication connection state, and the first earphone or the second earphone is in an in-ear state; and the first earphone and the second earphone are in a communication connection state, and the first earphone and the second earphone are in an in-ear state.
In some embodiments, the first earphone and the second earphone are in a communication connection state, and the first earphone and the second earphone are in an in-ear state, the processor is further configured to control the first earphone to receive second detection information sent by the second earphone; when the first detection information of the first earphone is consistent with the second detection information, determining that the first detection information is wrong; when the first detection information of the first earphone is inconsistent with the second detection information, determining that the first detection information is correct; and the detection information is the wearing state of the left earphone or the wearing state of the right earphone.
In some embodiments, the detection information (including the first detection information and the second detection information) may also be a first detection value and a second detection value.
Correspondingly, the first earphone and the second earphone are in a communication connection state, and the first earphone and the second earphone are in an in-ear state, the processor 702 is further configured to control the first earphone to receive second detection information sent by the second earphone; when the wearing state represented by the first detection information is consistent with the wearing state represented by the second detection information, determining that the first detection information is wrong; and when the wearing state represented by the first detection information is inconsistent with the wearing state represented by the second detection information, determining that the first detection information is correct. Or
The processor 702 is further configured to control the second earphone to receive the first detection information sent by the first earphone; when the wearing state represented by the first detection information is consistent with the wearing state represented by the second detection information, determining that the first detection information is wrong; and when the wearing state represented by the first detection information is inconsistent with the wearing state represented by the second detection information, determining that the first detection information is correct.
In some embodiments, the processor 702 is further configured to, within a preset time period, control the first earphone to determine that the first earphone is in a left-ear wearing state or a right-ear wearing state based on the first detection information that the first earphone does not receive the second detection information sent by the second earphone.
In some embodiments, the first earphone and the second earphone are in a communication connection state, and the first earphone and the second earphone are in an in-ear state, the processor 702 is further configured to receive, by the second earphone, the first detection information sent by the first earphone; when second detection information of the second earphone is consistent with the first detection information, determining that the second detection information is wrong; when the second detection information of the second earphone is inconsistent with the first detection information, determining that the second detection information is correct; and the detection information is the wearing state of the left earphone or the wearing state of the right earphone.
In some embodiments, the processor 702 is further configured to, within a preset time period, the second earphone does not receive the first detection information sent by the first earphone, and the second earphone determines that the second earphone is in a left-ear wearing state or a right-ear wearing state based on the second detection information.
In some embodiments, the processor 702 is further configured to re-execute the wireless in-ear headphone detection method when it is determined that the detection information is erroneous; or generating and outputting prompt information for detecting errors.
In some embodiments, the processor 702 is further configured to turn on the corresponding sensor when detecting that the first earphone and/or the second earphone switches from the non-in-ear state to the in-ear state; after determining the wearing state of the first earphone and/or the second earphone, turning off the corresponding sensor.
It should be noted that, the first earphone and the second earphone of the wireless in-ear earphone may both be provided with a processor, and the two earphones are respectively controlled to implement the wireless in-ear earphone detection method. In other embodiments, the first earphone and the second earphone may only include one processor for controlling both earphones to implement the wireless in-ear earphone detection method described above. The embodiment of the present application does not specifically limit other hardware structures and control methods of the earphone.
In practical applications, the wireless in-ear headphone further includes a memory, where the memory is used to store a computer program, and the processor is configured to execute the steps of the wireless in-ear headphone detection method in any of the foregoing embodiments when the processor runs the computer program.
Of course, in practice, the various components of the wireless headset are coupled together by a bus system. It will be appreciated that a bus system is used to enable the communication of the connections between these components. The bus system includes a power bus, a control bus, and a status signal bus in addition to a data bus.
Above-mentioned wireless in-ear earphone need not fixed earphone about, but the wearing state of earphone about detecting through the sensor that sets up to earphone's playback mode about nimble setting avoids using the broadcast effect because of the user wears the mistake, improves wireless earphone's use and experiences.
In an exemplary embodiment, the present application further provides a computer readable storage medium, such as a memory including a computer program, which is executable by a processor of a wireless in-ear headphone to perform the steps of the aforementioned wireless in-ear headphone detection method.
In practical applications, the wireless headset further includes a memory, the memory is used for storing a computer program, and the processor is configured to execute the method steps in any of the foregoing embodiments when the processor runs the computer program.
Of course, in practice, the various components of the wireless headset are coupled together by a bus system. It will be appreciated that a bus system is used to enable the communication of the connections between these components. The bus system includes a power bus, a control bus, and a status signal bus in addition to a data bus.
In practical applications, the processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, and a microprocessor. It is understood that the electronic devices for implementing the above processor functions may be other devices, and the embodiments of the present application are not limited in particular.
The Memory may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (HDD), or a Solid-State Drive (SSD); or a combination of the above types of memories and provides instructions and data to the processor.
It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. The expressions "having", "may have", "include" and "contain", or "may include" and "may contain" in this application may be used to indicate the presence of corresponding features (e.g. elements such as values, functions, operations or components) but does not exclude the presence of additional features.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another, and are not necessarily used to describe a particular order or sequence. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present invention.
The technical solutions described in the embodiments of the present application can be arbitrarily combined without conflict.
In the several embodiments provided in the present application, it should be understood that the disclosed method, apparatus, and device may be implemented in other ways. The above-described embodiments are merely illustrative, and for example, the division of a unit is only one logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or in other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application.

Claims (14)

1. A wireless in-ear earphone detection method is characterized in that a first earphone and a second earphone of the wireless in-ear earphone respectively comprise a sensor; wherein a tragus-side housing of the first earpiece includes the sensor and an opposing tragus-side housing of the second earpiece includes the sensor, the method comprising:
collecting a detection value through a sensor;
determining a wearing state of the first and/or second headset based on the detection value.
2. The method of claim 1, wherein the sensor is a contact area sensor and the detection value is a contact area value;
the determining a wearing state of the first earphone and/or the second earphone based on the detection value comprises:
under the condition of the predetermined condition, the air conditioner is in a closed state,
when the contact area value is larger than the area threshold value, determining that the first earphone is in a right ear wearing state, and when the contact area value is smaller than the area threshold value, determining that the first earphone is in a left ear wearing state;
when the contact area value is larger than the area threshold value, the second earphone is determined to be in a right ear wearing state, and when the contact area value is smaller than the area threshold value, the second earphone is determined to be in a left ear wearing state.
3. The method of claim 1, wherein the sensor is a pressure sensor, and the detection value is a pressure value;
the determining the wearing state of the first earphone and/or the second earphone based on the detection value comprises:
under the condition of the predetermined condition, the method can be used,
when the pressure value is larger than the pressure threshold value, determining that the first earphone is in a right ear wearing state, and when the pressure value is smaller than the pressure threshold value, determining that the first earphone is in a left ear wearing state;
and when the pressure value is greater than the pressure threshold value, determining that the second earphone is in a right ear wearing state, and when the pressure value is less than the pressure threshold value, determining that the second earphone is in a left ear wearing state.
4. The method of claim 1, wherein the sensor is a temperature sensor and the detection value is a temperature threshold value;
the determining a wearing state of the first earphone and/or the second earphone based on the detection value comprises:
under the condition of the predetermined condition, the method can be used,
when the temperature threshold is larger than the temperature threshold, determining that the first earphone is in a right ear wearing state, and when the temperature threshold is smaller than the temperature threshold, determining that the first earphone is in a left ear wearing state;
and when the temperature threshold is smaller than the temperature threshold, determining that the second earphone is in a left ear wearing state.
5. The method according to claim 1, wherein the sensor is a light sensor, and the detection value is an amount of light entering;
the determining a wearing state of the first earphone and/or the second earphone based on the detection value comprises:
under the condition of the predetermined condition, the method can be used,
when the light incoming amount is smaller than the light incoming amount threshold value, determining that the first earphone is in a right ear wearing state, and when the light incoming amount is larger than the light incoming amount threshold value, determining that the first earphone is in a left ear wearing state;
when the light entering amount is smaller than the light entering amount threshold value, the second earphone is determined to be in a right ear wearing state, and when the light entering amount is larger than the light entering amount threshold value, the second earphone is determined to be in a left ear wearing state.
6. The method according to any one of claims 2-5, wherein the predetermined condition comprises any one of:
the first earphone and the second earphone are in a communication disconnection state;
the first earphone and the second earphone are in a communication connection state, and the first earphone or the second earphone is in an in-ear state; and
the first earphone and the second earphone are in a communication connection state, and the first earphone and the second earphone are in an in-ear state.
7. The method of claim 6, wherein the first and second earpieces are in a communicative connection state and the first and second earpieces are in an in-ear state, the method further comprising:
the first earphone receives second detection information sent by the second earphone;
when the first detection information of the first earphone is consistent with the second detection information, determining that the first detection information is wrong;
when the first detection information of the first earphone is consistent with the second detection information, determining that the first detection information is correct;
and the detection information is the wearing state of the left earphone or the wearing state of the right earphone.
8. The method of claim 6, further comprising:
and in a preset time period, the first earphone does not receive second detection information sent by the second earphone, and the first earphone determines that the first earphone is in a left ear wearing state or a right ear wearing state based on the first detection information.
9. The method of claim 6, wherein the first and second earpieces are in a communicative connection state and the first and second earpieces are in an in-ear state, the method further comprising:
the second earphone receives first detection information sent by the first earphone;
when second detection information of the second earphone is consistent with the first detection information, determining that the second detection information is wrong;
when the second detection information of the second earphone is inconsistent with the first detection information, determining that the second detection information is correct;
and the detection information is the wearing state of the left earphone or the wearing state of the right earphone.
10. The method of claim 9, further comprising:
and in a preset time period, the second earphone does not receive the first detection information sent by the first earphone, and the second earphone determines that the second earphone is in a left ear wearing state or a right ear wearing state based on the second detection information.
11. The method according to claim 7 or 9, wherein when it is determined that the detection information is erroneous, the method further comprises:
re-executing the wireless in-ear headphone detection method; or
And generating and outputting prompt information for detecting errors.
12. The method of claim 1, further comprising:
when the first earphone and/or the second earphone is detected to be switched from a non-in-ear state to an in-ear state, starting a corresponding sensor;
after determining the wearing state of the first earphone and/or the second earphone, turning off the corresponding sensor.
13. A wireless in-ear earphone is characterized in that,
the first earphone and the second earphone of the wireless in-ear earphone respectively comprise a sensor and a processor; wherein a tragus-side housing of the first earpiece comprises the sensor and an opposing tragus-side housing of the second earpiece comprises the sensor, wherein,
the sensor is used for acquiring a detection value;
the processor is used for determining the wearing state of the first earphone and/or the second earphone based on the detection value.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 12.
CN202110497069.XA 2021-05-07 2021-05-07 Wireless in-ear earphone detection method, earphone and storage medium Pending CN115314825A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110497069.XA CN115314825A (en) 2021-05-07 2021-05-07 Wireless in-ear earphone detection method, earphone and storage medium
PCT/CN2022/082218 WO2022233192A1 (en) 2021-05-07 2022-03-22 Detection method for wireless in-ear earphones, and earphones and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110497069.XA CN115314825A (en) 2021-05-07 2021-05-07 Wireless in-ear earphone detection method, earphone and storage medium

Publications (1)

Publication Number Publication Date
CN115314825A true CN115314825A (en) 2022-11-08

Family

ID=83853385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110497069.XA Pending CN115314825A (en) 2021-05-07 2021-05-07 Wireless in-ear earphone detection method, earphone and storage medium

Country Status (2)

Country Link
CN (1) CN115314825A (en)
WO (1) WO2022233192A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116744177A (en) * 2023-08-15 2023-09-12 宜百科技(深圳)有限公司 Method for judging left and right earphone

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100245585A1 (en) * 2009-02-27 2010-09-30 Fisher Ronald Eugene Headset-Based Telecommunications Platform
US20170078780A1 (en) * 2015-09-16 2017-03-16 Apple Inc. Earbuds with biometric sensing
CN110536196A (en) * 2018-05-24 2019-12-03 群光电子股份有限公司 Symmetrical Headphone device
CN110891217A (en) * 2019-11-12 2020-03-17 维沃移动通信有限公司 Earphone, earphone control method and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9113246B2 (en) * 2012-09-20 2015-08-18 International Business Machines Corporation Automated left-right headphone earpiece identifier
CN105530560B (en) * 2015-12-28 2019-03-12 苏州佳世达电通有限公司 A kind of earphone
CN105872895A (en) * 2016-03-25 2016-08-17 联想(北京)有限公司 Audio output apparatus, information processing methods, and audio play device
CN106358127A (en) * 2016-09-30 2017-01-25 维沃移动通信有限公司 Left and right sound channel switching method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100245585A1 (en) * 2009-02-27 2010-09-30 Fisher Ronald Eugene Headset-Based Telecommunications Platform
US20170078780A1 (en) * 2015-09-16 2017-03-16 Apple Inc. Earbuds with biometric sensing
CN107852540A (en) * 2015-09-16 2018-03-27 苹果公司 Earplug with bio-identification sensing function
CN110536196A (en) * 2018-05-24 2019-12-03 群光电子股份有限公司 Symmetrical Headphone device
CN110891217A (en) * 2019-11-12 2020-03-17 维沃移动通信有限公司 Earphone, earphone control method and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116744177A (en) * 2023-08-15 2023-09-12 宜百科技(深圳)有限公司 Method for judging left and right earphone
CN116744177B (en) * 2023-08-15 2023-11-28 宜百科技(深圳)有限公司 Method for judging left and right earphone

Also Published As

Publication number Publication date
WO2022233192A1 (en) 2022-11-10

Similar Documents

Publication Publication Date Title
CN108810788B (en) Wearing condition detection method and device of wireless earphone and wireless earphone
JP4829974B2 (en) Interchangeable acoustic system and hearing aid for hearing aids
CN110677768A (en) Wireless earphone control method and device, wireless earphone and storage medium
WO2021016899A1 (en) Wireless earphone control method and apparatus, wireless earphone, and storage medium
US20090052706A1 (en) Automatic identification of receiver type in hearing aid devices
US20140010390A1 (en) Audio and video signal transmission interface apparatus and method thereof
CN111385727A (en) Method for determining sound feedback path state of head-mounted hearing device and hearing device
CN109547897B (en) Wireless earphone connection method, device and system and wireless earphone box
CN104584584A (en) Headset type detection and configuration techniques
JP2018139404A5 (en)
CN111770409B (en) Earphone loss prevention method, device and system and earphone
US11791643B2 (en) Earpiece charging case detection
CN111148009A (en) Earphone wearing state determining method and device and earphone
WO2022233193A1 (en) Detection method for earphone, and earphones and storage medium
CN115314825A (en) Wireless in-ear earphone detection method, earphone and storage medium
CN111766548B (en) Information prompting method and device, electronic equipment and readable storage medium
CN110784797A (en) Wireless earphone control method and device, wireless earphone and storage medium
CN111866691A (en) State detection method and device of wireless earphone and earphone
CN117528330A (en) Earphone control method and device, bluetooth earphone and storage medium
KR20190137523A (en) Method and an electronic apparatus for preventing corrosion of audio jacks
JP2017085253A (en) Information processing apparatus
US11438687B2 (en) Speaker device and assignment method
EP3890344B1 (en) Hearing devices and methods for implementing automatic sensor-based on/off control of a hearing device
KR20200143985A (en) Electronic device and method for identifying an inserted object in ear jack
CN106603755B (en) Mobile terminal and data processing method based on mobile terminal

Legal Events

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