A method and device for calibrating the volume of a Bluetooth headset, a headset case and a medium

By acquiring the audio signal from the Bluetooth headset, calibrating the volume difference, and adjusting for faults, the problem of uneven volume in Bluetooth headsets was solved, achieving volume equalization and quality improvement, thus enhancing the user experience.

CN116567476BActive Publication Date: 2025-11-25SHENZHEN GINTO E COMMERCE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310645287.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-01
Publication Date
2025-11-25
Estimated Expiration
2043-06-01

AI Technical Summary

Technical Problem

Bluetooth headphones may develop volume imbalances after prolonged use, resulting in unbalanced sound when inserted into the ear.

Method used

By acquiring the sound signals from the two headphones, the volume difference is determined, and the headphone with lower volume is calibrated based on the difference to make its volume the same as that of the headphone with higher volume. At the same time, the headphone distance is judged and the frequency response curve is generated to determine foreign object blockage or quality problems, and corresponding fault adjustments are made.

Benefits of technology

It achieves balanced volume in Bluetooth headphones, improves user experience, ensures accurate and high-quality headphone volume, reduces noise interference, and prevents foreign object blockage and quality issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116567476B_ABST
    Figure CN116567476B_ABST
Patent Text Reader

Abstract

The application relates to the field of Bluetooth earphone volume calibration, in particular to a Bluetooth earphone volume calibration method and device, an earphone box and a medium, which comprises the following steps: acquiring a first sound signal of a first earphone and a second sound signal of a second earphone; determining a first volume based on the first sound signal and determining a second volume based on the second sound signal; determining the earphone with a smaller volume as a to-be-calibrated earphone according to the first volume and the second volume; determining a volume difference based on the first volume and the second volume, and calibrating the to-be-calibrated earphone based on the volume difference, so that the volumes of the first earphone and the second earphone are the same. The application has the technical effect of guaranteeing the volume balance when the earphone is inserted into the ear.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of Bluetooth headset volume calibration, and in particular to a Bluetooth headset volume calibration method, apparatus, headset case, and medium. Background Technology

[0002] With the increasing variety of smart terminal devices, Bluetooth headsets are playing an increasingly important role in people's daily lives and work due to their convenience and compact size.

[0003] In related technologies, after prolonged use, one of the Bluetooth earphones may become blocked by foreign objects or have internal structural quality problems. These issues can cause the two earphones to play at different volumes, affecting the sound balance when the earphones are in use.

[0004] Therefore, how to solve the problem of uneven volume is an urgent issue that technicians need to address. Summary of the Invention

[0005] In order to ensure that the volume of the headphones is the same and to guarantee the sound effect balance when they are in the ear, this application provides a method, device, headphone case and medium for calibrating the volume of Bluetooth headphones.

[0006] Firstly, this application provides a method for calibrating the volume of a Bluetooth headset, employing the following technical solution:

[0007] A method for calibrating the volume of a Bluetooth headset, comprising:

[0008] Acquire the first audio signal from the first earphone and the second audio signal from the second earphone;

[0009] A first volume is determined based on the first sound signal, and a second volume is determined based on the second sound signal;

[0010] Based on the first volume and the second volume, the earphone with the lower volume is identified as the earphone to be calibrated;

[0011] A volume difference is determined based on the first volume and the second volume, and the headphones to be calibrated are calibrated based on the volume difference so that the volumes of the first and second headphones are the same.

[0012] By employing the above technical solution, a first sound signal from a first earphone and a second sound signal from a second earphone are obtained. A first volume is determined based on the first sound signal, and a second volume is determined based on the second sound signal. The earphone with the lower volume is identified as the earphone to be calibrated, as any problem with either earphone may cause a decrease in volume; therefore, the earphone with the lower volume can be selected as the earphone to be calibrated. A volume difference is determined based on the first and second volume values, and the earphone to be calibrated is then calibrated based on this volume difference to increase the volume of the earphone to be calibrated, making the volumes of both earphones equal and providing a better user experience.

[0013] In one possible implementation, after acquiring the first audio signal from the first earphone and the second audio signal from the second earphone, the method further includes:

[0014] Obtain the reception duration of the first audio signal and the reception duration of the second audio signal;

[0015] Based on the reception duration of the first sound signal and the reception duration of the second sound signal, it is determined whether the distance between the first earphone and the second earphone is the same, wherein the distance between the first earphone represents the distance between the first earphone and the earphone case, and the distance between the second earphone represents the distance between the second earphone and the earphone case.

[0016] If they are the same, then the steps of determining the first volume based on the first sound signal and determining the second volume based on the second sound signal are performed.

[0017] If they are different, a distance alarm signal is sent.

[0018] By adopting the above technical solution, the distance between the first earphone and the second earphone is determined based on the reception duration of the first sound signal and the reception duration of the second sound signal. When the earphone distances are the same, the two collected sound signals can be determined to be valid sound signals. When the earphone distances are different, a distance alarm signal is sent to avoid the problem of low accuracy caused by determining the first volume and the second volume based on the first sound signal and the second sound signal respectively when the distances are different.

[0019] In one possible implementation, after calibrating the headphones to be calibrated based on the volume difference so that the volumes of the first and second headphones are the same, the process further includes:

[0020] Determine whether the volume of any calibrated headphone reaches the standard volume level, wherein the standard volume level is determined based on the correspondence between headphone volume and volume level and the standard headphone volume, and the standard headphone volume is the volume that the volume control request wants to achieve;

[0021] If the calibrated headphone volume reaches the standard volume level, it is determined that there is no problem with the first and second headphones;

[0022] If the calibrated headphone volume does not reach the standard volume level, then it is determined that there is a problem with the first and second headphones;

[0023] The problem type is determined based on the calibrated sound signal;

[0024] Adjust the first and second earpieces according to the type of problem.

[0025] By adopting the above technical solution, it is determined whether the volume of any calibrated headphone reaches the standard volume level. The standard volume level is determined based on the correspondence between headphone volume and volume level and the standard headphone volume, which is the volume that the volume control request wants to achieve. If the calibrated headphone volume reaches the standard volume level, it indicates that there was only a volume problem before calibration. If the calibrated headphone volume does not reach the standard volume level, it indicates that the headphone has not only a volume problem, but also a volume problem. Then, the problem type is determined based on the calibrated sound signal, and the first and second headphones are adjusted according to the problem type to ensure that the first and second headphones can play at normal volume.

[0026] In one possible implementation, determining the problem type based on the calibrated audio signal includes:

[0027] Generate frequency response curves based on calibrated sound signals;

[0028] Determine a reference frequency response curve and determine whether the frequency response curve is the same as the reference frequency response curve, wherein the reference frequency response curve is the frequency response curve of the sound signal of the headphones without quality problems.

[0029] If they are the same, it is determined that there is a foreign object blocking the first and second earphones; if they are different, it is determined that there is a quality problem with the first and second earphones.

[0030] By adopting the above technical solution, the reference frequency response curve is the frequency response curve of the sound signal of the earphone without quality problems. When the frequency response curve of the calibrated sound signal is the same as the reference frequency response curve, it is determined that there is foreign object blockage in the first and second earphones; if they are different, it is determined that there is a quality problem in the first and second earphones. This solution can accurately determine the problem type of the first and second earphones based only on the frequency response curve, which improves the efficiency of problem type localization.

[0031] In one possible implementation, the fault adjustment of the first and second earpieces according to the problem type includes:

[0032] If there is a foreign object blocking the first and second earpieces, a vibration signal is sent to control the first and second earpieces to vibrate.

[0033] If there is a quality problem with the first and second earpieces, a fault alarm will be sent.

[0034] By adopting the above technical solution, if there is a foreign object blockage in the first and second earphones, a vibration signal is sent to control the first and second earphones to vibrate, so that the foreign object can be dislodged; if there is a quality problem with the first and second earphones, a fault alarm is sent to remind the user to repair the fault in time and avoid the earphones being in a long-term damaged state.

[0035] In one possible implementation, calibrating the headphones to be calibrated based on the volume difference so that the volumes of the first and second headphones are the same includes:

[0036] Determine whether the volume difference is greater than a preset maximum volume difference threshold;

[0037] If the difference is greater than the volume difference, the headphones to be calibrated are calibrated based on the volume difference so that the volume of the first and second headphones is the same.

[0038] By employing the above technical solution, it is determined whether the volume difference exceeds a preset maximum volume difference threshold. If the volume difference exceeds the preset maximum volume difference threshold, it indicates that the volume difference between the first and second earphones affects the user's experience, and therefore calibration is required. If the volume difference does not exceed the preset maximum volume difference threshold, it indicates that the volume difference between the first and second earphones is small and does not affect the user's experience, and therefore calibration is not required. Determining whether to calibrate the earphones by judging the volume difference can effectively improve the user experience.

[0039] In one possible implementation, after acquiring the first audio signal from the first earphone and the second audio signal from the second earphone, the method further includes:

[0040] The sound signal waveform corresponding to the sound signal is obtained based on the sound signal, wherein the sound signal is a first sound signal or a second sound signal;

[0041] Determine whether the sound signal waveform is the same as a preset sound signal waveform, wherein the preset sound signal waveform is a standard sound signal waveform without noise;

[0042] If they are the same, then it is determined that the sound signal does not contain noise;

[0043] If they are different, then it is determined that the sound signal corresponding to the sound signal waveform contains noise;

[0044] Based on the sound signal, noise signal in the sound signal is obtained, and noise volume is determined based on the noise signal;

[0045] Determine whether the noise volume is greater than a preset noise volume threshold;

[0046] If the value is greater than the value, noise reduction processing is performed on the first and second audio signals.

[0047] Accordingly, determining the first volume based on the first sound signal and determining the second volume based on the second sound signal includes:

[0048] The first volume is determined based on the first sound signal after noise reduction processing, and the second volume is determined based on the second sound signal after noise reduction processing.

[0049] By employing the above technical solution, the sound signal waveform corresponding to the sound signal is obtained, and it is determined whether the sound signal is the same as a preset sound signal waveform. The preset sound signal waveform is a standard sound signal waveform without noise. This determination helps identify whether noise is present in the sound signal waveform. If the waveforms are the same, it indicates the absence of noise; if the waveforms are different, it indicates the presence of noise. The noise signal in the sound signal is then obtained, and its volume is determined. It is then determined whether the noise volume exceeds a preset noise volume threshold. If it does, it indicates that the noise volume in the first and second sound signals is too high and affects both the first and second volumes. Therefore, noise reduction processing is required. The first volume is determined based on the noise-reduced first sound signal, and the second volume is determined based on the second sound signal. By performing noise reduction processing on the sound signal, the interference of noise on the magnitude of the first and second volumes can be effectively reduced.

[0050] Secondly, this application provides a Bluetooth headset volume calibration device, which adopts the following technical solution:

[0051] A Bluetooth headset volume calibration device, the device comprising:

[0052] The acquisition module is used to acquire the first audio signal from the first earphone and the second audio signal from the second earphone.

[0053] A volume determination module is used to determine a first volume based on the first sound signal and a second volume based on the second sound signal;

[0054] The headphone to be calibrated determination module is used to determine the headphone with the lower volume as the headphone to be calibrated based on the first volume and the second volume.

[0055] The volume calibration module is used to determine the volume difference based on the first volume and the second volume, and to calibrate the headphones to be calibrated based on the volume difference so that the volumes of the first headphones and the second headphones are the same.

[0056] Thirdly, this application provides an earphone case, which adopts the following technical solution:

[0057] At least one processor;

[0058] Memory;

[0059] At least one application, wherein the at least one application is stored in memory and configured to be executed by at least one processor, the at least one application being configured to: perform the above-described Bluetooth headset volume calibration method.

[0060] Fourthly, this application provides a computer-readable storage medium, which adopts the following technical solution:

[0061] A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to perform any of the above-described Bluetooth headset volume calibration methods.

[0062] In summary, this application includes at least one of the following beneficial technical effects:

[0063] 1. Acquire a first audio signal from a first earphone and a second audio signal from a second earphone. Determine a first volume based on the first audio signal and a second volume based on the second audio signal. Identify the earphone with the lower volume as the one to be calibrated, thus determining which earphone needs volume adjustment. Any problem with either earphone will cause the volume to decrease; therefore, the earphone with the lower volume can be selected as the one to be calibrated. Determine the volume difference based on the first and second volumes, and calibrate the earphone to be calibrated based on this difference to ensure that the volumes of the first and second earphones are the same. Adjusting the volume of the earphone to be calibrated to match the volume of the earphone with the higher volume will provide a better user experience.

[0064] 2. Obtain the reception time of the first sound signal and the reception time of the second sound signal. Based on the reception time, it can be accurately determined whether the distances of the first and second sound signals are the same. If they are the same, the first volume is determined based on the first sound signal, and the second volume is determined based on the second sound signal; if they are different, a distance alarm signal is sent. By judging the signal reception time, it is possible to determine whether the distances of the first and second earphones are the same, thereby improving the accuracy of determining the first and second volume.

[0065] 3. Determine whether the volume of the calibrated headphones reaches the standard volume level. If it does, it indicates that there is no problem with the calibrated headphones. If the volume does not reach the standard volume level, it indicates that there are still other problems with the calibrated headphones. Therefore, the type of problem can be determined based on the calibrated sound signal, and the first and second headphones can be adjusted according to the type of problem. This can effectively improve the quality of the first and second headphones, so that they can be used normally and provide a better experience for the user. Attached Figure Description

[0066] Figure 1 This is a schematic diagram illustrating an application scenario of Bluetooth headset connection provided in an embodiment of this application.

[0067] Figure 2 This is a flowchart illustrating a method for calibrating the volume of a Bluetooth headset according to an embodiment of this application.

[0068] Figure 3 This is a schematic diagram of the structure of a Bluetooth headset volume calibration device provided in an embodiment of this application.

[0069] Figure 4 This is a schematic diagram of the structure of an earphone case provided in an embodiment of this application. Detailed Implementation

[0070] The following is in conjunction with the appendix Figure 1 To be continued Figure 4 This application will be described in further detail.

[0071] This specific embodiment is merely an explanation of this application and is not intended to limit it. After reading this specification, those skilled in the art can make modifications to this embodiment without contributing any inventive step, but such modifications are protected by patent law as long as they fall within the scope of the claims of this application.

[0072] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0073] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article, unless otherwise specified, generally indicates that the preceding and following related objects have an "or" relationship.

[0074] The embodiments of this application will now be described in further detail with reference to the accompanying drawings.

[0075] Figure 1 This diagram illustrates an application scenario for Bluetooth headset connectivity provided in this application. In this scenario, sound calibration is required for the two headsets in the Bluetooth headset system. The Bluetooth headset system includes a first headset, a second headset, and a charging case. When headset volume calibration is required, the charging case performs the calibration process described in this application to ensure that the volumes of the two headsets are identical.

[0076] In one possible scenario, the earphone case is communicatively connected to the first earphone, the first earphone is communicatively connected to the second earphone, and the second earphone communicates with the earphone case through the first earphone; the first and second earphones serve as the audio outputs for the left and right ears, respectively. The first and second earphones establish a first communication connection via a wireless communication protocol (e.g., Bluetooth) to transmit data. The first earphone establishes a communication connection with the earphone case via the same wireless communication protocol to transmit data. It is understood that the connection remains intact when the distance between the first and second earphones does not exceed a preset first distance threshold. Similarly, the connection remains intact when the distance between the first earphone and the earphone case does not exceed a preset second distance threshold. The preset first and second distance thresholds can be obtained through actual testing.

[0077] In another possible scenario, the earphone case is communicatively connected to the first earphone and to the second earphone.

[0078] Specifically, the volume calibration process performed by the headphone case can be referred to in the following embodiments.

[0079] This application provides a method for calibrating the volume of a Bluetooth headset, performed by the headset case. (In conjunction with...) Figure 2 , Figure 2 This application provides a flowchart illustrating a method for calibrating the volume of a Bluetooth headset, wherein the method includes steps S100 to S103, wherein:

[0080] Step S100: Obtain the first audio signal from the first earphone and the second audio signal from the second earphone.

[0081] In this embodiment, the headphone case and headphones can be connected to the same router to establish a network connection between them, enabling data transmission. A wireless connection is also established between the headphone case and headphones via the router. Upon receiving a calibration request, the headphone case can execute a volume calibration process. Specifically, the headphone case is pre-installed with a monitoring program to monitor the triggering of calibration requests. Once a calibration request is detected, a sound output control signal is generated. This signal controls the first and second headphones to output audio corresponding to the sound output control signal. Furthermore, the headphone case is equipped with an audio acquisition device for acquiring a first sound signal from the first headphone and a second sound signal from the second headphone. The headphone case then acquires the first sound signal generated by the first headphone and the second sound signal generated by the second headphone. The first sound signal is an analog sound signal generated by the first headphone based on the sound output control signal, and the second sound signal is an analog sound signal generated by the second headphone based on the sound output control signal.

[0082] Step S101: Determine the first volume based on the first sound signal, and determine the second volume based on the second sound signal.

[0083] Specifically, the earphone box receives a first sound signal and a second sound signal, converts the first sound signal and the second sound signal into corresponding first electrical signals and second electrical signals, then converts the first electrical signals and the second electrical signals into corresponding first impedances and second impedances, and matches the first impedances and second impedances with the impedance and volume attenuation in the attenuator to determine the first volume of the first sound signal and the second volume of the second sound signal.

[0084] Step S102: Based on the first volume and the second volume, determine the earphone with the lower volume as the earphone to be calibrated.

[0085] Generally speaking, when the volumes of the two headphones are the same, the user's sound experience is good; when the volumes of the two headphones are different, the headphone with the lower volume may have a problem. The headphone with the lower volume should be used as the headphone to be calibrated, and the volume of the headphone with the higher volume should be used as the reference for adjusting the volume of the headphone to be calibrated.

[0086] Step S103: Determine the volume difference based on the first volume and the second volume, and calibrate the headphones to be calibrated based on the volume difference so that the volumes of the first headphones and the second headphones are the same.

[0087] Specifically, the headphone case calculates the difference between the first and second volume levels to determine the volume difference. Then, based on the volume difference, a volume adjustment signal is determined, and the headphone case sends this signal to the headphone to be calibrated, making its volume the same as the other headphone's.

[0088] Based on the above embodiments, the earphone case can determine the volume levels of the first and second earphones by determining the first and second volume levels. The earphone with the lower volume is identified as the earphone to be calibrated, and its volume is adjusted. Since any problem with either earphone will cause its volume to decrease, the earphone with the lower volume can be selected as the earphone to be calibrated. A volume difference is determined based on the first and second volume levels, and the earphone to be calibrated is then calibrated based on this difference to ensure that the volumes of the first and second earphones are the same. Determining the volume difference and calibrating the earphone to be calibrated based on this difference can be achieved by adjusting the volume of the earphone to be calibrated to match the volume of the earphone with the higher volume, thus providing a better user experience.

[0089] Furthermore, in another embodiment of this application, after acquiring the first audio signal from the first earphone and the second audio signal from the second earphone, steps SA1-SA4 (not shown in the figures) are further included, wherein:

[0090] Step SA1: Obtain the reception duration of the first audio signal and the reception duration of the second audio signal.

[0091] Specifically, the reception duration of the sound signal is the difference between the termination time and the start time. The headphone box obtains the sound signal by sending a sound control signal to control the first and second headphones to produce sound. That is, the time when the headphone box sends the control signal is the start time, and the time when the headphone box receives the sound signal is the termination time.

[0092] Step SA2: Based on the reception time of the first sound signal and the reception time of the second sound signal, determine whether the distance between the first earphone and the second earphone is the same, wherein the distance between the first earphone represents the distance between the first earphone and the earphone case, and the distance between the second earphone represents the distance between the second earphone and the earphone case.

[0093] Specifically, in this embodiment, the first earphone distance = the reception duration of the first sound signal * the speed of sound, and the second earphone distance = the reception duration of the second sound signal * the speed of sound. This allows for the determination of whether the first earphone distance and the second earphone distance are the same, thus avoiding inaccurate volume due to different distances between the earphones and the earphone case.

[0094] Step SA3: If they are the same, then perform the steps of determining the first volume based on the first sound signal and determining the second volume based on the second sound signal.

[0095] Step SA4: If they are different, send a distance alarm signal.

[0096] Specifically, the distance between the first and second earphones affects the accuracy of the first and second volume. Therefore, when the headphone box determines that the distance between the first and second earphones is the same, the steps of determining the first volume based on the first sound signal and determining the second volume based on the second sound signal can be performed. When the headphone box determines that the distance between the first and second earphones is different, continuing to perform the step of determining the volume based on the sound signal will affect the accuracy of the first and second volume. Therefore, a distance alarm signal needs to be sent to remind relevant technical personnel.

[0097] Based on the above embodiments, by obtaining the reception time of the sound signal, it is possible to accurately determine whether the distance between the first earphone and the second earphone is the same. If the distance between the first earphone and the second earphone is the same, the process of determining the first volume based on the first sound signal and determining the second volume based on the second sound signal can be continued to avoid inaccurate volume due to distance. When the distance between the first earphone and the second earphone is not equal, a distance alarm signal needs to be sent. After receiving the distance alarm signal, the earphone box stops determining the first volume based on the first sound signal and determining the second volume based on the second sound signal, thereby effectively improving the accuracy of the first volume and the second volume.

[0098] Furthermore, in another embodiment of this application, after calibrating the headphones to be calibrated based on the volume difference so that the volumes of the first and second headphones are the same, the method further includes steps SB1-SB5 (not shown in the figures), wherein:

[0099] Step SB1: Determine whether the volume of any calibrated headphone reaches the standard volume level. The standard volume level is determined based on the correspondence between headphone volume and volume level and the standard headphone volume. The standard headphone volume is the volume that the volume control request wants to achieve.

[0100] Step SB2: If the calibrated headphone volume reaches the standard volume level, then it is determined that there is no problem with the first and second headphones.

[0101] Step SB3: If the calibrated headphone volume does not reach the standard volume level, then there is a problem with the first and second headphones.

[0102] Specifically, in this embodiment, the preferred volume levels are 1-5 (corresponding to standard volume level 1), 6-10 (corresponding to standard volume level 2), 11-15 (corresponding to standard volume level 3), and 15-20 (corresponding to standard volume level 4). In this case, the headphone box sends a playback control request to control the headphones to generate a sound signal at volume level 4. If the headphone box determines that the headphone volume is 15 based on the sound signal, corresponding to volume level 3, then it is determined that the calibrated headphones have not reached the standard volume level, and thus it can be determined that there is a problem with the first and second headphones. If the headphone box determines that the calibrated headphone volume is 20, corresponding to volume level 4, then it can be determined that the calibrated headphones have reached the standard volume level, indicating that there is no problem with the first and second headphones.

[0103] Step SB4: Determine the problem type based on the calibrated sound signal;

[0104] Step SB5: Adjust the first and second earpieces according to the problem type.

[0105] Specifically, the process of determining the problem type based on the calibrated sound signal, in one feasible implementation, may include:

[0106] Generate frequency response curves based on calibrated sound signals;

[0107] Determine the reference frequency response curve and determine whether the frequency response curve is the same as the reference frequency response curve. The reference frequency response curve is the frequency response curve of the sound signal of the headphones without quality problems.

[0108] If they are the same, it is determined that there is a foreign object blocking the first and second earphones; if they are different, it is determined that there is a quality problem with the first and second earphones.

[0109] In another possible implementation, it may include:

[0110] Acquire the fault sound signal; determine whether the calibrated sound signal is the same as the fault sound signal;

[0111] If they are different, it is determined that there is a foreign object blocking the first and second earphones; if they are the same, it is determined that there is a quality problem with the first and second earphones.

[0112] Specifically, in this embodiment, the fault sound signal is pre-input into the earphone case. It can be understood that when the earphone has a quality problem, it manifests as a weak current sound in the sound signal. When the earphone is blocked by foreign objects, it will not produce a weak current sound. Therefore, if the calibrated sound signal is the same as the fault sound signal, it indicates that the first earphone and the second earphone have quality problems. If they are different, it indicates that the first earphone and the second earphone are blocked by foreign objects.

[0113] Then, perform the corresponding troubleshooting operations according to the type of problem.

[0114] Based on the above embodiments, it is determined whether the volume of any calibrated headphone reaches the standard volume level. If the calibrated headphone volume reaches the standard volume level, it is determined that there is no problem with the first and second headphones, and they can play normally. If the calibrated headphone volume does not reach the standard volume level, it is determined that there is a problem with the first and second headphones, indicating that the first and second headphones are faulty and cannot play at the corresponding volume level based on the volume control request. It is necessary to determine the type of problem and adjust the first and second headphones according to the type of problem. By determining whether the first and second headphones have other faults through volume control, the number of headphone malfunctions can be effectively reduced.

[0115] Furthermore, in another embodiment of this application, determining the problem type based on the calibrated sound signal includes:

[0116] Frequency response curves are generated based on the calibrated sound signals.

[0117] Specifically, the earphone box acquires the sound signals played by the first and second earphones after calibration, samples the calibrated sound signals to determine the frequency of the sound signals, and generates a frequency response curve based on the frequency of the sound signals and the corresponding sound intensity of this frequency band.

[0118] Determine the reference frequency response curve and determine whether the frequency response curve is the same as the reference frequency response curve. The reference frequency response curve is the frequency response curve of the sound signal of the headphones without quality problems.

[0119] If they are the same, it is determined that there is a foreign object blocking the first and second earphones; if they are different, it is determined that there is a quality problem with the first and second earphones.

[0120] Specifically, the reference frequency response curve is pre-input into the headphone case. If the headphone case determines that the frequency response curve and the reference frequency response curve are the same, it indicates that the calibrated headphones have no quality problems, only a foreign object blockage issue, meaning that foreign objects in the first and second headphones are causing the first and second volume levels to be too low. If the frequency response curve and the reference frequency response curve are different, it indicates that the first and second headphones have quality problems. Therefore, based on the frequency response curve and the reference frequency response curve, the problem type of the first and second headphones can be accurately determined, and the fault adjustment of the first and second headphones can be performed according to the problem type.

[0121] Furthermore, in another embodiment of this application, fault adjustment of the first and second earphones according to the problem type includes:

[0122] If there is a foreign object blocking the first and second earpieces, a vibration signal is sent to control the first and second earpieces to vibrate.

[0123] Specifically, if there is a foreign object blocking the first and second earphones, the volume generated by either earphone after calibration is obtained, the volume level of the calibrated volume is determined based on the preset correspondence between volume and volume level, and the volume level difference between the calibrated volume level and the volume level corresponding to the volume control request is calculated, where the volume level difference = the volume level corresponding to the control request - the calibrated volume level. Based on the correspondence between the volume level difference and the vibration signal level, the vibration signal corresponding to the above volume level difference is determined, and vibration is generated according to the vibration signal. The vibration can cause the foreign object in the earphone to fall out, thereby allowing the first and second earphones to play normally.

[0124] If there is a quality problem with the first and second earpieces, a fault alarm will be sent.

[0125] Specifically, if the headphone box determines that there is a quality problem with the first and second earphones, it will send a fault alarm to remind the user to repair the first and second earphones in a timely manner.

[0126] Based on the above embodiments, if it is determined that there is a foreign object blockage problem in the first and second earphones, a vibration signal is sent to control the earphones to vibrate so that the foreign object can be dislodged; if there is a quality problem in the first and second earphones, a fault alarm is sent to remind them. Different handling measures are taken for the first and second earphones based on different problem types, so that the earphones can be used normally.

[0127] Furthermore, in another embodiment of this application, calibrating the headphones to be calibrated based on the volume difference so that the volumes of the first and second headphones are the same includes:

[0128] Determine whether the volume difference is greater than the preset maximum volume difference threshold.

[0129] If the difference is greater than the volume difference, the headphones to be calibrated will be calibrated based on the volume difference so that the volume of the first and second headphones is the same.

[0130] Specifically, it is determined whether the volume difference exceeds a preset maximum volume difference threshold. If the volume difference exceeds the preset maximum volume difference threshold, it indicates that the volume difference between the first and second volumes is large, affecting normal user operation, and the headphones to be calibrated need to be calibrated. If the volume difference is not greater than the preset maximum volume difference threshold, it indicates that the volume difference is small and does not affect normal user operation. In this embodiment, the preset maximum volume difference threshold is not limited; users can set it themselves.

[0131] Based on the above embodiments, the volume difference is compared with a preset maximum volume difference threshold. If the volume difference is greater than the preset maximum volume difference threshold, the headphones to be calibrated are calibrated. The calibration makes the volume of the first and second headphones the same, thereby providing a better user experience.

[0132] Furthermore, in another embodiment of this application, after acquiring the first audio signal from the first earphone and the second audio signal from the second earphone, steps SD1-SD7 (not shown in the figures) are further included, wherein:

[0133] Step SD1: Obtain the waveform of the sound signal corresponding to the sound signal, where the sound signal is either the first sound signal or the second sound signal.

[0134] Specifically, the headphone box converts sound signals into electrical signals to generate corresponding sound signal waveforms.

[0135] Step SD2: Determine whether the sound signal waveform is the same as the preset sound signal waveform, wherein the preset sound signal waveform is a standard sound signal waveform without noise.

[0136] Step SD3: If the results are the same, then it is determined that there is no noise in the sound signal.

[0137] Step SD4: If they are different, then it is determined that there is noise in the sound signal corresponding to the sound signal waveform.

[0138] Specifically, it is determined whether the sound signal waveform is the same as a preset sound signal waveform. In this embodiment, the preset sound signal waveform is stored in the headphone case beforehand. The headphone case compares the preset sound signal waveform with the original sound signal waveform. If the sound signal waveform is the same as the preset sound signal waveform, it indicates that the sound signal does not contain noise; otherwise, it indicates that the sound signal contains noise.

[0139] Step SD5: Obtain the noise signal in the sound signal based on the sound signal, and determine the noise volume based on the noise signal.

[0140] Specifically, the headphone case acquires the sound signal, calculates the difference between the noise-free sound signal pre-stored in the headphone case and the aforementioned noisy sound signal, and finally obtains the noise signal, and determines the noise volume based on the noise signal.

[0141] Step SD6: Determine if the noise volume is greater than the preset noise volume threshold;

[0142] Step SD7: If it is greater than SD, then perform noise reduction processing on the first and second audio signals;

[0143] Accordingly, determining a first volume based on a first sound signal and determining a second volume based on a second sound signal includes:

[0144] The first volume is determined based on the first sound signal after noise reduction processing, and the second volume is determined based on the second sound signal after noise reduction processing.

[0145] Specifically, the noise volume is determined to be greater than a preset noise volume threshold. In this embodiment, the preset noise volume threshold is not limited; the user can set it themselves. If the noise volume is greater than the preset threshold, it indicates that the noise will severely interfere with the first and second sound signals, requiring noise reduction processing. The first volume is determined based on the noise-reduced first sound signal, and the second volume is determined based on the noise-reduced second sound signal. If the noise volume is not greater than the threshold, it indicates that the noise volume is low, and noise reduction processing is not required. By determining the noise volume, noise reduction is performed to improve the sound quality of the first and second sound signals. In this embodiment, the preset noise volume threshold is not limited; the user can set it based on their actual auditory perception.

[0146] Based on the above embodiments, the sound signal waveform corresponding to the sound signal is obtained, and it is determined whether the sound signal waveform is the same as a preset sound signal waveform, wherein the preset sound signal waveform is a standard sound signal waveform without noise. If the sound signal waveform is the same as the preset sound signal waveform, it is determined that the sound signal is free of noise; if the sound signal waveform is different from the preset sound signal waveform, it is determined that the sound signal contains noise, and therefore the noise in the sound signal needs to be processed to avoid the noise in the sound signal affecting the first volume and the second volume. Therefore, the noise signal in the sound signal is obtained according to the sound signal, and the volume of the noise is determined according to the noise signal; it is determined whether the noise volume is greater than a preset noise volume threshold. If it is greater, it indicates that the noise in the sound signal will affect the first volume and the second volume, and therefore noise reduction processing is required based on the first sound signal and the second sound signal; if the noise volume is not greater than the preset noise volume threshold, it indicates that the noise in the sound signal will not affect the first volume and the second volume. By determining whether there is noise in the first sound signal and the second sound signal, and performing noise reduction processing when the noise volume is large, the influence of noise on the first volume and the second volume can be effectively reduced, and the accuracy of Bluetooth headset volume calibration can be improved.

[0147] Specifically, the above embodiments describe a method for calibrating the volume of a Bluetooth headset from the perspective of the process flow. The following embodiments describe a device for calibrating the volume of a Bluetooth headset from the perspective of a virtual module or virtual unit. For details, please refer to the following embodiments.

[0148] The following describes an earphone case provided in an embodiment of this application. The earphone case described below can be referred to in correspondence with the Bluetooth earphone volume calibration method described above.

[0149] Please refer to Figure 3 , Figure 3 This is a schematic diagram of the structure of a Bluetooth headset volume calibration device provided in an embodiment of this application, including:

[0150] Acquisition module 210 is used to acquire the first sound signal of the first earphone and the second sound signal of the second earphone;

[0151] The volume determination module 220 is used to determine a first volume based on a first sound signal and a second volume based on a second sound signal;

[0152] The headphone determination module 230 is used to determine the headphone with the lower volume as the headphone to be calibrated based on the first volume and the second volume.

[0153] The volume calibration module 240 is used to determine the volume difference based on the first volume and the second volume, and to calibrate the headphones to be calibrated based on the volume difference so that the volumes of the first headphones and the second headphones are the same.

[0154] One possible implementation of this application embodiment, the Bluetooth headset volume calibration device, further includes:

[0155] The headphone distance determination module is used for:

[0156] Obtain the reception time of the first sound signal and the reception time of the second sound signal;

[0157] Based on the reception time of the first sound signal and the reception time of the second sound signal, it is determined whether the distance between the first earphone and the second earphone is the same, wherein the distance between the first earphone represents the distance between the first earphone and the earphone case, and the distance between the second earphone represents the distance between the second earphone and the earphone case.

[0158] If they are the same, then the steps of determining the first volume based on the first sound signal and determining the second volume based on the second sound signal are performed.

[0159] If they are different, a distance alarm signal is sent.

[0160] One possible implementation of this application embodiment, the Bluetooth headset volume calibration device, further includes:

[0161] The problem type determination module is used for:

[0162] Determine whether the volume of any calibrated headphone reaches the standard volume level. The standard volume level is determined based on the correspondence between headphone volume and volume level and the standard headphone volume, which is the volume that the volume control request wants to achieve.

[0163] If the calibrated headphone volume reaches the standard volume level, then it is determined that there is no problem with the first and second headphones;

[0164] If the calibrated headphone volume does not reach the standard volume level, then there is a problem with the first and second headphones.

[0165] The problem type is determined based on the calibrated sound signal;

[0166] Adjust the first and second earpieces according to the type of problem.

[0167] In one possible implementation of this application embodiment, the problem type determination module, when performing problem type determination based on the calibrated sound signal, is used for:

[0168] Generate frequency response curves based on calibrated sound signals;

[0169] Determine the reference frequency response curve and determine whether the frequency response curve is the same as the reference frequency response curve. The reference frequency response curve is the frequency response curve of the sound signal of the headphones without quality problems.

[0170] If they are the same, it is determined that there is a foreign object blocking the first and second earphones; if they are different, it is determined that there is a quality problem with the first and second earphones.

[0171] In one possible implementation of this application embodiment, when the problem type determination module performs fault adjustment on the first and second earphones according to the problem type, it is used to:

[0172] If there is a foreign object blocking the first and second earpieces, a vibration signal is sent to control the first and second earpieces to vibrate.

[0173] If there is a quality problem with the first and second earpieces, a fault alarm will be sent.

[0174] In one possible implementation of this application embodiment, the volume calibration module 240, when performing calibration based on the volume difference of the headphones to be calibrated so that the volumes of the first and second headphones are the same, is used for:

[0175] Determine if the volume difference is greater than the preset maximum volume difference threshold;

[0176] If the difference is greater than the volume difference, the headphones to be calibrated will be calibrated based on the volume difference so that the volume of the first and second headphones is the same.

[0177] In one possible implementation of this application embodiment, the Bluetooth headset volume calibration device further includes:

[0178] Noise determination module, used for:

[0179] The sound signal waveform corresponding to the sound signal is obtained based on the sound signal, where the sound signal is either a first sound signal or a second sound signal;

[0180] Determine whether the sound signal waveform is the same as the preset sound signal waveform, where the preset sound signal waveform is a standard sound signal waveform without noise;

[0181] If they are the same, then the sound signal is free of noise;

[0182] If they are different, then the sound signal corresponding to the sound signal waveform is determined to contain noise.

[0183] The noise signal in the sound signal is obtained based on the sound signal, and the noise volume is determined based on the noise signal.

[0184] Determine if the noise level exceeds a preset noise level threshold;

[0185] If the value is greater than the value, noise reduction processing is performed on the first and second audio signals.

[0186] Accordingly, when the volume determination module 220 performs the functions of determining a first volume based on a first sound signal and determining a second volume based on a second sound signal, it is used to:

[0187] The first volume is determined based on the first sound signal after noise reduction processing, and the second volume is determined based on the second sound signal after noise reduction processing.

[0188] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the Bluetooth headset volume calibration device described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0189] This application provides an earphone case, such as... Figure 4 As shown, Figure 4 This is a schematic diagram of the structure of an earphone case provided in an embodiment of this application. Figure 4 The earphone case 300 shown includes a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, for example, via a bus 302. Optionally, the earphone case 300 may also include a transceiver 304. It should be noted that in practical applications, the transceiver 304 is not limited to one type, and the structure of the earphone case 300 does not constitute a limitation on the embodiments of this application.

[0190] Processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in connection with the embodiments of this application. Processor 301 may also be a combination that implements computing functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0191] Bus 302 may include a pathway for transmitting information between the aforementioned components. Bus 402 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 302 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0192] The memory 303 may be a ROM (Read Only Memory) or other type of static storage device capable of storing static information and instructions, RAM (Random Access Memory) or other type of dynamic storage device capable of storing information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.

[0193] The memory 303 is used to store application code that executes the scheme of the embodiments of this application, and its execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the content shown in the foregoing method embodiments.

[0194] Figure 4 The earphone case shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of this application.

[0195] This application provides a computer-readable storage medium storing a computer program that, when run on a computer, enables the computer to execute the corresponding content in the aforementioned method embodiments. Compared with related technologies, this method involves acquiring a first sound signal from a first earphone and a second sound signal from a second earphone, determining a first volume based on the first sound signal, and determining a second volume based on the second sound signal. The earphone with the lower volume is identified as the earphone to be calibrated based on the first and second volumes, thus identifying the earphone requiring volume adjustment. Since any problem with either earphone will cause a decrease in earphone volume, the earphone with the lower volume can be selected as the earphone to be calibrated. A volume difference is determined based on the first and second volumes, and the earphone to be calibrated is then calibrated based on this volume difference to make the volumes of the first and second earphones the same. Determining the volume difference and calibrating the earphone to be calibrated based on the volume difference can adjust the volume of the earphone to be calibrated to that of the earphone with the higher volume, making the volumes of the two earphones the same and providing a better user experience.

[0196] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0197] The above are only some embodiments of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for calibrating the volume of a Bluetooth headset, characterized in that, include: Acquire the first audio signal from the first earphone and the second audio signal from the second earphone; A first volume is determined based on the first sound signal, and a second volume is determined based on the second sound signal; Based on the first volume and the second volume, the earphone with the lower volume is identified as the earphone to be calibrated; A volume difference is determined based on the first volume and the second volume, and the headphones to be calibrated are calibrated based on the volume difference so that the volumes of the first and second headphones are the same. Determine whether the volume of any calibrated headphone reaches the standard volume level, wherein the standard volume level is determined based on the correspondence between headphone volume and volume level and the standard headphone volume, and the standard headphone volume is the volume that the volume control request wants to achieve; If the calibrated headphone volume reaches the standard volume level, it is determined that there is no problem with the first and second headphones; If the calibrated headphone volume does not reach the standard volume level, it is determined that there is a problem with the first and second headphones. The problem type is determined based on the calibrated sound signal. A frequency response curve is generated based on the calibrated sound signal, a reference frequency response curve is determined, and it is determined whether the frequency response curve is the same as the reference frequency response curve. The reference frequency response curve is the frequency response curve of the sound signal of the headphones without quality problems. If they are the same, it is determined that there is foreign object blockage in the first and second headphones. If they are different, it is determined that there is a quality problem with the first and second headphones. If there is a foreign object blockage in the first and second earpieces, a vibration signal is sent to control the first and second earpieces to vibrate. If there is a quality problem with the first and second earpieces, a fault alarm is sent.

2. The Bluetooth headset volume calibration method according to claim 1, characterized in that, After acquiring the first audio signal from the first earphone and the second audio signal from the second earphone, the process further includes: Obtain the reception duration of the first audio signal and the reception duration of the second audio signal; Based on the reception duration of the first sound signal and the reception duration of the second sound signal, it is determined whether the distance between the first earphone and the second earphone is the same, wherein the distance between the first earphone represents the distance between the first earphone and the earphone case, and the distance between the second earphone represents the distance between the second earphone and the earphone case. If they are the same, then the steps of determining the first volume based on the first sound signal and determining the second volume based on the second sound signal are performed. If they are different, a distance alarm signal is sent.

3. The Bluetooth headset volume calibration method according to claim 1, characterized in that, The calibration of the headphones to be calibrated based on the volume difference, so that the volumes of the first and second headphones are the same, includes: Determine whether the volume difference is greater than a preset maximum volume difference threshold; If the difference is greater than the volume difference, the headphones to be calibrated are calibrated based on the volume difference so that the volume of the first and second headphones is the same.

4. The Bluetooth headset volume calibration method according to claim 1, characterized in that, After acquiring the first audio signal from the first earphone and the second audio signal from the second earphone, the process further includes: The sound signal waveform corresponding to the sound signal is obtained based on the sound signal, wherein the sound signal is a first sound signal or a second sound signal; Determine whether the sound signal waveform is the same as a preset sound signal waveform, wherein the preset sound signal waveform is a standard sound signal waveform without noise; If they are the same, then it is determined that the sound signal does not contain noise; If they are different, then it is determined that the sound signal corresponding to the sound signal waveform contains noise; Based on the sound signal, noise signal in the sound signal is obtained, and noise volume is determined based on the noise signal; Determine whether the noise volume is greater than a preset noise volume threshold; If the value is greater than the value, noise reduction processing is performed on the first and second audio signals. Accordingly, determining the first volume based on the first sound signal and determining the second volume based on the second sound signal includes: The first volume is determined based on the first sound signal after noise reduction processing, and the second volume is determined based on the second sound signal after noise reduction processing.

5. A Bluetooth headset volume calibration device, characterized in that, The apparatus is suitable for the Bluetooth headset volume calibration method as described in any one of claims 1-4, and comprises: The acquisition module is used to acquire the first audio signal from the first earphone and the second audio signal from the second earphone. A volume determination module is used to determine a first volume based on the first sound signal and a second volume based on the second sound signal; The headphone to be calibrated determination module is used to determine the headphone with the lower volume as the headphone to be calibrated based on the first volume and the second volume. The volume calibration module is used to determine the volume difference based on the first volume and the second volume, and to calibrate the headphones to be calibrated based on the volume difference so that the volumes of the first headphones and the second headphones are the same.

6. An earphone case, characterized in that, include: At least one processor; Memory; At least one application, wherein the at least one application is stored in memory and configured to be executed by at least one processor, said at least one application being configured to: perform the Bluetooth headset volume calibration method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed in a computer, causes the computer to perform the Bluetooth headset volume calibration method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Earphone calibration method and device, storage medium and intelligent terminal

    CN112399319A