Method for detecting wearing position of earphone, and earphone and electronic device
By detecting the wearing position of the headphones by the difference in communication signal strength between the headphones and the electronic device, the problem of high hardware cost and unfavorable miniaturization in the existing technology is solved, and wearing position detection is achieved at a lower cost and with higher accuracy.
Patent Information
- Application Number
- PCT/CN2024/102585
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2026-01-02
AI Technical Summary
In existing technologies, headphones use accelerometers and gyroscopes to detect wearing position, which increases hardware costs and is not conducive to miniaturization.
By acquiring the communication performance parameters of the headphones, the wearing position can be determined by utilizing the difference in communication signal strength between the headphones and electronic devices, thus avoiding the need for additional accelerometers and gyroscopes.
This reduced hardware costs, enabled miniaturization of the headphones, and improved the accuracy of wearing position detection.
Smart Images

Figure CN2024102585_02012026_PF_FP_ABST
Abstract
Description
Methods for detecting earphone wearing position, earphones, and electronic devices. [Technical Field]
[0001] This application relates to the technical field of consumer electronics, specifically to a method for detecting the wearing position of headphones, a pair of headphones, and an electronic device. [Background Technology]
[0002] In related technologies, accelerometers and / or gyroscopes are usually installed in headphones to detect the wearing position, which increases hardware costs. In addition, accelerometers and / or gyroscopes require space, which is not conducive to the miniaturization of headphones.
[0003] [Summary of the Invention]
[0004] This application provides a method for detecting the wearing position of an earphone, wherein the wearing position includes the user's left ear or right ear, and the detection method includes: determining whether the earphone is being worn; in response to the earphone being worn, acquiring the communication performance parameters of the earphone; and determining the wearing position of the earphone based on the communication performance parameters of the earphone.
[0005] In some embodiments, the earphone is communicatively connected to an electronic device, and obtaining the earphone's communication performance parameters includes: obtaining a first communication performance parameter of the earphone based on the strength of the communication signal between the earphone and the electronic device when the electronic device is in a first position relative to the user's head; and obtaining a second communication performance parameter of the earphone based on the strength of the communication signal between the earphone and the electronic device when the electronic device is in a second position relative to the user's head; determining the earphone's wearing position based on the earphone's communication performance parameters includes: determining the earphone's wearing position based on a comparison result of the first communication performance parameter and the second communication performance parameter, wherein when the first position and the second position are different, the first communication performance parameter and the second communication performance parameter are different.
[0006] In some embodiments, the first position and the second position are located on opposite sides of the sagittal plane of the human body; determining the wearing position of the earphone based on the comparison result of the first communication performance parameter and the second communication performance parameter includes: in response to the first communication performance parameter being better than the second communication performance parameter, determining that the wearing position of the earphone and the first position are located on the same side of the sagittal plane of the human body; in response to the second communication performance parameter being better than the first communication performance parameter, determining that the wearing position of the earphone and the second position are located on the same side of the sagittal plane of the human body.
[0007] In some embodiments, when the electronic device is in the first position and the second position, the shortest straight-line distance between the electronic device and the tragus is less than or equal to 8 mm.
[0008] In some embodiments, the number of earphones is two, which are set in pairs. In response to the earphones being worn, obtaining the communication performance parameters of the earphones includes: in response to both earphones being worn, obtaining the communication performance parameters of each earphone; determining the wearing position of the earphones based on the communication performance parameters of the earphones includes: determining the wearing position of each earphone based on the comparison result of the communication performance parameters of the two earphones.
[0009] In some embodiments, the antenna structures of the two earphones are configured such that the communication performance parameters of each earphone when worn in one of the left and right ears are better than the communication performance parameters when worn in the other of the left and right ears; determining the wearing position of each earphone based on the comparison of the communication performance parameters of the two earphones includes: determining that the wearing position of the earphone with the better communication performance parameters is one of the left and right ears, and the wearing position of the other earphone is the other of the left and right ears.
[0010] In some embodiments, the earphones are communicatively connected to the electronic device, and obtaining the communication performance parameters of each earphone includes: obtaining the communication performance parameters of each earphone based on the strength of the communication signal between each earphone and the electronic device when the electronic device is in a preset position relative to the user's head, wherein the preset position is located in the sagittal plane of the human body.
[0011] In some embodiments, the communication performance parameter is a received signal strength indication, and the difference between the received signal strength indications of the two earphones is between 5 and 10 dB.
[0012] In some embodiments, the earphones are communicatively connected to an electronic device, and obtaining the communication performance parameters of each earphone includes: when the electronic device is in a preset position relative to the user's head, obtaining the communication performance parameters of the two earphones based on the strength of the communication signal between the two earphones and the electronic device, wherein the preset position is set such that the earphone worn on the left ear and the earphone worn on the right ear produce corresponding differences in communication performance parameters.
[0013] In some embodiments, the preset position is located on one side of the human sagittal plane; determining the wearing position of each earphone based on the comparison result of the communication performance parameters of the two earphones includes: in response to the communication performance parameter of one of the two earphones being better than the communication performance parameter of the other of the two earphones, determining that the wearing position of one of the two earphones is on the same side of the human sagittal plane as the preset position, and the wearing position of the other of the two earphones is on the opposite side of the human sagittal plane relative to the preset position.
[0014] In some embodiments, the preset position includes a first position and a second position located on both sides of the sagittal plane of the human body; the detection method further includes: generating an error prompt in response to a detection result of the wearing position obtained based on the first position being different from a detection result of the wearing position obtained based on the second position.
[0015] In some embodiments, the headphones are communicatively connected to an electronic device, and obtaining the communication performance parameters of the headphones further includes generating a predetermined action prompt so that the user changes the relative position of the electronic device and the user's head in a predetermined manner.
[0016] In some embodiments, the earphone includes a processor and a memory, the memory storing a computer program, and the processor executing the computer program to implement any of the detection methods described above.
[0017] In some embodiments, the electronic device is used to communicate with the headphones and includes a processor and a memory storing a computer program. The processor is used to execute the computer program to implement any of the detection methods described above.
[0018] In this application, the wearing position of the earphone is determined by obtaining the communication performance parameters of the earphone. There is no need to set additional detection components such as accelerometer and / or gyroscope in the earphone. Compared with the solutions in related technologies, this is beneficial to reduce hardware costs and to achieve miniaturization of the earphone. [Attached Image Description]
[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, wherein:
[0020] Figure 1 shows an embodiment of the earphones worn on a user's ear.
[0021] Figure 2 is a flowchart illustrating an embodiment of the detection method provided in this application;
[0022] Figure 3 is a schematic diagram of a human body cross-section;
[0023] Figure 4 is a flowchart of an embodiment of S120;
[0024] Figure 5 is a flowchart of an embodiment of S131;
[0025] Figure 6 is a flowchart illustrating an embodiment of the detection method provided in this application;
[0026] Figure 7 is a schematic diagram of a module of an embodiment of the earphone of this application;
[0027] Figure 8 is a schematic diagram of a module of an embodiment of the electronic device of this application.
Detailed Implementation Methods
[0028] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be particularly noted that the following embodiments are for illustrative purposes only and do not limit the scope of the application. Similarly, the following embodiments are only some, not all, embodiments of the present application, and all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of the present application.
[0029] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0030] The terms "first," "second," and "third" in this application are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such processes, methods, products, or apparatus.
[0031] This application provides a method for detecting the wearing position of an earphone 1.
[0032] Figure 1 shows an embodiment of the earphone worn on a user's ear. The earphone 1 can be a clip-on earphone. As shown in Figure 1, the earphone 1 includes a sound-emitting part 100 for insertion into the user's concha E12, an abutment part 300 for abutting against the back of the user's ear, and an ear hook 200 connecting the sound-emitting part 100 and the abutment part 300. In the wearing state, the ear hook 200 can bypass the user's auricle E17, the sound-emitting part 100 and the abutment part 300 form a clamping state on both sides of the user's auricle E17, and the sound-emitting part 100 is located within the concha E12.
[0033] The sound-emitting part 100 is a sound playback device used to convert electrical signals into sound signals and play them to the wearer. The abutment part 300 forms a clamping state with the sound-emitting part 100 so that the entire earphone 1 is clamped and worn on the user's ear. The abutment part 300 may contain components such as a battery and a circuit board. Of course, the abutment part 300 may also be without a battery, and the battery may be installed in the sound-emitting part 100. This is within the scope of what is easily understood by those skilled in the art, and will not be elaborated here.
[0034] In some implementations, the earphone 1 can be other types of earphones that support wearing in both the left and right ears. It is easy to understand that the ear clip-on earphone shown in Figure 1 is merely an example and should not be construed as a limitation on the solution of this application.
[0035] As shown in Figure 2, which is a flowchart illustrating an embodiment of the detection method provided in this application, the detection method is used to detect the wearing position of the earphone, wherein the wearing position includes the user's left or right ear. In some embodiments, the detection method can be executed by the earphone. In some embodiments, the detection method can also be executed by an electronic device communicating with the earphone, such as a mobile phone or tablet, and this application does not impose any limitations on this.
[0036] Specifically, the detection method includes the following steps:
[0037] S110: Determine if the headphones are being worn.
[0038] In this context, "being worn" means that the headphones are worn on the user's ears. The headphones may contain a wear detection module to determine whether they are being worn. For example, the wear detection module can be located on a circuit board.
[0039] S120: In response to the earphone being worn, acquire the earphone's communication performance parameters.
[0040] The headphones can communicate with electronic devices. Specifically, the communication performance parameter can be the Received Signal Strength Indication (RSSI) value. For example, when the detection method is executed by the headphones, the headphone's communication performance parameter can be the Received Signal Strength Indication of the signal received by the headphones from the electronic device. Similarly, when the detection method is executed by the electronic device, the headphone's communication performance parameter can be the Received Signal Strength Indication of the signal received by the electronic device from the headphones. Of course, in some embodiments, the communication performance parameter can also be the Received Channel Power Indicator (RCPI) value. This application does not limit this, and those skilled in the art can choose according to actual needs.
[0041] In some embodiments, the antenna structure of the headphones is configured to have different radiation performance when the headphones are worn in the left and right ears. For example, the radiation performance of an antenna is usually directional, and the headphone's radiation performance can be optimized based on the left ear. In this case, the communication performance parameters when the headphones are worn in the left ear will be better than those when they are worn in the right ear. In other words, the headphone's own antenna structure will result in different communication performance parameters when the headphones are worn in the left and right ears.
[0042] Furthermore, the relative position between the headphones and the electronic device also affects the headphones' communication performance parameters. For example, when the headphones are worn in the left ear, if the electronic device is placed on the left side of the body's sagittal plane, the communication distance between the headphones and the electronic device is shorter, and the headphone's antenna signal is less likely to be blocked, resulting in relatively better communication performance parameters. Conversely, if the electronic device is placed on the right side of the body's sagittal plane relative to the user's head, the communication distance between the headphones and the electronic device is longer, and the headphone's antenna signal is more easily blocked, resulting in relatively poorer communication performance parameters. In other words, the relative position between the headphones and the electronic device will lead to different communication performance parameters when the headphones are worn in the left and right ears.
[0043] It should be noted that, as shown in Figure 3, which is a schematic diagram of human body cross-sections, three basic cross-sections of the human body can be defined in medicine, anatomy, and other fields: the sagittal plane (SP), the coronal plane (CP), and the horizontal plane (HP). The sagittal plane is a cross-section perpendicular to the ground along the anterior-posterior direction of the body, dividing the body into left and right parts; the coronal plane is a cross-section perpendicular to the ground along the lateral direction of the body, dividing the body into anterior and posterior parts; and the horizontal plane is a cross-section parallel to the ground along the vertical direction of the body, dividing the body into upper and lower parts.
[0044] S130: Determine the wearing position of the earphone based on the earphone's communication performance parameters.
[0045] As mentioned earlier, the antenna structure of the headphones themselves will result in different communication performance parameters when the headphones are worn in the left and right ears. The relative position of the headphones to the electronic device will also lead to different communication performance parameters when the headphones are worn in the left and right ears. Therefore, the wearing position of the headphones can be determined based on their communication performance parameters.
[0046] In this application, the wearing position of the earphone is determined by obtaining the communication performance parameters of the earphone. There is no need to set additional detection components such as accelerometer and / or gyroscope in the earphone. Compared with the solutions in related technologies, this is beneficial to reduce hardware costs and to achieve miniaturization of the earphone.
[0047] In some embodiments, when a user wears an earphone with only one ear (e.g., there is only one earphone, which can only be worn with one ear, or there are two earphones in a pair, but the user is only wearing one of them and the other earphone is still placed in the earphone case), the wearing position of the earphone can be detected by adjusting the relative position between the earphone and the electronic device to make the communication performance parameters of the earphone different.
[0048] As shown in Figure 4, which is a flowchart of an embodiment of S120, the communication performance parameters of the headset can be obtained through the following steps:
[0049] S121: When the electronic device is in a first position relative to the user's head, a first communication performance parameter of the earphone is obtained based on the strength of the communication signal between the earphone and the electronic device.
[0050] S122: When the electronic device is in a second position relative to the user's head, a second communication performance parameter of the earphone is obtained based on the strength of the communication signal between the earphone and the electronic device.
[0051] Accordingly, S130 can be implemented through the following steps:
[0052] S131: Determine the wearing position of the earphone based on the comparison result of the first communication performance parameter and the second communication performance parameter, wherein when the first position and the second position are different, there is a difference between the first communication performance parameter and the second communication performance parameter.
[0053] In some embodiments, the first position and the second position are located on opposite sides of the sagittal plane of the human body, as shown in Figure 5. Figure 5 is a schematic flowchart of an embodiment of S131, which can be implemented by the following steps:
[0054] S1311: In response to the first communication performance parameter being superior to the second communication performance parameter, determine that the wearing position of the earphone and the first position are located on the same side of the sagittal plane of the human body.
[0055] S1312: In response to the second communication performance parameter being superior to the first communication performance parameter, determine that the wearing position of the earphone and the second position are located on the same side of the sagittal plane of the human body.
[0056] It should be noted that steps S1311 and S1312 are mutually exclusive and will not occur simultaneously, therefore there is no order between them.
[0057] For example, suppose the first position is located on the left side of the human sagittal plane and the second position is located on the right side of the human sagittal plane. If the first communication performance parameter corresponding to the first position is better than the second communication performance parameter corresponding to the second position, it means that the first position is closer to the earphone or the head obstructs the earphone antenna signal less at the first position. In this case, it can be determined that the earphone is worn on the left side of the human sagittal plane, that is, the left ear.
[0058] Similarly, assuming the first position is located on the left side of the human body's sagittal plane and the second position is located on the right side of the human body's sagittal plane, if the second communication performance parameter corresponding to the second position is better than the first communication performance parameter corresponding to the first position, it means that the second position is closer to the earphone or the head obstructs the earphone antenna signal less at the second position. In this case, it can be determined that the earphone is worn on the right side of the human body's sagittal plane, i.e., the right ear.
[0059] It is easy to understand that the first communication performance parameter corresponding to the first position is affected by two factors: the distance between the first position and the earphone and the degree of obstruction of the earphone antenna signal by the head at the first position. Similarly, the second communication performance parameter corresponding to the second position is affected by two factors: the distance between the second position and the earphone and the degree of obstruction of the earphone antenna signal by the head at the second position.
[0060] To give a rather extreme example, suppose the earphone is worn on the left ear. In this case, if the first position is located on the left side of the sagittal plane of the human body, but far from the left ear, such as below the waist, and the second position is located on the right side of the sagittal plane of the human body, but closer to the left ear, such as above the waist and below the head, the second communication performance parameter corresponding to the second position may be better than the first communication performance parameter corresponding to the first position. In this case, if it is assumed that the earphone is worn on the right side of the sagittal plane of the human body, i.e., the right ear, an error in judgment will occur.
[0061] Therefore, in order to improve the accuracy of wearing position detection, the distance between the first position and the second position and the earphone can be controlled to be basically the same. At this time, the first communication performance parameter corresponding to the first position and the second communication performance parameter corresponding to the second position are mainly affected by the degree of obstruction of the earphone antenna signal by the head, which can reduce the probability of judgment error.
[0062] In some embodiments, when the electronic device is in the first position and the second position, the shortest straight-line distance between the electronic device and the tragus E19 (labeled in FIG1) is less than or equal to 8 mm.
[0063] In this way, when the electronic device is in the first and second positions, it is very close to the ear. On the one hand, this makes the distance between the first and second positions and the earphone basically the same. By controlling the variables, it is beneficial to reduce the probability of judgment errors and improve the accuracy of wearing position detection.
[0064] On the other hand, when the first and second positions are close to the ears respectively, assuming the earphone is worn on the left ear, the antenna signal of the earphone is basically not blocked by the head at the first position, while at the second position, the antenna signal of the earphone is blocked by the head to a large extent. This makes the difference between the first communication parameter and the second communication parameter more obvious, which is beneficial to improving the accuracy of wearing position detection.
[0065] Furthermore, obtaining the communication performance parameters of the headset may also include:
[0066] S123: Generate a predetermined action prompt so that the user changes the relative position of the electronic device and the user's head in a predetermined manner.
[0067] For example, when a user wears an earphone in one ear, the system can first prompt the user to bring the electronic device closer to their left ear, and then obtain a first communication performance parameter based on the strength of the communication signal between the earphone and the electronic device. After obtaining the first communication performance parameter, the system can prompt the user to bring the electronic device closer to their right ear, and then obtain the first communication performance parameter again based on the strength of the communication signal between the earphone and the electronic device. In some embodiments, predetermined action prompts can be given to the user in the form of voice. Of course, this application does not limit this, and those skilled in the art can choose according to actual needs.
[0068] It should be noted that although the step number of S123 is after S121 and S122, the step numbers in the description of this application do not necessarily indicate a sequential order. For example, S123 is not executed after S121 and S122.
[0069] In some embodiments, the first position and the second position may also be located on the same side of the sagittal plane of the human body. For example, the first position and the second position may both be located on the left side of the sagittal plane, and the first position and the second position are spaced apart in the vertical direction. One of the first position and the second position is close to the left ear, and the other is located above the head. In this case, if the difference between the first communication performance parameter corresponding to the first position and the second communication performance parameter corresponding to the second position is large, it indicates that the earphone may be worn on the right ear (one position is blocked by the head, and the other position is not blocked by the head, so the difference is large). If the difference is small, it indicates that the earphone may be worn on the left ear (neither position is blocked by the head).
[0070] As shown in Figure 6, which is a flowchart illustrating an embodiment of the detection method provided in this application, this detection method is used to determine the wearing position of each earphone when a user wears earphones in both ears simultaneously (e.g., two earphones arranged in pairs). Specifically, the detection method includes:
[0071] S210: Determines whether the earphones are being worn. The number of earphones is set to two in pairs.
[0072] Specifically, for each earphone, it can be determined whether it is being worn. The specific method for determining this can be the same as or similar to the aforementioned embodiments, and will not be repeated here.
[0073] S220: In response to both earphones being worn, acquire the communication performance parameters of each earphone.
[0074] S230: Determine the wearing position of each earphone based on the comparison results of the communication performance parameters of the two earphones.
[0075] In this embodiment, when the user wears the headphones in both ears, the wearing position of each headphone can be determined based on the comparison of the communication performance parameters of the two headphones. There is no need to set additional detection components such as accelerometers and / or gyroscopes in the headphones. Compared with the solutions in related technologies, this approach helps to reduce hardware costs and facilitates the miniaturization of headphones.
[0076] In some embodiments, the antenna structure of each earphone is configured to have different radiation performance when worn in the left and right ears. When a user wears the earphones in both ears simultaneously, the wearing position of each earphone can be determined based on the difference in communication performance parameters between the two earphones caused by the earphones' own antenna structures.
[0077] The antenna structures of the two earphones are configured such that the communication performance parameters of each earphone worn in one of the left and right ears are better than those worn in the other. For example, the communication performance parameters of each earphone worn in the left ear are better than those worn in the right ear. This is because antenna radiation performance is usually directional, and the radiation performance of the earphones can be optimized based on the left ear during design, resulting in relatively better communication performance when the earphone is worn in the left ear.
[0078] Specifically, obtaining the communication performance parameters of each headset can be achieved through the following steps:
[0079] S221: When the electronic device is in a preset position relative to the user's head, the communication performance parameters of each earphone are obtained based on the strength of the communication signal between each earphone and the electronic device. The preset position is located on the sagittal plane of the human body.
[0080] S230 can be achieved through the following steps:
[0081] S231: Determine the wearing position of the one with the better communication performance parameters among the two earphones as either the left or right ear, and the wearing position of the other earphone as either the left or right ear.
[0082] Assuming that the communication performance parameters of each earphone are better when worn in the left ear than when worn in the right ear, it can be determined that the earphone with the better communication performance parameters is worn in the left ear, while the other earphone is worn in the right ear. Of course, in some embodiments, the communication performance parameters of each earphone may also be better when worn in the right ear than when worn in the left ear. This application does not limit this, and those skilled in the art can choose according to actual needs.
[0083] In this embodiment, the communication performance parameters of the two earphones are acquired when the electronic device is positioned in the sagittal plane of the human body. At this time, the communication distance between the two earphones and the electronic device is basically the same, which can avoid the influence of the communication distance between the earphones and the electronic device on the communication performance parameters of the earphones and improve the accuracy of wearing position detection.
[0084] Furthermore, the communication performance parameters can specifically be the Received Signal Strength Indication (RSSI) value, with the difference between the communication performance parameters of the two earphones ranging from 5 to 10 dB. By reasonably setting the difference between the communication performance parameters of the two earphones, the wearing position of the two earphones can be detected, while avoiding excessive differences that could negatively impact the user experience.
[0085] Furthermore, obtaining the communication performance parameters of each headset may also include:
[0086] S222: Generate a predetermined action prompt so that the user changes the relative position of the electronic device and the user's head in a predetermined manner.
[0087] For example, after determining that the user is wearing headphones in both ears simultaneously, the user can be prompted to place the electronic device on the sagittal plane of the human body. Then, the communication performance parameters of each headphone can be obtained based on the strength of the communication signal between each headphone and the electronic device. In some embodiments, predetermined action prompts can be given to the user in the form of voice. Of course, this application does not limit this, and those skilled in the art can choose according to actual needs.
[0088] In some embodiments, the antenna structure of each earphone can also be configured to have the same communication performance parameters when worn in both the left and right ears. In this case, when a user wears the earphones in both ears simultaneously, the wearing position of each earphone can be determined based on the difference in communication performance parameters between the two earphones caused by the relative positional relationship between the earphones and the electronic device.
[0089] Specifically, obtaining the communication performance parameters of each headset can include:
[0090] S225: When the electronic device is in a preset position relative to the user's head, the communication performance parameters of the two earphones are obtained based on the strength of the communication signal between the two earphones and the electronic device, wherein the preset position is set such that the earphone worn on the left ear and the earphone worn on the right ear produce corresponding differences in communication performance parameters.
[0091] For example, the preset position can be located on one side of the sagittal plane of the human body. In this case, due to the different communication distances between the left and right earphones and the electronic devices, the communication performance parameters of the left and right earphones will differ. Therefore, the wearing position of each earphone can be determined based on the comparison of the communication performance parameters of the two earphones.
[0092] Accordingly, S230 can be implemented through the following steps:
[0093] S235: In response to the fact that the communication performance parameters of one of the two earphones are better than the communication performance parameters of the other earphone, determine that the wearing position of one of the two earphones is on the same side of the human sagittal plane as the preset position, and the wearing position of the other earphone is on the opposite side of the human sagittal plane relative to the preset position.
[0094] For example, assuming the preset position is on the left side of the human sagittal plane, it can be determined that the earphone with better communication performance parameters is worn on the left ear, and the other earphone is worn on the right ear.
[0095] In some embodiments, the above detection method can be executed twice consecutively to verify the detection results. The preset positions may include a first position and a second position located on either side of the sagittal plane of the human body. For example, the first position is located on one side of the sagittal plane, and the second position is located on the other side. The electronic device is first placed at the first position to obtain a detection result for one wearing position, and then the electronic device is placed at the second position to obtain another detection result for the same wearing position. These two detection results are then compared. Furthermore, if the detection result for the wearing position obtained based on the first position differs from the detection result obtained based on the second position, an error message is generated. This facilitates timely detection of errors in the wearing position detection results, preventing disruption to the user experience.
[0096] Furthermore, obtaining the communication performance parameters of each headset may also include:
[0097] S226: Generate a predetermined action prompt so that the user changes the relative position of the electronic device and the user's head in a predetermined manner.
[0098] For example, after determining that the user is wearing headphones in both ears simultaneously, the user can be prompted to place the electronic device on one side of the sagittal plane of the body. Then, the communication performance parameters of each headphone can be obtained based on the strength of the communication signal between each headphone and the electronic device. In some embodiments, predetermined action prompts can be given to the user in the form of voice. Of course, this application does not limit this, and those skilled in the art can choose according to actual needs.
[0099] This application also provides an earphone 800. Please refer to FIG7, which is a schematic diagram of a module of an embodiment of the earphone of this application. The earphone 800 includes a memory 810, a processor 820, and a computer program stored in the memory 810 and executable on the processor 820. When the processor 820 executes the computer program, it implements any of the detection methods described above.
[0100] The processor 820 can also be referred to as a CPU (Central Processing Unit). The processor 820 may be an integrated circuit chip with signal processing capabilities. The processor 820 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor can be a microprocessor, or the processor 820 can be any conventional processor.
[0101] The memory 810 may include random access memory (RAM), read-only memory (ROM), flash memory, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disk, removable disk, CD-ROM, etc. The memory 810 may store program data, which may include, for example, a single instruction or many instructions, and may be distributed across several different code segments, distributed among different programs, and distributed across multiple memories. The memory 810 may be coupled to the processor 820 so that the processor 820 can read and write information to / from the memory 810. Of course, the memory 810 may be integrated into the processor 820; this application does not limit this, and those skilled in the art can choose according to actual needs.
[0102] Another aspect of this application also provides an electronic device 900. Please refer to FIG8, which is a block diagram of an embodiment of the electronic device of this application. The electronic device 900 includes a memory 910, a processor 920, and a computer program stored in the memory 910 and executable on the processor 920. When the processor 920 executes the computer program, it implements any of the detection methods described above.
[0103] The electronic device 900 may specifically be a mobile phone, tablet or computer that communicates with the headset 800. This application does not limit this, and those skilled in the art can choose according to actual needs.
[0104] The processor 920 can also be referred to as a CPU (Central Processing Unit). The processor 920 may be an integrated circuit chip with signal processing capabilities. The processor 920 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor can be a microprocessor, or the processor 920 can be any conventional processor.
[0105] The memory 910 may include random access memory (RAM), read-only memory (ROM), flash memory, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disk, removable disk, CD-ROM, etc. The memory 910 may store program data, which may include, for example, a single instruction or many instructions, and may be distributed across several different code segments, distributed among different programs, and distributed across multiple memories. The memory 910 may be coupled to the processor 920 so that the processor 920 can read and write information to / from the memory 910. Of course, the memory 910 may be integrated into the processor 920; this application does not limit this, and those skilled in the art can choose according to actual needs.
[0106] In the several embodiments provided in this application, it should be understood that the disclosed detection method can be implemented in other ways. For example, the headphone / electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0107] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0108] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0109] The above description is only a part of the embodiments of this application and does not limit the scope of protection of this application. Any equivalent device or equivalent process transformation made based on the content of this application specification and drawings, or direct or indirect application in other related technical fields, are similarly included in the patent protection scope of this application.
Claims
1. A method for detecting the wearing position of headphones, characterized in that, The wearing position includes the user's left or right ear, and the detection method includes: Determine whether the headphones are being worn; In response to the earphone being in the wearing state, the communication performance parameters of the earphone are obtained; The wearing position of the earphone is determined based on the communication performance parameters of the earphone.
2. The detection method according to claim 1, characterized in that, The earphone is communicatively connected to an electronic device, and obtaining the communication performance parameters of the earphone includes: When the electronic device is in a first position relative to the user's head, a first communication performance parameter of the earphone is obtained based on the strength of the communication signal between the earphone and the electronic device; and When the electronic device is in a second position relative to the user's head, a second communication performance parameter of the earphone is obtained based on the strength of the communication signal between the earphone and the electronic device; Determining the wearing position of the earphone based on its communication performance parameters includes: The wearing position of the earphone is determined based on the comparison result of the first communication performance parameter and the second communication performance parameter, wherein when the first position and the second position are different, the first communication performance parameter and the second communication performance parameter are different.
3. The detection method according to claim 2, characterized in that, The first position and the second position are located on opposite sides of the sagittal plane of the human body; Determining the wearing position of the earphone based on the comparison result of the first communication performance parameter and the second communication performance parameter includes: In response to the first communication performance parameter being superior to the second communication performance parameter, it is determined that the wearing position of the earphone and the first position are located on the same side of the sagittal plane of the human body; In response to the second communication performance parameter being better than the first communication performance parameter, the earphone is determined. The wearing position and the second position are located on the same side of the sagittal plane of the human body.
4. The detection method according to claim 2, characterized in that, When the electronic device is in the first position and the second position, the shortest straight-line distance between the electronic device and the tragus is less than or equal to 8 mm.
5. The detection method according to claim 1, characterized in that, The number of earphones is two, arranged in pairs. The process of obtaining the communication performance parameters of the earphones in response to them being in the wearing state includes: In response to both of the earphones being in the wearing state, the communication performance parameters of each of the earphones are obtained; Determining the wearing position of the earphone based on its communication performance parameters includes: The wearing position of each earphone is determined based on a comparison of the communication performance parameters of the two earphones.
6. The detection method according to claim 5, characterized in that, The antenna structure of the two earphones is configured such that the communication performance parameters when each earphone is worn in one of the left and right ears are better than the communication performance parameters when it is worn in the other of the left and right ears; Determining the wearing position of each earphone based on the comparison results of the communication performance parameters of the two earphones includes: The preferred wearing position of one of the two earphones, which has better communication performance parameters, is determined to be either the left or right ear, and the other earphone is determined to be either the left or right ear.
7. The detection method according to claim 6, characterized in that, The earphones are communicatively connected to an electronic device, and obtaining the communication performance parameters of each earphone includes: When the electronic device is in a preset position relative to the user's head, the communication performance parameters of each earphone are obtained based on the strength of the communication signal between each earphone and the electronic device. The preset position is located on the sagittal plane of the human body.
8. The detection method according to claim 7, characterized in that, The communication performance parameter is the received signal strength indication, and the difference between the received signal strength indications of the two earphones is between 5 and 10 dB.
9. The detection method according to claim 5, characterized in that, The earphones are communicatively connected to an electronic device, and obtaining the communication performance parameters of each earphone includes: When the electronic device is in a preset position relative to the user's head, the communication performance parameters of the two earphones are obtained based on the strength of the communication signals between the two earphones and the electronic device, wherein the preset position is set such that the earphone worn on the left ear and the earphone worn on the right ear produce corresponding differences in the communication performance parameters.
10. The detection method according to claim 9, characterized in that, The preset position is located on one side of the sagittal plane of the human body; Determining the wearing position of each earphone based on the comparison results of the communication performance parameters of the two earphones includes: In response to the fact that the communication performance parameters of one of the two earphones are better than the communication performance parameters of the other of the two earphones, it is determined that the wearing position of one of the two earphones is on the same side of the human sagittal plane as the preset position, and the wearing position of the other of the two earphones is on the opposite side of the human sagittal plane relative to the preset position.
11. The detection method according to claim 10, characterized in that, The preset positions include a first position and a second position located on both sides of the sagittal plane of the human body; The detection method further includes: An error message is generated in response to a difference between the detection result of the wearing position obtained based on the first position and the detection result of the wearing position obtained based on the second position.
12. The detection method according to any one of claims 1-11, characterized in that, The earphone is communicatively connected to an electronic device, and obtaining the communication performance parameters of the earphone further includes: A predetermined action prompt is generated so that the user changes the relative position of the electronic device and the user's head in a predetermined manner.
13. An earphone, characterized in that, The earphone includes a processor and a memory, the memory storing a computer program, and the processor executing the computer program to implement the detection method as described in any one of claims 1 to 12.
14. An electronic device, characterized in that, The electronic device is used to communicate with headphones and includes a processor and a memory, the memory storing a computer program, the processor being used to execute the computer program to implement the detection method as described in any one of claims 1 to 12.
Citation Information
Patent Citations
Sound track configuration method and device and user device
CN104125522A
Earphone wearing state detection method, earphone and computer readable storage medium
CN112533126A
Sound channel switching method and electronic equipment
CN113411446A
In-ear detection method of TWS earphone based on antenna signal intensity and TWS earphone
CN113411714A
Position identification method and earphone equipment
CN114697790A