Bluetooth headset control method and device, Bluetooth headset and storage medium
Through the combination of magnetic detector and magnet components, Bluetooth headsets are automatically disconnected and reconnected without a charging box, solving the problem of cumbersome sleep mode switching in the existing technology, improving user experience and extending battery life ability.
Patent Information
- Application Number
- CN202310667367.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-06
- Publication Date
- 2024-12-06
AI Technical Summary
Existing Bluetooth headsets cannot automatically exit after entering sleep mode, and require a charging box to be reactivated, resulting in poor user experience and limited battery life.
The magnetic detector and magnet components are used to cooperate with the Bluetooth system chip to automatically disconnect or connect the Bluetooth connection by detecting that the magnetic field parameters reach or are below the preset threshold, so as to achieve the sleep mode switching of Bluetooth headphones without the need for a charging box.
Improves user experience, allowing automatic exit from sleep mode and reconnection to Bluetooth without charging box, extending the battery life of Bluetooth headsets.
Smart Images

Figure CN119094939A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of Bluetooth headsets, and in particular to a Bluetooth headset control method, device, Bluetooth headset, and storage medium. Background Art
[0002] With the rapid development of media software such as short video software, social software and music software, Bluetooth headsets have become an increasingly popular electronic product. As an electronic product that can be used outdoors, the battery life of Bluetooth headsets has become an important consideration for consumers when purchasing.
[0003] Currently, in order to improve the battery life of Bluetooth headsets, when the terminal device to which the Bluetooth headset is connected detects that no application is currently running for a preset period of time, the Bluetooth headset is disconnected from the terminal device and put into sleep mode. This method cannot automatically exit the sleep mode. The Bluetooth headset needs to be placed in the charging box and then taken out again to exit the sleep mode. Although this method can improve the battery life of Bluetooth headsets, it is cumbersome to exit the sleep mode. In addition, when the user does not carry the charging box or the charging box is not with him, the Bluetooth headset cannot exit the sleep mode after entering the sleep mode, which affects the normal use of the user and the user experience is poor. Summary of the invention
[0004] The embodiments of the present application provide a Bluetooth headset control method, device, Bluetooth headset and storage medium, which can solve the problem of poor user experience during the Bluetooth headset control process, extend the battery life of the Bluetooth headset, and improve the user experience.
[0005] In a first aspect, an embodiment of the present application provides a Bluetooth headset control method for a Bluetooth headset, wherein the Bluetooth headset comprises a first headset and a second headset, wherein the first headset is provided with a magnetic detection member, and the second headset is provided with a magnet element, and the method comprises:
[0006] When the first earphone detects that the magnetic field parameter reaches a preset threshold through the set magnetic detection element, the current Bluetooth connection is disconnected;
[0007] When the first earphone detects through the magnetic detection element that the magnetic field parameter is less than the preset threshold, the Bluetooth connection is established.
[0008] Furthermore, the first headset is provided with a Bluetooth system chip;
[0009] When the first earphone detects that the magnetic field parameter reaches a preset threshold through the magnetic detection element, disconnecting the current Bluetooth connection includes:
[0010] When the magnetic detection component of the first earphone detects that the magnetic field parameter reaches a preset threshold, the magnetic detection component outputs a low-level signal to the Bluetooth system chip;
[0011] The Bluetooth system chip disconnects the current Bluetooth connection according to the low level signal.
[0012] Furthermore, when the first earphone detects that the magnetic field parameter is less than the preset threshold value through the magnetic detection element, the Bluetooth connection is established, including:
[0013] When the magnetic detection component of the first earphone detects that the magnetic field parameter is less than a preset threshold, the magnetic detection component outputs a high level signal to the Bluetooth system chip;
[0014] The Bluetooth system chip connects the Bluetooth connection according to the high level signal.
[0015] Further, in a case where the first earphone is a primary earphone, disconnecting the current Bluetooth connection includes:
[0016] Disconnect the Bluetooth connection with the terminal device;
[0017] In a case where the first earphone is a slave earphone, disconnecting the current Bluetooth connection includes:
[0018] Disconnect the Bluetooth connection with the second headset.
[0019] Further, in a case where the first earphone is a primary earphone, connecting the current Bluetooth connection includes:
[0020] Connect to the Bluetooth connection with the terminal device;
[0021] In a case where the first earphone is a slave earphone, the connecting the current Bluetooth connection includes:
[0022] A Bluetooth connection with the second headset is established.
[0023] Furthermore, when the first earphone detects that the magnetic field parameter reaches a preset threshold through the magnetic detection element, the method further includes:
[0024] Enter sleep mode;
[0025] When the first earphone detects that the magnetic field parameter is less than the preset threshold through the magnetic detection element, the method further includes:
[0026] Exit Hibernation.
[0027] Furthermore, the second earphone is provided with a magnetic detection element, the first earphone is provided with a magnet element, and the method further comprises:
[0028] When the second earphone detects that the magnetic field parameter reaches a preset threshold through the set magnetic detection element, the current Bluetooth connection is disconnected;
[0029] When the second earphone detects through the magnetic detection element that the magnetic field parameter is less than the preset threshold, the Bluetooth connection is established.
[0030] In a second aspect, an embodiment of the present application provides a Bluetooth headset control device for a Bluetooth headset, wherein the Bluetooth headset comprises a first headset and a second headset, wherein the first headset is provided with a magnetic detection member, and the second headset is provided with a magnet element, and the device comprises:
[0031] A Bluetooth disconnection unit, configured to disconnect the current Bluetooth connection when the first headset detects that a magnetic field parameter reaches a preset threshold through a set magnetic detection element;
[0032] The Bluetooth connection unit is used to establish a Bluetooth connection when the first earphone detects that the magnetic field parameter is less than the preset threshold through the set magnetic detection element.
[0033] Furthermore, the first headset is provided with a Bluetooth system chip;
[0034] The Bluetooth disconnection unit is further configured to output a low-level signal to the Bluetooth system chip when the magnetic detection element of the first earphone detects that the magnetic field parameter reaches a preset threshold value;
[0035] The Bluetooth system chip disconnects the current Bluetooth connection according to the low level signal.
[0036] Furthermore, the Bluetooth connection unit is further configured to output a high-level signal to the Bluetooth system chip when the magnetic detection component of the first earphone detects that the magnetic field parameter is less than a preset threshold value;
[0037] The Bluetooth system chip connects the Bluetooth connection according to the high level signal.
[0038] Furthermore, the Bluetooth disconnection unit is further used to connect the Bluetooth connection with the terminal device when the first earphone is the main earphone;
[0039] When the first earphone is a slave earphone, a Bluetooth connection with the second earphone is established.
[0040] Furthermore, the device also includes a sleep unit and a sleep exit unit;
[0041] The sleep unit is configured to cause the first earphone to enter a sleep mode when the magnetic field parameter detected by the magnetic detection element reaches a preset threshold value;
[0042] The sleep exit unit is used to exit the sleep mode when the first earphone detects that the magnetic field parameter is less than the preset threshold through the magnetic detection element set.
[0043] Furthermore, the second earphone is provided with a magnetic detection member, the first earphone is provided with a magnet element, and the Bluetooth disconnection unit is further used for disconnecting the current Bluetooth connection when the second earphone detects that the magnetic field parameter reaches a preset threshold through the provided magnetic detection member.
[0044] Furthermore, the Bluetooth connection unit is also used to establish the Bluetooth connection when the second earphone detects through the set magnetic detection element that the magnetic field parameter is less than the preset threshold.
[0045] In a third aspect, an embodiment of the present application provides a Bluetooth headset, the Bluetooth headset comprising a first headset and a second headset, the first headset being provided with a magnetic detection element, the second headset being provided with a magnet element, and the Bluetooth headset comprising:
[0046] memory and one or more processors;
[0047] The memory is used to store one or more programs;
[0048] When the one or more programs are executed by the one or more processors, the one or more processors implement the Bluetooth headset control method as described in the first aspect.
[0049] In a fourth aspect, an embodiment of the present application provides a storage medium storing computer executable instructions, which, when executed by a computer processor, are used to execute the Bluetooth headset control method as described in the first aspect.
[0050] In the embodiment of the present application, when the first earphone detects that the magnetic field parameter reaches a threshold value through the set magnetic detection part, the current Bluetooth connection is disconnected, and when the first earphone detects that the magnetic field parameter is less than a preset threshold value through the set magnetic detection part, the Bluetooth connection is connected. With the above technical means, the first earphone disconnects or connects Bluetooth according to whether the magnetic field parameter generated by the magnet element set in the second earphone reaches the preset threshold value according to the set magnetic detection part. This can avoid the problem of poor user experience caused by the need to carry a charging box with you during the control process of the Bluetooth earphone, and realize Bluetooth disconnection and Bluetooth reconnection of the Bluetooth earphone without the need for a charging box, thereby improving the user experience. In addition, when the first earphone detects that the magnetic field parameter reaches the threshold value through the set magnetic detection part, the current Bluetooth connection is disconnected, and the Bluetooth connection can be disconnected in time when the Bluetooth earphone is not needed, thereby reducing the power loss of the Bluetooth earphone and extending the battery life of the Bluetooth earphone. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 is a flow chart of a Bluetooth headset control method provided by an embodiment of the present application;
[0052] Figure 2 This is a first schematic diagram of a Bluetooth headset assembly provided in an embodiment of the present application;
[0053] Figure 3 It is a schematic diagram of an assembly of a Bluetooth headset and an earphone box provided in an embodiment of the present application;
[0054] Figure 4 This is a second schematic diagram of a Bluetooth headset assembly provided in an embodiment of the present application;
[0055] Figure 5 It is a structural schematic diagram of a Bluetooth headset control device provided in an embodiment of the present application;
[0056] Figure 6 It is a structural schematic diagram of a Bluetooth headset provided in an embodiment of the present application. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
[0058] The Bluetooth headset control method, device, Bluetooth headset and storage medium provided in the present application are intended to disconnect Bluetooth or connect Bluetooth when the first headset detects whether the magnetic field parameters generated by the magnet element set by the second headset reach the preset threshold value according to the set magnetic detection part during the Bluetooth headset control, so as to avoid the problem of poor user experience caused by the need to carry a charging box with you during the Bluetooth headset control process, and realize the Bluetooth disconnection and Bluetooth reconnection of the Bluetooth headset without the need for a charging box, thereby improving the user experience. In addition, when the first headset detects that the magnetic field parameter reaches the threshold value through the set magnetic detection part, the current Bluetooth connection is disconnected, and the Bluetooth connection can be disconnected in time when the Bluetooth headset is not needed, reducing the power loss of the Bluetooth headset to extend the battery life of the Bluetooth headset. Compared with the traditional Bluetooth control method, it usually disconnects the Bluetooth headset from the terminal device and sleeps when the application is not currently running in the terminal device connected to the Bluetooth headset for a preset time. This method cannot automatically exit the sleep mode. The Bluetooth headset needs to be put into the charging box and then taken out again to exit the sleep mode. Although this method can improve the battery life of the Bluetooth headset, it is more cumbersome to exit the sleep mode. In addition, when the user does not carry the charging box or the charging box is not with him, the Bluetooth headset cannot exit the sleep mode after entering the sleep mode, which affects the normal use of the user and the user experience is poor. Based on this, a Bluetooth headset control method of an embodiment of the present application is provided to solve the problem of poor user experience in the existing Bluetooth headset control process.
[0059] Figure 1 A flowchart of a Bluetooth headset control method provided in an embodiment of the present application is given. The Bluetooth headset control method provided in this embodiment can be executed by a Bluetooth headset control device, which can be implemented by software and / or hardware. The Bluetooth headset control device can be composed of two or more physical entities, or can be composed of one physical entity. Generally speaking, the Bluetooth headset control device can be a wearable device with Bluetooth function, such as a Bluetooth headset.
[0060] The following description is made by taking a Bluetooth headset as an example of the subject for executing the Bluetooth headset control method. The Bluetooth headset method is used for a Bluetooth headset, and the Bluetooth headset is a TWS (True Wireless Stereo) headset, that is, the Bluetooth headset is a true wireless headset. The Bluetooth headset includes a first headset and a second headset, the first headset is provided with a magnetic detection element, and the second headset is provided with a magnetic element. Figure 1 , the Bluetooth headset control method specifically includes:
[0061] S101. When the first earphone detects through a set magnetic detection element that a magnetic field parameter reaches a preset threshold, the current Bluetooth connection is disconnected.
[0062] Bluetooth headsets can be understood as connecting to terminal devices via Bluetooth, providing sound playback functions for some audio, voice-related applications or system functions in the terminal devices. Terminal devices can be various mobile terminals or fixed terminals, such as mobile phones, tablets, and PCs with Bluetooth connection functions. The terminal device and Bluetooth headset are connected via Bluetooth, and the sound signal to be played is transmitted to the Bluetooth headset via Bluetooth for playback.
[0063] Figure 2 This is a first schematic diagram of a Bluetooth headset assembly provided in an embodiment of the present application, referring to Figure 2 The first earphone is provided with a magnetic detection part 1, and the second earphone is provided with a magnet element A. When the first earphone and the second earphone are close to each other, based on the magnetic field generated by the second magnet element, the magnetic detection part of the first earphone will detect the magnetic field and obtain the corresponding magnetic field parameters. The magnetic field parameters include parameters such as magnetization direction and magnetic flux density. The magnetic detection part 1 can be a Hall element or an omnipolar magnetic switch chip. When the magnetic detection part of the first earphone detects that the magnetic field parameter reaches a preset threshold, it may be that the second earphone is relatively close to the first earphone. It can be considered that the user has no need to wear the earphone. At this time, the current Bluetooth connection can be disconnected to save energy, thereby extending the service life of the Bluetooth headset.
[0064] In one embodiment, the magnetic detection member 1 of the first earphone and the magnet element A in the second earphone are set correspondingly, and the two are set correspondingly, and the magnetization direction of the magnet element A is defined to be perpendicular to the direction corresponding to the magnetic detection member 1. When the first earphone and the second earphone are close, the magnetic flux density of the magnet element A detected by the magnetic detection member 1 is stronger, so that the corresponding magnetic field parameters can be detected more quickly. It should be noted that the corresponding setting can be understood as relative position, the first earphone and the second earphone should be of the same size and shape, and when the two earphones are closed or fitted, the magnetic detection member 1 of the first earphone and the magnet element A in the second earphone should be relative in position.
[0065] It should be noted that when the magnetic detection member 1 of the first earphone is set correspondingly to the magnet element A in the second earphone, the preset threshold can be set to a larger threshold. When the magnetic detection member 1 in the first earphone and the magnet element A in the second earphone are not set correspondingly, the preset threshold can be set to a smaller threshold. In actual use, the specific value of the corresponding preset threshold can be set according to the actual situation.
[0066] The first earphone is also provided with a Bluetooth system chip, which is used to control the on and off of the Bluetooth connection of the first earphone. When the first earphone and the second earphone are close to each other, the magnetic detection element 1 of the first earphone detects that the magnetic field parameter reaches a preset threshold value, which proves that the relative position of the second earphone and the first earphone is relatively close. It can be considered that the user currently has no need to wear the earphone and can enter the sleep mode. Then the magnetic detection element 1 in the first earphone outputs a low-level signal to the Bluetooth system chip. The Bluetooth system chip of the first earphone disconnects the current Bluetooth connection according to the received low-level signal and enters the sleep mode.
[0067] In one embodiment, the true wireless Bluetooth headset is generally divided into a master headset and a slave headset, the master headset is used to connect to the terminal device, and the slave headset is used to connect to the master headset. In the case where the first headset is the master headset and the second headset is the slave headset, the first headset is also provided with a Bluetooth system chip, and the Bluetooth system chip is used to control the on and off of the Bluetooth connection of the first headset. When the magnetic flux density of the magnetic field detected by the first headset reaches a preset threshold through the magnetic detection element, the magnetic detection element in the first headset outputs a low-level signal to the Bluetooth system chip in the first headset. After receiving the low-level signal, the Bluetooth system chip in the first headset disconnects the Bluetooth connection with the terminal device and enters sleep mode. It should be noted that if the audio playback function or the phone call function is being performed in the terminal device, the corresponding audio is played in the first headset or the corresponding phone call interaction is performed based on the Bluetooth connection between the first headset and the terminal device. When the first headset disconnects the Bluetooth connection with the terminal device, before disconnecting the Bluetooth connection with the terminal device or when disconnecting the Bluetooth connection with the terminal device, the first headset stops audio playback or interrupts the phone call interaction. After the first headset disconnects the Bluetooth connection with the terminal device, the terminal device continues to play the corresponding audio or continues to maintain the corresponding phone call through its own audio playback device.
[0068] In one embodiment, when the first earphone is a slave earphone and the second earphone is a master earphone, the second earphone is provided with a magnetic detection member, and the first earphone is provided with a magnet element, wherein the magnetic detection member in the second earphone and the magnet element in the first earphone are provided correspondingly. When the second earphone detects that the magnetic field parameter (such as magnetic flux density) reaches a preset threshold through the provided magnetic detection element, the Bluetooth connection with the terminal device is disconnected and the sleep mode is entered. Further, the second earphone is also provided with a Bluetooth system chip, and the Bluetooth system chip is used to control the on-off of the Bluetooth connection of the second earphone. When the second earphone detects that the magnetic field parameter (such as magnetic flux density) reaches a preset threshold through the provided magnetic detection element, the magnetic detection member in the second earphone outputs a low-level signal to the Bluetooth system chip in the second earphone. After receiving the low-level signal, the Bluetooth system chip in the second earphone disconnects the Bluetooth connection with the terminal device and enters the sleep mode. The first earphone is also provided with a Bluetooth system chip, and the Bluetooth system chip is used to control the on-off of the Bluetooth connection of the first earphone. When the first earphone detects that the magnetic field parameter (such as magnetic flux density) reaches a preset threshold through the provided magnetic detection member, the magnetic detection member in the first earphone outputs a low-level signal to the Bluetooth system chip in the first earphone. After receiving the low-level signal, the Bluetooth system chip component in the first earphone disconnects the Bluetooth connection with the Bluetooth system chip of the second earphone (main earphone) and enters the sleep mode.
[0069] To further improve the sleep efficiency, refer to Figure 2 , the first earphone is provided with a magnetic detection member 1 and a magnet element B, and the second earphone is provided with a magnetic detection member 2 and a magnet element A. The magnetic detection member 1 in the first earphone is provided corresponding to the magnet element A in the second earphone, and the magnetic detection member 2 in the second earphone is provided corresponding to the magnet element B in the first earphone. When the first earphone and the second earphone are close to each other, the magnetic detection member 1 in the first earphone can detect the magnetic field of the magnet element A in the second earphone as the second earphone approaches. At the same time, the magnetic detection member 2 in the second earphone will also detect the magnetic field of the magnet element B in the first earphone. It should be noted that by limiting the magnetization direction of the magnet element A and the magnet element B to the vertical direction (i.e., toward the direction of the other earphone), the influence of the magnetic field generated by the magnet element on the magnetic detection member in the same earphone can be reduced. In order to further confirm that the magnetic field detected by the magnetic detection member is generated in the magnet element of the other earphone, a magnetic isolation sheet can be added between the magnetic detection member 1 and the magnet element B in the first earphone, and a magnetic isolation sheet can be added between the magnetic detection member 2 and the magnet element A in the second earphone to isolate the horizontal magnetic field. In order to further confirm that the magnetic field detected by the magnetic detector is generated by the magnetic element of another earphone, you can also choose to set the preset to a larger value to avoid triggering the magnetic detector to output a high / low level signal due to the horizontal magnetic field generated by the magnetic element in the same earphone.
[0070] In one embodiment, when the first earphone is the master earphone and the second earphone is the slave earphone, when the first earphone and the second earphone are close to each other, the first earphone detects through the magnetic detection member 1 that the magnetic flux density of the magnetic field of the magnetic element A of the second earphone reaches a preset threshold, and the magnetic detection member 1 in the first earphone outputs a low-level signal to the Bluetooth system chip in the first earphone. After receiving the low-level signal, the Bluetooth system chip in the first earphone disconnects the Bluetooth connection with the terminal device and enters the sleep mode. When the first earphone and the second earphone are close to each other, when the second earphone detects through the magnetic detection member 2 that the magnetic flux density of the magnetic field of the magnetic element B of the first earphone reaches a preset threshold, the magnetic detection member 2 in the second earphone outputs a low-level signal to the Bluetooth system chip in the second earphone. When the Bluetooth system chip in the second earphone receives the low-level signal, it disconnects the Bluetooth connection with the Bluetooth system chip of the first earphone and enters the sleep mode. In the above manner, the master and slave earphones enter the sleep mode when they are close to each other or closed, and the Bluetooth connection is disconnected, so as to save power and reduce losses, thereby extending the service life of the Bluetooth earphone.
[0071] In one embodiment, when the first earphone is a slave earphone and the second earphone is a master earphone, when the first earphone and the second earphone are close to each other, the second earphone detects through the magnetic detection member 2 that the magnetic flux density of the magnetic field of the magnetic element B of the first earphone reaches a preset threshold, and the magnetic detection member 2 in the second earphone outputs a low-level signal to the Bluetooth system chip in the second earphone. After receiving the low-level signal, the Bluetooth system chip in the second earphone disconnects the Bluetooth connection with the terminal device and enters the sleep mode. When the first earphone and the second earphone are close to each other, when the first earphone detects through the magnetic detection member 1 that the magnetic flux density of the magnetic field of the magnetic element A of the second earphone reaches a preset threshold, the magnetic detection member 1 in the first earphone outputs a low-level signal to the Bluetooth system chip in the first earphone. When the Bluetooth system chip in the first earphone receives the low-level signal, it disconnects the Bluetooth connection with the Bluetooth system chip of the second earphone and enters the sleep mode. In the above manner, the master and slave earphones enter the sleep mode when they are close to each other or closed, and the Bluetooth connection is disconnected, so as to save power and reduce losses, thereby extending the service life of the Bluetooth earphone.
[0072] In one embodiment, Figure 3It is a schematic diagram of an assembly of a Bluetooth headset and an earphone box provided by an embodiment of the present application, wherein a first earphone is provided with a magnetic element B, a second earphone is provided with a magnetic element A, and a first groove (not shown in the figure) for placing the first earphone and a second groove (not shown in the figure) for placing the second earphone are provided in the earphone box. A magnetic detection member 3 and a magnetic detection member 4 are provided in the earphone box, wherein the magnetic detection member 3 is provided corresponding to the magnetic element 3 of the first earphone, and the magnetic detection member 4 is provided corresponding to the magnetic element A of the second earphone. When the first earphone and / or the second earphone are placed in the corresponding groove of the earphone box, the magnetic detection member 3 is opposite to the magnetic element B of the first earphone, and the magnetic detection member 4 is opposite to the magnetic element A of the second earphone. When the first earphone and / or the second earphone are placed in the corresponding groove of the earphone box, as the distance between the first earphone and / or the second earphone and the earphone box becomes smaller and smaller, the magnetic field parameter (e.g., magnetic flux density) detected by the magnetic detection member in the corresponding earphone box will become larger and larger. When the earphone box detects that the magnetic field parameter (e.g., magnetic flux density) reaches a preset threshold through the magnetic detection member, a sleep instruction is sent to the first earphone and / or the second earphone. After receiving the sleep instruction, the first headset and / or the second headset disconnects the current Bluetooth connection and enters the sleep mode.
[0073] Exemplarily, when the first earphone is placed in the first groove, as the first earphone is placed, the magnetic field parameter (such as magnetic flux density) of the magnetic element B in the first earphone is detected by the magnetic detection member 3 in the earphone box to be larger and larger. When the magnetic detection member 3 detects that the magnetic field parameter reaches a preset threshold, a sleep instruction is sent to the first earphone, and the first earphone disconnects the current Bluetooth connection according to the sleep instruction and enters the sleep mode. When the second earphone is placed in the second groove, as the second earphone is placed, the magnetic field parameter (such as magnetic flux density) of the magnetic element A in the second earphone is detected to be larger and larger. When the magnetic detection member 4 detects that the magnetic field parameter reaches a preset threshold, a sleep instruction is sent to the second earphone, and the second earphone disconnects the current Bluetooth connection according to the sleep instruction and enters the sleep mode. When the first earphone is the master earphone and the second earphone is the slave earphone, when the first earphone receives the sleep instruction, it disconnects the Bluetooth connection with the terminal device and enters the sleep mode; when the second earphone receives the sleep instruction, it disconnects the Bluetooth connection with the first earphone (master earphone) and enters the sleep mode. When the first earphone is the slave earphone and the second earphone is the master earphone, when the first earphone receives a sleep command, it disconnects the Bluetooth connection with the second earphone (master earphone) and enters sleep mode; when the second earphone receives a sleep command, it disconnects the Bluetooth connection with the terminal device and enters sleep mode.
[0074] In this embodiment, when the user does not carry the earphone box, the magnetic detection part set in the first earphone can detect that the magnetic field parameter reaches a preset threshold value, and then disconnect the current Bluetooth connection, so that the Bluetooth earphone enters the sleep mode, saving energy loss, thereby extending the service life of the Bluetooth earphone. When the user carries the earphone box, in addition to entering the sleep mode in the aforementioned manner, the first earphone and / or the second earphone can be placed in the earphone box, and when the magnetic detection part in the earphone box detects that the magnetic field parameter reaches a preset threshold value, the current Bluetooth connection can be disconnected, so that the Bluetooth earphone enters the sleep mode, saving energy loss, thereby extending the service life of the Bluetooth earphone. In the above manner, whether the user carries the earphone box or not, the Bluetooth earphone can enter the sleep mode, thereby improving the user experience.
[0075] S102: When the first earphone detects through the magnetic detection element that the magnetic field parameter is less than the preset threshold, the Bluetooth connection is established.
[0076] When the first earphone and the second earphone are far away from each other, the magnetic field parameters detected by the first earphone will gradually weaken. Based on the fact that the first earphone and the second earphone are far away from each other, it can be considered that the user has the need to wear earphones. Therefore, when the first earphone detects that the magnetic field parameters are less than the preset threshold value by setting the magnetic detection element, it exits the sleep mode and connects the Bluetooth connection to realize the corresponding Bluetooth communication function. The magnetic field parameters include parameters such as the magnetization direction and the magnetic flux density. In the above manner, the sleep mode is exited and the Bluetooth headset is reconnected to realize the Bluetooth connection, avoiding the need to remove the earphone from the earphone box to exit the sleep mode and realize the Bluetooth reconnection, so that when the user does not carry the earphone box, the sleep mode can be exited and the Bluetooth connection can be realized, meeting the corresponding Bluetooth function requirements, thereby improving the user experience.
[0077] The first earphone and the second earphone are both provided with a Bluetooth system chip, and the Bluetooth system chip is used to control the on and off of the Bluetooth connection of the corresponding earphone. When the first earphone is far away from the second earphone, the magnetic detection component of the first earphone detects that the magnetic field parameter is less than the preset threshold value, which proves that the relative position of the second earphone and the first earphone is relatively far, and it can be considered that the user has the need to wear the earphone, and can exit the sleep mode and reconnect or reconnect the Bluetooth. Then, the magnetic detection component in the first earphone outputs a high-level signal to the Bluetooth system chip, and the Bluetooth system chip exits the sleep mode according to the received high-level signal and connects the Bluetooth connection.
[0078] In one embodiment, the true wireless Bluetooth headset is generally divided into a master headset and a slave headset, the master headset is used to connect to the terminal device, and the slave headset is used to connect to the master headset. In the case where the first headset is the master headset and the second headset is the slave headset, the first headset is also provided with a Bluetooth system chip, and the Bluetooth system chip is used to control the on and off of the Bluetooth connection of the first headset. When the first headset detects that the magnetic field parameter (such as magnetic flux density) is less than a preset threshold value through the magnetic detection element set, the magnetic detection element in the first headset outputs a high-level signal to the Bluetooth system chip in the first headset. After receiving the high-level signal, the Bluetooth system chip in the first headset exits the sleep mode and connects the Bluetooth connection with the terminal device. It should be noted that if the audio playback function or the telephone call function is being performed in the terminal device, when the first headset is connected to the Bluetooth connection with the terminal device, the corresponding audio continues to be played through the first headset or the corresponding telephone call interaction continues.
[0079] In one embodiment, when the first earphone is a slave earphone and the second earphone is a master earphone, the second earphone is provided with a magnetic detection member, and the first earphone is provided with a magnet element, wherein the magnetic detection member in the second earphone and the magnet element in the first earphone are provided correspondingly. When the second earphone detects that the magnetic field parameter (such as magnetic flux density) is less than a preset threshold value through the provided magnetic detection element, the sleep mode is exited and the Bluetooth connection with the terminal device is connected. Further, the second earphone is also provided with a Bluetooth system chip, and the Bluetooth system chip is used to control the on-off of the Bluetooth connection of the second earphone. When the second earphone detects that the magnetic field parameter (such as magnetic flux density) is less than the preset threshold value through the provided magnetic detection element, the magnetic detection member in the second earphone outputs a low-level signal to the Bluetooth system chip in the second earphone. After receiving the low-level signal, the Bluetooth system chip in the second earphone exits the sleep mode and connects the Bluetooth connection with the terminal device. The first earphone is also provided with a Bluetooth system chip, and the Bluetooth system chip is used to control the on-off of the Bluetooth connection of the first earphone. When the first earphone detects that the magnetic field parameter (such as magnetic flux density) is less than the preset threshold value through the provided magnetic detection member, the magnetic detection member in the first earphone outputs a high-level signal to the Bluetooth system chip in the first earphone. After receiving the high-level signal, the Bluetooth system chip in the first earphone exits the sleep mode and establishes a Bluetooth connection with the Bluetooth system chip in the second earphone (main earphone).
[0080] In one embodiment, referring to Figure 2In one embodiment, when the first earphone is the master earphone and the second earphone is the slave earphone, when the first earphone and the second earphone are far away from each other, the first earphone detects through the magnetic detection member 1 that the magnetic field parameter (for example, magnetic flux density) of the magnetic element A of the second earphone is less than a preset threshold, and the magnetic detection member 1 in the first earphone outputs a high-level signal to the Bluetooth system chip in the first earphone. After receiving the high-level signal, the Bluetooth system chip in the first earphone exits the sleep mode and connects the Bluetooth connection with the terminal device. When the first earphone and the second earphone are far away from each other, the second earphone detects through the magnetic detection member 2 that the magnetic field parameter (for example, magnetic flux density) of the magnetic element B of the first earphone is less than a preset threshold, and the magnetic detection member 2 in the second earphone outputs a high-level signal to the Bluetooth system chip in the second earphone. When the Bluetooth system chip in the second earphone receives the high-level signal, it exits the sleep mode and connects the Bluetooth connection with the Bluetooth system chip of the first earphone. In the above manner, the master and slave earphones exit the sleep mode when they are far away from each other, and the Bluetooth reconnection is realized, so as to realize the exit from the sleep mode and the Bluetooth reconnection without the earphone box, so that the user can realize the Bluetooth reconnection when forgetting to bring the earphone box, thereby improving the user experience.
[0081] In one embodiment, referring to Figure 2 , when the first earphone is the slave earphone and the second earphone is the master earphone, when the first earphone and the second earphone are far away from each other, the second earphone detects through the magnetic detection member 2 that the magnetic field parameter (for example, magnetic flux density) of the magnetic element B of the first earphone is less than the preset threshold, and the magnetic detection member 2 in the second earphone outputs a high-level signal to the Bluetooth system chip in the second earphone. After receiving the high-level signal, the Bluetooth system chip in the second earphone exits the sleep mode and connects the Bluetooth connection with the terminal device. When the first earphone and the second earphone are far away from each other, the first earphone detects through the magnetic detection member 1 that the magnetic flux density of the magnetic field of the magnetic element A of the second earphone is less than the preset threshold, and the magnetic detection member 1 in the first earphone outputs a high-level signal to the Bluetooth system chip in the first earphone. When the Bluetooth system chip in the first earphone receives the high-level signal, it exits the sleep mode and connects the Bluetooth connection with the Bluetooth system chip of the second earphone (master earphone). Through the above method, the master and slave earphones can exit the sleep mode when they are far away from each other, and the Bluetooth reconnection is realized, so as to realize the Bluetooth reconnection without the earphone box, so that the user can also realize the Bluetooth reconnection when forgetting to bring the earphone box, thereby improving the user experience.
[0082] In one embodiment, referring to Figure 3When the first earphone is taken out of the first groove of the earphone box, as the distance of taking out increases, the magnetic field parameter (such as magnetic flux density) detected in the earphone box will become smaller and smaller. When the earphone box detects that the magnetic field parameter (such as magnetic flux density) is less than a preset threshold through the magnetic detection member, a connection instruction is sent to the first earphone and / or the second earphone. After receiving the connection instruction, the first earphone and / or the second earphone exit the sleep mode and connect the Bluetooth connection.
[0083] Exemplarily, when the first earphone is taken out from the first groove of the earphone box, as the first earphone is taken out, the magnetic field parameter (such as magnetic flux density) corresponding to the magnetic element B of the first earphone detected by the magnetic detection member 3 in the earphone box will become smaller and smaller. When the magnetic field parameter (such as magnetic flux density) detected by the magnetic detection member 3 is less than the preset threshold, a connection instruction is sent to the first earphone, and the first earphone exits the sleep mode according to the connection instruction and connects the Bluetooth connection. When the second earphone is taken out from the second groove of the earphone box, as the second earphone is taken out, the magnetic field parameter (such as magnetic flux density) of the magnetic element A in the second earphone is detected by the magnetic detection member 4 in the earphone box will become smaller and smaller. When the magnetic field parameter (such as magnetic flux density) detected by the magnetic detection member 4 is less than the preset threshold, a connection instruction is sent to the second earphone, and the second earphone exits the sleep mode according to the connection instruction and connects the Bluetooth connection. In the case where the first earphone is the master earphone and the second earphone is the slave earphone, when the first earphone receives the connection instruction, it exits the sleep mode and connects the Bluetooth connection with the terminal device; when the second earphone receives the connection instruction, it exits the sleep mode and connects the Bluetooth connection with the first earphone (master earphone). When the first earphone is the slave earphone and the second earphone is the master earphone, when the second earphone receives a connection instruction, it exits the sleep mode and connects the Bluetooth connection with the terminal device; when the first earphone receives a connection instruction, it exits the sleep mode and connects the Bluetooth connection with the second earphone (master earphone).
[0084] In this embodiment, when the user does not carry the earphone box, the magnetic detection part set in the first earphone can detect that the magnetic field parameter is less than the preset threshold value, then exit the sleep mode, and connect the Bluetooth connection to achieve Bluetooth reconnection, so that the user can achieve Bluetooth reconnection even when he forgets to carry the earphone box, thereby improving the user experience. When the earphone box is carried, in addition to Bluetooth reconnection in the aforementioned manner, the first earphone and / or the second earphone can be taken out of the earphone box, and when the magnetic detection part in the earphone box detects that the magnetic field parameter is less than the preset threshold value, the sleep mode can be exited and the Bluetooth connection can be connected to achieve Bluetooth reconnection, so as to achieve Bluetooth reconnection without the earphone box, so that the user can achieve Bluetooth reconnection even when he forgets to carry the earphone box, thereby improving the user experience. In the above manner, whether the user carries the earphone box or not, the sleep mode of the Bluetooth headset can be exited, thereby improving the user experience.
[0085] It should be noted that the magnetic detection element mentioned above can be a Hall element or an omnipolar magnetic switch chip.
[0086] In order to prevent the Bluetooth headset from being lost, an attraction element, a locking element or a binding element, etc. can be set in the Bluetooth headset to close the master and slave headsets. When the first headset and the second headset are close to each other, the first headset and the second headset can be closed by the attraction element, the locking element or the binding element to prevent the Bluetooth headset from being lost in pieces. When the user does not need to use the headset, the first headset and the second headset can be closed by the attraction element, the locking element or the binding element. As the first headset and the second headset are closed, the first headset and the second headset will get closer and closer, and the magnetic field parameters (such as magnetic flux density) generated by the magnetic element of the other party detected by the magnetic detection parts in the first headset and the second headset will become larger and larger, and the current Bluetooth connection can be disconnected by the above-mentioned embodiment, that is, the current Bluetooth connection is disconnected by the above-mentioned S101 implementation. When the user needs to use the earphones, the user will turn the first earphone and the second earphone from a closed state to a separated state. As the first earphone and the second earphone separate, the first earphone and the second earphone will move further and further away from each other, and the magnetic field parameters (such as magnetic flux density) of the magnets generated by the magnetic elements of the other party detected by the magnetic detection parts in the first earphone and the second earphone will become smaller and smaller, and the Bluetooth connection can be established through the above implementation, that is, the Bluetooth connection can be established through the above S102 implementation.
[0087] In order to prevent the Bluetooth headset from being lost, a suction element may be provided in the Bluetooth headset, wherein the suction element may be a magnetic element. Figure 4 This is a second schematic diagram of a Bluetooth headset assembly provided in an embodiment of the present application, referring to Figure 4 The first earphone is provided with a magnetic detection component 1, a magnet element B and a magnet element C, and the second earphone is provided with a magnetic detection component 2, a magnet element A and a magnet element D, wherein the magnetic detection component 1 is provided corresponding to the magnet element A, the magnetic detection component 2 is provided corresponding to the magnet element B, and the magnet element C is provided corresponding to the magnet element D. The magnet element C and the magnet element D are suction elements, and the magnetic poles of the magnet element C and the magnet element D are opposite. When the first earphone and the second earphone are close, the first earphone and the second earphone are magnetically closed based on the magnetic attraction of the magnet element C and the magnet element D. By providing a suction element (magnet element) in the Bluetooth earphone, the suction and storage of the first earphone and the second earphone (i.e., the master and slave earphones) can be realized to prevent the loss of parts.
[0088] It should be noted that, in order to improve the detection accuracy of the magnetic detector, a magnetic isolation sheet can be added between the magnetic detector 1 and the magnet element C in the first earphone, and a magnetic isolation sheet can be added between the magnetic detector 2 and the magnet element D in the second earphone to isolate the horizontal magnetic field. In order to improve the detection accuracy of the magnetic detector, the preset value can also be set to a larger value to avoid triggering the magnetic detector to output a high / low level signal due to the horizontal magnetic field generated by the magnet element in the same earphone.
[0089] As mentioned above, when the first earphone detects that the magnetic field parameter reaches the threshold through the set magnetic detection part, the current Bluetooth connection is disconnected, and when the first earphone detects that the magnetic field parameter is less than the preset threshold through the set magnetic detection part, the Bluetooth connection is connected. With the above technical means, the first earphone disconnects or connects Bluetooth according to whether the magnetic field parameter generated by the magnet element set in the second earphone reaches the preset threshold according to the set magnetic detection part. This can avoid the problem of poor user experience caused by the need to carry a charging box with you during the control process of the Bluetooth earphone, and realize Bluetooth disconnection and Bluetooth reconnection of the Bluetooth earphone without the need for a charging box, thereby improving the user experience. In addition, when the first earphone detects that the magnetic field parameter reaches the threshold through the set magnetic detection part, the current Bluetooth connection is disconnected. The Bluetooth connection can be disconnected in time when the Bluetooth earphone is not needed, reducing the power loss of the Bluetooth earphone and extending the battery life of the Bluetooth earphone.
[0090] Based on the above embodiments, Figure 5 This is a schematic diagram of the structure of a Bluetooth headset control device provided in an embodiment of the present application. Figure 5 The Bluetooth headset control device provided in this embodiment is used for a Bluetooth headset, wherein the Bluetooth headset comprises a first headset and a second headset, wherein the first headset is provided with a magnetic detection member, and the second headset is provided with a magnet element, and the device specifically comprises:
[0091] A Bluetooth disconnection unit 21, configured to disconnect the current Bluetooth connection when the first headset detects that a magnetic field parameter reaches a preset threshold through a set magnetic detection element;
[0092] The Bluetooth connection unit 22 is used to establish a Bluetooth connection when the first earphone detects that the magnetic field parameter is less than the preset threshold through the set magnetic detection element.
[0093] Furthermore, the first headset is provided with a Bluetooth system chip;
[0094] The Bluetooth disconnection unit 21 is also used for the magnetic detection element of the first earphone to output a low-level signal to the Bluetooth system chip when the magnetic detection element detects that the magnetic field parameter reaches a preset threshold;
[0095] The Bluetooth system chip disconnects the current Bluetooth connection according to the low level signal.
[0096] Furthermore, the Bluetooth connection unit 22 is further configured to output a high-level signal to the Bluetooth system chip when the magnetic detection element of the first earphone detects that the magnetic field parameter is less than a preset threshold value;
[0097] The Bluetooth system chip connects the Bluetooth connection according to the high level signal.
[0098] Furthermore, the Bluetooth disconnection unit 21 is further configured to connect the Bluetooth connection with the terminal device when the first earphone is the primary earphone;
[0099] When the first earphone is a slave earphone, a Bluetooth connection with the second earphone is established.
[0100] Furthermore, the device also includes a sleep unit and a sleep exit unit;
[0101] The sleep unit is configured to cause the first earphone to enter a sleep mode when the magnetic field parameter detected by the magnetic detection element reaches a preset threshold value;
[0102] The sleep exit unit is used to exit the sleep mode when the first earphone detects that the magnetic field parameter is less than the preset threshold through the magnetic detection element set.
[0103] Furthermore, the second earphone is provided with a magnetic detection element, the first earphone is provided with a magnet element, and the Bluetooth disconnection unit 21 is also used for the second earphone to disconnect the current Bluetooth connection when it detects that the magnetic field parameter reaches a preset threshold through the provided magnetic detection element.
[0104] Furthermore, the Bluetooth connection unit 22 is also used to connect the Bluetooth connection when the second earphone detects that the magnetic field parameter is less than the preset threshold through the set magnetic detection element.
[0105] As mentioned above, when the first earphone detects that the magnetic field parameter reaches the threshold through the set magnetic detection part, the current Bluetooth connection is disconnected, and when the first earphone detects that the magnetic field parameter is less than the preset threshold through the set magnetic detection part, the Bluetooth connection is connected. With the above technical means, the first earphone disconnects or connects Bluetooth according to whether the magnetic field parameter generated by the magnet element set in the second earphone reaches the preset threshold according to the set magnetic detection part. This can avoid the problem of poor user experience caused by the need to carry a charging box with you during the control process of the Bluetooth earphone, and realize Bluetooth disconnection and Bluetooth reconnection of the Bluetooth earphone without the need for a charging box, thereby improving the user experience. In addition, when the first earphone detects that the magnetic field parameter reaches the threshold through the set magnetic detection part, the current Bluetooth connection is disconnected. The Bluetooth connection can be disconnected in time when the Bluetooth earphone is not needed, reducing the power loss of the Bluetooth earphone and extending the battery life of the Bluetooth earphone.
[0106] The Bluetooth headset control device provided in the embodiment of the present application can be used to execute the Bluetooth headset control method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0107] The present application embodiment provides a Bluetooth headset control device, referring to Figure 6 The Bluetooth headset control device includes: a processor 31, a memory 32, a communication module 33, an input device 34 and an output device 35. The number of processors in the Bluetooth headset control device can be one or more, and the number of memories in the Bluetooth headset control device can be one or more. The processor, memory, communication module, input device and output device of the Bluetooth headset control device can be connected via a bus or other methods.
[0108] The memory 32, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as the program instructions / modules corresponding to the Bluetooth headset control method described in any embodiment of the present application (for example, the Bluetooth disconnection unit and the Bluetooth connection unit in the Bluetooth headset control device). The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the device, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device or other non-volatile solid-state storage device. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network and a combination thereof.
[0109] The communication module 33 is used for data transmission.
[0110] The processor 31 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory, that is, implements the above-mentioned Bluetooth headset control method.
[0111] The input device 34 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device 35 may include a display device such as a display screen.
[0112] The Bluetooth headset control device provided above can be used to execute the Bluetooth headset control method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0113] An embodiment of the present application also provides a storage medium storing computer executable instructions, which, when executed by a computer processor, are used to execute a Bluetooth headset control method, the Bluetooth headset control method comprising: disconnecting the current Bluetooth connection when the first headset detects through the set magnetic detection element that the magnetic field parameter reaches a preset threshold; and connecting the Bluetooth connection when the first headset detects through the set magnetic detection element that the magnetic field parameter is less than the preset threshold.
[0114] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROM, floppy disk or tape device; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a different second computer system, which is connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (for example, in different computer systems connected by a network). The storage medium may store program instructions (for example, embodied as a computer program) that can be executed by one or more processors.
[0115] Of course, the computer executable instructions of a storage medium storing computer executable instructions provided in an embodiment of the present application are not limited to the Bluetooth headset control method described above, and can also execute related operations in the Bluetooth headset control method provided in any embodiment of the present application.
[0116] The Bluetooth headset control device, storage medium and Bluetooth headset control device provided in the above embodiments can execute the Bluetooth headset control method provided in any embodiment of the present application. For technical details not described in detail in the above embodiments, please refer to the Bluetooth headset control method provided in any embodiment of the present application.
[0117] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.
Claims
1. A Bluetooth headset control method, used for a Bluetooth headset, wherein the Bluetooth headset comprises a first headset and a second headset, characterized in that: The first earphone is provided with a magnetic detection element, the second earphone is provided with a magnet element, and the method comprises: When the first earphone detects that the magnetic field parameter reaches a preset threshold through the set magnetic detection element, the current Bluetooth connection is disconnected; When the first earphone detects through the magnetic detection element that the magnetic field parameter is less than the preset threshold, the Bluetooth connection is established.
2. The method according to claim 1, characterized in that The first earphone is provided with a Bluetooth system chip; When the first earphone detects that the magnetic field parameter reaches a preset threshold through the magnetic detection element, disconnecting the current Bluetooth connection includes: When the magnetic detection component of the first earphone detects that the magnetic field parameter reaches a preset threshold, the magnetic detection component outputs a low-level signal to the Bluetooth system chip; The Bluetooth system chip disconnects the current Bluetooth connection according to the low level signal.
3. The method according to claim 2, characterized in that When the first earphone detects that the magnetic field parameter is less than the preset threshold through the magnetic detection element, the Bluetooth connection is established, including: When the magnetic detection component of the first earphone detects that the magnetic field parameter is less than a preset threshold, the magnetic detection component outputs a high level signal to the Bluetooth system chip; The Bluetooth system chip connects the Bluetooth connection according to the high level signal.
4. The method according to claim 1, characterized in that: In a case where the first earphone is a primary earphone, disconnecting the current Bluetooth connection includes: Disconnect the Bluetooth connection with the terminal device; In a case where the first earphone is a slave earphone, disconnecting the current Bluetooth connection includes: Disconnect the Bluetooth connection with the second headset.
5. The method according to claim 1, characterized in that In a case where the first earphone is a primary earphone, connecting the current Bluetooth connection includes: Connect to the Bluetooth connection with the terminal device; In a case where the first earphone is a slave earphone, the connecting the current Bluetooth connection includes: A Bluetooth connection with the second headset is established.
6. The method according to any one of claims 1 to 5, characterized in that When the first earphone detects that the magnetic field parameter reaches a preset threshold through the magnetic detection element, the method further includes: Enter sleep mode; When the first earphone detects that the magnetic field parameter is less than the preset threshold through the magnetic detection element, the method further includes: Exit Hibernation.
7. The method according to any one of claims 1 to 5, characterized in that The second earphone is provided with a magnetic detection element, the first earphone is provided with a magnet element, and the method further comprises: When the second earphone detects that the magnetic field parameter reaches a preset threshold through the set magnetic detection element, the current Bluetooth connection is disconnected; When the second earphone detects through the magnetic detection element that the magnetic field parameter is less than the preset threshold, the Bluetooth connection is established.
8. A Bluetooth headset control device, used for a Bluetooth headset, the Bluetooth headset comprising a first headset and a second headset, characterized in that: The first earphone is provided with a magnetic detection element, the second earphone is provided with a magnet element, and the device comprises: A Bluetooth disconnection unit, configured to disconnect the current Bluetooth connection when the first headset detects that a magnetic field parameter reaches a preset threshold through a set magnetic detection element; The Bluetooth connection unit is used to establish a Bluetooth connection when the first earphone detects that the magnetic field parameter is less than the preset threshold through the set magnetic detection element.
9. A Bluetooth headset, comprising a first headset and a second headset, characterized in that: The first earphone is provided with a magnetic detection element, the second earphone is provided with a magnetic element, and the Bluetooth earphone comprises: memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A storage medium storing computer executable instructions, characterized in that: The computer executable instructions are used to perform the method according to any one of claims 1 to 7 when executed by a processor.
