Bluetooth headset anti-lost method, device, system and computer-readable storage medium
The historical location data of the Bluetooth headset is obtained through the mobile terminal and the retrieval signal is transmitted to the designated area, which solves the problem of easy loss of the Bluetooth headset, achieves rapid retrieval and optimizes the user experience.
Patent Information
- Application Number
- CN202110798136.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-14
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2041-07-14
AI Technical Summary
Existing Bluetooth headsets are easy to lose and difficult to retrieve, affecting user experience.
The mobile terminal responds to the Bluetooth headset retrieval request, obtains historical location data, transmits a retrieval signal to the designated area, and determines the lost location based on the Bluetooth connection distance to achieve rapid retrieval of the Bluetooth headset.
The user experience is optimized, the success rate of retrieving Bluetooth headsets is improved, and the inconvenience of loss is reduced.
Smart Images

Figure CN113645352B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless headsets, and in particular to a Bluetooth headset anti-lost method, device, system and computer-readable storage medium. Background Art
[0002] In the prior art, with the rapid development of mobile terminal technology and chip technology, the headphone market has also achieved rapid development, and many wireless headphones have emerged. Among them, TWS (True Wireless Stereo) headphones can achieve Bluetooth left and right channel separation, and the sound quality is also significantly improved. However, due to the small size and independence of the headphone body, it is easy to lose and difficult to find Bluetooth headphones such as TWS headphones during use, resulting in a poor user experience. Summary of the invention
[0003] The main purpose of the present invention is to provide a method for preventing Bluetooth headsets from being lost, aiming to solve the technical problem in the prior art that Bluetooth headsets such as TWS headsets are easy to lose and difficult to find.
[0004] To achieve the above object, the present invention provides a Bluetooth headset anti-lost method, which is applied to a mobile terminal and includes the following contents:
[0005] In response to a Bluetooth headset retrieval request, obtaining headset historical location data stored in the mobile terminal;
[0006] Transmitting a headset retrieval signal to the location area corresponding to the headset historical location data, and establishing a Bluetooth connection with the Bluetooth headset if a Bluetooth reconnection request returned by the Bluetooth headset in response to the headset retrieval signal is received;
[0007] Detect a Bluetooth signal strength indication of the Bluetooth connection, determine a Bluetooth connection distance based on the Bluetooth signal strength indication, and determine a lost location of the headset according to the Bluetooth connection distance and the historical location information.
[0008] Wherein, before the step of responding to the Bluetooth headset retrieval request and obtaining the headset historical location data stored in the mobile terminal, the step further includes:
[0009] Receiving a positioning request sent by the Bluetooth headset, and acquiring current location data of the mobile terminal;
[0010] The historical location data of the headset stored in the mobile terminal is updated based on the current location data.
[0011] The step of responding to the Bluetooth headset retrieval request and acquiring the headset historical location data stored in the mobile terminal includes:
[0012] Determine the time data corresponding to the headset retrieval request, and extract the headset historical location data whose update time is closest to the time data.
[0013] The step of transmitting a headset retrieval signal to the location area corresponding to the headset historical location data, and if a Bluetooth reconnection request returned by the Bluetooth headset in response to the headset retrieval signal is received, establishing a Bluetooth connection with the Bluetooth headset comprises:
[0014] Sending an earphone retrieval control instruction to the earphone compartment, and controlling the earphone compartment to transmit an earphone retrieval signal in a preset direction based on the earphone retrieval control instruction;
[0015] Receive a Bluetooth reconnection request returned by the Bluetooth headset in response to the headset retrieval signal sent by the headset compartment, and establish a Bluetooth connection with the Bluetooth headset.
[0016] In addition, to achieve the above purpose, the present invention also provides another Bluetooth headset anti-lost method, which is applied to a Bluetooth headset and includes the following contents:
[0017] In response to the headset retrieval signal, a Bluetooth scanning and pairing operation is performed to determine whether there is a connectable mobile terminal;
[0018] A Bluetooth reconnection request is sent to the mobile terminal, and a Bluetooth connection is established with the mobile terminal, so that the mobile terminal obtains the Bluetooth connection distance, and determines the lost location of the headset according to the Bluetooth connection distance and the historical location data of the headset.
[0019] Wherein, before the step of receiving the headset retrieval signal, performing a Bluetooth scanning and pairing operation, and determining that there is a connectable mobile terminal, the step further includes:
[0020] When in a connected state with a mobile terminal, a positioning request is periodically sent to the mobile terminal.
[0021] Wherein, the Bluetooth headset anti-lost method also includes:
[0022] When the first sub-earphone is in a non-wearing state, obtaining a current acceleration of the first sub-earphone;
[0023] If the current acceleration falls within the gravity acceleration interval, a drop prompt signal is sent to the second sub-earphone, wherein when the second sub-earphone receives the drop prompt signal, it outputs a drop prompt according to a preset drop prompt method.
[0024] Wherein, the Bluetooth headset anti-lost method also includes:
[0025] When it is detected that the first sub-earphone is in a non-wearing state, obtaining a current acceleration of the first sub-earphone;
[0026] If the current acceleration does not fall within the gravity acceleration interval, the working state of the first sub-earphone is changed to a standby state.
[0027] In addition, to achieve the above-mentioned purpose, the present invention also provides a Bluetooth headset anti-loss device, and the Bluetooth headset retrieval device includes: a memory, a processor, and a Bluetooth headset anti-loss program stored in the memory and executable on the processor, and when the Bluetooth headset anti-loss program is executed by the processor, the steps of the above-mentioned Bluetooth headset anti-loss method are implemented.
[0028] The present invention also provides a Bluetooth headset anti-lost system, the Bluetooth headset anti-lost system comprising:
[0029] A mobile terminal, the mobile terminal being configured to establish a Bluetooth connection with a Bluetooth headset, store the headset historical location data of the Bluetooth headset, and determine the lost location of the headset when the Bluetooth headset is lost; a Bluetooth headset, the Bluetooth headset being used to transmit a positioning request to the mobile terminal at a fixed time when in a Bluetooth connection state with the mobile terminal, and to call an infrared module to transmit a dropped infrared signal to another Bluetooth headset when in a dropped state, and to receive a headset retrieval signal when a preset condition is met, to start a Bluetooth pairing process, to re-establish a Bluetooth connection with the mobile terminal, and to output a lost reminder;
[0030] An earphone compartment, the earphone compartment comprising an infrared transmitting module and an earphone retrieval button, the earphone compartment being used to charge the Bluetooth earphone, and the earphone compartment being further configured to receive an earphone retrieval control instruction and / or an earphone retrieval button pressing signal sent by a mobile terminal, and to call the infrared transmitting module to transmit an earphone retrieval signal;
[0031] The Bluetooth headset anti-lost system implements the steps of the Bluetooth headset anti-lost method as described above when executed.
[0032] The present invention also provides a computer-readable storage medium, on which a Bluetooth headset anti-loss program is stored. When the Bluetooth headset anti-loss program is executed by a processor, the steps of the Bluetooth headset anti-loss method described above are implemented.
[0033] The embodiment of the present invention proposes a method for preventing Bluetooth headsets from being lost. The method receives a positioning request sent periodically by a Bluetooth headset via a mobile terminal, obtains the headset historical location data stored in the mobile terminal, and transmits a headset retrieval signal to the location area corresponding to the headset historical location data. The Bluetooth headset responds to the headset retrieval signal and returns a Bluetooth reconnection request and outputs a loss reminder according to a preset prompt method. A Bluetooth connection is established with the Bluetooth headset, and the Bluetooth connection distance is determined by detecting the Bluetooth signal strength of the Bluetooth connection. The headset loss location is determined according to the Bluetooth connection distance and the historical location data. The lost Bluetooth headset reestablishes a Bluetooth connection with the mobile terminal after receiving the headset retrieval signal, and issues a loss reminder. The lost Bluetooth headset is quickly retrieved, and the user experience is optimized. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention;
[0035] Figure 2 A schematic diagram of a flow chart of an embodiment of the present invention;
[0036] Figure 3 A schematic diagram of a flow chart of another embodiment of the present invention;
[0037] Figure 4 A schematic diagram of a flow chart of another embodiment of the present invention;
[0038] Figure 5 A schematic diagram of a flow chart of another embodiment of the present invention;
[0039] Figure 6 A schematic diagram of a flow chart of another embodiment of the present invention;
[0040] Figure 7 It is a structural schematic diagram of the Bluetooth headset anti-lost system of the present invention.
[0041] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0042] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0043] The main solution of the embodiment of the present invention is: responding to a Bluetooth headset retrieval request, obtaining the headset historical location data stored in the mobile terminal; transmitting a headset retrieval signal to the location area corresponding to the headset historical location data, and if a Bluetooth reconnection request returned by the Bluetooth headset in response to the headset retrieval signal is received, establishing a Bluetooth connection with the Bluetooth headset; detecting a Bluetooth signal strength indication of the Bluetooth connection, determining the Bluetooth connection distance based on the Bluetooth signal strength indication, and determining the lost location of the headset according to the Bluetooth connection distance and the historical location data.
[0044] In the prior art, with the rapid development of mobile terminal technology and chip technology, the headset market has also achieved rapid development, and many wireless headsets have emerged. Among them, TWS (True Wireless Stereo) headsets can achieve Bluetooth left and right channel separation, and the sound quality is also significantly improved. However, due to the small size and independence of the headset body itself, it is easy to lose Bluetooth headsets during use, and it is difficult to find them back, resulting in a poor user experience.
[0045] The present invention provides a solution, in which a mobile terminal responds to a Bluetooth headset retrieval request, obtains headset historical location data stored in the mobile terminal, transmits a headset retrieval signal to a location area corresponding to the headset historical location data, the Bluetooth headset responds to a Bluetooth reconnection request triggered by the headset retrieval signal, establishes a Bluetooth connection with the Bluetooth headset and outputs a loss reminder according to a preset prompt mode, the mobile terminal determines the Bluetooth connection distance by detecting the Bluetooth signal strength of the Bluetooth connection, and determines the lost location of the headset according to the Bluetooth connection distance and the historical location data. The lost Bluetooth headset can be quickly retrieved and the user experience can be optimized.
[0046] Reference Figure 1 , Figure 1 The present invention is a schematic diagram of the structure of a Bluetooth headset anti-loss device in a hardware operating environment according to an embodiment of the present invention.
[0047] like Figure 1 As shown, the Bluetooth headset anti-lost device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components, the user interface 1003 may include a display screen (Display), an input unit, and the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 can be a high-speed RAM memory, or it can be a stable memory (non-volatile memory), such as a disk memory. The memory 1005 can also be a storage device independent of the aforementioned processor 1001.
[0048] Optionally, the Bluetooth headset anti-loss device may also include a tuner-demodulator, a return channel, an RF (Radio Frequency) circuit, a sensor, an audio circuit, and the like.
[0049] Those skilled in the art will understand that Figure 1 The hardware structure of the Bluetooth headset anti-lost device shown in the figure does not constitute a limitation on the Bluetooth headset anti-lost device, and may include Figure 1 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.
[0050] like Figure 1 As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module and a computer program. Among them, the operating system is a program for managing and controlling the Bluetooth headset anti-lost device application program, and supports the operation of the Bluetooth headset anti-lost device application program.
[0051] exist Figure 1 In the hardware structure of the Bluetooth headset anti-lost device shown, the network interface 1004 is mainly used to access the network; the user interface 1003 is mainly used to receive relevant operation instructions sent by the user, and the processor 1001 can be used to call the Bluetooth headset anti-lost program stored in the memory 1005 and perform the following operations:
[0052] In response to a Bluetooth headset retrieval request, obtaining headset historical location data stored in the mobile terminal;
[0053] Transmitting a headset retrieval signal to the location area corresponding to the headset historical location data, and establishing a Bluetooth connection with the Bluetooth headset if a Bluetooth reconnection request returned by the Bluetooth headset in response to the headset retrieval signal is received;
[0054] Detect a Bluetooth signal strength indication of the Bluetooth connection, determine a Bluetooth connection distance based on the Bluetooth signal strength indication, and determine a lost location of the headset according to the Bluetooth connection distance and the headset historical location data.
[0055] Further, the processor 1001 may call the Bluetooth headset anti-lost program in the memory 1005, and perform the following operations:
[0056] Receiving a positioning request sent by the Bluetooth headset, and acquiring current location data of the mobile terminal;
[0057] The historical location data of the headset stored in the mobile terminal is updated based on the current location data.
[0058] Further, the processor 1001 may call the Bluetooth headset anti-lost program in the memory 1005, and perform the following operations:
[0059] Determine the time data corresponding to the headset retrieval request, and extract the headset historical location data whose update time is closest to the time data.
[0060] Further, the processor 1001 may call the Bluetooth headset anti-lost program in the memory 1005, and perform the following operations:
[0061] Sending an earphone retrieval control instruction to the earphone compartment, and controlling the earphone compartment to transmit an earphone retrieval signal in a preset direction based on the earphone retrieval control instruction;
[0062] Receive a Bluetooth reconnection request returned by the Bluetooth headset in response to the headset retrieval signal sent by the headset compartment, and establish a Bluetooth connection with the Bluetooth headset.
[0063] Based on the above hardware structure, various embodiments of the TWS headset control method of the present invention are proposed.
[0064] Reference Figure 2 , Figure 2 The figure is a flow chart of an embodiment of a method for preventing loss of a Bluetooth headset according to the present invention.
[0065] In this embodiment, the Bluetooth headset anti-lost method includes:
[0066] Step S10: responding to the Bluetooth headset retrieval request, obtaining the headset historical location data stored in the mobile terminal;
[0067] In this embodiment, the Bluetooth headset anti-lost system includes a mobile terminal, a Bluetooth headset and a headset compartment. The mobile terminal is a smart terminal that performs Bluetooth pairing and Bluetooth connection with the Bluetooth headset, such as a mobile phone, a tablet device, etc. The Bluetooth headset can be a TWS headset or other Bluetooth headset. The headset compartment is a charging box for charging and placing the Bluetooth headset.
[0068] Specifically, the mobile terminal starts a Bluetooth connection, performs Bluetooth pairing with the Bluetooth headset, and establishes a Bluetooth connection with the Bluetooth headset after the Bluetooth pairing is successful. When the mobile terminal is in a Bluetooth connection state with the Bluetooth headset, it receives a positioning request sent by the Bluetooth headset to the mobile terminal at regular intervals. When the mobile terminal that has established a Bluetooth connection with the Bluetooth headset receives a positioning request sent by the Bluetooth headset, the mobile terminal and the Bluetooth headset are in a connected state. In actual scenarios, at this stage, the position of the mobile terminal and the position of the Bluetooth headset are approximately consistent. Therefore, when the mobile terminal receives the positioning request from the Bluetooth headset, it performs positioning based on any one of satellite positioning / base station positioning / WIFI assisted positioning / AGPS positioning to obtain the current position data of the mobile terminal. After obtaining the current position data, the mobile terminal marks the current position data as the headset historical position data and stores it in a designated storage location of the mobile terminal, wherein the positioning request is a Bluetooth signal sent by the Bluetooth headset to the Bluetooth-connected mobile terminal carrying a request to obtain the position data of the Bluetooth headset.
[0069] In this embodiment, the mobile terminal marks the current location data as the headset location data and stores it in a designated storage location. When a positioning request is subsequently received from the Bluetooth headset again, the current location data of the mobile terminal is acquired again, and the acquired current location data is updated as the headset location data and stored in the designated storage location in the mobile terminal.
[0070] Optionally, when the mobile terminal updates the earphone location data stored in the mobile terminal, the currently acquired earphone historical location data may overwrite the previous earphone historical location data; in another embodiment, the mobile terminal may also record and update the earphone historical location data in chronological order according to the chronological order of receiving the positioning request.
[0071] In this embodiment, the mobile terminal presets a preset condition that the Bluetooth headset is in a lost state. When the preset condition is met, the mobile terminal determines that the Bluetooth headset is in a lost state, reads the headset position data in the specified storage location, and outputs the headset position data.
[0072] Specifically, the preset condition includes at least one of the following: the mobile terminal receives an instruction to output the earphone position data; or the mobile terminal detects that the Bluetooth earphone is disconnected and does not receive an earphone insertion reminder transmitted by the earphone compartment.
[0073] Specifically, when the user finds that the Bluetooth headset is lost, the user inputs a Bluetooth headset retrieval request to the mobile terminal.
[0074] Specifically, when the Bluetooth headset is disconnected from the mobile terminal due to being too far away, and the mobile terminal does not receive the headset insertion reminder sent by the headset compartment that the Bluetooth headset is in the headset compartment.
[0075] When any of the above preset conditions is met, the mobile terminal determines that the Bluetooth headset is in a lost state, receives a Bluetooth headset retrieval request from the user, and responds to the Bluetooth headset retrieval request. Determine the time data corresponding to the headset retrieval request, the mobile terminal reads the headset historical location data in the specified storage location, obtains the headset historical location data with the update time closest to the time data, that is, the headset historical location data last updated by the mobile terminal, and outputs the headset historical location data last updated by the mobile terminal on the display interface. Optionally, the mobile terminal can output the headset historical location data last updated by the mobile terminal on the display interface in the form of a prompt bubble or prompt box.
[0076] Step S20: transmitting a headset retrieval signal to the location area corresponding to the headset historical location data, and establishing a Bluetooth connection with the Bluetooth headset if a Bluetooth reconnection request returned by the Bluetooth headset in response to the headset retrieval signal is received;
[0077] In this embodiment, after the mobile terminal obtains and outputs the historical location data of the headset, the user can find the Bluetooth headset according to the location area corresponding to the headset location data output by the mobile terminal. Specifically, the mobile terminal sends a headset retrieval signal and / or sends a headset retrieval control instruction to the headset compartment according to the location area pointed to by the historical location data of the headset, and controls the mobile terminal or the headset compartment to transmit the headset retrieval signal to the specified location. Specifically, the headset retrieval signal is a signal that carries the Bluetooth headset to start Bluetooth scanning and triggers the Bluetooth headset anti-lost instruction of the lost reminder. Optionally, since infrared signals have the advantages of low power consumption and long range, the headset retrieval signal can be an infrared signal.
[0078] Specifically, when the user uses a mobile terminal to establish a connection with a Bluetooth headset for the first time, if the mobile terminal is pre-installed with an infrared module, the mobile terminal is controlled to pair with the Bluetooth headset so that the mobile terminal can transmit a headset retrieval signal to the Bluetooth headset through the infrared module.
[0079] Specifically, after completing the pairing, the mobile terminal sends a headset retrieval signal at the designated location area pointed to by the headset's historical location data. If the headset retrieval signal is received by the Bluetooth headset, the headset retrieval signal can enable the Bluetooth headset to start Bluetooth scanning, generate a Bluetooth reconnection request, re-establish a Bluetooth connection with the mobile terminal, and trigger a loss reminder according to a preset prompt method.
[0080] Specifically, the mobile terminal receives a Bluetooth pairing request from the Bluetooth headset and re-establishes a Bluetooth connection with the Bluetooth headset.
[0081] Step S30: detecting a Bluetooth signal strength indication of the Bluetooth connection, determining a Bluetooth connection distance based on the Bluetooth signal strength indication, and determining a lost location of the headset according to the Bluetooth connection distance and the headset historical location data.
[0082] After establishing a Bluetooth connection with the Bluetooth headset, the mobile terminal detects a Bluetooth signal strength indication (RSSI, Received Signal Strength Indication) of the Bluetooth connection with the Bluetooth headset, and determines a connection distance with the Bluetooth headset according to the Bluetooth signal strength indication.
[0083] Optionally, in one embodiment, when the mobile terminal establishes a Bluetooth connection with the Bluetooth headset for the first time, a connection distance database is generated, and the connection distance database stores a mapping relationship between a signal strength indication of the Bluetooth connection and a connection distance, and each signal strength indication corresponds to a specific connection distance. After the mobile terminal re-establishes a Bluetooth connection with the Bluetooth headset, the mobile terminal detects the Bluetooth signal strength indication of the Bluetooth connection of the Bluetooth headset, calls the connection distance database, inputs the value of the Bluetooth signal strength indication, and obtains the connection distance associated with the signal strength indication.
[0084] Optionally, in another embodiment, the mobile terminal has a built-in formula for calculating the connection distance according to the signal strength indication of the Bluetooth connection: d=10^((abs(RSSI)-A) / (10*n)).
[0085] Wherein, d is the connection distance, RSSI is the Bluetooth signal strength indication, A is the Bluetooth signal strength indication when the connection distance between the mobile terminal and the Bluetooth headset is 1m (unit: meter), and n is the environmental attenuation factor.
[0086] Specifically, after the mobile terminal re-establishes the Bluetooth connection with the Bluetooth headset, it obtains the Bluetooth signal strength indication of the current Bluetooth connection, and calculates the Bluetooth connection distance between the mobile terminal and the Bluetooth headset according to the calculation formula of the connection distance. The mobile terminal determines the lost position of the Bluetooth headset according to the obtained Bluetooth connection distance.
[0087] In this embodiment, a headset retrieval signal is transmitted to a designated location area in the headset historical location data through a mobile terminal or a headset compartment, so that the Bluetooth headset that receives the headset retrieval signal can start Bluetooth scanning, send a Bluetooth reconnection request, and provide a lost reminder according to a preset prompt method. After receiving the Bluetooth reconnection request from the Bluetooth headset and re-establishing a Bluetooth connection with the Bluetooth headset, the mobile terminal detects the Bluetooth signal strength indication of the Bluetooth connection with the Bluetooth headset, obtains the Bluetooth connection distance with the Bluetooth headset according to the signal strength indication, and thus determines the lost location of the Bluetooth headset, thereby quickly finding the Bluetooth headset that was accidentally lost.
[0088] Reference Figure 3 , Figure 3 This is a flow chart of another embodiment of the Bluetooth headset anti-lost method of the present application.
[0089] In this embodiment, the Bluetooth headset anti-lost method further includes:
[0090] Step S01: receiving a headset retrieval signal, performing a Bluetooth scanning and pairing operation, and determining whether there is a connectable mobile terminal;
[0091] Step S21: Send a Bluetooth reconnection request to the mobile terminal, establish a Bluetooth connection with the mobile terminal, and output a loss reminder according to a preset prompt mode.
[0092] In this embodiment, after the Bluetooth headset is powered on, it starts Bluetooth scanning with the mobile terminal, sends a Bluetooth pairing request to the mobile terminal, and establishes a Bluetooth connection with the mobile terminal.
[0093] When the Bluetooth headset is connected to the mobile terminal, the Bluetooth headset sends a positioning request to the mobile terminal at a preset interval, so that the mobile terminal obtains the current location data of the mobile terminal when receiving the positioning request, and updates the headset's historical location data according to the current location data.
[0094] Optionally, the user accidentally loses the Bluetooth headset while using the Bluetooth headset. Specifically, when the Bluetooth headset is disconnected from the mobile terminal or is not worn, and the Bluetooth headset is not in the headset compartment, it is determined that the Bluetooth headset is in a lost state.
[0095] Specifically, when the Bluetooth headset is in a lost state, the user outputs a Bluetooth headset retrieval request to the mobile terminal and / or the headset compartment, and the mobile terminal and / or the headset compartment outputs a headset retrieval signal based on the Bluetooth headset retrieval request, and the Bluetooth headset receives the headset retrieval signal transmitted by the mobile terminal or the headset compartment.
[0096] Specifically, when the Bluetooth headset receives the headset retrieval signal, it responds to the headset retrieval signal. The Bluetooth headset starts Bluetooth scanning, sends a Bluetooth reconnection request to the mobile terminal within the Bluetooth scanning range, and re-establishes a Bluetooth connection with the successfully paired mobile terminal, so that the mobile terminal can detect the Bluetooth signal strength indication according to the re-established Bluetooth connection, and calculate the connection distance according to the Bluetooth signal strength indication, and determine the lost location of the Bluetooth headset.
[0097] Optionally, when the Bluetooth headset receives the headset retrieval signal, it also gives a lost reminder according to a preset reminder method. Optionally, the preset reminder method can be to generate a buzzer or other reminder sound / Bluetooth headset vibration reminder / flashing reminder.
[0098] In this embodiment, after the Bluetooth headset establishes a Bluetooth connection with the mobile terminal, it periodically sends a positioning request to the mobile terminal to store and periodically update the headset historical location data in the mobile terminal. When the Bluetooth headset is in a lost state, when the headset retrieval signal is received, the headset retrieval process is executed. The Bluetooth headset starts Bluetooth scanning, sends a Bluetooth pairing request to the mobile terminal, re-establishes the Bluetooth connection, and issues a lost reminder according to a preset prompt method, thereby effectively improving the probability of retrieval of the Bluetooth headset.
[0099] Reference Figure 4 , Figure 4 This is a flow chart of another embodiment of the Bluetooth headset anti-lost method of the present application.
[0100] Based on the above embodiment, in this embodiment, the Bluetooth headset anti-lost method further includes:
[0101] Step S40: when the first sub-earphone is not worn, obtaining a current acceleration of the first sub-earphone;
[0102] Step S50: If the current acceleration falls into the gravity acceleration interval, a drop prompt signal is sent to the second sub-earphone, wherein the second sub-earphone outputs a drop reminder when receiving the drop prompt signal.
[0103] In this embodiment, the Bluetooth headset is a TWS headset, including a first sub-earphone and a second sub-earphone. The first sub-earphone and the second sub-earphone are provided with a gravity sensing module.
[0104] Specifically, when the TWS earphone is being worn, it may accidentally fall due to its small size. Specifically, when the first sub-earphone detects that it is not being worn, the first sub-earphone calls the gravity sensing module to detect the current acceleration of the first sub-earphone.
[0105] Optionally, in order to avoid misjudgment of drop reminders and affect user experience, the TWS headset pre-sets a preset gravity acceleration range. Optionally, the preset gravity acceleration range is [9.5, 10] (unit: m / s).
[0106] When the first sub-earphone detects the current acceleration, the first sub-earphone determines whether the current acceleration falls into the gravity acceleration range. When the current acceleration falls into the gravity acceleration range, that is, when the current acceleration is approximately equal to the gravity acceleration, the first sub-earphone is determined to be in an accidental drop state, and a drop reminder is triggered.
[0107] Specifically, when the first sub-earphone is in an accidental drop state, it sends a drop prompt signal to the second sub-earphone. The second sub-earphone is a TWS sub-earphone in a worn state. When the second sub-earphone receives the drop prompt signal sent by the first sub-earphone, it outputs a drop reminder according to a preset drop prompt method. In one embodiment, the preset drop prompt method is a human voice prompt with the voice content "The earphones have fallen, please pay attention to find them back"; in another embodiment, the preset drop reminder method is a vibration reminder. Users can also customize the drop reminder method.
[0108] Optionally, the first sub-earphone may send an infrared signal carrying a drop prompt signal to the second sub-earphone through an infrared module, or may send the drop prompt signal to the second sub-earphone through a Bluetooth protocol.
[0109] In this embodiment, when the first sub-earphone is in a non-worn state, the first sub-earphone calls the gravity sensing module to detect the current acceleration and determines whether the current acceleration meets the preset conditions. When the current acceleration falls into the middle acceleration interval, a drop prompt signal is sent to the second sub-earphone, so that when the second sub-earphone receives the drop prompt signal, it outputs a drop reminder according to the drop prompt method, thereby effectively reminding the user when the TWS earphone falls, reducing the probability of losing the TWS earphone.
[0110] Reference Figure 5 , Figure 5 This is a flow chart of another embodiment of the Bluetooth headset anti-lost method of the present application.
[0111] In this embodiment, the Bluetooth headset anti-lost method also includes the following steps:
[0112] Step S41: when it is detected that the first sub-earphone is in a non-wearing state, obtaining a current acceleration of the first sub-earphone;
[0113] Step S51: if the current acceleration does not fall within the gravity acceleration range, the working state of the first sub-earphone is changed to a standby state, and the drop reminder is not triggered.
[0114] In this embodiment, the Bluetooth headset is a TWS headset, including a first sub-earphone and a second sub-earphone. The first sub-earphone and the second sub-earphone are provided with a gravity sensing module.
[0115] Specifically, when the TWS headset is being worn, it may accidentally fall due to its small size. Specifically, when the first sub-earphone detects that it is not being worn, the first sub-earphone calls the gravity sensing module to detect the current acceleration.
[0116] Optionally, in order to determine whether the TWS headset was dropped accidentally or the user took it off actively, the TWS headset is pre-set with a preset drop condition. If the preset drop condition is that the gravity sensing module detects that the current acceleration does not fall within the gravity acceleration range, it is determined that the TWS headset is in a state of being manually removed.
[0117] When the first sub-earphone obtains the current acceleration, the first sub-earphone determines whether the drop acceleration falls within the gravity acceleration range. When the current acceleration does not fall within the gravity acceleration range, that is, when the value of the current acceleration is significantly different from the value of the gravity acceleration, it is determined that the first sub-earphone is manually removed, and the working state of the first sub-earphone is changed to the standby state, and the drop reminder is not triggered.
[0118] In a specific embodiment, when a user is using a TWS headset and someone else wants to communicate with the user using the TWS headset, the user takes off the first sub-earphone to hear the other person's voice clearly, so that the first sub-earphone is in a non-worn state. The first sub-earphone detects the current acceleration and determines that the current acceleration is less than the gravity acceleration, that is, the current acceleration does not fall within the gravity acceleration range. The first sub-earphone changes the working state to the standby state, and does not trigger the drop reminder, thereby avoiding the accidental triggering of the drop reminder.
[0119] In this embodiment, when the first sub-earphone detects that it is in a non-wearing state, the current acceleration detected by the gravity sensing module of the first sub-earphone is obtained. When it is determined that the obtained current acceleration does not fall within the gravity acceleration range, it is determined that the first sub-earphone is in a state of being manually removed, and the working state of the first sub-earphone is changed to a standby state. The drop reminder is not triggered, thereby avoiding false alarms when the TWS earphones are manually removed, affecting the user experience.
[0120] Reference Figure 6 , Figure 6 This is a flow chart of another embodiment of the Bluetooth headset anti-lost method of the present application.
[0121] In this embodiment, the Bluetooth headset anti-lost method further includes the following steps:
[0122] Step S22: sending an earphone retrieval control instruction to the earphone compartment, and controlling the earphone compartment to transmit an earphone retrieval signal in a preset direction based on the earphone retrieval control instruction;
[0123] Step S23: receiving a Bluetooth reconnection request returned by the Bluetooth headset in response to the headset retrieval signal sent by the headset compartment, and establishing a Bluetooth connection with the Bluetooth headset
[0124] In this embodiment, the earphone compartment is provided with an infrared module capable of transmitting earphone retrieval signals in multiple directions and a retrieval button for triggering the infrared module to transmit the earphone retrieval signal. Optionally, in another embodiment, the user can also send an earphone retrieval control instruction to the earphone compartment based on the mobile terminal, so as to control the earphone compartment to transmit the earphone retrieval signal in a preset direction based on the earphone retrieval control instruction.
[0125] Specifically, the earphone compartment receives the earphone retrieval button pressing signal sent by the user by pressing the retrieval button or the earphone retrieval control instruction sent by the mobile terminal, and controls the infrared module to transmit the earphone retrieval signal in preset multiple directions, so that the Bluetooth earphone in a lost state responds to the earphone retrieval signal when receiving the earphone retrieval signal, starts Bluetooth scanning, and sends a Bluetooth reconnection request to the mobile terminal within the Bluetooth scanning range. When the mobile terminal receives the Bluetooth reconnection request returned by the Bluetooth earphone in response to the earphone retrieval signal sent by the earphone compartment, it establishes a Bluetooth connection with the Bluetooth earphone, and calculates the connection distance according to the reconnected Bluetooth connection, so as to quickly obtain the lost location of the Bluetooth earphone. Optionally, the Bluetooth earphone also sends a lost prompt information according to a preset prompt tone when receiving the earphone retrieval signal.
[0126] In this embodiment, an infrared module and a retrieval button are set in the earphone compartment, so that the user can press the retrieval button and / or remotely control the earphone compartment with a mobile terminal to transmit an earphone retrieval signal, thereby increasing the probability of retrieval of the Bluetooth earphone after it is lost and improving the user experience.
[0127] Reference Figure 7 , Figure 7 This is a schematic diagram of the structure of the Bluetooth headset anti-lost system of this application.
[0128] Based on the Bluetooth headset anti-lost method in the above embodiment of the present invention, this embodiment also provides a Bluetooth headset anti-lost system.
[0129] Specifically, the Bluetooth headset anti-lost system includes a Bluetooth headset 10, a mobile terminal 20 and a headset compartment 30:
[0130] A mobile terminal 20, wherein the mobile terminal 20 is configured to establish a Bluetooth connection with the Bluetooth headset 10, obtain and store the headset historical location data of the Bluetooth headset 10, and determine the headset lost location when the Bluetooth headset 10 is lost;
[0131] A Bluetooth headset 10, wherein the Bluetooth headset 10 is used to transmit a positioning request to the mobile terminal 20 at a fixed time when the Bluetooth headset 10 is in a Bluetooth connection state with the mobile terminal 20, and when the Bluetooth headset 10 is in a dropped state, the infrared module is called to transmit a dropped infrared signal to another Bluetooth headset 10, and when a preset condition is met, the headset retrieval signal is received, the Bluetooth pairing process is started, the Bluetooth connection is re-established with the mobile terminal 20, and a lost reminder is output;
[0132] The earphone compartment 30 includes an infrared transmitting module and an earphone retrieval button. The earphone compartment 30 is used to charge the Bluetooth earphone 10. The earphone compartment 30 is also configured to receive an earphone retrieval control instruction and / or an earphone retrieval button pressing signal sent by the mobile terminal 10, call the infrared transmitting module, and call the infrared transmitting module to transmit an earphone retrieval signal;
[0133] The Bluetooth headset anti-lost system in this embodiment implements any steps in the above-mentioned Bluetooth headset anti-lost method embodiments when executed.
[0134] Further optionally, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, and a Bluetooth headset anti-loss program is stored on the readable storage medium proposed in this embodiment. The stored Bluetooth headset anti-loss program can be read, interpreted and executed by a processor, thereby realizing any step of the Bluetooth headset anti-loss method in any of the above-mentioned Bluetooth headset anti-loss method embodiments.
[0135] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, drug or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, drug or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, drug or system including the element.
[0136] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0137] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present invention.
[0138] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A Bluetooth headset anti-lost method, characterized in that: Applied to a mobile terminal, the Bluetooth headset anti-lost method comprises the following steps: Upon receiving a positioning request from a Bluetooth headset, obtaining current location data of the mobile terminal, marking the current location data as headset historical location data, and storing the data in a designated storage location, wherein the positioning request is a Bluetooth signal carrying a request for obtaining location data of the Bluetooth headset sent by the Bluetooth headset to the Bluetooth-connected mobile terminal; When a preset condition is met, the Bluetooth headset is determined to be in a lost state, the headset position data in the designated storage location is read, and the headset position data is output, wherein the preset condition is that the mobile terminal detects that the Bluetooth headset is disconnected and does not receive a headset insertion reminder transmitted by the headset compartment; In response to a Bluetooth headset retrieval request, determine time data corresponding to the headset retrieval request, and extract headset historical location data stored in the mobile terminal whose update time is closest to the time data; Transmitting an earphone retrieval signal to the location area pointed to by the earphone historical location data, wherein the earphone retrieval signal is an infrared signal carrying a Bluetooth headset anti-lost instruction that controls the Bluetooth headset to start Bluetooth scanning and triggers a lost reminder; If a Bluetooth reconnection request returned by the Bluetooth headset in response to the headset retrieval signal is received, establishing a Bluetooth connection with the Bluetooth headset; Detecting a Bluetooth signal strength indication of the Bluetooth connection; Calling a connection distance database, inputting a value of the Bluetooth signal strength indication, and acquiring a connection distance associated with the Bluetooth signal strength indication; The lost location of the headset is determined according to the connection distance and the historical location data of the headset.
2. The Bluetooth headset anti-lost method according to claim 1, characterized in that: The step of transmitting a headset retrieval signal to the location area corresponding to the headset historical location data, and if a Bluetooth reconnection request returned by the Bluetooth headset in response to the headset retrieval signal is received, establishing a Bluetooth connection with the Bluetooth headset comprises: Sending an earphone retrieval control instruction to the earphone compartment, and controlling the earphone compartment to transmit an earphone retrieval signal in a preset direction based on the earphone retrieval control instruction; Receive a Bluetooth reconnection request returned by the Bluetooth headset in response to the headset retrieval signal sent by the headset compartment, and establish a Bluetooth connection with the Bluetooth headset.
3. A method for preventing Bluetooth headset from being lost, characterized in that: Applied to a Bluetooth headset, the Bluetooth headset is used in conjunction with a mobile terminal using the method according to any one of claims 1 to 2, and the Bluetooth headset anti-loss method comprises the following steps: When in a connected state with a mobile terminal, regularly sending a positioning request to the mobile terminal; In response to the headset retrieval signal, a Bluetooth scanning and pairing operation is performed to determine whether there is a connectable mobile terminal, wherein the headset retrieval signal is an infrared signal of the Bluetooth headset anti-lost instruction that carries the control Bluetooth headset to start Bluetooth scanning and triggers the lost reminder; A Bluetooth reconnection request is sent to the mobile terminal to establish a Bluetooth connection with the mobile terminal, so that after the Bluetooth connection is established with the mobile terminal, the mobile terminal obtains the Bluetooth connection distance, and determines the lost location of the headset according to the Bluetooth connection distance and the historical location data of the headset.
4. The Bluetooth headset anti-lost method according to claim 3, characterized in that: The Bluetooth headset is a TWS headset, and the TWS headset includes a first sub-earphone and a second sub-earphone. The Bluetooth headset anti-lost method further includes: When the first sub-earphone is in a non-wearing state, obtaining a current acceleration of the first sub-earphone; If the current acceleration is within a preset gravity acceleration range, a drop prompt signal is sent to the second sub-earphone, wherein the second sub-earphone outputs a drop reminder when receiving the drop prompt signal.
5. The Bluetooth headset anti-lost method according to claim 3, characterized in that: The Bluetooth headset is a TWS headset, and the TWS headset includes a first sub-earphone and a second sub-earphone. The Bluetooth headset anti-lost method further includes: When detecting that the first sub-earphone is in a non-wearing state, obtaining a current acceleration of the first sub-earphone; If the current acceleration is not within the preset gravity acceleration range, the working state of the first sub-earphone is changed to a standby state.
6. A Bluetooth headset anti-lost device, characterized in that: The Bluetooth headset anti-loss device includes a memory, a processor, and a Bluetooth headset anti-loss program stored in the memory and executable on the processor. When the processor executes the Bluetooth headset anti-loss program, the steps of the Bluetooth headset anti-loss method according to any one of claims 1 to 5 are implemented.
7. A Bluetooth headset anti-lost system, characterized in that: Including Bluetooth headset, headset compartment and mobile terminal: The mobile terminal is configured to establish a Bluetooth connection with the Bluetooth headset, obtain and store the headset historical location data of the Bluetooth headset, and determine the lost location of the headset when the Bluetooth headset is lost; The Bluetooth headset is used to transmit a positioning request to the mobile terminal at a fixed time when it is in a Bluetooth connection state with the mobile terminal, and to call the infrared module to transmit a dropped infrared signal to another Bluetooth headset when it is in a dropped state, and to receive a headset retrieval signal when a preset condition is met, to start a Bluetooth pairing process, to re-establish a Bluetooth connection with the mobile terminal, and to output a lost reminder; The earphone compartment includes an infrared transmitting module and an earphone retrieval button, the earphone compartment is used to charge the Bluetooth earphone, and the earphone compartment is also configured to receive an earphone retrieval control instruction and / or an earphone retrieval button pressing signal sent by a mobile terminal, and call the infrared transmitting module to transmit an earphone retrieval signal; When executed, the Bluetooth headset anti-loss system implements the steps of the Bluetooth headset anti-loss method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a Bluetooth headset anti-loss program, and when the Bluetooth headset anti-loss program is executed by the processor, the steps of the Bluetooth headset anti-loss method according to any one of claims 1 to 5 are implemented.
