Bluetooth headset control methods and Bluetooth headsets

By detecting the user's sleep state in Bluetooth headphones and recording and looping sleep-aid music clips, the problem of users being awakened by music switching is solved, thus improving sleep quality.

CN117857965BActive Publication Date: 2026-11-17ANKER INNOVATIONS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211219721.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2026-11-17
Estimated Expiration
2042-09-30

AI Technical Summary

Technical Problem

In sleep aid applications, Bluetooth headphones can easily wake users up due to music switching, affecting sleep quality.

Method used

Once the user enters a sleep state, the system records the currently playing music for a preset duration, generates and stores the recorded audio clip, and then loops it through the speaker to adapt to the user's sleep state.

Benefits of technology

It effectively maintains the user's sleep state, improves sleep quality, avoids being startled awake by music switching, and enhances the sleep aid effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117857965B_ABST
    Figure CN117857965B_ABST
Patent Text Reader

Abstract

This application discloses a control method for Bluetooth headphones and Bluetooth headphones. The method includes: determining whether the user has entered a sleep state; in response to the user entering a sleep state, starting to record currently playing local music until a preset duration, obtaining a recorded audio segment and storing it in a memory; and looping the recorded audio segment through a speaker. Through the above method, this application can better adapt to the user's sleep state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Bluetooth device technology, and in particular to a control method for Bluetooth headsets and Bluetooth headsets. Background Technology

[0002] With the development of technology and the improvement of living standards, people have begun to enjoy life and music. Headphones, as a convenient and readily available music playback device, have become integrated into people's daily lives. People can use headphones to listen to music or audiobooks while working or exercising, or play audio before bed to help them fall asleep. At the same time, soothing music can isolate them from external noise to prevent them from waking up.

[0003] Currently, when Bluetooth headphones are used to help users fall asleep, they often play music stored in the headphones according to a playlist. However, this method may cause users to be easily disturbed when they fall asleep, thus affecting their sleep. Summary of the Invention

[0004] The main technical problem addressed in this application is to provide a Bluetooth headset and its control method that are better adapted to the user's sleep state.

[0005] In a first aspect, embodiments of this application provide a control method for a Bluetooth headset, the method comprising: determining whether a user has entered a sleep state; in response to the user entering a sleep state, starting to record currently playing local music until a preset duration is reached, obtaining a recorded audio segment and storing it in a memory; and looping the recorded audio segment through a speaker.

[0006] Secondly, embodiments of this application provide a Bluetooth headset, which includes at least one Bluetooth chip, a memory, and a speaker. The at least one Bluetooth chip is used to perform the method described in the first aspect. The memory is coupled to the at least one Bluetooth chip and is used to store audio. The speaker is coupled to the at least one Bluetooth chip and is used to play audio.

[0007] The beneficial effects of this application are as follows: by determining that the user has entered a sleep state, recording the music played by the Bluetooth headset at this time is started for a preset duration to obtain a recorded audio segment and stored in the memory, and the recorded audio segment is played in a loop through the speaker; since the music played when the user enters a sleep state is music that helps the user sleep, recording the music played when the user enters a sleep state to obtain a recorded audio segment, and playing the recorded audio segment in a loop can better adapt to the user's sleep state, thereby effectively maintaining the user's sleep state, helping the user enter a deeper and more stable sleep state, and effectively improving the user's sleep quality. Attached Figure Description

[0008] Figure 1 This is a schematic block diagram of the circuit structure of an embodiment of the Bluetooth headset of this application;

[0009] Figure 2 This is a flowchart illustrating an embodiment of the control method for Bluetooth headsets according to this application. Detailed Implementation

[0010] 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 a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0011] As society develops, people's daily lives become increasingly busy, leading to a decline in sleep quality. How to achieve higher quality sleep has become a topic of great concern, and people have begun using Bluetooth headphones to aid sleep. When used for sleep aid, Bluetooth headphones allow users to listen to music to help them fall asleep more easily, and to play soothing music to block out external noise when they need to sleep. These Bluetooth headphones often feature noise cancellation and are designed to be relatively small for comfortable wear.

[0012] Through long-term research, the inventors of this application have discovered that when users first fall asleep, they are typically in a light sleep state, making them easily awakened by external changes. When users wear Bluetooth headphones to play music to aid sleep, if the music changes just as the user is falling asleep, especially if the changed music is rhythmic or high-pitched, it is likely to disturb the user, causing them to wake up and resulting in decreased sleep quality. Based on this, this application proposes the following solution to address the aforementioned technical problems.

[0013] The following embodiments of the Bluetooth headset described in this application illustrate an exemplary structure of a Bluetooth headset.

[0014] like Figure 1 As shown, the Bluetooth headset 1 may include at least one Bluetooth chip 100, a memory 200, and a speaker 300.

[0015] Bluetooth headset 1 is used to receive electrical signals and convert them into sound waves that can be heard by the human ear, i.e., to play voice or music. Bluetooth headset 1 can be used, for example, in applications that help with sleep.

[0016] At least one Bluetooth chip 100 supports both Classic Bluetooth mode and Bluetooth Low Energy mode. Bluetooth Low Energy mode is used to receive music playback control commands from the terminal device, while Classic Bluetooth mode is used to receive target audio data sent by the terminal device. Optionally, the terminal device may be a mobile phone, portable music player, radio, portable game console, or digital audio player. For example, the number of at least one Bluetooth chip 100 may be one, which can simultaneously support both Classic Bluetooth mode and Bluetooth Low Energy mode. Alternatively, the number of at least one Bluetooth chip 100 may be two, one of which supports at least Classic Bluetooth mode, and the other supports at least Bluetooth Low Energy mode; each Bluetooth chip 100 may support both Classic Bluetooth mode and Bluetooth Low Energy mode. Of course, the number of at least one Bluetooth chip 100 may also be greater than two.

[0017] The memory 200 is coupled to at least one Bluetooth chip 100 for storing data. For example, at least one Bluetooth chip 100 can store target audio data sent by a terminal device in the memory 200 to become local music in the Bluetooth headset 1, where the local music is the music stored in the Bluetooth headset 1. Optionally, the memory 200 is flash memory (Flash EEPROM). Optionally, at least one Bluetooth chip 100 operates the memory 200 through a Serial Peripheral Interface (SPL).

[0018] The speaker 300 is coupled to at least one Bluetooth chip 100 for playing audio. For example, at least one Bluetooth chip 100 can receive target audio data sent by a terminal device and play it through the speaker 300.

[0019] Optionally, such as Figure 1 As shown, the Bluetooth headset 1 may include a detection sensor 400. The detection sensor 400 is coupled to at least one Bluetooth chip 100 and is used to detect whether the user is in a sleep state or whether the user has performed an interactive operation to indicate that the classic Bluetooth mode should be turned off. Optionally, the detection sensor 400, used to detect whether the user is in a sleep state, may be, for example, a gravity sensor (G-sensor), a heart rate sensor, a respiratory rate sensor, etc. Optionally, the detection sensor 400 is a gravity sensor, which can detect whether the user has performed an interactive operation to indicate that the classic Bluetooth mode should be turned off, such as the user tapping the Bluetooth headset 1. Optionally, at least one Bluetooth chip 100 is connected to the detection sensor 400 via a bidirectional two-wire synchronous serial bus (Inter-Integrated Circuit, I2C).

[0020] For details, please refer to the following description of the control method embodiment of Bluetooth headset 1 in this application.

[0021] like Figure 2 As shown, the embodiment of the control method for the Bluetooth headset 1 described in this application may include:

[0022] S100: Determines whether the user has entered a sleep state.

[0023] S200: In response to the user entering sleep mode, it starts recording the currently playing local music until the preset duration, obtains the recorded audio segment, and stores it in the memory.

[0024] S300: Plays recorded audio clips in a loop through the speaker.

[0025] When the system determines that the user has entered a sleep state, it begins recording the music played by Bluetooth headset 1 for a preset duration to obtain a recorded audio clip, which is then stored in the memory. The recorded audio clip is then played in a loop through the speaker. Since the music played when the user enters a sleep state is music that helps the user fall asleep, recording the music played when the user enters a sleep state and playing the recorded audio clip in a loop can better adapt to the user's sleep state, thereby effectively maintaining the user's sleep state and helping the user enter a deeper and more stable sleep state, effectively improving the user's sleep quality.

[0026] The following is a detailed description of an embodiment of the control method for the Bluetooth headset 1 of this application.

[0027] S100: Determines whether the user has entered a sleep state.

[0028] The detection sensor 400 detects whether the user is in a sleep state and feeds back the detection result to at least one Bluetooth chip 100.

[0029] If the user enters a sleep state, then execute S200: In response to the user entering a sleep state, start recording the currently playing local music until the preset duration, obtain the recorded audio segment and store it in the memory.

[0030] If the detection sensor 400 detects that the user has entered a sleep state, at least one Bluetooth chip 100 begins recording the current song belonging to the local music library until a preset duration is reached, obtaining a recorded audio segment and storing it in the memory 200. Optionally, the preset duration can be adjusted and set, for example, to 1 minute, 3 minutes, 5 minutes, etc., or other durations. The preset duration is less than or equal to the playback duration of the local music. Optionally, the preset duration is less than or equal to the remaining playback duration of the currently playing local music. For example, if the total duration of the currently playing song is 5 minutes, and 2 minutes have already played, then the preset duration is less than or equal to 3 minutes. By making the preset duration less than or equal to the remaining playback duration of the currently playing local music, the recorded audio segment can be a portion of the local music playing when the user enters a sleep state, avoiding song interruptions and thus preventing the user from being awakened by song interruptions.

[0031] Optionally, the user can control the Bluetooth headset 1 through a terminal device. For example, when the user needs to enter sleep mode and wears the Bluetooth headset 1 to play music, or when the user wakes up from sleep mode, the user can perform operations such as playing music or switching music playback on the Bluetooth headset 1 through the terminal device. See the following steps included in S200 for details:

[0032] S210: Receives music playback control commands from terminal devices via Bluetooth Low Energy mode.

[0033] At least one Bluetooth chip 100 is used to receive music playback control instructions from a terminal device via Bluetooth Low Energy mode. The music playback control instructions are used to instruct the Bluetooth headset 1 to play target audio from the terminal device, wherein the target audio is music stored locally on the terminal device or music obtained by the terminal device from the Internet.

[0034] S220: In response to music playback control commands, it receives audio data of the target audio through classic Bluetooth mode and plays the target audio through the speaker, while storing the audio data of the target audio in the memory to become local music.

[0035] At least one Bluetooth chip 100 responds to a music playback control command, receives audio data of the target audio sent by the terminal device in classic Bluetooth mode and plays it through the speaker 300, while storing the audio data of the target audio in the memory 200 to become the local music of the Bluetooth headset 1.

[0036] When a user needs to play music not stored in Bluetooth headset 1, or switch the playing music to music not stored in Bluetooth headset 1, the user selects the target audio through the terminal device. At least one Bluetooth chip 100 receives the music playback control command from the terminal device in Bluetooth Low Energy mode. This command instructs Bluetooth headset 1 to play the target audio. At least one Bluetooth chip 100 receives the audio data of the target audio sent by the terminal device in Bluetooth Classic mode, and stores the audio data in memory 200 while playing the target audio through speaker 300. The music stored in Bluetooth headset 1 is local music, and the number of local music tracks can be 1, 3, 5, or other quantities.

[0037] By setting two modes in Bluetooth headset 1—Low Power Bluetooth mode and Classic Bluetooth mode—it can receive music playback control commands in Low Power Bluetooth mode to save power, while receiving audio data of the target audio in Classic Bluetooth mode. The audio data transmission latency through Classic Bluetooth connection is only about two hundred milliseconds, allowing playback through speaker 300 while simultaneously receiving the target audio data and storing the target audio data in memory 200. This achieves synchronous data reception, storage, and playback, avoiding long delays when playing unstored music, improving the music playback efficiency of Bluetooth headset 1. Furthermore, it allows for real-time switching when the user switches to other music playback devices, enhancing the user experience.

[0038] S230: In response to the completion of target audio playback, retrieve local music from memory and play it through the speaker.

[0039] When the target audio finishes playing, at least one Bluetooth chip 100 retrieves the local music from the memory 200 and plays it through the speaker 300.

[0040] S240: Receives music switching control commands from terminal devices via Bluetooth Low Energy mode, and switches the local music being played.

[0041] During the playback of local music, at least one Bluetooth chip 100 receives a music switching control command from the terminal device via Bluetooth Low Energy mode to switch the playing local music. For example, when there are multiple local music tracks and the user needs to switch to another track, they can select the desired track on the terminal device. At least one Bluetooth chip 100 receives the music switching control command from the terminal device via Bluetooth Low Energy mode. This command instructs the Bluetooth headset 1 to play the selected local music. At least one Bluetooth chip 100 retrieves the local music from the memory 200 and plays it through the speaker 300. The music specified in the music switching control command is a local track already stored in the memory 200. At least one Bluetooth chip 100 retrieves the local music in response to the music switching control command and plays it through the speaker 300 to achieve real-time switching.

[0042] Optionally, when the user is in sleep mode, the classic Bluetooth mode of at least one Bluetooth chip 100 is turned off to save power. See the following steps included in S220 for details:

[0043] S221: In response to the user being in sleep mode, turn off classic Bluetooth mode and maintain Bluetooth Low Energy mode to communicate with the terminal device.

[0044] At least one Bluetooth chip 100 disables the classic Bluetooth mode and retains the low-power Bluetooth mode when the user is in sleep mode, so as to facilitate communication with terminal devices, thereby saving power consumption and meeting the user's need for long battery life when in sleep mode.

[0045] Optionally, the classic Bluetooth mode can be turned off when the user has not sent commands to Bluetooth headset 1 via the terminal device for an extended period of time. See the following steps included in S220 for details:

[0046] S222: Determine whether an instruction from the terminal device has been received within a preset time period.

[0047] The system determines whether at least one Bluetooth chip 100 has received a command from the terminal device within a preset time period. This preset time period can be set, for example, to be 10 minutes. That is, if the Bluetooth headset 1 does not receive a command from the terminal device within 10 minutes of the last received command, then at least one Bluetooth chip 100 controls the classic Bluetooth mode to be turned off, maintaining only the low-power Bluetooth mode for communication with the terminal device. The preset time period can also be 20 minutes, 30 minutes, etc.

[0048] If no instruction is received from the terminal device within the preset time period, proceed to step S223: turn off the classic Bluetooth mode and maintain the communication connection with the terminal device in the low-power Bluetooth mode.

[0049] By switching from Classic Bluetooth mode to Low Power Bluetooth mode when at least one Bluetooth chip 100 does not receive an instruction from the terminal device within a preset time period, the power consumption of the Bluetooth headset 1 can be greatly reduced, while maintaining communication with the terminal device to respond to user operations at any time, thus improving the user experience.

[0050] Optionally, when the detection sensor 400 detects a user interaction indicating that the classic Bluetooth mode should be turned off, the classic Bluetooth mode is turned off. See the following steps included in S220 for details:

[0051] S224: Determine whether the user has performed an interactive operation to instruct the user to turn off the classic Bluetooth mode.

[0052] The sensor 400 detects whether the user performs an interactive operation to indicate that the classic Bluetooth mode should be turned off. This interactive operation could include, for example, tapping the headphones, prolonged touching the headphones, or other actions.

[0053] If the user performs an interactive operation to instruct the classic Bluetooth mode to be turned off, then step S225 is executed: the classic Bluetooth mode is turned off, while the low-power Bluetooth mode is kept in communication with the terminal device.

[0054] When a user interacts with the instruction to turn off the classic Bluetooth mode, it indicates that the user needs to save power or temporarily stop the Bluetooth headset 1 from transmitting audio data. Therefore, turning off the classic Bluetooth mode and keeping the Bluetooth headset 1 in low-power Bluetooth mode can greatly save the power consumption of the Bluetooth headset 1 and maintain communication with the terminal device to respond to the user's operation at any time, thus improving the user experience.

[0055] S300: Plays recorded audio clips in a loop through the speaker.

[0056] After obtaining the recorded audio clip, the audio clip is recorded repeatedly through speaker 300. The music played when the detection sensor 400 detects that the user is asleep is usually music that helps the user sleep. At this time, the user is usually in a light sleep state and does not need to listen to music with changes to disturb sleep. In addition, in order to avoid the Bluetooth headset 1 playing other music with strong rhythm or high pitch that may disturb the user, the local music played when the user is detected to be asleep is recorded and played repeatedly through speaker 300 after obtaining the recorded audio clip, so as to help the user enter a deeper and more stable sleep state.

[0057] Optionally, after at least one Bluetooth chip 100 receives the recorded audio clip and loops it through the speaker 300, it reduces the playback volume and disables the low-power Bluetooth mode or shuts down the device as the loop playback duration increases. See the following steps included in S300 for details:

[0058] S310: Determine whether the loop playback duration of the recorded audio segment has reached the first duration.

[0059] At least one Bluetooth chip 100 determines the loop playback duration of the recorded audio segment and whether it has reached a first duration. Optionally, the value range of the first duration is, for example, 5 to 50 minutes, such as 20 minutes or 30 minutes. Of course, the first duration can also be other values.

[0060] S311: In response to the loop playback duration reaching the first duration, the speaker playback volume is reduced.

[0061] At least one Bluetooth chip 100 is used to reduce the playback volume of the speaker 300 when a recorded audio clip is continuously looped for a first duration.

[0062] Optionally, at least one Bluetooth chip 100 may, for example, reduce the playback volume of the speaker 300 when the recorded audio clip is continuously looped for a first duration. For example, the playback volume of the speaker 300 is a first volume when the recorded audio clip is looped, and when the looping playback reaches the first duration, the playback volume of the speaker 300 is reduced to a second volume. The first volume is greater than the second volume.

[0063] Optionally, at least one Bluetooth chip 100 may, for example, gradually reduce the playback volume of the speaker 300 from a first volume to a second volume during the continuous loop playback of the recorded audio clip for a first duration. For example, at the beginning of the continuous loop playback of the recorded audio clip, the playback volume of the speaker 300 is the first volume, and during the continuous loop playback, the playback volume of the speaker 300 is gradually reduced until it is reduced to the second volume, at which point the playback duration reaches the first duration, and the reduction of the playback volume stops.

[0064] At least one Bluetooth chip 100 starts timing when the speaker 300 begins playing the recorded audio clip, and reduces the playback volume of the speaker 300 when the first duration is reached, or gradually reduces the playback volume of the speaker 300 until the first duration is reached during the timing process. Of course, the first duration can be adjusted and set.

[0065] The playback volume of speaker 300 is reduced when the recorded audio clip is looped for a first duration, or the playback volume of speaker 300 is gradually reduced during the looping of the recorded audio clip for a first duration, in order to avoid disturbing the user's sleep with loud music.

[0066] S312: Determine whether the loop playback duration of the recorded audio segment has reached the second duration.

[0067] At least one Bluetooth chip 100 determines whether the loop playback duration of the recorded audio segment has reached a second duration. The second duration is longer than the first duration. Optionally, the value range of the second duration is, for example, 5 to 150 minutes, such as 50 minutes or 60 minutes. The second duration can also be any other value range.

[0068] S313: In response to the second duration of loop playback, control the speaker to stop playing the recorded audio clip and turn off the low-power Bluetooth mode or power off the device.

[0069] At least one Bluetooth chip 100 is used to control the speaker 300 to stop playing the recorded audio clip and turn off the Bluetooth Low Energy mode or power off when the recorded audio clip has been continuously looping for a second duration. The at least one Bluetooth chip 100 starts timing when the speaker 300 begins playing the recorded audio clip, and controls the speaker 300 to stop playing the recorded audio clip when the second duration is reached. Of course, the second duration can be adjusted and set.

[0070] By gradually reducing the playback volume of the speaker 300 when the recorded audio clip has been played for a first duration, or by gradually reducing the playback volume of the speaker 300 during the first duration of the recorded audio clip, and then stopping the music playback when the second duration is reached, the user is gradually put into a deeper sleep. This avoids abruptly stopping playback and thus preventing disruption to the user's sleep. Furthermore, when the recorded audio clip is stopped, the low-power Bluetooth mode is turned off or the device is powered off to save power.

[0071] Optionally, after at least one Bluetooth chip 100 receives the recorded audio clip and loops it through the speaker 300, it lowers the playback volume and turns off the low-power Bluetooth mode or shuts down the device as the number of loops increases. See the following steps included in S300 for details:

[0072] S320: Determine whether the number of times the recorded audio segment has been looped has reached the first preset number.

[0073] At least one Bluetooth chip 100 determines the number of times the recorded audio segment has been looped and whether it has reached a first preset number of times. Optionally, the value of the first preset number of times may range from 3 to 20 times, for example, 5 times, or 10 times. Of course, the first preset number of times can also be other values.

[0074] S321: In response to the loop playback count reaching the first preset number, the speaker playback volume is reduced.

[0075] At least one Bluetooth chip 100 is used to reduce the playback volume of the speaker 300 when the recorded audio clip is continuously looped for a first preset number of times.

[0076] Optionally, at least one Bluetooth chip 100 may, for example, reduce the playback volume of the speaker 300 when the recorded audio clip is continuously looped for a first preset number of times. For example, the playback volume of the speaker 300 is a first volume when the recorded audio clip is looped, and when the looping reaches the first preset number of times, the playback volume of the speaker 300 is reduced to a second volume. Wherein, the first volume is greater than the second volume.

[0077] Optionally, at least one Bluetooth chip 100 may, for example, gradually reduce the playback volume of the speaker 300 from a first volume to a second volume during the continuous loop playback of the recorded audio clip up to a first preset number of times. For example, at the beginning of the continuous loop playback of the recorded audio clip, the playback volume of the speaker 300 is the first volume, and during the continuous loop playback, the playback volume of the speaker 300 is gradually reduced until it is reduced to the second volume, at which point the first preset number of playbacks is reached, and the playback volume reduction stops.

[0078] The speaker volume is reduced when the recorded audio clip is looped for a first preset number of times, or the speaker volume is gradually reduced during the looping process of the recorded audio clip reaching the first preset number of times, in order to avoid loud music disturbing the user's sleep.

[0079] S322: Determine whether the number of times the recorded audio segment has been looped has reached the second preset number.

[0080] At least one Bluetooth chip 100 determines whether the recorded audio segment has reached a second preset number of loop playbacks. The second preset number is greater than the first preset number. Optionally, the value of the second preset number can range from 5 to 30 times, for example, 10 times, or 20 times. Of course, the second preset number can also be other values.

[0081] S323: In response to the second preset number of loop playbacks, control the speaker to stop playing the recorded audio clip and turn off the low-power Bluetooth mode or power off the device.

[0082] At least one Bluetooth chip 100 is used to control the speaker 300 to stop playing the recorded audio clip and turn off the low-power Bluetooth mode or power off when the recorded audio clip is continuously looped for a second preset number of times.

[0083] By gradually reducing the playback volume of the speaker 300 when the recorded audio clip is looped for a first preset number of times, or by gradually reducing the playback volume of the speaker 300 during the process of looping the recorded audio clip for a first preset number of times, and stopping the music playback when the second preset number of times is reached, the user is gradually put into a deeper sleep. This avoids abruptly stopping playback and affecting the user's sleep state. Furthermore, when the recorded audio clip is stopped playing, the low-power Bluetooth mode is turned off or the device is turned off to save power.

[0084] If the user has not entered sleep mode, execute S400: In response to the user not entering sleep mode, play local music stored in memory in a loop through the speaker.

[0085] At least one Bluetooth chip 100 continuously plays local music stored in the memory 200 through a speaker 300. The local music is music stored in the memory 200 on the Bluetooth headset 1, and the number of local music tracks is at least one, but can be one or more. Optionally, when there is only one local music track, at least one Bluetooth chip 100 continuously plays that local music track through the speaker 300. Optionally, when there are multiple local music tracks, at least one Bluetooth chip 100 continuously plays multiple local music tracks from the memory 200 through the speaker 300 in a preset playback order; that is, after playing all the local music tracks in the preset playback order, the preset playback order is repeated. The preset playback order can be, for example, the order in which each local music track is stored in the memory 200, or, for example, the alphabetical order of the song titles. Listening to the continuously playing local music on the Bluetooth headset 1 helps the user fall asleep more quickly.

[0086] Based on the above description, the exemplary use cases of Bluetooth headset 1 are detailed below.

[0087] Example use case 1: The user is not in a sleep state.

[0088] When the user is not in sleep mode, the user can send music playback control commands to Bluetooth headset 1 through the terminal device to instruct Bluetooth headset 1 to play the target audio of the terminal device. Bluetooth headset 1 receives the music playback control commands in low power Bluetooth mode and, in response to the music playback control commands, receives the audio data of the target audio in classic Bluetooth mode. While playing the audio through speaker 300, it stores the audio data of the target audio in memory 200 to become the local music of Bluetooth headset 1.

[0089] Users can send music switching control commands to Bluetooth headset 1 through terminal devices to instruct Bluetooth headset 1 to switch to playing local music. At this time, at least one Bluetooth chip 100 receives the music switching control commands in low power Bluetooth mode, obtains the local music in memory 200 and plays it through speaker 300.

[0090] If the user does not send a music playback control command or a music switching control command, Bluetooth headset 1 will play the local music in memory 200 according to the preset playback order until the user sends a music playback control command or a music switching control command, or the detection sensor 400 detects that the user is in sleep mode. When Bluetooth headset 1 detects that the user is in sleep mode, or does not receive a command within a preset time period, or detects an interaction operation by the user instructing to turn off Bluetooth headset 1, at least one Bluetooth chip 100 will control the classic Bluetooth mode to be turned off.

[0091] Example use case 2: The user enters a sleep state.

[0092] When the detection sensor 400 detects that the user has entered a sleep state, at least one Bluetooth chip 100 starts recording the currently playing local music until the preset duration, obtains the recorded audio segment and stores it in the memory 200, and records the audio segment in a loop through the speaker 300.

[0093] When the recorded audio clip is continuously looped for a first duration or for a first preset number of plays, at least one Bluetooth chip 100 controls the speaker 300 to reduce its playback volume. Alternatively, during the continuous looping of the recorded audio clip for the first duration or for the first preset number of plays, the speaker 300's playback volume can be gradually reduced from a first volume to a second volume. When the continuous looping of the recorded audio clip for the second duration or for the second preset number of plays, at least one Bluetooth chip 100 controls the speaker 300 to stop playing the recorded audio clip and disable Bluetooth Low Energy mode or power off.

[0094] In summary, this embodiment records the music played by Bluetooth headset 1 for a preset duration when the user is determined to be asleep, resulting in a recorded audio clip which is stored in memory 200. The recorded audio clip is then played repeatedly through speaker 300. Since the music played when the user is asleep is conducive to sleep, recording this audio clip and playing it repeatedly better adapts to the user's sleep state, effectively maintaining sleep and helping the user enter a deeper, more stable sleep state, thus significantly improving sleep quality.

[0095] Furthermore, by setting up a low-power Bluetooth mode and a classic Bluetooth mode on the Bluetooth headset 1, where the low-power Bluetooth mode receives commands to save power and the classic Bluetooth mode receives audio data, and the target audio data is played through the speaker 300 simultaneously, the target audio data from the terminal device can be quickly transmitted to the Bluetooth headset 1 and played concurrently. It can also be stored in the memory 200 at the same time, avoiding long delays when playing unstored music, thus improving the music playback efficiency of the Bluetooth headset 1 and enhancing the user experience. The local music stored in the memory 200 can be played without receiving audio data when receiving corresponding music switching control commands. Furthermore, by controlling the classic Bluetooth mode to be turned off by at least one Bluetooth chip 100 when the Bluetooth headset 1 reaches a preset state to save power, the battery life of the Bluetooth headset 1 is improved, thereby meeting the battery life requirements of the Bluetooth headset 1.

[0096] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A control method of a Bluetooth earphone, characterized by, include: Determine if the user has entered a sleep state; In response to the user entering the sleep state, the system begins recording the currently playing local music until the preset duration, obtaining the recorded audio segment and storing it in the memory; The recorded audio clip is played in a loop through the speaker.

2. The method according to claim 1, characterized in that, The step of looping the recorded audio clip through a speaker includes: Determine whether the loop playback duration of the recorded audio segment has reached the first duration; In response to the loop playback duration reaching the first duration, the playback volume of the speaker is reduced.

3. The method according to claim 2, characterized in that, The step of looping the recorded audio clip through a speaker includes: Determine whether the loop playback duration of the recorded audio segment has reached a second duration; wherein the second duration is greater than the first duration; In response to the loop playback duration reaching the second duration, the speaker is controlled to stop playing the recorded audio clip, and the low-power Bluetooth mode is turned off or the device is powered off.

4. The method according to claim 1, characterized in that, The step of looping the recorded audio clip through a speaker includes: Determine whether the recorded audio segment has reached a first preset number of loop playbacks; In response to the loop playback count reaching the first preset number, the playback volume of the speaker is reduced.

5. The method according to claim 4, characterized in that, The step of looping the recorded audio clip through a speaker includes: Determine whether the number of times the recorded audio segment has been looped reaches a second preset number; wherein the second preset number is greater than the first preset number; In response to the loop playback count reaching the second preset number, the speaker is controlled to stop playing the recorded audio clip, and the low-power Bluetooth mode is turned off or the device is powered off.

6. The method according to claim 2 or 4, characterized in that, Lowering the playback volume of the speaker includes: The playback volume of the speaker is gradually reduced from the first volume to the second volume.

7. The method according to claim 1, characterized in that, The process of starting to record the currently playing local music until a preset duration, obtaining a recorded audio segment, and storing it in the memory includes: Start recording the audio segment belonging to the local music, where the preset duration is less than or equal to the remaining playback duration of the currently playing music in the local music.

8. The method according to any one of claims 1 to 7, characterized in that, Before the recording of the currently playing local music begins and continues for a preset duration, the following includes: The device receives music playback control commands from the terminal device via Bluetooth Low Energy mode. These music playback control commands are used to instruct the playback of the target audio from the terminal device. In response to the music playback control command, the system receives the audio data of the target audio via classic Bluetooth mode and plays the target audio through the speaker, while storing the audio data of the target audio in the memory to become the local music.

9. The method according to claim 8, characterized in that, After receiving the audio data of the target audio via classic Bluetooth mode and playing the target audio through the speaker, and simultaneously storing the audio data of the target audio in the memory to become the local music, the method further includes: In response to the completion of the target audio playback, the local music in the memory is retrieved and played through the speaker; The system receives music switching control commands from the terminal device via Bluetooth Low Energy mode and switches the playing local music.

10. The method of claim 8, wherein, Also includes: In response to the user being in the sleep state, the classic Bluetooth mode is turned off, while the low-power Bluetooth mode is maintained to maintain communication connection with the terminal device.

11. The method of claim 8, wherein, Also includes: Determine whether an instruction from the terminal device has been received within a preset time period; If not, then turn off Classic Bluetooth mode and maintain Bluetooth Low Energy mode to communicate with the terminal device.

12. The method of claim 8, wherein, Also includes: Determine if the user has performed an interactive operation to instruct the user to turn off the classic Bluetooth mode; If so, then turn off the classic Bluetooth mode and maintain the Bluetooth Low Energy mode communication connection with the terminal device.

13. A Bluetooth headset, characterized in that, include: At least one Bluetooth chip is configured to perform the method as described in any one of claims 1-12; A memory, coupled to the at least one Bluetooth chip, for storing audio; A speaker, coupled to at least one Bluetooth chip, is used to play audio.

Citation Information

Patent Citations

  • Audio playing control method and device, and terminal

    CN105933539A

  • Intelligent hypnotic music recommendation method and apparatus

    CN107463646A