CN117857965A - Bluetooth headset control method and Bluetooth headset - Google Patents

Bluetooth headset control method and Bluetooth headset Download PDF

Info

Publication number
CN117857965A
CN117857965A CN202211219721.2A CN202211219721A CN117857965A CN 117857965 A CN117857965 A CN 117857965A CN 202211219721 A CN202211219721 A CN 202211219721A CN 117857965 A CN117857965 A CN 117857965A
Authority
CN
China
Prior art keywords
playing
music
bluetooth
recorded audio
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211219721.2A
Other languages
Chinese (zh)
Inventor
范仰栋
简阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anker Innovations Co Ltd
Original Assignee
Anker Innovations Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anker Innovations Co Ltd filed Critical Anker Innovations Co Ltd
Priority to CN202211219721.2A priority Critical patent/CN117857965A/en
Publication of CN117857965A publication Critical patent/CN117857965A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a control method of a Bluetooth headset and the Bluetooth headset. The method comprises the following steps: judging whether the user enters a sleep state; responding to the user entering a sleep state, starting to record the local music currently played until a preset time length, obtaining a recorded audio fragment and storing the recorded audio fragment in a memory; the recorded audio clip is played back through the speaker. By means of the mode, the sleep state control method and the sleep state control device can be more suitable for the sleep state of the user.

Description

Bluetooth headset control method and Bluetooth headset
Technical Field
The application relates to the technical field of Bluetooth equipment, in particular to a control method of a Bluetooth headset and the Bluetooth headset.
Background
With the development of technology and the improvement of living standard, people start to enjoy life and music, and headphones are taken as a portable and instant music playing device, and are integrated into daily life of people. People can use headphones to listen to music or books and the like during work and exercise, can play audio before sleeping to assist sleeping, and can isolate external noisy sounds through the relaxed music to prevent waking up when sleeping.
At present, when the bluetooth headset is used for helping a user to enter a sleep state, music stored in the headset is often played according to a play list, but the mode may cause the user to be disturbed easily when entering the sleep state, so that the sleep of the user is affected.
Disclosure of Invention
The technical problem that this application mainly solves is to provide bluetooth headset and control method thereof, can more adapt to user's sleep state.
In a first aspect, an embodiment of the present application provides a method for controlling a bluetooth headset, where the method includes: judging whether the user enters a sleep state; responding to the user entering a sleep state, starting to record the local music currently played until a preset time length, obtaining a recorded audio fragment and storing the recorded audio fragment in a memory; the recorded audio clip is played back through the speaker.
In a second aspect, embodiments of the present application provide a bluetooth headset that includes at least one bluetooth chip, a memory, and a speaker. At least one bluetooth chip is adapted to perform the method according to the first aspect. The memory is coupled to the at least one Bluetooth chip for storing audio. The speaker is coupled to the at least one Bluetooth chip for playing audio.
The beneficial effects of this application are: when the user is judged to have entered a sleep state, recording music played by the Bluetooth headset at the moment to a preset duration to obtain a recorded audio fragment and storing the recorded audio fragment in a memory, and circularly playing the recorded audio fragment through a loudspeaker; because the music played when the user enters the sleep state is the music which is helpful for the sleep of the user, the recorded audio clip is obtained by recording the music played when the user enters the sleep state, and the recorded audio clip can be better adapted to the sleep state of the user by circularly playing, so that the sleep state of the user can be effectively maintained, the user can be helped to enter a deeper and more stable sleep state, and the sleep quality of the user is effectively improved.
Drawings
Fig. 1 is a schematic block diagram of a circuit structure of an embodiment of a bluetooth headset of the present application;
fig. 2 is a flowchart of an embodiment of a control method of the bluetooth headset of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
With the development of society, people's daily life also becomes busy gradually, and with this, the reduction of sleep quality, how to possess higher quality sleep becomes the topic of attention, and people also begin to use bluetooth headset to help sleep. When the Bluetooth earphone is used for an application scene of helping sleep, a user can better enter a sleep state by listening to music, and when the user needs to enter sleep, the user can play the relaxed music by wearing the Bluetooth earphone to isolate external noisy sounds. The bluetooth headset may be a bluetooth headset with noise reduction and may be designed to be small for comfort of wearing.
The inventor of the application finds that when a user just enters a sleep state, the user is usually in a light sleep state, and the user is easy to wake up due to external changes. When the user wears the Bluetooth headset to play music to help sleep, if the Bluetooth headset switches the played music when the user just enters the sleep state, especially if the switched music is music with stronger rhythm sense or higher tone, the user is likely to be disturbed, so that the user wakes up, and the sleep quality of the user is reduced. Based on this, the present application proposes the following solution to solve the above technical problems.
The following bluetooth headset embodiments of the present application describe exemplary configurations of bluetooth headsets.
As shown in fig. 1, the bluetooth headset 1 may include: at least one bluetooth chip 100, a memory 200, and a speaker 300.
The bluetooth headset 1 is used for receiving electrical signals and converting them into sound waves that can be heard by the human ear, i.e. for playing speech or music. The bluetooth headset 1 may be used for example in applications for aiding sleep.
At least one bluetooth chip 100 supports a classical bluetooth mode and a bluetooth low energy mode. The low-power consumption Bluetooth mode is used for receiving a music playing control instruction of the terminal equipment, and the classical Bluetooth mode is used for receiving target audio data sent by the terminal equipment. Optionally, the terminal device is a mobile phone, a walkman, a radio, a portable game and a digital audio player. For example, the number of at least one bluetooth chip 100 may be one, and the bluetooth chip 100 may support both the classical bluetooth mode and the bluetooth low energy mode. For example, the number of at least one bluetooth chip 100 may be two, wherein one bluetooth chip 100 supports at least a classical bluetooth mode and the other bluetooth chip 100 supports at least a low energy bluetooth mode, and of course, each bluetooth chip 100 may support both a classical bluetooth mode and a low energy bluetooth mode. Of course, the number of at least one bluetooth chip 100 may be greater than two.
The memory 200 is coupled to the at least one bluetooth chip 100 for storing data. For example, at least one bluetooth chip 100 may store target audio data transmitted from a terminal device in the memory 200 to become local music of the bluetooth headset 1, wherein the local music is music stored in the bluetooth headset 1. Optionally, the memory 200 is a Flash memory (Flash EEPROM Memory, flash). Optionally, at least one bluetooth chip 100 operates the memory 200 through a serial peripheral interface (Serial Peripheral Interface, SPL).
The speaker 300 is coupled to the at least one bluetooth chip 100 for playing audio. For example, at least one bluetooth chip 100 may receive target audio data transmitted from a terminal device and play the target audio data through a speaker 300.
Alternatively, as shown in fig. 1, the bluetooth headset 1 may include a detection sensor 400. The detection sensor 400 is coupled to the at least one bluetooth chip 100 for detecting whether the user is in a sleep state or whether the user performs an interactive operation indicating to turn off the classical bluetooth mode. Optionally, the detection sensor 400 is used to detect whether the user is in a sleep state, and may be, for example, a gravity sensor (G-sensor), a heart rate sensor, a respiratory rate sensor, etc. Alternatively, the detection sensor 400 is a gravity sensor, and may detect whether the user performs an interactive operation indicating to turn off the classical bluetooth mode, for example, the user knocks the bluetooth headset 1. Optionally, at least one bluetooth chip 100 is connected to the detection sensor 400 via a bi-directional two-wire synchronous serial bus (Inter-Integrated Circuit, I2C).
See in particular the following description of the embodiments of the control method of the bluetooth headset 1 of the present application.
As shown in fig. 2, an embodiment of a control method of the bluetooth headset 1 described in the present application may include:
s100: and judging whether the user enters a sleep state.
S200: and responding to the user entering a sleep state, starting to record the local music currently played until a preset time length, obtaining a recorded audio fragment and storing the recorded audio fragment in a memory.
S300: the recorded audio clip is played back through the speaker.
When the user is judged to have entered a sleep state, starting to record the music played by the Bluetooth headset 1 to a preset duration, so as to obtain a recorded audio fragment, storing the recorded audio fragment in a memory, and circularly playing the recorded audio fragment through a loudspeaker; because the music played when the user enters the sleep state is the music which is helpful for the sleep of the user, the recorded audio clip is obtained by recording the music played when the user enters the sleep state, and the recorded audio clip can be better adapted to the sleep state of the user by circularly playing, so that the sleep state of the user can be effectively maintained, the user can be helped to enter a deeper and more stable sleep state, and the sleep quality of the user is effectively improved.
The following describes in detail an embodiment of a control method of the bluetooth headset 1 of the present application.
S100: and judging whether the user enters a sleep state.
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.
If the user enters the sleep state, S200 is executed: and responding to the user entering a sleep state, starting to record the local music currently played until a preset time length, obtaining a recorded audio fragment and storing the recorded audio fragment in a memory.
If the detection sensor 400 detects that the user has entered a sleep state, the at least one bluetooth chip 100 starts recording the current song belonging to the local music until a preset time period, and obtains a recorded audio clip and stores the recorded audio clip in the memory 200. Alternatively, the preset time period may be adjusted and set, for example, 1 minute, 3 minutes, 5 minutes, etc., and other time periods are also possible. The preset time length is smaller than or equal to the playing time length of the local music. Optionally, the preset duration is less than or equal to the remaining playing duration of the currently playing music of the local music, for example, the total duration of the currently playing song is 5 minutes, and has been played for 2 minutes, and then the preset duration is less than or equal to 3 minutes. By making the preset time length less than or equal to the remaining playing time length of the currently played music of the local music, the recorded audio clip can be a part of the local music played when the user enters the sleep state, so that the occurrence of song cutting is avoided, and further, the user is prevented from waking up due to song cutting.
Alternatively, the user may control the bluetooth headset 1 through the terminal device, for example, when the user wears the bluetooth headset 1 to play music while entering a sleep state, or when the user wakes up from the sleep state, operations such as playing music, switching music to play, and the like may be performed on the bluetooth headset 1 through the terminal device. See for a specific reference the following steps included in S200:
s210: and receiving a music playing control instruction of the terminal equipment through a low-power consumption Bluetooth mode.
The at least one bluetooth chip 100 is configured to receive a music playing control instruction of the terminal device through a bluetooth low energy mode, where the music playing control instruction is configured to instruct the bluetooth headset 1 to play a target audio of the terminal device, where the target audio is music locally stored in the terminal device or music acquired by the terminal device from the internet.
S220: in response to the music play control instruction, audio data of the target audio is received through the classical Bluetooth mode and played through the loudspeaker, and meanwhile, the audio data of the target audio is stored in the memory to become local music.
At least one bluetooth chip 100 receives audio data of target audio transmitted from a terminal device through a classical bluetooth mode and plays through a speaker 300 in response to a music play control instruction, and simultaneously stores the audio data of the target audio in a memory 200 to become local music of the bluetooth headset 1.
When the user needs to play music not stored in the bluetooth headset 1 or switches the played music to music not stored in the bluetooth headset 1, the user selects a target audio through the terminal device, and at least one bluetooth chip 100 receives a music play control instruction of the terminal device through a bluetooth low energy mode, the instruction instructs the bluetooth headset 1 to play the target audio, and at least one bluetooth chip 100 receives audio data of the target audio transmitted by the terminal device through a classical bluetooth mode, and stores the audio data in the memory 200 while playing the target audio through the speaker 300. The music stored in the bluetooth headset 1 is local music, and the number of the local music may be 1, 3, 5, or other numbers.
By setting the low-power-consumption Bluetooth mode and the classical Bluetooth mode in the Bluetooth headset 1, the music playing control instruction is received through the low-power-consumption Bluetooth mode to save power consumption, and the audio data of the target audio is received through the classical Bluetooth mode, wherein the audio data transmitted through the classical Bluetooth connection is delayed by only about two hundred milliseconds, the audio data of the target audio can be played through the loudspeaker 300 while being received, and meanwhile, the audio data of the target audio are stored in the memory 200, so that the synchronous progress of data receiving, data storing and audio playing is realized, long-time delay is avoided when music which is not stored is played, the music playing efficiency of the Bluetooth headset 1 is improved, and when a user switches other music of a playing terminal device, the audio data can be switched in real time, and the user experience is improved.
S230: and in response to the completion of the target audio playing, acquiring the local music in the memory and playing the local music through the loudspeaker.
When the target audio is played, at least one bluetooth chip 100 acquires the local music in the memory 200 and plays it through the speaker 300.
S240: and receiving a music switching control instruction of the terminal equipment through a low-power consumption Bluetooth mode, and switching the played local music.
In the process of playing the local music, at least one bluetooth chip 100 receives a music switching control instruction of the terminal device through the bluetooth low energy mode to switch the played local music. For example, when there are a plurality of pieces of local music, the user needs to switch the played local music to other local music, the local music to be played may be selected on the terminal device, and the at least one bluetooth chip 100 receives a music switch control instruction of the terminal device through the bluetooth low energy mode, the instruction instructing the bluetooth headset 1 to play the local music selected by the user, and the at least one bluetooth chip 100 acquires the local music from the memory 200 and plays it through the speaker 300. Wherein the music pointed by the music switch control instruction is local music already stored in the memory 200, the at least one bluetooth chip 100 acquires the local music in response to the music switch control instruction, and plays the music through the speaker 300 to realize real-time switching.
Optionally, when the user is in a sleep state, the classical bluetooth mode of at least one bluetooth chip 100 is turned off to save power consumption. See for details the following steps included in S220:
s221: and in response to the user being in a sleep state, the classical Bluetooth mode is turned off, and the low-power Bluetooth mode is kept in communication connection with the terminal equipment.
At least one bluetooth chip 100 closes classical bluetooth mode and remains low energy bluetooth mode when the user is in sleep state to make things convenient for carrying out communication connection with terminal equipment, thereby save the consumption, and then satisfy the demand of long-time duration when the user is in sleep state.
Alternatively, the classical bluetooth mode is switched off when the user has not sent an instruction to the bluetooth headset 1 via the terminal device for a long time. See for details the following steps included in S220:
s222: and judging whether an instruction of the terminal equipment is received within a preset time period.
Judging whether at least one bluetooth chip 100 receives the instruction of the terminal device within a preset time period, wherein the preset time period can be set, for example, can be 10 minutes, that is, when the bluetooth headset 1 does not receive the instruction of the terminal device within 10 minutes from the last time of receiving the instruction, the at least one bluetooth chip 100 controls the classical bluetooth mode to be closed, and only keeps the low energy bluetooth mode in communication connection with the terminal device. The preset time period may also be 20 minutes, 30 minutes, etc.
If the instruction of the terminal device is not received within the preset time period, step S223 is executed: the classical bluetooth mode is turned off and the bluetooth low energy mode is kept in communication connection with the terminal device.
By turning off the classical bluetooth mode and maintaining the bluetooth low energy mode when at least one bluetooth chip 100 does not receive the instruction of the terminal device within a preset period of time, the power consumption of the bluetooth headset 1 can be greatly saved, and the communication connection with the terminal device is maintained to respond to the operation of the user at any time, thereby improving the user experience.
Alternatively, the classical bluetooth mode is turned off when the detection sensor 400 detects an interactive operation that the user instructs to turn off the classical bluetooth mode. See for details the following steps included in S220:
s224: and judging whether the user performs interactive operation for indicating to close the classical Bluetooth mode.
It is detected by the detection sensor 400 whether the user performs an interactive operation indicating that the classical bluetooth mode is turned off. The interaction operation for indicating to turn off the classical bluetooth mode is, for example, to tap the headset, or to touch the headset for a long time, but other operations are also possible.
If the user performs the interactive operation indicating to turn off the classical bluetooth mode, step S225 is performed: the classical bluetooth mode is turned off and the bluetooth low energy mode is kept in communication connection with the terminal device.
When the user performs the interactive operation of indicating to close the classical Bluetooth mode, the user is required to save power consumption or the operation of temporarily not using the Bluetooth headset 1 to perform audio data transmission is represented, so that the classical Bluetooth mode is closed and the low-power Bluetooth mode is maintained, the power consumption of the Bluetooth headset 1 can be greatly saved, the communication connection is maintained with the terminal equipment so as to respond to the operation of the user at any time, and the user experience is improved.
S300: the recorded audio clip is played back through the speaker.
After the recorded audio clip is obtained, the recorded audio clip is looped through the speaker 300. The music played when the detection sensor 400 detects that the user is in the sleep state is usually music which is helpful for the user to sleep, at this time, the user is usually in the light sleep state, and does not need to listen to music with variation to disturb the sleep, and in order to avoid the bluetooth headset 1 playing other music with stronger rhythm or higher tone to disturb the user, therefore, the local music played when the user is detected to be in the sleep state is recorded, and the local music is circularly played through the loudspeaker 300 after the recorded audio clip is obtained, so as to help the user enter a deeper and more stable sleep state.
Optionally, after at least one bluetooth chip 100 obtains the recorded audio clip and plays back through the speaker 300 in a cyclic manner, according to the increase of the cyclic play duration, the play volume is reduced, and the bluetooth low energy mode is turned off or turned off. See for a specific reference the following steps S300 includes:
s310: and judging whether the cycle playing time length of the recorded audio clip reaches the first time length.
At least one bluetooth chip 100 makes a determination as to the duration of the cyclical playing of the recorded audio segment, whether it reaches the first duration. Alternatively, the first time period may be, for example, 5 to 50 minutes, for example, the first time period may be, for example, 20 minutes, and further, for example, the first time period may be, for example, 30 minutes.
S311: and in response to the cyclic playing time length reaching the first time length, reducing the playing volume of the loudspeaker.
At least one bluetooth chip 100 is configured to reduce the playing volume of the speaker 300 when the recorded audio clip is continuously played in a loop for a first period of time.
Optionally, the at least one bluetooth chip 100 may, for example, reduce the playing volume of the speaker 300 when the recorded audio clip is played in a subsequent cycle for a first duration. For example, when the recorded audio clip is played in a loop, the playing volume of the speaker 300 is a first volume, and when the playback is performed in a loop for a first period of time, the playing volume of the speaker 300 is reduced to a second volume. Wherein the first volume is greater than the second volume.
Optionally, the at least one bluetooth chip 100 may gradually decrease the playing volume of the speaker 300 from the first volume to the second volume during the continuous cyclic playing of the recorded audio clip for the first time period. For example, when the continuous cyclic playing of the recorded audio clip is started, the playing volume of the speaker 300 is a first volume, and the playing volume of the speaker 300 is gradually reduced in the continuous cyclic playing process until the playing volume is reduced to a second volume, and the playing time reaches a first duration at this time, and the continuous reduction of the playing volume is stopped.
At least one bluetooth chip 100 starts timing when controlling the speaker 300 to start playing the recorded audio clip, decreases the playing volume of the speaker 300 until the first time period is counted, or gradually decreases the playing volume of the speaker 300 during the counting until the first time period. Of course, the first time may be adjusted and set.
The playing volume of the loudspeaker 300 is reduced when the recorded audio clips are played circularly for the first time period, or the playing volume of the loudspeaker 300 is gradually reduced in the process of playing the recorded audio clips circularly for the first time period, so that the music with larger volume is prevented from disturbing the sleeping of the user.
S312: and judging whether the cycle playing time length of the recorded audio clip reaches a second time length.
At least one bluetooth chip 100 determines whether the cyclic play duration of the recorded audio clip reaches the second duration. Wherein the second time period is longer than the first time period. Alternatively, the second time period may be, for example, 5 to 150 minutes, for example, 50 minutes, and, for example, 60 minutes, and may be any other value range.
S313: and responding to the cyclic playing time length reaching the second time length, controlling the loudspeaker to stop playing the recorded audio clip, and closing the low-power consumption Bluetooth mode or shutting down the loudspeaker.
At least one bluetooth chip 100 is configured to control the speaker 300 to stop playing the recorded audio clip and to turn off the bluetooth low energy mode or shut down when the recorded audio clip is continuously and circularly played for a second duration. At least one bluetooth chip 100 starts timing when controlling speaker 300 to start playing the recorded audio clip, and controls speaker 300 to stop playing the recorded audio clip when the timing reaches the second time period. Of course, the second time period may be adjusted and set.
The playing volume of the loudspeaker 300 is reduced when the recorded audio clips are circularly played for a first time period, or the playing volume of the loudspeaker 300 is gradually reduced when the recorded audio clips are circularly played for the first time period, and music is stopped when the recorded audio clips are circularly played for a second time period, so that a user can enter deeper sleep through a progressive mode, the situation that the playing is stopped suddenly to influence the sleep state of the user is avoided, and the low-power Bluetooth mode is closed or shut down when the recorded audio clips are stopped to save power consumption.
Optionally, after at least one bluetooth chip 100 obtains the recorded audio clip and plays back through the speaker 300 in a cyclic manner, according to the increase of the number of cyclic plays, the play volume is reduced, and the bluetooth low energy mode is turned off or turned off. See for a specific reference the following steps S300 includes:
s320: and judging whether the number of the cyclic playing times of the recorded audio clips reaches a first preset number of times.
At least one bluetooth chip 100 makes a determination as to the number of times the audio clip is played in cycles, and determines whether it reaches a first preset number of times. Optionally, the range of the first preset number of times is, for example, 3 to 20 times, for example, the first preset number of times is 5 times, for example, the first preset number of times is 10 times, and the first preset number of times may of course be other values.
S321: and in response to the cyclic playing times reaching the first preset times, reducing the playing volume of the loudspeaker.
At least one bluetooth chip 100 is configured to play the recorded audio clip continuously and circularly for a first preset number of times, and reduce the playing volume of the speaker 300.
Optionally, the at least one bluetooth chip 100 may, for example, reduce the playing volume of the speaker 300 when the recorded audio clip is played in a continuous loop for a first preset number of times. For example, when the recorded audio clip is played in a circulating manner, the playing volume of the speaker 300 is a first volume, and when the audio clip is played in a circulating manner for a first preset number of times, the playing volume of the speaker 300 is reduced to a second volume. Wherein the first volume is greater than the second volume.
Optionally, the at least one bluetooth chip 100 may gradually decrease the playing volume of the speaker 300 from the first volume to the second volume during the continuous cyclic playing of the recorded audio clip for the first preset number of times, for example. For example, when the continuous cyclic playing of the recorded audio clip is started, the playing volume of the speaker 300 is a first volume, and the playing volume of the speaker 300 is gradually reduced in the continuous cyclic playing process until the playing volume is reduced to a second volume, at this time, the playing times reach a first preset times, and the continuous reduction of the playing volume is stopped.
The playing volume of the loudspeaker 300 is reduced when the recorded audio clips are played circularly for the first preset times, or the playing volume of the loudspeaker 300 is gradually reduced in the process of playing the recorded audio clips circularly for the first preset times, so that the music with larger volume is prevented from disturbing the sleeping of the user.
S322: and judging whether the number of the cyclic playing times of the recorded audio clips reaches a second preset number of times.
At least one bluetooth chip 100 determines whether the number of the cyclic plays of the recorded audio clip reaches a second preset number. Wherein the second preset times are more than the first preset times. Optionally, the second preset number of times is, for example, 5 to 30 times, for example, the second preset number of times is 10 times, for example, the second preset number of times is 20 times, and the second preset number of times may of course be other values.
S323: and responding to the cyclic playing times reaching the second preset times, controlling the loudspeaker to stop playing and recording the audio clips, and closing the low-power consumption Bluetooth mode or shutting down the loudspeaker.
At least one bluetooth chip 100 is configured to control the speaker 300 to stop playing the recorded audio clip and turn off the bluetooth low energy mode or shut down when the recorded audio clip is continuously and circularly played for a second preset number of times.
The playing volume of the loudspeaker 300 is reduced when the audio clips are circularly played and recorded for the first preset times, or the playing volume of the loudspeaker 300 is gradually reduced when the audio clips are circularly played and recorded for the first preset times, and music is stopped to be played when the audio clips are circularly played for the second preset times, so that a user can enter deeper sleep through a progressive mode, the situation that the playing is stopped suddenly to influence the sleep state of the user is avoided, and the low-power Bluetooth mode is closed or shut down when the audio clips are stopped to be played so as to save power consumption.
If the user does not enter the sleep state, S400 is executed: and in response to the user not entering the sleep state, cyclically playing the local music in the memory through the loudspeaker.
At least one bluetooth chip 100 plays back local music in memory 200 through speaker 300 in a loop. The local music is music stored in the memory 200 in the bluetooth headset 1, and the number of the local music is at least one, for example, one or more local music may be used. Alternatively, when the number of local music is one, at least one bluetooth chip 100 plays the local music cyclically through the speaker 300. Optionally, when the number of pieces of local music is plural, at least one bluetooth chip 100 plays the plural pieces of local music in the memory 200 through the speaker 300 in a preset play order in a circulation manner, that is, when each piece of local music is played in the preset play order, each piece of local music is played again in the preset play order. The preset playing sequence may be, for example, the sequence of storing each local music in the memory 200, and may be, for example, the sequence of the first letter of song names. The user listens to the local music circularly played in the bluetooth headset 1, helping to enter a sleep state as soon as possible.
Based on the above description, an exemplary usage scenario of the bluetooth headset 1 is described in detail as follows.
Exemplary use scenario one: the user does not enter a sleep state.
When the user does not enter the sleep state, the user may send a music playing control instruction to the bluetooth headset 1 through the terminal device to instruct the bluetooth headset 1 to play the target audio of the terminal device, and the bluetooth headset 1 receives the music playing control instruction through the bluetooth low energy mode and receives audio data of the target audio through the classical bluetooth mode in response to the music playing control instruction, and stores the audio data of the target audio in the memory 200 while playing through the speaker 300 to become local music of the bluetooth headset 1.
The user may send a music switch control instruction to the bluetooth headset 1 through the terminal device to instruct the bluetooth headset 1 to switch the local music played, at this time, the at least one bluetooth chip 100 receives the music switch control instruction through the bluetooth low energy mode, obtains the local music in the memory 200, and plays the local music through the speaker 300.
If the user does not send the music playing control command or the music switching control command, the bluetooth headset 1 will play each local music in the memory 200 according to the preset playing sequence until the user sends the music playing control command or the music switching control command, or the detection sensor 400 detects that the user is in a sleep state. When the bluetooth headset 1 detects that the user is in a sleep state, or does not receive an instruction within a preset period of time, or detects that the user instructs to turn off the interaction of the bluetooth headset 1, the at least one bluetooth chip 100 will control to turn off the classical bluetooth mode.
Exemplary use scenario two: the user enters a sleep state.
When the detection sensor 400 detects that the user enters the sleep state, at least one bluetooth chip 100 starts recording the local music currently played until a preset time length, obtains a recorded audio clip, stores the recorded audio clip in the memory 200, and circularly records the audio clip through the speaker 300.
When the recorded audio clip is continuously played in a circulating manner for a first duration or the number of plays reaches a first preset number, the at least one bluetooth chip 100 controls to reduce the playing volume of the speaker 300. The playing volume of the speaker 300 may be gradually reduced from the first volume to the second volume during the continuous cyclic playing of the recorded audio clip for the first time or the playing frequency for the first preset frequency. When the recorded audio clip is continuously and circularly played for the second duration or the playing time reaches the second preset time, the at least one bluetooth chip 100 controls the speaker 300 to stop playing the recorded audio clip, and the bluetooth low energy mode is turned off or turned off.
In summary, in this embodiment, when it is determined that the user has entered the sleep state, recording the music played by the bluetooth headset 1 for a preset duration is started, so as to obtain a recorded audio clip and store the recorded audio clip in the memory 200, and the recorded audio clip is played circularly through the speaker 300. Because the music played when the user enters the sleep state is the music which is helpful for the sleep of the user, the recorded audio clip is obtained by recording the music played when the user enters the sleep state, and the recorded audio clip can be better adapted to the sleep state of the user by circularly playing, so that the sleep state of the user can be effectively maintained, the user can be helped to enter a deeper and more stable sleep state, and the sleep quality of the user is effectively improved.
Further, by setting the bluetooth low energy mode and the classical bluetooth mode on the bluetooth headset 1, wherein the bluetooth low energy mode receives the instruction to save power consumption, the classical bluetooth mode receives audio data, and plays the audio data through the speaker 300 while receiving the target audio data, the target audio data of the terminal device can be quickly transmitted to the bluetooth headset 1, and can be simultaneously played, and can be simultaneously stored in the memory 200, so that the bluetooth headset 1 is prevented from having long time delay when playing music which is not stored, the music playing efficiency of the bluetooth headset 1 is improved, and the user experience is improved. The local music stored in the memory 200 may be used to play without receiving audio data when receiving a corresponding music switch control command. And through when bluetooth headset 1 reaches the default, at least one bluetooth chip 100 control closes classical bluetooth mode in order to save the consumption to promote bluetooth headset 1's duration, and then satisfy bluetooth headset 1 to the demand of duration.
The foregoing description is only exemplary embodiments of the present application and is not intended to limit the scope of the present application, and all equivalent structures or equivalent processes using the descriptions and the drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the present application.

Claims (13)

1. A control method of a bluetooth headset, comprising:
judging whether the user enters a sleep state;
responding to the user entering the sleep state, starting to record the local music currently played until a preset time length, obtaining a recorded audio fragment and storing the recorded audio fragment in a memory;
and circularly playing the recorded audio clips through a loudspeaker.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the cyclically playing the recorded audio clips through a speaker includes:
judging whether the cycle playing time length of the recorded audio clip reaches a first time length or not;
and in response to the cyclic playing duration reaching the first duration, reducing the playing volume of the loudspeaker.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
the cyclically playing the recorded audio clips through a speaker includes:
judging whether the cycle playing time length of the recorded audio clip reaches a second time length or not; wherein the second time period is longer than the first time period;
and responding to the cyclic playing time length reaching the second time length, controlling the loudspeaker to stop playing the recorded audio clip, and closing a low-power consumption Bluetooth mode or shutting down.
4. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the cyclically playing the recorded audio clips through a speaker includes:
judging whether the cycle playing times of the recorded audio clips reach a first preset times or not;
and in response to the cyclic playing times reaching the first preset times, reducing the playing volume of the loudspeaker.
5. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
the cyclically playing the recorded audio clips through a speaker includes:
judging whether the cycle playing times of the recorded audio clips reach a second preset times or not; wherein the second preset times are more than the first preset times;
and responding to the cyclic playing times reaching the second preset times, controlling the loudspeaker to stop playing the recorded audio clips, and closing a low-power consumption Bluetooth mode or shutting down the loudspeaker.
6. The method according to claim 2 or 4, wherein,
the reducing the playing volume of the loudspeaker comprises the following steps:
gradually reducing the playing volume of the loudspeaker from the first volume to the second volume.
7. The method of claim 1, wherein the step of determining the position of the substrate comprises,
and starting to record the local music currently played until a preset time length, obtaining a recorded audio clip and storing the recorded audio clip in a memory, wherein the method comprises the following steps of:
and starting to record the recorded audio clips belonging to the local music, wherein the preset duration is smaller than or equal to the residual playing duration of the current playing music of the local music.
8. The method according to any one of claims 1 to 7, wherein,
before the recording of the local music currently played is started until a preset time length, the method comprises the following steps:
receiving a music playing control instruction of a terminal device through a low-power consumption Bluetooth mode, wherein the music playing control instruction is used for indicating to play target audio of the terminal device;
and in response to the music playing control instruction, receiving the audio data of the target audio through a classical Bluetooth mode and playing the target audio through the loudspeaker, and simultaneously storing the audio data of the target audio in the memory to become the local music.
9. The method of claim 8, wherein the step of determining the position of the first electrode is performed,
the method further includes, after receiving audio data of a corresponding target audio through a classical bluetooth mode and playing the target audio through the speaker, storing the audio data of the target audio in the memory to become the local music, further comprising:
responding to the completion of the target audio playing, acquiring the local music in the memory and playing the local music through the loudspeaker;
and receiving a music switching control instruction of the terminal equipment through a low-power consumption Bluetooth mode, and switching the played local music.
10. The method as recited in claim 8, further comprising:
and in response to the user being in the sleep state, the classical Bluetooth mode is turned off, and the low-power Bluetooth mode is kept in communication connection with the terminal equipment.
11. The method as recited in claim 8, further comprising:
judging whether an instruction of the terminal equipment is received within a preset time period;
if not, closing the classical Bluetooth mode, and keeping the low-power consumption Bluetooth mode in communication connection with the terminal equipment.
12. The method as recited in claim 8, further comprising:
judging whether the user performs interactive operation for indicating to close the classical Bluetooth mode;
if yes, the classical Bluetooth mode is closed, and the low-power Bluetooth mode is kept in communication connection with the terminal equipment.
13. A bluetooth headset, comprising:
at least one bluetooth chip for performing the method of any one of claims 1-13;
a memory coupled to the at least one bluetooth chip for storing audio;
and the loudspeaker is coupled with the at least one Bluetooth chip and used for playing audio.
CN202211219721.2A 2022-09-30 2022-09-30 Bluetooth headset control method and Bluetooth headset Pending CN117857965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211219721.2A CN117857965A (en) 2022-09-30 2022-09-30 Bluetooth headset control method and Bluetooth headset

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211219721.2A CN117857965A (en) 2022-09-30 2022-09-30 Bluetooth headset control method and Bluetooth headset

Publications (1)

Publication Number Publication Date
CN117857965A true CN117857965A (en) 2024-04-09

Family

ID=90544830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211219721.2A Pending CN117857965A (en) 2022-09-30 2022-09-30 Bluetooth headset control method and Bluetooth headset

Country Status (1)

Country Link
CN (1) CN117857965A (en)

Similar Documents

Publication Publication Date Title
EP1827544B1 (en) System for and method of controlling playback of audio signals
CN107743289B (en) Intelligent sound box control method in intelligent household scene
CN108989931A (en) Hearing-protection earphone and its method for protecting hearing ability, computer program memory medium
US20070022223A1 (en) Electronic apparatus and method for implementing an intelligent sleep mode
US20080298606A1 (en) Wireless digital audio player
WO2020191582A1 (en) Smart watch having embedded wireless earbud, and information broadcasting method
US20080240475A1 (en) Hearing assistive apparatus having sound replay capability
WO2012058886A1 (en) Method, system and earphone for intelligently controlling multi-media playing
US11068230B2 (en) Bluetooth speaker, and intelligent control method for playing audio
KR100916726B1 (en) The hearing level formaly as hearing loss measure system and method and the audio signal output controller using the same and method
CN101766420B (en) Pillow with sound-playing function and playing method thereof
CN107621933B (en) Audio playing method and device and related medium product
CN103985394A (en) Audio file playing method
CN107547732A (en) A kind of media play volume adjusting method, device, terminal and storage medium
CN109686372B (en) Resource playing control method and device
CN103984518A (en) Intelligent mobile terminal
CN112995833B (en) Earphone voice collecting method, earphone and readable storage medium
US7336796B2 (en) Hearing assistive apparatus having sound replay capability and spatially separated components
CN117857965A (en) Bluetooth headset control method and Bluetooth headset
CN103985396A (en) Audio playing method
CN109511036B (en) Automatic earphone muting method and earphone capable of automatically muting
CN107426437A (en) A kind of alarm clock prompting method and device
CN109511040A (en) A kind of whisper in sb.'s ear amplification method, device and earphone
US7356153B2 (en) Hearing assistive apparatus having sound replay capability
CN115499744A (en) Earphone noise reduction method and device, computer readable storage medium and earphone

Legal Events

Date Code Title Description
PB01 Publication