CN115314825A - Wireless in-ear earphone detection method, earphone and storage medium - Google Patents
- ️Tue Nov 08 2022
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
sensor11 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
sensor11 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
sensor21 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
sensor21 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
sensor11, 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
step603; 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
step603; 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.