Bluetooth earphone noise reduction prompting method and Bluetooth earphone
By monitoring the user's sleep state and ambient noise, and retrieving the prompt audio and time, the problem of Bluetooth headphones losing connection in noise-canceling mode is solved. This achieves the effect of timely prompting the user after disconnection, maintaining sleep quality and saving power.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2026-03-24
AI Technical Summary
Existing Bluetooth headphones disconnect from the device when in noise-canceling mode, causing the wearer to be unable to hear the phone's audio, thus affecting their sleep experience.
A method for providing noise cancellation prompts for Bluetooth headphones is provided. By monitoring the user's sleep state and ambient noise, the prompt audio and time are retrieved. When the device disconnects, the prompt audio is played for a set time until the user wakes up. The noise cancellation mode and audio amplitude are adjusted to save power.
Ensure that users are notified on time even after the device is disconnected, maintain sleep quality, avoid noise disturbance, save power, and improve user experience.
Smart Images

Figure CN119653280B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of Bluetooth earphone control, and particularly relates to a Bluetooth earphone noise reduction prompting method and Bluetooth earphone. BACKGROUND
[0002] Many current Bluetooth earphones are configured with noise reduction functions. The noise reduction function is designed to allow the wearer to reduce the interference of external sounds by the noise reduction function when needed, such as turning on the noise reduction function when making a phone call in a noisy office or when studying or watching a video course in a library.
[0003] However, when sleeping, the Bluetooth earphone will be disconnected from the phone, and after the phone is disconnected, it will be in an external playing state. The Bluetooth earphone in the noise reduction mode will make it difficult for the user wearing the Bluetooth earphone to hear the audio of the phone. SUMMARY
[0004] The present application provides a Bluetooth earphone noise reduction prompting method and Bluetooth earphone to solve the technical problem that the Bluetooth earphone wearing user's perception ability to external sounds is affected after the Bluetooth earphone in the noise reduction mode is disconnected from the device, and the audio of the disconnected device cannot be heard.
[0005] The technical solution of the present application to solve the above technical problem is as follows:
[0006] In a first aspect, the present application provides a Bluetooth earphone noise reduction prompting method applied to a Bluetooth earphone, wherein the Bluetooth earphone is in communication connection with a first object, and the method comprises the following steps: when the noise reduction mode is turned on and it is monitored that the user is in a sleep state, prompting target time and prompting audio are called from the first object; or when the noise reduction mode is turned on and it is monitored that the user is in a sleep state and audio is played at the same time, the prompting target time and the prompting audio are called from the first object, and real-time playing audio is recorded and stored; when it is detected that the connection with the first object is disconnected, the real-time playing audio is played, and when the first real-time time meets the prompting target time, the prompting audio is played until the user is in a wake state.
[0007] Further, it also includes: obtaining the total power of the Bluetooth earphone, the remaining power of the Bluetooth earphone, and the power consumption of the Bluetooth earphone; obtaining a first interval time length between a second real-time time and the prompting target time; obtaining a target power by subtracting a preset proportion of the total power of the Bluetooth earphone from the remaining power of the Bluetooth earphone; calculating the product of the power consumption of the Bluetooth earphone and the first interval time length, and setting it as a predicted loss power; when the target power is less than the predicted loss power, playing the real-time playing audio according to the power consumption of the Bluetooth earphone.
[0008] Furthermore, it also includes: when the target power level is greater than or equal to the predicted power loss, adjusting the noise reduction level and the real-time audio playback to reduce the power consumption of the Bluetooth headset.
[0009] Furthermore, it also includes: monitoring the level of ambient noise and the user's sleep level, wherein the ambient noise level includes light noise, moderate noise, and heavy noise, and the user's sleep level includes light sleep stage, light to deep sleep stage, deep sleep stage, and deep to light sleep stage; when the user's sleep level is in the light sleep stage, the noise reduction mode is maintained at the initial noise reduction level, and the real-time playback audio is maintained at the initial audio amplitude; when the user's sleep level is in the light to deep sleep stage, and the ambient noise level is at the light noise level, a first preset attenuation step size and a second preset attenuation step size are matched according to the user's sleep level, the initial noise reduction level is reduced according to the first preset attenuation step size, and the initial audio amplitude is reduced according to the second preset attenuation step size; when the user's sleep level is in the light to deep sleep stage, and the ambient noise level is at the moderate noise level, the first preset attenuation step size is matched according to the user's sleep level, the initial noise reduction level is reduced according to the first preset attenuation step size, and the real-time playback audio is maintained at the initial audio amplitude; when the user's sleep level is in the light to deep sleep stage... During the following stages, if the ambient noise level is at the level of heavy noise, the noise reduction mode is maintained at the initial noise reduction level, and the real-time audio playback is maintained at the initial audio amplitude; if the user's sleep level is at the level of deep sleep, and the ambient noise level is at the level of light noise or medium noise, the noise reduction mode is maintained at the noise reduction level when entering the deep sleep level, and the real-time audio playback is maintained at the audio amplitude when entering the deep sleep level; if the user's sleep level is at the level of deep sleep, and the ambient noise level is at the level of heavy noise, the noise reduction mode is adjusted to half of the noise reduction level when entering the deep sleep level, and the real-time audio playback is adjusted to half of the audio amplitude when entering the deep sleep level; if the user's sleep level is in the stage of transitioning from deep to light sleep, the noise reduction mode is adjusted to 1.5 times the noise reduction level when entering the deep sleep level, and the real-time audio playback is maintained at the audio amplitude when entering the deep sleep level, wherein, when 1.5 times the noise reduction level during the deep sleep level is greater than the rated noise reduction level, it is adjusted to the rated noise reduction level.
[0010] Furthermore, when the user's sleep level is in the deep-to-light transition phase, adjusting the noise reduction mode to 1.5 times the noise reduction level when entering the deep sleep level, and maintaining the real-time playback audio at the audio amplitude when entering the deep sleep level, further includes: after adjusting the noise reduction mode to 1.5 times the noise reduction level when entering the deep sleep level and maintaining the real-time playback audio at the audio amplitude when entering the deep sleep level, if the user's sleep level is still in the deep-to-light transition phase, adjusting the noise reduction mode to the rated noise reduction level and adjusting the real-time playback audio to the initial audio amplitude.
[0011] Furthermore, when a disconnection is detected with the first object and the first real-time moment meets the target prompt time, the prompt audio is played until the user is awake, including: when a disconnection is detected with the first object and the first real-time moment meets the target prompt time, separating the minimum loop audio unit of the prompt audio; and playing the minimum loop audio unit until the user is awake.
[0012] Furthermore, when the connection with the first object is detected to be broken, and the first real-time moment meets the prompt target time, separating the minimum loop audio unit of the prompt audio further includes: detecting whether there is a ringtone-like sound in the surrounding area; if there is a ringtone-like sound, separating the ringtone-like sound to obtain the minimum loop audio unit; otherwise, separating the prompt audio to obtain the minimum loop audio unit.
[0013] Furthermore, when a disconnection with the first object is detected, playing the real-time audio includes: when a disconnection with the first object is detected, playing the smallest real-time audio unit of the real-time audio.
[0014] Furthermore, it also includes: requesting in real time to establish a communication connection with the first object; stopping the process when the communication connection is successfully established; and continuing the process when the communication connection fails to be established.
[0015] Secondly, the present invention provides a Bluetooth headset for implementing the Bluetooth headset noise reduction prompt method described in any one of the first aspects.
[0016] The beneficial effects of this invention are:
[0017] This invention provides a method for providing noise cancellation prompts for Bluetooth headphones, wherein the Bluetooth headphones are communicatively connected to a first object. The method includes: when noise cancellation mode is enabled and the user is detected to be asleep, retrieving a target prompt time and prompt audio from the first object; when a connection loss is detected with the first object, and the target prompt time is met at a first real-time moment, playing the prompt audio until the user is awake. By storing the prompt time, prompt audio, and playback audio set by the connected object in real time, the method ensures that the user is promptly notified and audio playback continues even after a disconnection, thus preventing the user from hearing audio when the Bluetooth headphones in noise cancellation mode lose communication with the connected object. Attached Figure Description
[0018] Figure 1 This is a flowchart illustrating a noise reduction prompt method for Bluetooth headsets in the prior art;
[0019] Figure 2 This is a schematic diagram of the real-time audio playback process of a Bluetooth headset noise reduction prompt method provided by the present invention. Detailed Implementation
[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] In the description of this invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0022] In the description of this invention, the term "for example" is used to mean "used as an example, illustration, or description." Any embodiment described as "for example" in this invention is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed herein.
[0023] Example 1:
[0024] like Figure 1 As shown, this embodiment of the invention provides a Bluetooth headset noise cancellation prompt method, applied to a Bluetooth headset, wherein the Bluetooth headset is communicatively connected to a first object, including the following steps:
[0025] S10: When noise reduction mode is enabled and the user is detected to be asleep, retrieve the target time and audio prompt from the first object.
[0026] S20: Or when the noise reduction mode is turned on, and the user is detected to be in a sleep state, and audio is played at the same time, the prompt target time and the prompt audio are retrieved from the first object, and the real-time playback audio is recorded and stored.
[0027] S30: When the connection with the first object is detected to be disconnected, the real-time audio is played, and when the prompt target time is met at the first real-time moment, the prompt audio is played until the user is awake.
[0028] Specifically, the first object refers to the device that communicates with the Bluetooth headset and transmits audio to it. The communication connection method includes Bluetooth, wireless connections such as Wi-Fi sharing, and wired connections. The first object can be a mobile phone, tablet, computer, MP4 player, or other similar device. When the Bluetooth headset is in noise cancellation mode and detects that the user is in sleep mode, it retrieves the user-preset target time and pre-set audio prompts from the first object while in a connected state.
[0029] When a disconnection is detected from the first object, and the real-time time recorded by the clock, i.e. the first real-time moment, is equal to the prompt target time, the prompt audio is played until the user is awake.
[0030] In another implementation, the first object continuously sends real-time information to the Bluetooth headset. If no real-time information is sent at a certain time, it is considered that the connection is broken. When the connection is broken, the time difference between the target time and the last received real-time information when the connection was broken is calculated. At the same time, the Bluetooth headset's timer starts counting from zero. When the time difference is met, the first real-time information is considered to be equal to the target time.
[0031] Specifically, the detailed method for determining whether a user is asleep is as follows:
[0032] By detecting the user's blood oxygen saturation, heart rate, and respiratory rate data in the Bluetooth headset, the system analyzes whether these data fall within pre-defined ranges. If they do, the user is in a sleep state; otherwise, they are awake. Specifically, the user's blood oxygen saturation, heart rate, and respiratory rate data can be detected by the integrated detection unit within the Bluetooth headset, or obtained through detection by other devices and then transmitted via communication with the Bluetooth headset.
[0033] Specifically, when the noise cancellation mode is enabled, and the user is detected to be asleep while the Bluetooth headset is playing audio in real time, the real-time audio is stored and named "real-time audio playback". When the connection with the first object is detected to be disconnected, the recorded real-time audio playback continues to play.
[0034] For example, when a mobile phone is connected to a Bluetooth headset, the audio played is a soothing sound such as firewood sounds, thunder and rain, or forest sounds. The mobile phone continuously transmits real-time data to the Bluetooth headset. If the Bluetooth headset cannot receive the real-time data, it can determine that the Bluetooth communication with the mobile phone has been disconnected. Once the connection with the mobile phone is determined to be disconnected, the recorded audio is immediately resumed. This can prevent the wearer from being startled awake by the sudden disappearance of the soothing sound, and the amplitude of the audio played at this time is consistent with the previously played audio.
[0035] Furthermore, such as Figure 2 As shown, S30 further includes the following steps:
[0036] S31: Obtain the total battery level, remaining battery level, and power consumption of the Bluetooth headset;
[0037] S32: Obtain the first interval between the second real-time moment and the target time of the prompt;
[0038] S33: Subtract a preset percentage of the total battery level of the Bluetooth headset from the remaining battery level of the Bluetooth headset to obtain the target battery level;
[0039] S34: Calculate the product of the power consumption of the Bluetooth headset and the first interval duration, and set it as the predicted power consumption;
[0040] S35: When the target power is less than the predicted power loss, play the real-time audio according to the power consumption of the Bluetooth headset.
[0041] Specifically, if the Bluetooth headset's battery is insufficient to last until the prompt audio plays after the Bluetooth headset disconnects, then when the prompt target time is reached, the noise cancellation mode will be turned off, and the user will hear the prompt audio from the first device's speaker. In this case, playback can continue directly according to the current power consumption mode.
[0042] The process for determining whether the Bluetooth headset has sufficient battery power to last until the notification audio plays is as follows:
[0043] The system obtains the total battery level, remaining battery level, and power consumption of the Bluetooth headset. It also obtains the real-time time recorded by a clock and stores it as the second real-time time. The system calculates the time difference between the second real-time time and the target time and stores it as the first interval duration. The system subtracts a preset percentage of the total battery level from the remaining battery level to obtain the target battery level. It then calculates the product of the Bluetooth headset power consumption and the first interval duration to obtain the predicted power consumption. When the target battery level is less than the predicted power consumption, the system plays the real-time audio according to the Bluetooth headset power consumption. Preferably, the preset percentage is one-tenth. The preset percentage of the total Bluetooth headset battery level represents the battery margin; setting a 10% margin is to reserve power for subsequent ringtone playback and execution of subsequent steps.
[0044] Furthermore, it also includes: when the target power level is greater than or equal to the predicted power loss, adjusting the noise reduction level and the real-time audio playback to reduce the power consumption of the Bluetooth headset.
[0045] Specifically, methods to reduce the power consumption of Bluetooth headphones include conventional methods such as reducing the noise cancellation level and reducing the amplitude of real-time audio playback.
[0046] Furthermore, the noise reduction level and real-time audio playback adjustment are optimized with the goal of reducing Bluetooth headset power consumption, including:
[0047] The system monitors the level of environmental noise and the user's sleep level, wherein the level of environmental noise includes mild noise, moderate noise, and severe noise, and the user's sleep level includes light sleep stage, light to deep sleep stage, deep sleep stage, and deep to light sleep stage.
[0048] When the user's sleep level is in the light sleep stage, the noise reduction mode is maintained at the initial noise reduction level, and the real-time audio playback is maintained at the initial audio amplitude.
[0049] When the user's sleep level is in the light to deep sleep stage and the ambient noise level is in the light noise level, a first preset attenuation step size and a second preset attenuation step size are matched according to the user's sleep level. The initial noise reduction level is reduced according to the first preset attenuation step size, and the initial audio amplitude is reduced according to the second preset attenuation step size.
[0050] When the user's sleep level is in the light to deep sleep stage and the ambient noise level is in the medium noise level, the first preset attenuation step size is matched according to the user's sleep level, the initial noise reduction level is reduced according to the first preset attenuation step size, and the real-time playback audio is maintained at the initial audio amplitude.
[0051] When the user's sleep level is in the transition from light to deep sleep and the ambient noise level is in the level of heavy noise, the noise reduction mode is maintained at the initial noise reduction level, and the real-time audio playback is maintained at the initial audio amplitude.
[0052] When the user's sleep level is deep sleep and the ambient noise level is light noise or medium noise, the noise reduction mode is maintained at the noise reduction level when entering deep sleep, and the real-time audio playback is maintained at the audio amplitude when entering deep sleep.
[0053] When the user's sleep level is in the deep sleep level and the ambient noise level is in the heavy noise level, the noise reduction mode is adjusted to half of the noise reduction level when entering the deep sleep level, and the real-time audio playback is adjusted to half of the audio amplitude when entering the deep sleep level.
[0054] When the user's sleep level is in the deep-to-light phase, the noise reduction mode is adjusted to 1.5 times the noise reduction level when entering the deep sleep level, and the real-time audio playback is maintained at the audio amplitude when entering the deep sleep level. When the noise reduction level of the deep sleep level is 1.5 times greater than the rated noise reduction level, it is adjusted to the rated noise reduction level.
[0055] Specifically, the level of environmental noise is determined as follows:
[0056] Noise level: The actual noise level is low or extremely low, but it can be completely filtered out by the Bluetooth headphones being worn.
[0057] Medium noise level: The actual noise level is medium to low to medium to high, which cannot be completely filtered out by the Bluetooth headphones themselves. It may be weak or the volume may be transmitted to the wearer's eardrums.
[0058] Noise level: Noise that is high or very low in volume, even after being filtered by Bluetooth headphones, still has a high volume.
[0059] In detail, an environmental noise level calibration table is constructed based on the volume range, corresponding one-to-one with the volume level, to achieve quantitative calibration of the environmental noise level.
[0060] The method for determining a user's sleep level is as follows:
[0061] Light sleep stage: This is a stage of relatively shallow sleep, characterized by a semi-awake state. Users are more sensitive to external sounds, but they consciously ignore noise during this stage to ensure they fall asleep.
[0062] The transition from light sleep to deep sleep: the transitional stage from light sleep to deep sleep.
[0063] Deep sleep level: Deep sleep stage, difficult to be woken up.
[0064] The transition from deep sleep to light sleep: This is the transitional stage where the wearer, in the deep sleep stage, begins to perceive noise and prepares to enter the light sleep stage.
[0065] In detail, based on the range of the user's blood oxygen, heart rate, respiratory rate and other indicators, a calibration table is pre-built to correspond one-to-one with the user's sleep level, which can quickly determine the user's sleep level.
[0066] Furthermore, when the user's sleep level is in the transition from deep to light sleep, adjusting the noise reduction mode to 1.5 times the noise reduction level when entering deep sleep, and maintaining the real-time audio playback at the audio amplitude when entering deep sleep, further includes:
[0067] When the noise reduction mode is adjusted to 1.5 times the noise reduction level when entering the deep sleep state, and the real-time playback audio is maintained at the audio amplitude when entering the deep sleep state, the user's sleep state is still in the deep to light stage. The noise reduction mode is then adjusted to the rated noise reduction level, and the real-time playback audio is adjusted to the initial audio amplitude.
[0068] Furthermore, when a disconnection from the first object is detected, and the first real-time moment meets the target prompt time, the prompt audio is played until the user is awake, including:
[0069] When the connection with the first object is detected to be broken, and the first real-time moment meets the prompt target time, the smallest loop audio unit of the prompt audio is separated.
[0070] The minimum loop audio unit is played until the user is awake.
[0071] Specifically, when the Bluetooth headset is disconnected from the first object, the disconnection time and the interval between the target time prompts are recorded. A timer is started from the disconnection time. When the timer counts equal to the interval, the target time prompt is considered to be met at the first real-time moment.
[0072] Furthermore, to ensure the effectiveness of the prompt, the smallest loop audio unit of the prompt audio is selected and set as the smallest loop audio unit for continuous loop playback for the user wearing the Bluetooth headset until the user is awake.
[0073] Furthermore, when a disconnection from the first object is detected, and the first real-time moment meets the target prompt time, the smallest loop audio unit for separating the prompt audio further includes:
[0074] Detect whether there are ringing sounds in the surrounding area;
[0075] If the ringtone type is present, separate the ringtone type to obtain the minimum loop audio unit;
[0076] Otherwise, separate the prompt audio to obtain the minimum loop audio unit.
[0077] Specifically, "ringtone-like sounds" refers to alarm clock sounds and telephone ringtones. These sounds all have the characteristic of looping playback. This characteristic can be used to distinguish between ringtone-like sounds. When the target reminder time is met, the first object will play a reminder audio. There are two scenarios: First, if the first object is not covered by anything, the alarm clock sound is relatively loud and can be well picked up and recognized by the Bluetooth headset microphone. In this case, the smallest looping audio unit of the ringtone-like sound is directly played as a reminder. Second, if the first object is covered, the sound is too quiet to be picked up by the Bluetooth headset microphone. In this case, the reminder audio is separated to obtain the smallest looping audio unit to ensure the reminder effect.
[0078] Furthermore, when a disconnection with the first object is detected, playing the real-time audio includes: when a disconnection with the first object is detected, playing the smallest real-time audio unit of the real-time audio.
[0079] Furthermore, it also includes: requesting in real time to establish a communication connection with the first object; stopping the process when the communication connection is successfully established; and continuing the process when the communication connection fails to be established.
[0080] Throughout the entire program execution, the Bluetooth headset is constantly attempting to re-establish communication with the first formation. Once communication is re-established, the steps of this embodiment of the invention terminate.
[0081] The Bluetooth headset noise cancellation prompt method provided in this embodiment of the invention has at least the following technical effects:
[0082] 1. A method for providing noise cancellation prompts for Bluetooth headphones is provided, applied to Bluetooth headphones, wherein the Bluetooth headphones are communicatively connected to a first object. The method includes: when noise cancellation mode is enabled and the user is detected to be in a sleep state, retrieving a target prompt time and prompt audio from the first object; when a disconnection is detected with the first object and a first real-time moment meets the target prompt time, playing the prompt audio until the user is awake. This method stores the prompt time, prompt audio, and playback audio set by the connected object in real time, ensuring timely prompts to the user and continued audio playback even after a disconnection. This achieves the technical effect of preventing the user from hearing audio after the Bluetooth headphones in noise cancellation mode lose communication with the connected object.
[0083] 2. By allocating power between noise reduction and playback functions when the battery is low, sufficient power is ensured for playing ringtones.
[0084] 3. Noise cancellation mode and sleep aid sounds remain on throughout the wearer's sleep time. Compared to solutions that turn off / reduce noise cancellation after disconnection to allow the user to hear the alarm clock through the speaker, this solution better protects the wearer's sleep experience.
[0085] Example 2:
[0086] Based on the same inventive concept as the Bluetooth headset noise reduction prompt method provided in Embodiment 1, this embodiment of the invention also provides a Bluetooth headset for implementing the Bluetooth headset noise reduction prompt method provided in Embodiment 1.
[0087] This invention may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this invention may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0088] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A system that specifies functions in one or more boxes.
[0089] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including an instruction set implemented in a process. Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0090] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0091] Although preferred embodiments of the invention have been described, those skilled in the art, once they have learned the basic inventive concept, can make other changes and modifications to these embodiments.
[0092] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of this invention and its equivalents, this invention also intends to include these modifications and variations.
Claims
1. A method for providing noise cancellation prompts in Bluetooth headphones, characterized in that, Applied to a Bluetooth headset, the Bluetooth headset being communicatively connected to a first object, including: When noise reduction mode is enabled and the user is detected to be asleep, the prompt target time and prompt audio are retrieved from the first object. Furthermore, when the noise reduction mode is enabled, and the user is detected to be in a sleep state while audio is playing, the prompt target time and the prompt audio are retrieved from the first object, and the real-time playback audio is recorded and stored. When the connection with the first object is detected to be disconnected, the real-time audio is played, and when the prompt target time is met at the first real-time moment, the prompt audio is played until the user is awake. Get the total battery level, remaining battery level, and power consumption of the Bluetooth headset; Obtain the first interval between the second real-time moment and the target time of the prompt; The target battery level is obtained by subtracting a preset percentage of the total battery level of the Bluetooth headset from its remaining battery level. Calculate the product of the power consumption of the Bluetooth headset and the duration of the first interval, and set it as the predicted power consumption; When the target battery level is less than the predicted battery consumption, the real-time audio is played according to the power consumption of the Bluetooth headset. When the target power level is greater than or equal to the predicted power loss, the noise reduction level and the real-time audio playback are adjusted with the goal of reducing the power consumption of the Bluetooth headset. The noise reduction level and real-time audio playback adjustment are aimed at reducing the power consumption of Bluetooth headphones, including: The system monitors the level of environmental noise and the user's sleep level, wherein the level of environmental noise includes mild noise, moderate noise, and severe noise, and the user's sleep level includes light sleep stage, light to deep sleep stage, deep sleep stage, and deep to light sleep stage. When the user's sleep level is in the light sleep stage, the noise reduction mode is maintained at the initial noise reduction level, and the real-time audio playback is maintained at the initial audio amplitude. When the user's sleep level is in the light to deep sleep stage and the ambient noise level is in the light noise level, a first preset attenuation step size and a second preset attenuation step size are matched according to the user's sleep level. The initial noise reduction level is reduced according to the first preset attenuation step size, and the initial audio amplitude is reduced according to the second preset attenuation step size. When the user's sleep level is in the light to deep sleep stage and the ambient noise level is in the medium noise level, the first preset attenuation step size is matched according to the user's sleep level, the initial noise reduction level is reduced according to the first preset attenuation step size, and the real-time playback audio is maintained at the initial audio amplitude. When the user's sleep level is in the transition from light to deep sleep and the ambient noise level is in the level of heavy noise, the noise reduction mode is maintained at the initial noise reduction level, and the real-time audio playback is maintained at the initial audio amplitude. When the user's sleep level is deep sleep and the ambient noise level is light noise or medium noise, the noise reduction mode is maintained at the noise reduction level when entering deep sleep, and the real-time audio playback is maintained at the audio amplitude when entering deep sleep. When the user's sleep level is in the deep sleep level and the ambient noise level is in the heavy noise level, the noise reduction mode is adjusted to half of the noise reduction level when entering the deep sleep level, and the real-time audio playback is adjusted to half of the audio amplitude when entering the deep sleep level. When the user's sleep level is in the deep-to-light phase, the noise reduction mode is adjusted to 1.5 times the noise reduction level when entering the deep sleep level, and the real-time audio playback is maintained at the audio amplitude when entering the deep sleep level. When the noise reduction level of the deep sleep level is 1.5 times greater than the rated noise reduction level, it is adjusted to the rated noise reduction level.
2. The method as described in claim 1, characterized in that, When the user's sleep level is in the transition from deep to light sleep, adjusting the noise reduction mode to 1.5 times the noise reduction level when entering deep sleep, and maintaining the real-time audio playback at the audio amplitude when entering deep sleep, further includes: When the noise reduction mode is adjusted to 1.5 times the noise reduction level when entering the deep sleep state, and the real-time playback audio is maintained at the audio amplitude when entering the deep sleep state, the user's sleep state is still in the deep to light stage. The noise reduction mode is then adjusted to the rated noise reduction level, and the real-time playback audio is adjusted to the initial audio amplitude.
3. The method as described in claim 1, characterized in that, When a disconnection is detected with the first object and the first real-time moment meets the target prompt time, the prompt audio is played until the user is awake, including: when a disconnection is detected with the first object and the first real-time moment meets the target prompt time, separating the minimum loop audio unit of the prompt audio and playing the minimum loop audio unit until the user is awake.
4. The method as described in claim 3, characterized in that, When a disconnection from the first object is detected, and the first real-time moment meets the target prompt time, the smallest loop audio unit of the prompt audio is separated, further comprising: Detect whether there are ringing sounds in the surrounding area; If the ringtone type is present, separate the ringtone type to obtain the minimum loop audio unit; otherwise, separate the prompt audio to obtain the minimum loop audio unit.
5. The method as described in claim 1, characterized in that, When a disconnection with the first object is detected, the real-time playback audio is played, including: when a disconnection with the first object is detected, the smallest real-time playback audio unit of the real-time playback audio is played.
6. The method according to any one of claims 1 to 5, characterized in that, Also includes: The process requests to establish a communication connection with the first object in real time; if the communication connection is successfully established, the process stops; if the communication connection fails to be established, the process continues.
Citation Information
Patent Citations
Earphone noise reduction method, intelligent Bluetooth earphone and computer readable storage medium
CN109788388A
Event reminding method and device, earphone equipment and storage medium
CN114302276A
Bluetooth earphone control method and Bluetooth earphone
CN117857965A