Method, device, terminal and system for searching for a Bluetooth headset in a charging case
By intermittently stimulating Bluetooth headsets and receiving mobile terminal commands, the problem of users finding Bluetooth headsets in the charging chamber is solved, and the function of reminding users of the headset position in the low-power state is realized.
Patent Information
- Application Number
- CN202210173911.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-24
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2042-02-24
AI Technical Summary
The prior art is difficult to guide users to find Bluetooth headsets in the charging compartment, making it difficult for users to find lost headsets and have low retrieval efficiency.
By intermittently activate the Bluetooth headset in a state where Bluetooth connection can be established, and when receiving the command data sent by the mobile terminal within the preset time period, the Bluetooth headset is prompted to make a sound to prompt the user to be in the location. When no command data is received, the Bluetooth headset re-enters the Bluetooth connection state to save power consumption.
It realizes the location of the Bluetooth headset to the user in a low-power state, and guides the user to effectively find the Bluetooth headset in the charging chamber, without violating the logic that the Bluetooth headset should be in a low-power state after being placed in the chamber.
Smart Images

Figure CN115086933B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Bluetooth headset data interaction, and in particular to a method, device, terminal and system for searching a Bluetooth headset in a charging compartment. Background Art
[0002] With the development of Bluetooth technology and miniaturization technology, Bluetooth-based wireless headsets are gradually being widely used. True wireless stereo (TWS) Bluetooth headsets all have their matching charging cases.
[0003] However, in daily use, when the Bluetooth headset is randomly placed, it is necessary to pair the mobile phone with the Bluetooth headset to find the Bluetooth headset. In the prior art, when the Bluetooth headset is placed outside the charging compartment, the headset can be located by establishing Bluetooth communication. For example, the Bluetooth communication scans the TWS Bluetooth headset charging compartment according to the length of time the TWS Bluetooth headset is taken out, thereby determining the location of the charging compartment.
[0004] However, according to conventional means in this field and the conventional methods of various manufacturers, when a TWS Bluetooth headset is placed in a charging compartment, it indicates that the user has finished using the headset and no longer uses it (that is, the headset is in an idle state). Therefore, in order to reduce power consumption, the TWS Bluetooth headset and the charging compartment will enter, for example, sleep mode, that is, a low-power state. This conventional low-power working mode will prevent various manufacturers from establishing a Bluetooth connection with the Bluetooth headset in the charging compartment through an external terminal, which will result in users being unable to connect their mobile phones to the TWS Bluetooth headset for precise positioning, anti-loss or retrieval. When the TWS Bluetooth headset is placed in the charging compartment, the user places it anywhere, which is easy to lose and difficult to retrieve. The user can only rely on the memory of the Bluetooth headset charging compartment that has been used or search everywhere, which is very inefficient and time-consuming.
[0005] It can be seen that when the TWS Bluetooth headset is idle, placed in the charging case, left randomly at home or lost when going out, it is difficult to find it back.
[0006] Therefore, how to guide users to find the Bluetooth headset in the charging case has become a technical problem that needs to be solved urgently. Summary of the invention
[0007] Based on the above situation, the main purpose of the present invention is to provide a method, device, terminal and system for finding a Bluetooth headset in a charging compartment, so as to guide the user to find the Bluetooth headset in the charging compartment.
[0008] To achieve the above purpose, the technical solution adopted by the present invention is as follows:
[0009] In a first aspect, an embodiment of the present invention discloses a method for finding a Bluetooth headset in a charging compartment, which is used for a user to find the Bluetooth headset in the charging compartment. The method is executed on the Bluetooth headset, and the method includes:
[0010] Step S100, intermittently stimulating the Bluetooth headset to be in a state where a Bluetooth connection can be established, so that an external Bluetooth device can establish a Bluetooth connection with the Bluetooth headset;
[0011] Step S200, when the Bluetooth headset is in a state where a Bluetooth connection can be established, waiting to receive instruction data sent by a preset mobile terminal;
[0012] Step S300, when the instruction data is received within a preset time, the Bluetooth headset is prompted to emit a sound during the preset period when the mobile terminal reminds the user that the Bluetooth headset can be found, so as to remind the user of the location of the Bluetooth headset;
[0013] Step S400, when no instruction data is received within a preset time period, the Bluetooth headset is prompted to re-enter a state where a Bluetooth connection cannot be established, so that an external Bluetooth device cannot establish a Bluetooth connection with the Bluetooth headset during this period.
[0014] Optionally, in step S100, stimulating the Bluetooth headset to be in a state where a Bluetooth connection can be established includes stimulating the Bluetooth headset to broadcast a Bluetooth address on a designated Bluetooth channel.
[0015] Optionally, in step S100, the Bluetooth headset is stimulated to broadcast a simulated MAC address, so that an external device can establish a Bluetooth connection with the Bluetooth headset through the simulated MAC address, wherein the simulated MAC address is different from an actual MAC address of the Bluetooth headset.
[0016] Optionally, in step S100, the Bluetooth HCI interface layer of the Bluetooth headset is stimulated to be in a state where a Bluetooth connection can be established, so that the external device can establish a Bluetooth connection with the Bluetooth headset through the Bluetooth HCI interface layer.
[0017] Optionally, in step S200, when the external device for establishing the Bluetooth connection is a preset mobile terminal, it is determined that the Bluetooth headset has received the instruction data.
[0018] Optionally, in step S100, the density of stimulating the Bluetooth headset is positively correlated with the distance relationship, and the distance relationship is the distance between the Bluetooth headset and a preset mobile terminal.
[0019] Optionally, in step S200, when the external device establishing the Bluetooth connection is not a preset mobile terminal, the Bluetooth connection with the external device is disconnected, and the reconnection mode is entered to reconnect to the preset mobile terminal to determine the distance between the Bluetooth headset and the preset mobile terminal.
[0020] Optionally, the method further includes: when the Bluetooth headset is finished being used, sending the current location information of the Bluetooth headset to a preset mobile terminal, so that the preset mobile terminal records the location of the Bluetooth headset when it was last used.
[0021] Optionally, it also includes: when the Bluetooth headset is placed in the charging compartment, sending the current location information of the Bluetooth headset to a preset mobile terminal, so that the preset mobile terminal records the location of the Bluetooth headset in the charging compartment when it is within the Bluetooth communication range of the preset mobile terminal.
[0022] In a second aspect, an embodiment of the present invention discloses a method for finding a Bluetooth headset in a charging compartment, which is used for a user to find the Bluetooth headset in the charging compartment. The method is executed in a mobile terminal, and the method includes:
[0023] Step T100, obtaining a search trigger signal triggered by a user indicating searching for a Bluetooth headset;
[0024] Step T200, responding to the search trigger signal to enter the Bluetooth search state to establish a Bluetooth connection with the Bluetooth headset;
[0025] Step T300, when a Bluetooth connection is established with the Bluetooth headset, sending instruction data to the Bluetooth headset to prompt the Bluetooth headset to emit a sound to prompt the user of the location of the Bluetooth headset;
[0026] Step T400, reminding the user to search for the Bluetooth headset.
[0027] Optionally, in step T200, in the Bluetooth search state, the simulated MAC address of the Bluetooth headset is searched to establish a Bluetooth connection with the Bluetooth headset through the simulated MAC address, wherein the simulated MAC address is different from the actual MAC address of the Bluetooth headset.
[0028] Optionally, in step T200, when establishing a Bluetooth connection with a Bluetooth headset, a Bluetooth connection is established with the Bluetooth headset through a Bluetooth HCI interface layer.
[0029] Optionally, in step T400, the reminder method is any one or any combination of visual interface reminder, ring reminder and vibration reminder.
[0030] Optionally, before step T100, it also includes: obtaining location information sent by the Bluetooth headset when use is completed, and recording the location of the Bluetooth headset when it was last used; after step T100, it also includes: presenting the location of the Bluetooth headset when it was last used to the user in response to a search trigger signal.
[0031] Optionally, before step T100, it also includes: obtaining location information sent by the Bluetooth headset when it is within the Bluetooth communication range, and recording the last location of the Bluetooth headset when it was within the Bluetooth communication range; after step T100, it also includes: responding to the search trigger signal to present to the user the last location of the Bluetooth headset when it was within the Bluetooth communication range.
[0032] In a third aspect, an embodiment of the present invention discloses a device for finding a Bluetooth headset in a charging compartment, the device being arranged in the Bluetooth headset so that a user can find the Bluetooth headset in the charging compartment, the device comprising:
[0033] The connection establishment module is used to intermittently stimulate the Bluetooth headset to be in a state where a Bluetooth connection can be established, so that an external Bluetooth device can establish a Bluetooth connection with the Bluetooth headset;
[0034] The command waiting module is used to wait for receiving the command data sent by the preset mobile terminal when the Bluetooth headset is in a state where the Bluetooth connection can be established;
[0035] A location prompting module, which is used to prompt the Bluetooth headset to emit a sound during the preset period when the mobile terminal reminds the user that the Bluetooth headset can be found, so as to prompt the user of the location of the Bluetooth headset when receiving the instruction data within the preset time length;
[0036] The disconnection establishment module is used to prompt the Bluetooth headset to re-enter a state where the Bluetooth connection cannot be established when no instruction data is received within a preset time period, so that the external Bluetooth device cannot establish a Bluetooth connection with the Bluetooth headset during this period.
[0037] Optionally, in the module for stimulating connection establishment, stimulating the Bluetooth headset to be in a state where a Bluetooth connection can be established includes stimulating the Bluetooth headset to broadcast a Bluetooth address on a designated Bluetooth channel.
[0038] Optionally, in the stimulation connection establishment module, the Bluetooth headset is stimulated to broadcast a simulated MAC address, so that an external device can establish a Bluetooth connection with the Bluetooth headset through the simulated MAC address, wherein the simulated MAC address is different from an actual MAC address of the Bluetooth headset.
[0039] Optionally, in the stimulation connection establishment module, the Bluetooth HCI interface layer of the Bluetooth headset is stimulated to be in a state where the Bluetooth connection can be established, so that the external device can establish a Bluetooth connection with the Bluetooth headset through the Bluetooth HCI interface layer.
[0040] Optionally, in the instruction waiting module, when the external device that establishes the Bluetooth connection is a preset mobile terminal, it is determined that the Bluetooth headset has received the instruction data.
[0041] Optionally, in the module for stimulating establishment of connection, the density of stimulating the Bluetooth headset is positively correlated with the distance relationship, and the distance relationship is the distance between the Bluetooth headset and the preset mobile terminal.
[0042] Optionally, in the instruction waiting module, when the external device establishing the Bluetooth connection is not a preset mobile terminal, the Bluetooth connection with the external device is disconnected, and the reconnection mode is entered to reconnect the preset mobile terminal to determine the distance between the Bluetooth headset and the preset mobile terminal.
[0043] In a fourth aspect, an embodiment of the present invention discloses a device for finding a Bluetooth headset in a charging compartment, the device being used to be arranged in a mobile terminal so that a user can find the Bluetooth headset in the charging compartment, the device comprising:
[0044] A trigger signal acquisition module, used to acquire a search trigger signal triggered by a user indicating that the user is searching for a Bluetooth headset;
[0045] A search module, used to enter a Bluetooth search state in response to a search trigger signal to establish a Bluetooth connection with a Bluetooth headset;
[0046] The instruction sending module is used to send instruction data to the Bluetooth headset when establishing a Bluetooth connection with the Bluetooth headset, so as to prompt the Bluetooth headset to make a sound to prompt the user of the location of the Bluetooth headset;
[0047] The reminder module is used to remind the user to look for the Bluetooth headset.
[0048] Optionally, in the search module, in the Bluetooth search state, the simulated MAC address of the Bluetooth headset is searched to establish a Bluetooth connection with the Bluetooth headset through the simulated MAC address, wherein the simulated MAC address is different from the actual MAC address of the Bluetooth headset.
[0049] Optionally, in the search module, when establishing a Bluetooth connection with the Bluetooth headset, a Bluetooth connection is established with the Bluetooth headset through a Bluetooth HCI interface layer.
[0050] Optionally, in the reminder module, the reminder mode is any one or any combination of visual interface reminder, ringing reminder and vibration reminder.
[0051] In a fifth aspect, an embodiment of the present invention discloses a Bluetooth headset, comprising:
[0052] A processor is used to implement the method disclosed in the first aspect above.
[0053] In a sixth aspect, an embodiment of the present invention discloses a Bluetooth audio system, including: a Bluetooth headset and a paired charging compartment thereof,
[0054] The Bluetooth headset has the device disclosed in the third aspect above.
[0055] Optionally, it also includes:
[0056] A mobile terminal is used to interact with a Bluetooth headset.
[0057] In a seventh aspect, an embodiment of the present invention discloses a mobile terminal, including:
[0058] A processor is used to implement the method disclosed in the second aspect above.
[0059] In an eighth aspect, an embodiment of the present invention discloses a computer-readable storage medium having a computer program stored thereon, wherein the computer program stored in the storage medium is used to be executed to implement the method disclosed in the first aspect or the method disclosed in the second aspect.
[0060]
Beneficial Effects
[0061] According to an embodiment of the present invention, a method, device, terminal and system for searching a Bluetooth headset in a charging compartment are disclosed, which intermittently stimulate the Bluetooth headset to be in a state where a Bluetooth connection can be established. When the Bluetooth headset is in the state where a Bluetooth connection can be established, the system waits for receiving instruction data sent by a preset mobile terminal. When the instruction data is received within a preset time period, the Bluetooth headset is prompted to make a sound during the period when the preset mobile terminal reminds the user that the Bluetooth headset can be found, so as to prompt the user of the location of the Bluetooth headset. When no instruction data is received within the preset time period, the Bluetooth headset is prompted to re-enter a state where a Bluetooth connection cannot be established, so that external Bluetooth devices cannot establish a Bluetooth connection with the Bluetooth headset during this period. Since when the Bluetooth headset is placed in the charging compartment, the Bluetooth headset is intermittently stimulated to be in a state where a Bluetooth connection can be established, so that the preset mobile terminal can establish a Bluetooth connection with the Bluetooth headset at these time points and send command data to the Bluetooth headset. When the command data sent by the preset mobile terminal is received, the Bluetooth headset makes a sound, so that the user can find the Bluetooth headset based on the sound of the Bluetooth headset; and during this period, the preset mobile terminal reminds the user that the Bluetooth headset can be found, so the user will not miss the reminder sound of the Bluetooth headset, that is, the user can know when the Bluetooth headset is prompting its location. The function of the Bluetooth headset working in a low-power state (that is, the Bluetooth headset in the charging compartment) reminding the user of the location is realized, and the user is guided to find the Bluetooth headset in the charging compartment. Moreover, when no command data is received within the preset time, the Bluetooth headset re-enters a state where a Bluetooth connection cannot be established. Therefore, it does not violate the logic that the Bluetooth headset works in a low-power state after being placed in the compartment.
[0062] For the mobile terminal, since it enters the Bluetooth search state in response to the user's search trigger signal, and the Bluetooth headset will intermittently be in a state where a Bluetooth connection can be established, when the Bluetooth headset is in a state where a Bluetooth connection can be established, the mobile terminal can search for the Bluetooth headset and establish a Bluetooth connection; then, the mobile terminal and the Bluetooth headset each remind the user to find the Bluetooth headset. As a result, the user only needs to trigger the mobile terminal to automatically search for the Bluetooth headset and wait for reminders from the mobile terminal and the Bluetooth headset, without the user having to know whether the Bluetooth headset is in the charging compartment, or even if the Bluetooth headset is in the charging compartment, there is no need to remember the timing of searching for the Bluetooth headset (that is, there is no need to remember when the Bluetooth headset is in a state where a Bluetooth connection can be established).
[0063] Other beneficial effects of the present invention will be explained in the specific implementation manner through the introduction of specific technical features and technical solutions. Through the introduction of these technical features and technical solutions, those skilled in the art should be able to understand the beneficial technical effects brought about by the technical features and technical solutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] The embodiments of the present invention will be described below with reference to the accompanying drawings.
[0065] Figure 1 A schematic diagram of the structure principle of a Bluetooth audio system disclosed in this embodiment;
[0066] Figure 2 A schematic diagram of a flow chart of a method for searching a Bluetooth headset in a charging compartment for a Bluetooth headset disclosed in this embodiment;
[0067] Figure 3 A schematic diagram of the structure of each layer of Bluetooth disclosed in this embodiment;
[0068] Figure 4 A method for searching a Bluetooth headset in a charging compartment of a mobile terminal disclosed in this embodiment;
[0069] Figure 5 A schematic diagram of the structure of a device for searching a Bluetooth headset in a charging compartment of a Bluetooth headset disclosed in this embodiment;
[0070] Figure 6 This is a schematic diagram of the structure of a device for searching a Bluetooth headset in a charging compartment of a mobile terminal disclosed in this embodiment. DETAILED DESCRIPTION
[0071] The present invention is described below based on embodiments, but the present invention is not limited to these embodiments. In the following detailed description of the present invention, some specific details are described in detail. In order to avoid confusing the essence of the present invention, known methods, processes, procedures, and components are not described in detail.
[0072] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.
[0073] Unless the context clearly requires otherwise, throughout the specification and claims, the words "include", "comprising" and similar words should be interpreted in an inclusive sense rather than an exclusive or exhaustive sense; that is, in the sense of "including but not limited to".
[0074] In the description of the present invention, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.
[0075] Please refer to Figure 1 , is a schematic diagram of the structural principle of a Bluetooth audio system disclosed in this embodiment, the system includes a Bluetooth headset 1, a charging compartment 2 and a mobile terminal 3, wherein the Bluetooth headset 1 is in the charging compartment 2. In the prior art, when the Bluetooth headset 1 is in the charging compartment 2, it indicates that the user is no longer using the Bluetooth headset 1. Therefore, according to the conventional practice, the Bluetooth headset 1 and the charging compartment 2 will both be in a sleep state and will not usually be connected to the mobile terminal, that is, the Bluetooth headset 1 and the charging compartment 2 will usually not establish a Bluetooth connection with the mobile terminal 3.
[0076] Under this conventional practice, users will not be able to locate and search for Bluetooth headsets through conventional Bluetooth connections. In order to facilitate users to effectively find Bluetooth headsets in the charging compartment, this embodiment discloses a method for finding Bluetooth headsets in the charging compartment, which is used for users to find Bluetooth headsets in the charging compartment. The method is executed on the Bluetooth headset, please refer to Figure 2 , is a flow chart of a method for searching a Bluetooth headset in a charging compartment for a Bluetooth headset disclosed in this embodiment, the method for searching a Bluetooth headset comprises: step S100, step S200, step S300 and step S400, wherein:
[0077] Step S100, intermittently stimulating the Bluetooth headset to be in a state where a Bluetooth connection can be established, so that an external Bluetooth device can establish a Bluetooth connection with the Bluetooth headset. It should be noted that in the process of executing the search method of this embodiment, it is not required that the Bluetooth headset can be completely in a working state. For example, according to the conventional way, the Bluetooth headset in the charging compartment will not play music like when the headset is worn; for another example, the indicator light of the Bluetooth headset in the charging compartment can follow the on and off mode of the sleep state.
[0078] Regarding "intermittent excitation": In a specific embodiment, the intermittent excitation mode can be periodic or non-periodic. This embodiment does not limit the specific form of triggering the excitation, as long as it can make the Bluetooth headset enter the state of running the method disclosed in this embodiment from the sleep state.
[0079] In one embodiment, the excitation signal comes from the Bluetooth headset itself, and the excitation may be triggered by, for example, a timer, or may be generated by a hardware circuit.
[0080] In another embodiment, the excitation signal is triggered by the charging compartment. Specifically, the Bluetooth headset and the charging compartment usually exchange data through communication contacts (or charging and communication contacts), so the Bluetooth headset receives the trigger signal through the communication contacts with the charging compartment, and responds to the trigger signal to stimulate the Bluetooth headset to be in a state where a Bluetooth connection can be established.
[0081] In this embodiment, the Bluetooth headset is in a state where a Bluetooth connection can be established, which means that an external device can establish a Bluetooth connection with the Bluetooth headset via Bluetooth, and the established Bluetooth connection should satisfy the requirement that the external device can exchange data with the Bluetooth headset. In the specific implementation process, the Bluetooth headset can be in a state where a Bluetooth connection can be established by broadcasting a real MAC address, or it can be in a state where a Bluetooth connection can be established by using a simulated MAC address. As a preferred embodiment, the MAC address broadcast by the Bluetooth headset should preferably have been connected to a preset mobile terminal, thereby preventing other devices from connecting to the Bluetooth headset and reducing the pairing connection time.
[0082] In order to reduce power consumption and shorten the duration of the Bluetooth headset broadcast connection, in an optional embodiment, in step S100, the Bluetooth headset is stimulated to broadcast the Bluetooth address on a designated Bluetooth channel. In Bluetooth communication, there are usually multiple Bluetooth channels. In this embodiment, the MAC address of the Bluetooth headset is broadcast through a designated Bluetooth channel, so that when the external device searches for the Bluetooth headset, the Bluetooth headset always broadcasts on a certain channel, so that the external device can quickly connect to the Bluetooth headset on the designated Bluetooth channel, avoiding the external device and the Bluetooth headset switching on different channels respectively, resulting in a long search time, thereby reducing power consumption and shortening the duration of the broadcast connection.
[0083] It should be noted that since the Bluetooth headset can only establish a Bluetooth connection at certain points in the time, and it is only for finding the Bluetooth headset, it does not play music or make voice calls in the usual sense; the Bluetooth headset in the charging case is still in sleep mode most of the time. Therefore, this method does not violate the requirements of the conventional low-power mode.
[0084] Step S200, when the Bluetooth headset is in a state where a Bluetooth connection can be established, wait to receive instruction data sent by a preset mobile terminal. In this embodiment, the so-called preset mobile terminal refers to a mobile terminal that has been paired with the Bluetooth headset, and the preset mobile terminal can be used to search for the Bluetooth headset. Specifically, the preset mobile terminal can be selected by the user. In this embodiment, when the Bluetooth headset is in a state where a Bluetooth connection can be established, when the preset mobile terminal turns on Bluetooth, a Bluetooth connection can be established with the Bluetooth headset, so that the Bluetooth headset can receive instruction data sent by the preset mobile terminal through the Bluetooth connection. In a specific embodiment, since the preset mobile terminal is selected by the user to search for the Bluetooth headset, in one embodiment, when the Bluetooth headset establishes a Bluetooth connection with the preset mobile terminal, it can be considered that the instruction data has been received; further, in order to avoid false triggering of the search instruction, the mobile terminal can also carry the instruction data in some fields of the communication protocol. In this case, when the headset is searched through or not through the mobile terminal, the data of the field should be different.
[0085] Of course, as another embodiment, the Bluetooth headset may also establish a Bluetooth connection with a preset mobile terminal, and then receive the instruction data sent by the preset mobile terminal through the Bluetooth connection.
[0086] It should be noted that, in this embodiment, the specific form or composition of the instruction data is not limited, as long as the Bluetooth headset can perform subsequent steps based on the received data after establishing a Bluetooth connection with the preset mobile terminal.
[0087] Step S300, when the instruction data is received within the preset time, the Bluetooth headset is prompted to emit a sound during the period when the preset mobile terminal reminds the user that the Bluetooth headset can be found, so as to remind the user of the location of the Bluetooth headset. It should be noted that the step of the preset mobile terminal reminding the user that the Bluetooth headset can be found is not executed on the Bluetooth headset, but indicates that during the period when the Bluetooth headset emits a sound, the preset mobile terminal will also remind the user to find the Bluetooth headset.
[0088] In this embodiment, the sound emitted by the Bluetooth headset can be a preset sound. After the Bluetooth headset emits the sound, the user can determine the location of the Bluetooth headset by the source of the sound, thereby achieving the purpose of prompting the user of the location of the Bluetooth headset. Specifically:
[0089] In one embodiment, after the mobile terminal establishes a Bluetooth connection with the Bluetooth headset, the mobile terminal can send instructions to the Bluetooth headset through the Bluetooth connection, so that the Bluetooth headset drives the Bluetooth headset to make a sound according to the instruction, thereby reminding the user of the location of the Bluetooth headset.
[0090] In another embodiment, after the mobile terminal establishes a Bluetooth connection with the Bluetooth headset, it indicates that the user is searching for the Bluetooth headset through the mobile terminal. At this time, the Bluetooth headset can directly make a sound to remind the user of the location of the Bluetooth headset.
[0091] Of course, when no retrieval trigger signal sent by a preset mobile terminal is received within a preset time period, the Bluetooth headset can be prompted to return to a sleep state, thereby saving power consumption.
[0092] In this embodiment, the preset mobile terminal can remind the user that the Bluetooth headset can be found in any combination of pop-up reminders, ringtone reminders, vibration reminders, screen-lit reminders, flashing reminders, etc. In the specific implementation process, a corresponding APP can be configured for the preset mobile terminal. When the user triggers the preset mobile terminal to establish a Bluetooth connection with the Bluetooth headset through the APP, the APP can obtain the connection information, thereby triggering the preset mobile terminal to remind the user that the Bluetooth headset can be found.
[0093] In this embodiment, the preset mobile terminal is used to remind the user that the Bluetooth headset can be found. When the user searches for the Bluetooth headset through the preset mobile terminal, after triggering the corresponding operation on the preset mobile terminal, the user only needs to wait patiently for the reminder of the mobile terminal. The user does not need to understand or remember at what time point the Bluetooth headset can be found, that is, there is no need to remember when the Bluetooth headset will be stimulated to be in a state where a Bluetooth connection can be established.
[0094] Step S400, when the instruction data is not received within the preset time, the Bluetooth headset is prompted to re-enter the state where the Bluetooth connection cannot be established, so that the external Bluetooth device cannot establish a Bluetooth connection with the Bluetooth headset during this period. In this embodiment, the preset time can be determined based on experience. In the specific implementation process, if the instruction data is not received within the preset time, it indicates that the user has not searched for the Bluetooth headset through the mobile terminal. Therefore, the state where the Bluetooth connection cannot be established can be re-entered, that is, the normal sleep state, and wait for the next excitation to arrive, so that the external Bluetooth device cannot establish a Bluetooth connection with the Bluetooth headset during this period, saving the power consumption of the Bluetooth headset.
[0095] In order to further avoid violating the logic that the Bluetooth headset should not be connected to by an external device after being placed in the bin, in an optional embodiment, in step S100, the Bluetooth headset is stimulated to broadcast a simulated MAC address so that the external device can establish a Bluetooth connection with the Bluetooth headset through the simulated MAC address, wherein the simulated MAC address is different from the actual MAC address of the Bluetooth headset. In this embodiment, when the user searches for the Bluetooth headset through the mobile terminal, the new address of the simulated Bluetooth device can be actively searched and connected by the mobile terminal.
[0096] In a specific embodiment, a new simulated MAC address may be generated according to a preset rule, or the simulated MAC address may be generated based on the actual MAC address of the Bluetooth headset. Specifically, in order to simplify the generation process of the simulated MAC address, in an optional embodiment, the actual MAC address of the Bluetooth headset may be obtained; and a logical operation may be performed on the actual MAC address to obtain the simulated MAC address. Specifically, a logical operation may be performed on the actual MAC address through a random code, and as an example, the logical operation may be, for example, a logical AND operation, or, for example, a logical XOR operation.
[0097] In this embodiment, when the Bluetooth headset is awakened, a simulated MAC address is first calculated based on the actual MAC address to obtain a simulated new Bluetooth device MAC address, that is, equivalent to a new Bluetooth device. An example of how to modify the MAC address is shown in Table 1.
[0098] Table 1: Example of generating simulated MAC addresses based on actual MAC addresses
[0099] Actual MAC address Random code Logical operations Simulate MAC address Example 1 010111001011 111110001100 and 010110001000 Example 2 010111001011 111110001100 XOR 101001000111
[0100] In this embodiment, the main reason for simulating a new Bluetooth device is that if the actual Bluetooth address is used, it may be connected back by the mobile terminal; and the original intention of the scheme in this embodiment is only to find the Bluetooth headset. Since it has been actively anti-lost after connecting to the mobile terminal in the past, the mobile terminal will be notified when there is a possibility of loss; however, the process of searching for the Bluetooth headset in the charging bin set up in the scheme of this embodiment is essentially that the Bluetooth headset should not be connected by the mobile terminal after being placed in the bin. When the user is actually looking for the Bluetooth headset, he can connect to the mobile terminal by simulating a Bluetooth device (equivalent to a new Bluetooth device), communicate with the mobile terminal and synchronize the location data to the mobile terminal, and according to the successful connection of the mobile terminal, play a prompt tone to convey the location information.
[0101] In order to avoid the mobile terminal displaying that the Bluetooth device is connected, which would violate the industry's commonly accepted principle that the Bluetooth headset should not be connected to the mobile phone when placed in the compartment (the headset is disconnected from the mobile phone when placed in the charging compartment), in an optional embodiment, in step S100, the Bluetooth HCI interface layer of the Bluetooth headset is stimulated to be in a state where a Bluetooth connection can be established, so that the external device can establish a Bluetooth connection with the Bluetooth headset through the Bluetooth HCI interface layer.
[0102] Please refer to Figure 3, is a schematic diagram of the structure of each layer of Bluetooth disclosed in this embodiment. The structure of each layer of Bluetooth includes: application layer, host layer and controller layer. Among them, the application layer mainly formulates the top-level protocol interaction according to different application scenarios; the host layer provides interface support for the upper layer, maintains some software-level protocols and encryption processes, etc., and is a pure software behavior; the controller layer includes HCI interface layer, LL layer, and PHY layer. The controller layer is responsible for reporting the status to the host upward, receiving the host's instructions downward, interacting with the baseband signal, coordinating, controlling, and managing hardware resources. The HCI (Host Interface Controller) interface layer is the interface between the host layer and the controller layer. In this embodiment, the Bluetooth headset is only connected to the Bluetooth HCI interface layer of the external device, not the application layer. The Bluetooth signal strength can be obtained and then the Bluetooth connection is disconnected, thereby achieving the effect of obtaining the Bluetooth signal strength without displaying the connection, that is, only the HCI interface is connected for signal measurement, and the mobile terminal does not display the situation that the device has been connected and then disconnected. Compared with connecting to the application layer, the mobile terminal will receive a response prompt message of the Bluetooth connection, which violates the commonly accepted principles in the industry.
[0103] In order to simplify the process and improve the efficiency of searching for Bluetooth headsets, in step S200, when the external device establishing the Bluetooth connection is a preset mobile terminal, it is determined that the Bluetooth headset has received the instruction data. In a specific embodiment, it is possible to determine whether the external device establishing the Bluetooth connection is a designated terminal by comparing the MAC address of the mobile terminal. Specifically, after the Bluetooth headset is connected to the mobile terminal once, the MAC address of the mobile terminal will be stored in the Bluetooth headset. Therefore, it is possible to determine whether it is a preset mobile terminal by comparing the MAC address. In other embodiments, it is also possible to determine whether the external device establishing the Bluetooth connection is a preset mobile terminal by means of communication protocols, data interaction, etc.
[0104] In an optional embodiment, in step S100, the density of stimulating the Bluetooth headset is positively correlated with the distance relationship. In this embodiment, the distance relationship is the distance between the Bluetooth headset and the preset mobile terminal. Specifically, the distance relationship can be the distance known before the Bluetooth headset disconnects the Bluetooth connection with the preset mobile terminal. About knowing the distance: In one embodiment, the distance can be known when the Bluetooth headset is placed in the charging compartment. Specifically, when the Bluetooth headset is placed in the charging compartment, it is likely that the user has finished using it. At this time, it can be considered as "before disconnecting the Bluetooth connection"; in another embodiment, the distance can also be known when the Bluetooth headset is about to run out of power. Specifically, when the Bluetooth headset is about to run out of power, the user is likely to put the Bluetooth headset into the charging compartment for charging. Therefore, the distance can be known at this time.
[0105] In a specific implementation process, after calculating the distance between the Bluetooth headset and the preset mobile terminal, the excitation weight factor can be obtained to calculate the time interval for exciting the Bluetooth headset, wherein the distance between the Bluetooth headset and the preset mobile terminal can be calculated using the following formula:
[0106] d = 10 ((abs(RSSI)-A) / (10*n))
[0107] Where abs is the absolute value, RSSI is the received signal strength (negative value), A is the signal strength when the transmitter and receiver are 1 meter apart, and n is the environmental attenuation factor.
[0108] The time interval for stimulating the Bluetooth headset can be calculated by the following weight formula:
[0109] W=N*X*Y
[0110] Among them, W is the time interval for stimulating the Bluetooth headset; X refers to the power of the charging case; Y refers to the unit time; N is an adjustable weight factor, and the normal weight refers to N=1. The value of N can be calculated by the distance between the mobile terminal and the Bluetooth headset. The farther the distance, the smaller the value of N will be, and the shorter the time interval for stimulating the Bluetooth headset. As an example, when the signal strength is obtained that the user's mobile terminal is two meters away from the TWS Bluetooth headset, then this value may be 0.5. If the user is 1 meter away from the Bluetooth headset, this value is 1.
[0111] In order to prevent other external devices from connecting to the Bluetooth headset, in an optional embodiment, in step S200, when the external device that establishes the Bluetooth connection is a non-preset mobile terminal, the Bluetooth connection with the external device is disconnected, and the reconnection mode is entered to reconnect to the preset mobile terminal to determine the distance between the Bluetooth headset and the preset mobile terminal. In this embodiment, when the external device that establishes the Bluetooth connection is a non-preset mobile terminal, it means that the user has not searched for the Bluetooth headset through the preset mobile terminal and can continue to enter the sleep mode; the actual MAC address of the Bluetooth headset can be reconnected to the preset mobile terminal, thereby determining the distance between the Bluetooth headset and the preset mobile terminal, calculating the time interval for the next stimulation of the Bluetooth headset, and intermittently stimulating the Bluetooth headset.
[0112] In order to remind the user of the last location of the Bluetooth headset, more accurate location information can be given at a long distance. In an optional embodiment, the method also includes: when the Bluetooth headset is finished using, sending the current location information of the Bluetooth headset to a preset mobile terminal, so that the preset mobile terminal records the location of the Bluetooth headset when it was last used. Specifically, when the user puts the Bluetooth headset back into the charging compartment, it may mean that the Bluetooth headset has been used. At this time, the current location of the Bluetooth headset can be located by a positioning sensor, and the located location information can be sent to the preset mobile terminal, so that the preset mobile terminal can record the location of the Bluetooth headset when it was last used. In a specific embodiment, the location information can be located by the Bluetooth headset itself, or it can be located and obtained by the charging compartment. As an example of an application scenario, for example, the user puts the headset in the charging compartment in the dormitory, and then the user sets out from the dormitory to play outside. When the user wants to find the Bluetooth headset on the way, the user can see that the headset is located in the dormitory from the mobile phone APP.
[0113] In order to remind the user of the location where the Bluetooth headset disconnected the Bluetooth connection, that is, the location where the Bluetooth headset was lost, the approximate location of the loss can be given after it is lost. In an optional embodiment, the method also includes: when the Bluetooth headset is placed in the charging compartment, sending the current location information of the Bluetooth headset to a preset mobile terminal, so that the preset mobile terminal records the location of the Bluetooth headset in the charging compartment when it is within the Bluetooth communication range with the preset mobile terminal. In a specific embodiment, when the Bluetooth headset is in the charging compartment, the Bluetooth headset can establish a Bluetooth connection with the preset mobile terminal at certain time intervals (equal intervals or unequal intervals), and send the located location information to the preset mobile terminal, so that the preset mobile terminal can record the location of the Bluetooth headset when it can establish a Bluetooth connection. In a specific embodiment, the location information can be the positioning of the Bluetooth headset itself, or it can be located and obtained through the charging compartment. As an example of an application scenario, for example, the user puts the earphones in a charging case and takes the charging case out to play. The charging case is lost during the journey. Since it is still within the Bluetooth communication range, the mobile phone can obtain the location of the earphones through the Bluetooth connection; when the user wants to find the Bluetooth earphones, the Bluetooth earphones are out of the Bluetooth communication range and cannot be found through the Bluetooth connection. At this time, the user can see from the mobile phone APP that the earphones are located somewhere along the way; the user can go to that place according to the location information and find the earphones through the Bluetooth connection.
[0114] This embodiment also discloses a method for finding a Bluetooth headset in a charging compartment, which is used for a user to find the Bluetooth headset in the charging compartment. The method is executed in a mobile terminal. Please refer to Figure 4, is a method for searching a Bluetooth headset in a charging compartment of a mobile terminal disclosed in this embodiment, and the method for searching a Bluetooth headset in a charging compartment includes: step T100, step T200, step T300 and step T400, wherein:
[0115] Step T100, obtaining a search trigger signal indicating searching for a Bluetooth headset triggered by a user. In a specific embodiment, a corresponding APP may be configured for the mobile terminal, and when the user triggers the APP, the mobile terminal searches for a Bluetooth connection of the Bluetooth headset so as to establish a Bluetooth connection with the Bluetooth headset.
[0116] Step T200, responding to the search trigger signal, entering the Bluetooth search state to establish a Bluetooth connection with the Bluetooth headset. In this embodiment, since the Bluetooth headset is intermittently stimulated to be in a state where a Bluetooth connection can be established, when an external Bluetooth device is enabled to search for a Bluetooth connection, a Bluetooth connection can be established with the Bluetooth headset. Therefore, during the period when the Bluetooth headset is in a state where a Bluetooth connection can be established, the mobile terminal can establish a Bluetooth connection with the Bluetooth headset.
[0117] It should be noted that, since the user does not know when the Bluetooth headset will be in a state where a Bluetooth connection can be established, in the specific implementation process, after the user triggers the search for the trigger signal, it is only necessary to wait for the reminders from the Bluetooth headset and the mobile terminal.
[0118] Step T300, when establishing a Bluetooth connection with the Bluetooth headset, send instruction data to the Bluetooth headset to prompt the Bluetooth headset to make a sound to prompt the user of the location of the Bluetooth headset. In this embodiment, the instruction data can be a separate instruction, or it can be carried in some fields in the data packet, or it can be the establishment of the Bluetooth connection itself. For details, please refer to the above description, which will not be repeated here.
[0119] Step T400, reminding the user to search for a Bluetooth headset. In this embodiment, the reminder method can be any combination of a pop-up reminder, a ringtone reminder, a vibration reminder, a screen-lit reminder, a flashing reminder, etc. For details, please refer to the above description, which will not be repeated here.
[0120] In an optional embodiment, in step T200, in the Bluetooth search state, the simulated MAC address of the Bluetooth headset is searched to establish a Bluetooth connection with the Bluetooth headset through the simulated MAC address, wherein the simulated MAC address is different from the actual MAC address of the Bluetooth headset. For details, please refer to the above description, which will not be repeated here.
[0121] In an optional embodiment, in step T200, when establishing a Bluetooth connection with a Bluetooth headset, a Bluetooth connection is established with the Bluetooth headset through a Bluetooth HCI interface layer. Specifically, please refer to the above description, which will not be repeated here.
[0122] In an optional embodiment, in step T400, the reminder mode is any one or any combination of a visual interface reminder, a ringing reminder, and a vibration reminder. For details, please refer to the above description, which will not be repeated here.
[0123] In order to remind the user of the last location of the Bluetooth headset used, more accurate location information can be provided at a long distance. In an optional embodiment, before step T100, the method further includes:
[0124] Obtain the location information sent by the Bluetooth headset when the use is completed, and record the location of the Bluetooth headset when it was last used; after step T100, it also includes: responding to the search trigger signal to present the location of the Bluetooth headset when it was last used to the user. Specifically, please refer to the above description, which will not be repeated here. It should be noted that when presenting the location when the Bluetooth headset was last used, it can be presented with the help of a map; it can also be presented through a preset location area. For example, the user presets several location areas (dormitory, home, school, etc.). When the located location information is in these location areas, location areas such as "dormitory" can be directly presented; of course, it can also be presented in combination with a map and a location area.
[0125] In order to remind the user of the location where the Bluetooth headset disconnected the Bluetooth connection, that is, the location where the Bluetooth headset was lost, the approximate location of the loss can be given after it is lost. In an optional embodiment, before step T100, it also includes: obtaining the location information sent by the Bluetooth headset when it is within the Bluetooth communication range, and recording the location of the Bluetooth headset when it was last within the Bluetooth communication range; after step T100, it also includes: responding to the search trigger signal to present to the user the location of the Bluetooth headset when it was last within the Bluetooth communication range. Specifically, please refer to the above description, which will not be repeated here. It should be noted that when presenting the location of the Bluetooth headset when it was last within the Bluetooth communication range, it can be presented in the form of a map.
[0126] This embodiment also discloses a device for finding a Bluetooth headset in a charging compartment of a Bluetooth headset, which is arranged in the Bluetooth headset so that a user can find the Bluetooth headset in the charging compartment. Figure 5 , is a schematic diagram of a structure of a device for finding a Bluetooth headset in a charging compartment of a Bluetooth headset disclosed in this embodiment, the device comprising: an exciting connection establishment module 100, an instruction waiting module 200, a location prompt module 300 and a disconnection establishment module 400, wherein:
[0127] The excitation connection establishment module 100 is used to intermittently excite the Bluetooth headset to be in a state where a Bluetooth connection can be established, so that an external Bluetooth device can establish a Bluetooth connection with the Bluetooth headset;
[0128] The instruction waiting module 200 is used for waiting to receive instruction data sent by a preset mobile terminal when the Bluetooth headset is in a state where a Bluetooth connection can be established;
[0129] The location prompting module 300 is used to prompt the Bluetooth headset to make a sound during the preset mobile terminal reminding the user that the Bluetooth headset can be found, so as to remind the user of the location of the Bluetooth headset when receiving the instruction data within the preset time period;
[0130] The disconnection establishment module 400 is used to prompt the Bluetooth headset to re-enter a state where the Bluetooth connection cannot be established when no instruction data is received within a preset time period, so that the external Bluetooth device cannot establish a Bluetooth connection with the Bluetooth headset during this period.
[0131] In an optional embodiment, in the stimulation module 100 for establishing connection, stimulating the Bluetooth headset to be in a state where a Bluetooth connection can be established includes stimulating the Bluetooth headset to broadcast a Bluetooth address on a designated Bluetooth channel.
[0132] In an optional embodiment, in the stimulation establishment connection module 100, the Bluetooth headset is stimulated to broadcast a simulated MAC address so that an external device can establish a Bluetooth connection with the Bluetooth headset through the simulated MAC address, wherein the simulated MAC address is different from the actual MAC address of the Bluetooth headset.
[0133] In an optional embodiment, in the stimulation establishment connection module 100, the Bluetooth HCI interface layer of the Bluetooth headset is stimulated to be in a state where a Bluetooth connection can be established, so that the external device can establish a Bluetooth connection with the Bluetooth headset through the Bluetooth HCI interface layer.
[0134] In an optional embodiment, in the instruction waiting module 200, when the external device that establishes the Bluetooth connection is a preset mobile terminal, it is determined that the Bluetooth headset has received the instruction data.
[0135] In an optional embodiment, in the stimulation establishment connection module 100, the density of stimulation of the Bluetooth headset is positively correlated with the distance relationship, and the distance relationship is the distance between the Bluetooth headset and the preset mobile terminal.
[0136] In an optional embodiment, in the instruction waiting module 200, when the external device establishing the Bluetooth connection is not a preset mobile terminal, the Bluetooth connection with the external device is disconnected, and the reconnection mode is entered to reconnect to the preset mobile terminal to determine the distance between the Bluetooth headset and the preset mobile terminal.
[0137] This embodiment also provides a device for finding a Bluetooth headset in a charging compartment. The device is used to be set in a mobile terminal so that a user can find the Bluetooth headset in the charging compartment. Please refer to Figure 6, is a schematic diagram of a structure of a device for searching a Bluetooth headset in a charging compartment of a mobile terminal disclosed in this embodiment, the device comprising: a trigger signal acquisition module 10, a search module 20, an instruction sending module 30 and a reminder module 40, wherein:
[0138] The trigger signal acquisition module 10 is used to acquire a search trigger signal triggered by a user indicating that the Bluetooth headset is searched, wherein the Bluetooth headset is in the charging compartment;
[0139] The search module 20 is used to enter a Bluetooth search state in response to a search trigger signal to establish a Bluetooth connection with a Bluetooth headset;
[0140] The instruction sending module 30 is used to send instruction data to the Bluetooth headset when establishing a Bluetooth connection with the Bluetooth headset, so as to prompt the Bluetooth headset to make a sound to prompt the user of the location of the Bluetooth headset;
[0141] The reminder module 40 is used to remind the user to search for the Bluetooth headset.
[0142] In an optional embodiment, in the search module 20, in the Bluetooth search state, the simulated MAC address of the Bluetooth headset is searched to establish a Bluetooth connection with the Bluetooth headset through the simulated MAC address, wherein the simulated MAC address is different from the actual MAC address of the Bluetooth headset.
[0143] In an optional embodiment, in the search module 20, when establishing a Bluetooth connection with the Bluetooth headset, a Bluetooth connection is established with the Bluetooth headset through a Bluetooth HCI interface layer.
[0144] In an optional embodiment, in the reminder module 40, the reminder method is any one or any combination of visual interface reminder, ringing reminder and vibration reminder.
[0145] This embodiment also discloses a Bluetooth headset, including:
[0146] The processor is used to implement the method for the Bluetooth headset disclosed in the above embodiment.
[0147] This embodiment also discloses a Bluetooth audio system, including: a Bluetooth headset and a paired charging case thereof, wherein the Bluetooth headset has the device for the Bluetooth headset disclosed in the above embodiment.
[0148] In an optional embodiment, it also includes:
[0149] A mobile terminal is used to interact with a Bluetooth headset.
[0150] This embodiment also discloses a mobile terminal, including:
[0151] The processor is used to implement the method for the mobile terminal disclosed in the above embodiment.
[0152] This embodiment also discloses a computer-readable storage medium on which a computer program is stored. The computer program stored in the storage medium is used to be executed to implement the method for a Bluetooth headset disclosed in the above embodiment or the method for a mobile terminal disclosed in the above embodiment.
[0153] This embodiment also discloses a chip of an audio device, on which an integrated circuit is provided. The integrated circuit is designed to implement the method for a Bluetooth headset disclosed in the above embodiment.
[0154] It should be noted that the computer-readable storage medium described in the embodiments of the present disclosure is not limited to the above-mentioned embodiments, and may also be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device.
[0155] It will be appreciated by those skilled in the art that, under the premise of no conflict, the above-mentioned preferred solutions can be freely combined and superimposed. Among them, the flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the module, program segment, or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings, for example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. The numbering of each step in this article is only for the convenience of description and reference, and is not used to limit the order of execution. The specific execution order is determined by the technology itself, and those skilled in the art can determine various allowable and reasonable orders based on the technology itself.
[0156] It should be noted that the use of step numbers (letters or numbers) to refer to certain specific method steps in the present invention is only for the purpose of convenience and brevity of description, and is by no means intended to limit the order of these method steps by letters or numbers. Those skilled in the art will understand that the order of the relevant method steps should be determined by the technology itself and should not be inappropriately limited by the existence of step numbers. Those skilled in the art can determine various permissible and reasonable step orders based on the technology itself.
[0157] According to an embodiment of the present invention, a method, device, terminal and system for searching a Bluetooth headset in a charging compartment are disclosed, which intermittently stimulate the Bluetooth headset to be in a state where a Bluetooth connection can be established. When the Bluetooth headset is in the state where a Bluetooth connection can be established, the system waits for receiving instruction data sent by a preset mobile terminal. When the instruction data is received within a preset time period, the Bluetooth headset is prompted to make a sound during the period when the preset mobile terminal reminds the user that the Bluetooth headset can be found, so as to prompt the user of the location of the Bluetooth headset. When no instruction data is received within the preset time period, the Bluetooth headset is prompted to re-enter a state where a Bluetooth connection cannot be established, so that external Bluetooth devices cannot establish a Bluetooth connection with the Bluetooth headset during this period. Since when the Bluetooth headset is placed in the charging compartment, the Bluetooth headset is intermittently stimulated to be in a state where a Bluetooth connection can be established, so that the preset mobile terminal can establish a Bluetooth connection with the Bluetooth headset at these time points and send command data to the Bluetooth headset. When the command data sent by the preset mobile terminal is received, the Bluetooth headset makes a sound, so that the user can find the Bluetooth headset based on the sound of the Bluetooth headset; and during this period, the preset mobile terminal reminds the user that the Bluetooth headset can be found, so the user will not miss the reminder sound of the Bluetooth headset, that is, the user can know when the Bluetooth headset is prompting its location. The function of the Bluetooth headset working in a low-power state (that is, the Bluetooth headset in the charging compartment) reminding the user of the location is realized, and the user is guided to find the Bluetooth headset in the charging compartment. Moreover, when no command data is received within the preset time, the Bluetooth headset re-enters a state where a Bluetooth connection cannot be established. Therefore, it does not violate the logic that the Bluetooth headset works in a low-power state after being placed in the compartment.
[0158] Those skilled in the art will appreciate that, without conflict, the above-mentioned preferred solutions can be freely combined and superimposed.
[0159] It should be understood that the above-mentioned embodiments are merely illustrative and not restrictive. Without departing from the basic principles of the present invention, various obvious or equivalent modifications or substitutions that can be made by those skilled in the art to the above-mentioned details will all be included in the scope of the claims of the present invention.
Claims
1. A method for finding a Bluetooth headset in a charging compartment, for a user to find the Bluetooth headset in the charging compartment, wherein the method is executed on the Bluetooth headset, It is characterized in that The method comprises: Step S100, intermittently stimulating the Bluetooth headset to be in a state where a Bluetooth connection can be established, so that an external Bluetooth device can establish a Bluetooth connection with the Bluetooth headset, the stimulating signal is triggered by the charging compartment, and the Bluetooth headset receives the triggering signal through the communication contacts with the charging compartment, thereby stimulating the Bluetooth headset to be in a state where a Bluetooth connection can be established in response to the triggering signal, wherein the Bluetooth headset is stimulated to broadcast a simulated MAC address, so that an external device can establish a Bluetooth connection with the Bluetooth headset through the simulated MAC address, and a new simulated MAC address is generated according to a preset rule, or a simulated MAC address is generated based on the actual MAC address of the Bluetooth headset, and the simulated MAC address is different from the actual MAC address of the Bluetooth headset; Step S200, when the Bluetooth headset is in a state where a Bluetooth connection can be established, waiting to receive instruction data sent by a preset mobile terminal; Step S300, when the instruction data is received within a preset time, the Bluetooth headset is prompted to emit a sound during the period when the preset mobile terminal reminds the user that the Bluetooth headset can be found, so as to prompt the user of the location of the Bluetooth headset; Step S400, when the instruction data is not received within a preset time period, the Bluetooth headset is prompted to re-enter a state where a Bluetooth connection cannot be established, so that an external Bluetooth device cannot establish a Bluetooth connection with the Bluetooth headset during this period.
2. The method for finding a Bluetooth headset in a charging compartment as claimed in claim 1, It is characterized in that In the step S100, the Bluetooth headset is stimulated to be in a state where a Bluetooth connection can be established, including stimulating the Bluetooth headset to broadcast a Bluetooth address on a designated Bluetooth channel.
3. The method for finding a Bluetooth headset in a charging compartment as claimed in claim 1, It is characterized in that In the step S100, the Bluetooth HCI interface layer of the Bluetooth headset is stimulated to be in a state where a Bluetooth connection can be established, so that an external device can establish a Bluetooth connection with the Bluetooth headset through the Bluetooth HCI interface layer.
4. The method for finding a Bluetooth headset in a charging compartment according to any one of claims 1 to 3, It is characterized in that In the step S200, when the external device for establishing the Bluetooth connection is a preset mobile terminal, it is determined that the Bluetooth headset has received the instruction data.
5. The method for finding a Bluetooth headset in a charging compartment according to any one of claims 1 to 3, It is characterized in that In the step S100, the density of stimulating the Bluetooth headset is positively correlated with the distance relationship, and the distance relationship is the distance between the Bluetooth headset and the preset mobile terminal.
6. The method for finding a Bluetooth headset in a charging compartment as claimed in claim 5, It is characterized in that In step S200, when the external device establishing the Bluetooth connection is a non-preset mobile terminal, the Bluetooth connection with the external device is disconnected, and the reconnection mode is entered to reconnect the preset mobile terminal to determine the distance between the Bluetooth headset and the preset mobile terminal.
7. The method for finding a Bluetooth headset in a charging compartment according to any one of claims 1 to 6, It is characterized in that Also includes: When the Bluetooth headset is finished being used, the current location information of the Bluetooth headset is sent to the preset mobile terminal, so that the preset mobile terminal records the location of the Bluetooth headset when it was last used.
8. The method for finding a Bluetooth headset in a charging compartment according to any one of claims 1 to 6, It is characterized in that Also includes: When the Bluetooth headset is placed in the charging compartment, the current location information of the Bluetooth headset is sent to the preset mobile terminal, so that the preset mobile terminal records the location of the Bluetooth headset in the charging compartment when it is within the Bluetooth communication range of the preset mobile terminal.
9. A method for finding a Bluetooth headset in a charging compartment, for a user to find the Bluetooth headset in the charging compartment as claimed in any one of claims 1 to 8, wherein the method is executed in a mobile terminal. It is characterized in that The method comprises: Step T100, obtaining a search trigger signal triggered by a user indicating searching for the Bluetooth headset; Step T200, responding to the search trigger signal to enter a Bluetooth search state to establish a Bluetooth connection with the Bluetooth headset; Step T300, when a Bluetooth connection is established with the Bluetooth headset, sending instruction data to the Bluetooth headset to prompt the Bluetooth headset to emit a sound to prompt the user of the location of the Bluetooth headset; Step T400, reminding the user to search for the Bluetooth headset.
10. The method for finding a Bluetooth headset in a charging compartment as claimed in claim 9, It is characterized in that In the step T200, in the Bluetooth search state, the simulated MAC address of the Bluetooth headset is searched to establish a Bluetooth connection with the Bluetooth headset through the simulated MAC address, wherein the simulated MAC address is different from the actual MAC address of the Bluetooth headset.
11. The method for finding a Bluetooth headset in a charging compartment as claimed in claim 9, It is characterized in that In the step T200, when establishing a Bluetooth connection with the Bluetooth headset, a Bluetooth connection is established with the Bluetooth headset through a Bluetooth HCI interface layer.
12. The method for finding a Bluetooth headset in a charging compartment according to any one of claims 9 to 11, It is characterized in that In step T400, the reminder method is any one or any combination of visual interface reminder, ring reminder and vibration reminder.
13. The method for finding a Bluetooth headset in a charging compartment according to any one of claims 9 to 11, It is characterized in that Before step T100, the method further includes: Obtaining the location information sent by the Bluetooth headset when the use is completed, and recording the location of the Bluetooth headset when it was last used; After step T100, the method further includes: In response to the search trigger signal, the location of the Bluetooth headset when it was last used is presented to the user.
14. The method for finding a Bluetooth headset in a charging compartment according to any one of claims 9 to 11, It is characterized in that Before step T100, the method further includes: Obtaining the location information sent by the Bluetooth headset when it is within the Bluetooth communication range, and recording the last location of the Bluetooth headset when it was within the Bluetooth communication range; After step T100, the method further includes: In response to the search trigger signal, the location of the Bluetooth headset when it was last within the Bluetooth communication range is presented to the user.
15. A device for finding a Bluetooth headset in a charging compartment, the device being arranged in the Bluetooth headset so that a user can find the Bluetooth headset in the charging compartment. It is characterized in that The device comprises: A stimulation connection establishment module (100) is used to intermittently stimulate the Bluetooth headset to be in a state where a Bluetooth connection can be established, so that an external Bluetooth device can establish a Bluetooth connection with the Bluetooth headset, wherein the stimulation signal is triggered by the charging compartment, and the Bluetooth headset receives the trigger signal through a communication contact with the charging compartment, thereby stimulating the Bluetooth headset to be in a state where a Bluetooth connection can be established in response to the trigger signal, wherein the Bluetooth headset is stimulated to broadcast a simulated MAC address, so that an external device can establish a Bluetooth connection with the Bluetooth headset through the simulated MAC address, and a new simulated MAC address is generated according to a preset rule, or a simulated MAC address is generated based on the actual MAC address of the Bluetooth headset, and the simulated MAC address is different from the actual MAC address of the Bluetooth headset; An instruction waiting module (200) is used for waiting to receive instruction data sent by a preset mobile terminal when the Bluetooth headset is in a state where a Bluetooth connection can be established; A location prompting module (300) is used for prompting the Bluetooth headset to emit a sound when the instruction data is received within a preset time period, so as to prompt the user of the location of the Bluetooth headset during the period when the preset mobile terminal reminds the user that the Bluetooth headset can be found; during this period, the preset mobile terminal reminds the user that the Bluetooth headset can be found; The disconnection establishment module (400) is used to prompt the Bluetooth headset to re-enter a state where the Bluetooth connection cannot be established when the instruction data is not received within a preset time period, so that the external Bluetooth device cannot establish a Bluetooth connection with the Bluetooth headset during this period.
16. The device for finding a Bluetooth headset in a charging compartment as claimed in claim 15, It is characterized in that In the stimulation module (100) for establishing a connection, the Bluetooth headset is stimulated to be in a state where a Bluetooth connection can be established, including stimulating the Bluetooth headset to broadcast a Bluetooth address on a designated Bluetooth channel.
17. The device for finding a Bluetooth headset in a charging compartment as claimed in claim 15, It is characterized in that In the stimulation connection establishment module (100), the Bluetooth HCI interface layer of the Bluetooth headset is stimulated to be in a state where a Bluetooth connection can be established, so that an external device can establish a Bluetooth connection with the Bluetooth headset through the Bluetooth HCI interface layer.
18. The device for searching a Bluetooth headset in a charging compartment according to any one of claims 15 to 17, It is characterized in that In the instruction waiting module (200), when the external device establishing the Bluetooth connection is a preset mobile terminal, it is determined that the Bluetooth headset has received the instruction data.
19. The device for finding a Bluetooth headset in a charging compartment according to any one of claims 15 to 17, It is characterized in that In the stimulation module (100) for establishing a connection, the density of stimulating the Bluetooth headset is positively correlated with the distance relationship, and the distance relationship is the distance between the Bluetooth headset and the preset mobile terminal.
20. The device for finding a Bluetooth headset in a charging compartment as claimed in claim 19, It is characterized in that In the instruction waiting module (200), when the external device that establishes the Bluetooth connection is a non-preset mobile terminal, the Bluetooth connection with the external device is disconnected, and the reconnection mode is entered to reconnect the preset mobile terminal to determine the distance between the Bluetooth headset and the preset mobile terminal.
21. A device for finding a Bluetooth headset in a charging compartment, the device being arranged in a mobile terminal so that a user can find the Bluetooth headset in the charging compartment as claimed in any one of claims 15 to 20. It is characterized in that The device comprises: A trigger signal acquisition module (10), used for acquiring a search trigger signal triggered by a user indicating that the Bluetooth headset is being searched for; A search module (20), configured to enter a Bluetooth search state in response to the search trigger signal, so as to establish a Bluetooth connection with the Bluetooth headset; An instruction sending module (30) is used to send instruction data to the Bluetooth headset when a Bluetooth connection is established with the Bluetooth headset, so as to prompt the Bluetooth headset to emit a sound to prompt the user of the location of the Bluetooth headset; The reminder module (40) is used to remind the user to find the Bluetooth headset.
22. The device for finding a Bluetooth headset in a charging compartment as claimed in claim 21, It is characterized in that In the search module (20), in the Bluetooth search state, the simulated MAC address of the Bluetooth headset is searched to establish a Bluetooth connection with the Bluetooth headset through the simulated MAC address, wherein the simulated MAC address is different from the actual MAC address of the Bluetooth headset.
23. The device for finding a Bluetooth headset in a charging compartment as claimed in claim 21, It is characterized in that In the search module (20), when establishing a Bluetooth connection with the Bluetooth headset, a Bluetooth connection is established with the Bluetooth headset via a Bluetooth HCI interface layer.
24. The device for finding a Bluetooth headset in a charging compartment according to any one of claims 21 to 23, It is characterized in that In the reminder module (40), the reminder mode is any one or any combination of a visual interface reminder, a ringing reminder and a vibration reminder.
25. A Bluetooth headset, It is characterized in that include: A processor, configured to implement the method according to any one of claims 1 to 8.
26. A Bluetooth audio system, include: The Bluetooth headset and its paired charging case are characterized in that: The Bluetooth headset has the device as described in any one of claims 15-20.
27. The Bluetooth audio system as claimed in claim 26, It is characterized in that Also includes: The mobile terminal is used for data interaction with the Bluetooth headset.
28. A mobile terminal, It is characterized in that include: A processor, configured to implement the method according to any one of claims 9 to 14.
29. A computer-readable storage medium having a computer program stored thereon, It is characterized in that The computer program stored in the storage medium is used to be executed to implement the method according to any one of claims 1 to 8 or the method according to any one of claims 9 to 14.
30. A chip for an audio device having an integrated circuit thereon, It is characterized in that The integrated circuit is designed to implement the method according to any one of claims 1-8.
Citation Information
Patent Citations
Anti-loss TWS earphone box and TWS earphone suite
CN212588482U