Left and right channel matching method and apparatus for earbuds, and clip-on earbuds and storage medium
By setting a three-axis acceleration sensor on the ear clip headphones to automatically match the left and right channels of the speaker, the problem of ear clip headphones requiring manual confirmation of the left and right channels is solved, and the headphones are convenient to use and have correct sound output.
Patent Information
- Application Number
- PCT/CN2025/084567
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-28
- Filing Date
- 2025-03-25
- Publication Date
- 2025-10-02
AI Technical Summary
Existing ear clip-on headphones require manual confirmation of left and right channels when worn, resulting in poor usability.
A three-axis acceleration sensor is set on the first earphone and the second earphone of the ear clip earphone, and the wearing position is automatically determined by detecting the three-axis acceleration information, and the left and right channels of the speaker are adjusted to achieve automatic matching.
There is no need for users to distinguish between left and right channels. The headphones can autonomously identify and match left and right channels, which improves convenience and ensures the correctness of the sound signal.
Smart Images

Figure CN2025084567_02102025_PF_FP_ABST
Abstract
Description
Headphone left and right channel matching method, device, ear clip-on headphone and storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 28, 2024, application number 202410371059.5, and application name "Headphone left and right channel matching method, device, ear clip headphone and storage medium", all of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of earphone technology, and in particular to a method and device for matching left and right channels of an earphone, an earclip-type earphone, and a storage medium. Background Art
[0003] With the development of new technologies, OWS (Open Wearable Stereo) headphones, such as clip-on earphones, are becoming increasingly popular. Compared to TWS (True Wireless Stereo) headphones, clip-on earphones are more ear-friendly, hearing-safe, comfortable to wear, and more suitable for extended wear. Because clip-on earphones don't need to be worn in the ear, they can be worn in both ears, ensuring a consistent fit and a universal fit, unlike traditional earphones.
[0004] Ear clip headphones have a left earphone and a right earphone. The left earphone outputs the left channel, while the right earphone outputs the right channel. When the stereo headphones are worn, the left earphone contacts the user's left ear, while the right earphone contacts the user's right ear, allowing the left ear to hear the left channel and the right ear to hear the right channel. During wear, the relative positions of the left and right earphones cannot be interchanged, as doing so will directly affect the fidelity of the sound source and the resolution of the audio frequencies.
[0005] To achieve perfect sound quality, users must first identify the left and right sides of their ear clips before putting them on. The current solution is to mark the ear clips with symbols such as L / R, but this requires manual verification to ensure they are not worn incorrectly, which is inconvenient for the user. Summary of the Invention
[0006] The main purpose of this application is to provide a method and device for matching the left and right channels of headphones, an ear clip-on headphone and a storage medium, aiming to solve the technical problem in the related art that manual confirmation is required to determine whether the left and right headphones are worn reversed, resulting in poor convenience in using the ear clip-on headphones.
[0007] To achieve the above objectives, the present application provides a method for matching left and right channels of headphones. The method is applied to ear clip-on headphones, wherein a first earphone and a second earphone of the ear clip-on headphones are both provided with a three-axis acceleration sensor. The method comprises:
[0008] When it is detected that the ear clip-on earphone is worn, obtaining triaxial acceleration information detected by the triaxial acceleration sensor;
[0009] determining corresponding wearing positions of the first earphone and the second earphone according to the three-axis acceleration information;
[0010] Based on the corresponding wearing positions of the first earphone and the second earphone, the left channel and the right channel of the speaker of the ear clip-on earphone are adjusted so that the left channel corresponds to the earphone in the left ear wearing position, and the right channel corresponds to the earphone in the right ear wearing position.
[0011] Optionally, determining corresponding wearing positions of the first earphone and the second earphone according to the three-axis acceleration information includes:
[0012] Determining the vertical component direction of the three-axis acceleration information;
[0013] The step of determining corresponding wearing positions of the first earphone and the second earphone according to the component directions.
[0014] Optionally, determining corresponding wearing positions of the first earphone and the second earphone according to the component directions includes:
[0015] Determining wearing posture information corresponding to the first earphone and the second earphone according to the component orientation;
[0016] Determine corresponding wearing positions of the first earphone and the second earphone according to the wearing posture information.
[0017] Optionally, determining wearing posture information corresponding to the first earphone and the second earphone according to the component orientation includes:
[0018] If the component corresponding to the three-axis acceleration information of the first earphone points to the positive direction of the Z axis, determining that the wearing posture information corresponding to the first earphone is the first posture;
[0019] If the component corresponding to the three-axis acceleration information of the first earphone points to the negative direction of the Z axis, determining that the wearing posture information corresponding to the first earphone is the second posture;
[0020] If the component corresponding to the three-axis acceleration information of the second earphone points to the positive direction of the Z axis, determining that the wearing posture information corresponding to the second earphone is the first posture;
[0021] If the component corresponding to the three-axis acceleration information of the second earphone points to the negative direction of the Z axis, it is determined that the wearing posture information corresponding to the second earphone is the second posture.
[0022] Optionally, determining corresponding wearing positions of the first earphone and the second earphone according to the wearing posture information includes:
[0023] If the wearing posture information corresponding to the first earphone is the first posture, determining that the wearing position corresponding to the first earphone is the left ear wearing position;
[0024] If the wearing posture information corresponding to the first earphone is the second posture, determining that the wearing position corresponding to the first earphone is the right ear wearing position;
[0025] If the wearing posture information corresponding to the second earphone is the first posture, determining that the wearing position corresponding to the second earphone is the left ear wearing position;
[0026] If the wearing posture information corresponding to the second earphone is the second posture, it is determined that the wearing position corresponding to the second earphone is the right ear wearing position.
[0027] Optionally, determining wearing posture information corresponding to the first earphone and the second earphone according to the component orientation includes:
[0028] If the component corresponding to the three-axis acceleration information of the first headset points to the positive direction of the Z axis, and the component value in the positive direction of the Z axis matches the gravity acceleration value, then determining that the wearing posture information corresponding to the first headset is the first posture;
[0029] If the component corresponding to the three-axis acceleration information of the first headset points to the negative direction of the Z axis, and the component value in the negative direction of the Z axis matches the gravity acceleration value, determining that the wearing posture information corresponding to the first headset is the second posture;
[0030] If the component corresponding to the three-axis acceleration information of the second earphone points to the positive direction of the Z axis, and the component value in the positive direction of the Z axis matches the gravity acceleration value, then determining that the wearing posture information corresponding to the second earphone is the first posture;
[0031] If the component corresponding to the three-axis acceleration information of the second earphone points to the negative direction of the Z axis, and the component value in the negative direction of the Z axis matches the gravity acceleration value, it is determined that the wearing posture information corresponding to the second earphone is the second posture.
[0032] Optionally, the first earphone and the second earphone are further provided with a capacitive touch sensor, and the method further includes:
[0033] Acquiring capacitance sensing information detected by the capacitive touch sensor;
[0034] It is detected whether the ear clip earphone is worn according to the capacitive sensing information.
[0035] In addition, the present application also provides a headphone left and right channel matching device, which is applied to an ear clip-on headphone, wherein a first earphone and a second earphone of the ear clip-on headphone are provided with a three-axis acceleration sensor, and the device includes:
[0036] an acquisition module, configured to acquire triaxial acceleration information detected by the triaxial acceleration sensor when detecting that the ear clip-on earphone is worn;
[0037] a determination module, configured to determine corresponding wearing positions of the first earphone and the second earphone according to the three-axis acceleration information;
[0038] an adjustment module, configured to adjust a left channel and a right channel of a speaker of the ear clip-on earphone based on corresponding wearing positions of the first earphone and the second earphone, so that the left channel corresponds to the earphone when worn in the left ear, and the right channel corresponds to the earphone when worn in the right ear.
[0039] The present application also provides an ear-clip headset, which is a physical device and includes a memory, a processor, a behind-the-ear compartment, a speaker compartment, and a connecting bridge connecting the behind-the-ear compartment and the speaker compartment, wherein the speaker compartment is provided with an acoustic module, the acoustic module includes a speaker, and the behind-the-ear compartment is provided with a power module and an acceleration sensor;
[0040] The power supply module is used to provide power to the ear clip-on headphones;
[0041] The acceleration sensor is used to detect the three-axis acceleration information of the ear clip earphone;
[0042] The memory is used to store a left and right channel matching program for headphones;
[0043] The processor is used to execute the headphone left and right channel matching program, and implement the steps of the headphone left and right channel matching method as described above when executing the headphone left and right channel matching program.
[0044] The present application also provides a computer-readable storage medium, on which is stored a program for implementing a method for matching left and right channels of headphones. The program for implementing a method for matching left and right channels of headphones is executed by a processor to implement the steps of the above-mentioned method for matching left and right channels of headphones.
[0045] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned headphone left and right channel matching method when executed by a processor.
[0046] The present application discloses a method and apparatus for matching left and right sound channels of headphones, an earclip headphone, and a storage medium. The method is applied to earclip headphones, wherein a first earphone and a second earphone of the earclip headphone are provided with a three-axis acceleration sensor. The technical solution of the method is to obtain three-axis acceleration information detected by the three-axis acceleration sensor when the earclip headphone is detected to be worn. Based on the three-axis acceleration information, the corresponding wearing positions of the first earphone and the second earphone are determined. Then, based on the corresponding wearing positions of the first earphone and the second earphone, the left and right channels of the earclip headphone speaker are adjusted so that the left channel corresponds to the earphone worn in the left ear position, and the right channel corresponds to the earphone worn in the right ear position. This achieves automatic matching of the left and right channels with the left and right ears. This overcomes the inconvenience of marking the earphones with labels such as L / R in the related art, which requires manual confirmation to ensure that the earphones are not worn incorrectly. This improves the convenience of using the earclip headphone and effectively eliminates the need for the user to distinguish between the left and right channels before wearing the earphones. That is, no matter how the earclip headphone is worn, the obtained left and right channel sound signals are always correct, thereby improving the user's auditory experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0048] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the following briefly introduces the drawings required for use in the embodiment or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0049] FIG1 is a flow chart of a first embodiment of a method for matching left and right channels of headphones according to the present invention;
[0050] FIG2 is a schematic diagram of a wearing posture of an ear clip-on headset according to an embodiment of the present application in a worn state at one viewing angle;
[0051] FIG3 is an ear-clip headphone according to an embodiment of the present application at one viewing angle;
[0052] FIG4 is an ear-clip headphone according to an embodiment of the present application from another perspective;
[0053] FIG5 is a diagram showing the three-axis acceleration information when earphones are worn on the left and right ears in an embodiment of the present application.
[0054] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0055] To make the above-mentioned objects, features, and advantages of the present invention more clearly understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.
[0056] Ear clip headphones have a left earphone and a right earphone. The left earphone outputs the left channel, while the right earphone outputs the right channel. When the stereo headphones are worn, the left earphone contacts the user's left ear, while the right earphone contacts the user's right ear, allowing the left ear to hear the left channel and the right ear to hear the right channel. During wear, the relative positions of the left and right earphones cannot be interchanged, as doing so will directly affect the fidelity of the sound source and the resolution of the audio frequencies.
[0057] To achieve perfect sound quality, users must first identify the left and right sides of their ear clips before putting them on. The current solution is to mark the ear clips with symbols such as L / R, but this requires manual verification to ensure they are not worn incorrectly, which is inconvenient for the user.
[0058] Example 1
[0059] Based on this, please refer to FIG1 , which is a flow chart of a first embodiment of a method for matching left and right channels of headphones of the present application. The method for matching left and right channels of headphones is applied to ear clip-on headphones, wherein a first earphone and a second earphone of the ear clip-on headphones are both provided with a three-axis acceleration sensor. The method includes:
[0060] Step S10: When it is detected that the ear clip earphone is worn, three-axis acceleration information detected by the three-axis acceleration sensor is obtained.
[0061] As those skilled in the art will appreciate, an earphone-style headset comprises two individual earphones, namely a first earphone and a second earphone. As shown in Figures 3 and 4, Figure 3 shows an earphone-style headset according to an embodiment of the present application from one perspective, and Figure 4 shows an earphone-style headset according to an embodiment of the present application from another perspective. A single earphone comprises a speaker compartment 3 and a behind-the-ear compartment 1, as well as a connecting bridge 2 connecting the speaker compartment and the behind-the-ear compartment. The speaker compartment area refers to the area corresponding to the speaker compartment 3. As those skilled in the art will appreciate, for earphones, the speaker compartment 3 is typically provided with an acoustic module, which includes a speaker. Of course, the acoustic module may also include a microphone, but this is not specifically limited in this embodiment. The behind-the-ear compartment 1 is typically provided with a power module for providing electrical energy. Of course, the behind-the-ear compartment 1 may also be provided with a noise reduction module and a communication module, etc., but this is not specifically limited in this embodiment. The speaker is used to play audio from the left or right channel, and the power module is used to provide electrical energy to the single earphone. The communication module is used to enable the single earphone to communicate with other electronic devices connected to the single earphone for information exchange. The accelerometer is used to detect the three-axis acceleration information of the earphone. The microphone is used to collect ambient audio, and the noise reduction module is used to perform adaptive noise reduction on the ambient audio collected by the microphone based on a preset noise reduction algorithm. The preset noise reduction algorithm can be an ANC (Active Noise Control) noise reduction algorithm, an ENC (Environmental Noise Cancellation) noise reduction algorithm, a DSP (digital signal processing) noise reduction algorithm, or a CVC (Clear Voice Capture) noise reduction algorithm. Those skilled in the art have conducted in-depth research on these noise reduction algorithms and will not be elaborated on here.
[0062] Those skilled in the art will know that a three-axis acceleration sensor works based on the basic principle of acceleration, and acceleration is a space vector.
[0063] Exemplarily, the first earphone and the second earphone are further provided with a capacitive touch sensor, and the method further includes:
[0064] Step A10, obtaining capacitance sensing information detected by the capacitive touch sensor;
[0065] Step A20: Detecting whether the ear clip earphone is worn according to the capacitive sensing information.
[0066] The present application obtains capacitance sensing information detected by a capacitive touch sensor, and accurately detects whether the ear clip earphones are worn based on the capacitance sensing information.
[0067] After step S10, step S20 is executed to determine the corresponding wearing positions of the first earphone and the second earphone according to the three-axis acceleration information.
[0068] Exemplarily, determining the corresponding wearing positions of the first earphone and the second earphone according to the three-axis acceleration information includes:
[0069] Step B10, determining the vertical component direction of the three-axis acceleration information;
[0070] Step B20: determining corresponding wearing positions of the first earphone and the second earphone according to the component directions.
[0071] In this embodiment, it is understandable that the posture of the first earphone when worn on the left ear and when worn on the right ear will be reversed. That is, if the component of the three-axis acceleration information corresponding to the first earphone worn on the left ear points to the positive direction of the Z axis, then the component of the three-axis acceleration information corresponding to the first earphone worn on the right ear points to the negative direction of the Z axis. If the component of the three-axis acceleration information corresponding to the first earphone worn on the right ear points to the negative direction of the Z axis, then the component of the three-axis acceleration information corresponding to the first earphone worn on the right ear points to the positive direction of the Z axis, as shown in Figure 5, which is a display diagram of the three-axis acceleration information when the earphones are worn on the left and right ears in the embodiment of the present application.
[0072] The mapping relationship between the three-axis acceleration information and the wearing position information can be stored in advance in the first headset, or in the cloud server registered with the first headset. In one example, the mapping relationship stored in the first headset or the cloud server registered with the first headset is: the component of the three-axis acceleration information points to the positive direction of the Z axis, and the mapped wearing position information is the left ear wearing position. Also, the component of the three-axis acceleration information points to the negative direction of the Z axis, and the mapped wearing position information is the right ear wearing position. Based on the stored mapping relationship, it is convenient to subsequently determine the corresponding wearing position of the first headset according to the three-axis acceleration information.
[0073] Similarly, the second earphone's position will be reversed when worn on the left ear versus the right ear. That is, if the components of the three-axis acceleration information corresponding to the second earphone worn on the left ear point in the positive direction of the Z axis, then the components of the three-axis acceleration information corresponding to the second earphone worn on the right ear point in the negative direction of the Z axis. If the components of the three-axis acceleration information corresponding to the second earphone worn on the right ear point in the negative direction of the Z axis, then the components of the three-axis acceleration information corresponding to the second earphone worn on the right ear point in the positive direction of the Z axis, as shown in Figure 5.
[0074] The mapping relationship between the three-axis acceleration information and the wearing position information can be stored in advance in the second headset, or in the cloud server registered with the second headset. In one example, the mapping relationship stored in the second headset or the cloud server registered with the second headset is: the component of the three-axis acceleration information points to the negative direction of the Z axis, and the mapped wearing position information is the right ear wearing position. And, the component of the three-axis acceleration information points to the positive direction of the Z axis, and the mapped wearing position information is the left ear wearing position. Based on the stored mapping relationship, it is convenient to subsequently determine the corresponding wearing position of the second headset according to the three-axis acceleration information.
[0075] After step S20, step S30 is executed to adjust the left channel and the right channel of the speaker of the ear clip-on earphone based on the corresponding wearing positions of the first earphone and the second earphone, so that the left channel corresponds to the earphone worn in the left ear position, and the right channel corresponds to the earphone worn in the right ear position.
[0076] As shown in Figure 2, Figure 2 is a schematic diagram of the wearing posture of the ear-clip earphones of the embodiment of the present application in a wearing state at one viewing angle (looking down from the top of the head). The two earphone units of the first earphone and the second earphone are the same, and there is no need to manually distinguish between the left and right ears, and the user can wear them at will. The earphones will automatically distinguish and configure the left and right channels according to the left and right sides of the user. Since the user's head is generally in an upright upward position when just wearing it, rather than a lying or inverted position, the left and right channel matching method of the earphones of the embodiment of the present application can easily implement an autonomous detection scheme for the left and right channels of open earphones, which is convenient for users to wear and use. Users no longer need to distinguish between left and right, and can wear them blindly. In addition, the ear-clip earphones of the embodiment of the present application have a simple structure, and the hardware cost of implementing the left and right channel matching method of the earphones is low.
[0077] In one embodiment, an acceleration sensor can be provided in the compartment behind the ear, and the coordinates can be calibrated according to the normal wearing posture when the headset leaves the factory. For example, the same coordinate calibration is performed on each single earphone, and the Z axis is calibrated to point upwards in the normal wearing posture. It is also defined that when the headset is worn normally, the left channel is detected when the Z axis points upwards, as shown in the side view diagram when the headset is worn on the left ear in Figure 5. When worn, the right channel is detected when the Z axis points downwards, as shown in the side view diagram when the headset is worn on the right ear in Figure 5. When the user wears the headset in the correct posture, the Z axis of one earphone must point upwards and the Z axis of the other earphone must point downwards, completing the left and right channel configuration. After the headset-type headset leaves the factory, the left and right channel identification needs to be completed in conjunction with the wearing detection function of the acceleration sensor data of the headset.
[0078] The embodiment of the present application discloses a method and device for matching left and right channels of headphones, an ear clip-on headphone, and a storage medium. The ear clip-on headphone left and right channel matching method is applied to ear clip-on headphones, wherein a first earphone and a second earphone of the ear clip-on headphone are provided with a three-axis acceleration sensor. The technical solution of the ear clip-on headphone left and right channel matching method of the embodiment of the present application is to obtain three-axis acceleration information detected by the three-axis acceleration sensor when detecting that the ear clip headphone is worn, determine the corresponding wearing positions of the first earphone and the second earphone according to the three-axis acceleration information, and then determine the corresponding wearing positions of the first earphone and the second earphone based on the corresponding wearing positions of the first earphone and the second earphone. The left and right channels of the ear clip headphones' speakers are adjusted so that the left channel corresponds to the headphones when worn in the left ear, and the right channel corresponds to the headphones when worn in the right ear, thereby achieving automatic matching of the left and right channels with the left and right ears. This overcomes the inconvenience of marking the headphones with L / R labels in the related art, which requires manual confirmation to ensure that they are not worn upside down. This improves the ease of use of the ear clip headphones and effectively eliminates the need for users to distinguish between the left and right channels before wearing the headphones. That is, no matter how the ear clip headphones are worn, the sound signals of the left and right channels obtained are always correct, thereby improving the user's hearing effect.
[0079] In a possible implementation, determining corresponding wearing positions of the first earphone and the second earphone according to the component directions includes:
[0080] Step C10: determining wearing posture information corresponding to the first earphone and the second earphone according to the component orientation;
[0081] Step C20: Determine corresponding wearing positions of the first earphone and the second earphone according to the wearing posture information.
[0082] Exemplarily, determining wearing posture information corresponding to the first earphone and the second earphone according to the component orientation includes:
[0083] Step D10: If the component corresponding to the three-axis acceleration information of the first earphone points to the positive direction of the Z axis, determining that the wearing posture information corresponding to the first earphone is the first posture;
[0084] Step D20: If the component corresponding to the three-axis acceleration information of the first headset points to the negative direction of the Z axis, determining that the wearing posture information corresponding to the first headset is the second posture;
[0085] Step D30: If the component corresponding to the three-axis acceleration information of the second earphone points to the positive direction of the Z axis, determining that the wearing posture information corresponding to the second earphone is the first posture;
[0086] Step D40: If the component corresponding to the three-axis acceleration information of the second earphone points to the negative direction of the Z axis, it is determined that the wearing posture information corresponding to the second earphone is the second posture.
[0087] The embodiment of the present application determines the corresponding wearing posture information of the first earphone and the second earphone according to the component direction, and determines the corresponding wearing positions of the first earphone and the second earphone according to the wearing posture information, thereby effectively improving the accuracy of identifying the wearing position of the earphones, and automatically matching the left and right channels with the left and right ears by having the earphone with the left channel corresponding to the wearing position of the left ear and the earphone with the right channel corresponding to the wearing position of the right ear, thereby overcoming the inconvenience caused by marking labels such as L / R on the earphones in the related art, which requires manual confirmation to ensure that they are not worn incorrectly, and improving the ease of use of ear clip earphones. The embodiment of the present application provides an open-ear headphone that does not require the user to distinguish between the left and right ears when worn, and the earphone can autonomously identify the left and right channels when worn, avoiding the trouble of the user having to distinguish between the left and right earphones when wearing.
[0088] In one practicable manner, determining corresponding wearing positions of the first earphone and the second earphone according to the wearing posture information includes:
[0089] Step E10: If the wearing posture information corresponding to the first earphone is the first posture, determining that the wearing position corresponding to the first earphone is the left ear wearing position;
[0090] Step E20: If the wearing posture information corresponding to the first earphone is the second posture, determining that the wearing position corresponding to the first earphone is the right ear wearing position;
[0091] Step E30: If the wearing posture information corresponding to the second earphone is the first posture, determining that the wearing position corresponding to the second earphone is the left ear wearing position;
[0092] Step E40: If the wearing posture information corresponding to the second earphone is the second posture, determine that the wearing position corresponding to the second earphone is the right ear wearing position.
[0093] In this embodiment, the first posture and the second posture are different. It is understood that the second posture is a 180-degree flip, or a near 180-degree flip, of the first posture. In one example, referring to FIG5 , the left image shows the first posture corresponding to when the target earphone is worn on the left ear, and the right image shows the second posture corresponding to when the target earphone is worn on the right ear. The target earphone is either the first earphone or the second earphone.
[0094] In the embodiment of the present application, when the wearing posture information corresponding to the first earphone is the first posture, the wearing position corresponding to the first earphone is determined to be the left ear wearing position; if the wearing posture information corresponding to the first earphone is the second posture, the wearing position corresponding to the first earphone is determined to be the right ear wearing position; if the wearing posture information corresponding to the second earphone is the first posture, the wearing position corresponding to the second earphone is determined to be the left ear wearing position; if the wearing posture information corresponding to the second earphone is the second posture, the wearing position corresponding to the second earphone is determined to be the right ear wearing position, thereby effectively improving the accuracy of identifying the wearing position of the earphone, and automatically matching the left and right channels with the left and right ears through the earphone whose left channel corresponds to the left ear wearing position and the earphone whose right channel corresponds to the right ear wearing position, so that there is no need to distinguish between the left and right channels before wearing the earphones, that is, no matter how the ear clip earphones are worn, the sound signals of the left and right channels obtained are always correct.
[0095] Example 2
[0096] Based on the first embodiment of the present application, in another embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated hereafter. On this basis, according to the component orientation, the wearing posture information corresponding to the first earphone and the second earphone is determined, including:
[0097] Step F10: If the component corresponding to the three-axis acceleration information of the first headset points to the positive direction of the Z axis, and the component value in the positive direction of the Z axis matches the gravity acceleration value, then determining that the wearing posture information corresponding to the first headset is the first posture;
[0098] Step F20: If the component corresponding to the three-axis acceleration information of the first headset points to the negative direction of the Z axis, and the component value in the negative direction of the Z axis matches the value of gravity acceleration, determining that the wearing posture information corresponding to the first headset is the second posture;
[0099] Step F30: If the component corresponding to the three-axis acceleration information of the second headset points to the positive direction of the Z axis, and the component value in the positive direction of the Z axis matches the gravity acceleration value, then determining that the wearing posture information corresponding to the second headset is the first posture;
[0100] Step F40: If the component corresponding to the three-axis acceleration information of the second earphone points to the negative direction of the Z axis, and the component value in the negative direction of the Z axis matches the gravity acceleration value, then the wearing posture information corresponding to the second earphone is determined to be the second posture.
[0101] In this embodiment, those skilled in the art will know that, since when a person wears headphones, the person's head is generally in an upright position (the head is rarely in a lying or upside-down position), the component value in the Z-axis direction generally matches the gravity acceleration value. Based on this principle, in the embodiment of the present application, when the component corresponding to the three-axis acceleration information of the first earphone points to the positive direction of the Z axis, and the component value in the positive direction of the Z axis matches the gravity acceleration value, the wearing posture information corresponding to the first earphone is determined to be the first posture; if the component corresponding to the three-axis acceleration information of the first earphone points to the negative direction of the Z axis, and the component value in the negative direction of the Z axis matches the gravity acceleration value, the wearing posture information corresponding to the first earphone is determined to be the second posture; if the component corresponding to the three-axis acceleration information of the second earphone points to the positive direction of the Z axis, and the component value in the positive direction of the Z axis matches the gravity acceleration value, the second earphone is determined to be the second posture. The wearing posture information corresponding to the earphone is the first posture; if the component corresponding to the three-axis acceleration information of the second earphone points to the negative direction of the Z axis, and the component value in the negative direction of the Z axis matches the gravity acceleration value, then the wearing posture information corresponding to the second earphone is determined to be the second posture, thereby further improving the accuracy of identifying the wearing position of the earphone, and through the earphone whose left channel corresponds to the left ear wearing position, and the earphone whose right channel corresponds to the right ear wearing position, automatic matching of the left and right channels with the left and right ears is achieved, further determining that there is no need to distinguish between the left and right channels before wearing the earphones, and no matter how the ear clip earphones are worn, the sound signals of the left and right channels obtained are always correct.
[0102] Example 3
[0103] An embodiment of the present invention further provides a device for matching left and right channels of headphones. The device is applied to an earphone, wherein a first earphone and a second earphone of the earphone are provided with a three-axis acceleration sensor. The device includes:
[0104] an acquisition module, configured to acquire triaxial acceleration information detected by the triaxial acceleration sensor when detecting that the ear clip-on earphone is worn;
[0105] a determination module, configured to determine corresponding wearing positions of the first earphone and the second earphone according to the three-axis acceleration information;
[0106] an adjustment module, configured to adjust a left channel and a right channel of a speaker of the ear clip-on earphone based on corresponding wearing positions of the first earphone and the second earphone, so that the left channel corresponds to the earphone when worn in the left ear, and the right channel corresponds to the earphone when worn in the right ear.
[0107] Optionally, the determining module is further configured to:
[0108] Determining the vertical component direction of the three-axis acceleration information;
[0109] The step of determining corresponding wearing positions of the first earphone and the second earphone according to the component directions.
[0110] Optionally, the determining module is further configured to:
[0111] Determining wearing posture information corresponding to the first earphone and the second earphone according to the component orientation;
[0112] Determine corresponding wearing positions of the first earphone and the second earphone according to the wearing posture information.
[0113] Optionally, the determining module is further configured to:
[0114] If the component corresponding to the three-axis acceleration information of the first earphone points to the positive direction of the Z axis, determining that the wearing posture information corresponding to the first earphone is the first posture;
[0115] If the component corresponding to the three-axis acceleration information of the first earphone points to the negative direction of the Z axis, determining that the wearing posture information corresponding to the first earphone is the second posture;
[0116] If the component corresponding to the three-axis acceleration information of the second earphone points to the positive direction of the Z axis, determining that the wearing posture information corresponding to the second earphone is the first posture;
[0117] If the component corresponding to the three-axis acceleration information of the second earphone points to the negative direction of the Z axis, it is determined that the wearing posture information corresponding to the second earphone is the second posture.
[0118] Optionally, the determining module is further configured to:
[0119] If the wearing posture information corresponding to the first earphone is the first posture, determining that the wearing position corresponding to the first earphone is the left ear wearing position;
[0120] If the wearing posture information corresponding to the first earphone is the second posture, determining that the wearing position corresponding to the first earphone is the right ear wearing position;
[0121] If the wearing posture information corresponding to the second earphone is the first posture, determining that the wearing position corresponding to the second earphone is the left ear wearing position;
[0122] If the wearing posture information corresponding to the second earphone is the second posture, it is determined that the wearing position corresponding to the second earphone is the right ear wearing position.
[0123] Optionally, the determining module is further configured to:
[0124] If the component corresponding to the three-axis acceleration information of the first headset points to the positive direction of the Z axis, and the component value in the positive direction of the Z axis matches the gravity acceleration value, then determining that the wearing posture information corresponding to the first headset is the first posture;
[0125] If the component corresponding to the three-axis acceleration information of the first headset points to the negative direction of the Z axis, and the component value in the negative direction of the Z axis matches the gravity acceleration value, determining that the wearing posture information corresponding to the first headset is the second posture;
[0126] If the component corresponding to the three-axis acceleration information of the second earphone points to the positive direction of the Z axis, and the component value in the positive direction of the Z axis matches the gravity acceleration value, then determining that the wearing posture information corresponding to the second earphone is the first posture;
[0127] If the component corresponding to the three-axis acceleration information of the second earphone points to the negative direction of the Z axis, and the component value in the negative direction of the Z axis matches the gravity acceleration value, it is determined that the wearing posture information corresponding to the second earphone is the second posture.
[0128] Optionally, the acquisition module is further configured to:
[0129] Acquiring capacitance sensing information detected by the capacitive touch sensor;
[0130] It is detected whether the ear clip earphone is worn according to the capacitive sensing information.
[0131] The headphone left and right channel matching device provided in an embodiment of the present invention utilizes the headphone left and right channel matching method of the aforementioned embodiment 1 or embodiment 2, thereby resolving the technical issue in the related art whereby manual verification of whether the left and right earphones are worn reversed is required, resulting in poor usability of ear-clip headphones. Compared to the prior art, the beneficial effects of the headphone left and right channel matching device provided in an embodiment of the present invention are the same as those of the headphone left and right channel matching method provided in the aforementioned embodiment. Other technical features of the headphone left and right channel matching device are the same as those disclosed in the aforementioned embodiment method and are not further elaborated here.
[0132] Example 4
[0133] An embodiment of the present invention provides an ear-clip headset, which includes a memory, a processor, a behind-the-ear compartment, a speaker compartment, and a connecting bridge connecting the behind-the-ear compartment and the speaker compartment, wherein the speaker compartment is provided with an acoustic module, the acoustic module includes a speaker, and the behind-the-ear compartment is provided with a power module and an acceleration sensor; the power module is used to provide power to the ear-clip headset; the acceleration sensor is used to detect three-axis acceleration information of the ear-clip headset; the memory is used to store a left-right channel matching program for the headset; the processor is used to execute the left-right channel matching program for the headset, and when executing the left-right channel matching program for the headset, the steps of the left-right channel matching method for the headset in the above embodiment are implemented.
[0134] The ear-clip headphones provided by the present invention utilize the headphone left-right channel matching method described in the aforementioned embodiment, resolving the technical issue in the related art where manual verification of whether the left and right earphones are worn reversed results in poor usability. Compared to the prior art, the ear-clip headphones provided by the present invention achieve the same beneficial effects as the headphone left-right channel matching method described in the aforementioned embodiment. Other technical features of the ear-clip headphones are the same as those disclosed in the aforementioned embodiment and are not further elaborated upon here.
[0135] It should be understood that various parts of the present disclosure can be implemented with hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in an appropriate manner.
[0136] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
[0137] Example 5
[0138] An embodiment of the present invention provides a computer-readable storage medium having computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the headphone left and right channel matching method in the above embodiment.
[0139] The computer-readable storage medium provided in the embodiment of the present invention can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0140] The computer-readable storage medium may be included in the ear clip-on headset, or may exist independently without being assembled in the ear clip-on headset.
[0141] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the ear clip headphones, the ear clip headphones: upon detecting that the ear clip headphones are worn, obtain three-axis acceleration information detected by the three-axis acceleration sensor; determine the corresponding wearing positions of the first earphone and the second earphone based on the three-axis acceleration information; and based on the corresponding wearing positions of the first earphone and the second earphone, adjust the left channel and the right channel of the speaker of the ear clip headphones so that the left channel corresponds to the earphone in the left ear wearing position, and the right channel corresponds to the earphone in the right ear wearing position.
[0142] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0143] The flow charts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0144] The modules involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.
[0145] The computer-readable storage medium provided by the present invention stores computer-readable program instructions for executing the aforementioned headphone left-right channel matching method. This solves the technical problem in the related art of requiring manual verification of whether the left and right earphones are worn reversed, resulting in poor usability of ear-clip headphones. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiments of the present invention are the same as those of the headphone left-right channel matching method provided by the aforementioned embodiments 1 or 2, and are not further elaborated here.
[0146] Example 6
[0147] An embodiment of the present invention further provides a computer program product, including a computer program, which implements the steps of the above-mentioned headphone left and right channel matching method when executed by a processor.
[0148] The computer program product provided by this application can solve the technical problem in the related art of requiring manual verification of whether the left and right earphones are worn reversed, resulting in poor usability of ear-clip earphones. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiments of the present invention are the same as those of the headphone left and right channel matching methods provided by the above-mentioned embodiments 1 or 2, and will not be further elaborated here.
[0149] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.
Claims
1. A method for matching left and right channels of headphones, characterized in that: The earphone left and right channel matching method is applied to an earclip earphone, wherein a first earphone and a second earphone of the earclip earphone are both provided with a three-axis acceleration sensor. The method comprises: When it is detected that the ear clip-on earphone is worn, obtaining triaxial acceleration information detected by the triaxial acceleration sensor; determining corresponding wearing positions of the first earphone and the second earphone according to the three-axis acceleration information; Based on the corresponding wearing positions of the first earphone and the second earphone, the left channel and the right channel of the speaker of the ear clip-on earphone are adjusted so that the left channel corresponds to the earphone in the left ear wearing position, and the right channel corresponds to the earphone in the right ear wearing position.
2. The headphone left and right channel matching method according to claim 1, wherein: Determining corresponding wearing positions of the first earphone and the second earphone according to the three-axis acceleration information includes: Determining the vertical component direction of the three-axis acceleration information; The step of determining corresponding wearing positions of the first earphone and the second earphone according to the component directions.
3. The headphone left and right channel matching method according to claim 2, wherein: Determining corresponding wearing positions of the first earphone and the second earphone according to the component directions includes: Determining wearing posture information corresponding to the first earphone and the second earphone according to the component orientation; Determine corresponding wearing positions of the first earphone and the second earphone according to the wearing posture information.
4. The headphone left and right channel matching method according to claim 3, wherein: Determining wearing posture information corresponding to the first earphone and the second earphone according to the component orientation includes: If the component corresponding to the three-axis acceleration information of the first earphone points to the positive direction of the Z axis, determining that the wearing posture information corresponding to the first earphone is the first posture; If the component corresponding to the three-axis acceleration information of the first earphone points to the negative direction of the Z axis, determining that the wearing posture information corresponding to the first earphone is the second posture; If the component corresponding to the three-axis acceleration information of the second earphone points to the positive direction of the Z axis, determining that the wearing posture information corresponding to the second earphone is the first posture; If the component corresponding to the three-axis acceleration information of the second earphone points to the negative direction of the Z axis, it is determined that the wearing posture information corresponding to the second earphone is the second posture.
5. The headphone left and right channel matching method according to claim 4, wherein: Determining corresponding wearing positions of the first earphone and the second earphone according to the wearing posture information includes: If the wearing posture information corresponding to the first earphone is the first posture, determining that the wearing position corresponding to the first earphone is the left ear wearing position; If the wearing posture information corresponding to the first earphone is the second posture, determining that the wearing position corresponding to the first earphone is the right ear wearing position; If the wearing posture information corresponding to the second earphone is the first posture, determining that the wearing position corresponding to the second earphone is the left ear wearing position; If the wearing posture information corresponding to the second earphone is the second posture, it is determined that the wearing position corresponding to the second earphone is the right ear wearing position.
6. The headphone left and right channel matching method according to claim 3, wherein: Determining wearing posture information corresponding to the first earphone and the second earphone according to the component orientation includes: If the component corresponding to the three-axis acceleration information of the first headset points to the positive direction of the Z axis, and the component value in the positive direction of the Z axis matches the gravity acceleration value, then determining that the wearing posture information corresponding to the first headset is the first posture; If the component corresponding to the three-axis acceleration information of the first headset points to the negative direction of the Z axis, and the component value in the negative direction of the Z axis matches the gravity acceleration value, determining that the wearing posture information corresponding to the first headset is the second posture; If the component corresponding to the three-axis acceleration information of the second earphone points to the positive direction of the Z axis, and the component value in the positive direction of the Z axis matches the gravity acceleration value, then determining that the wearing posture information corresponding to the second earphone is the first posture; If the component corresponding to the three-axis acceleration information of the second earphone points to the negative direction of the Z axis, and the component value in the negative direction of the Z axis matches the gravity acceleration value, it is determined that the wearing posture information corresponding to the second earphone is the second posture.
7. The headphone left and right channel matching method according to any one of claims 1 to 6, wherein: The first earphone and the second earphone are further provided with a capacitive touch sensor, and the method further includes: Acquiring capacitance sensing information detected by the capacitive touch sensor; It is detected whether the ear clip earphone is worn according to the capacitive sensing information.
8. A headphone left and right channel matching device, characterized in that: The earphone left and right channel matching device is applied to an earclip earphone, wherein a first earphone and a second earphone of the earclip earphone are provided with a three-axis acceleration sensor, and the device comprises: an acquisition module, configured to acquire triaxial acceleration information detected by the triaxial acceleration sensor when detecting that the ear clip-on earphone is worn; a determination module, configured to determine corresponding wearing positions of the first earphone and the second earphone according to the three-axis acceleration information; an adjustment module, configured to adjust a left channel and a right channel of a speaker of the ear clip-on earphone based on corresponding wearing positions of the first earphone and the second earphone, so that the left channel corresponds to the earphone when worn in the left ear, and the right channel corresponds to the earphone when worn in the right ear.
9. An ear clip-on headset, characterized in that: The ear clip-on earphones include a memory, a processor, a behind-the-ear compartment, a speaker compartment, and a connecting bridge connecting the behind-the-ear compartment and the speaker compartment. The speaker compartment is provided with an acoustic module including a speaker, and the behind-the-ear compartment is provided with a power module and an acceleration sensor. The power supply module is used to provide power to the ear clip-on headphones; The acceleration sensor is used to detect the three-axis acceleration information of the ear clip earphone; The memory is used to store a left and right channel matching program for headphones; The processor is configured to execute the headphone left and right channel matching program, and implement the steps of the headphone left and right channel matching method according to any one of claims 1 to 7 when executing the headphone left and right channel matching program.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a program for implementing a method for matching left and right channels of headphones. The program for implementing a method for matching left and right channels of headphones is executed by a processor to implement the steps of the method for matching left and right channels of headphones as claimed in any one of claims 1 to 7.
Citation Information
Patent Citations
Information processing method and sound output device
CN105228041A
Auricle clamping structure, a bone conduction listening device and a listening method
CN113099339A
Microphone management method and device of ear clamping type earphone and ear clamping type earphone
CN114760554A
Method and device for identifying left earphone and right earphone, and earphone
CN115086817A
Earphone left and right sound channel matching method and device, ear clip type earphone and storage medium
CN118200787A