CN111277930A - Single-ear far detection method of multi-ear Bluetooth headset and Bluetooth headset - Google Patents

Single-ear far detection method of multi-ear Bluetooth headset and Bluetooth headset Download PDF

Info

Publication number
CN111277930A
CN111277930A CN202010147522.XA CN202010147522A CN111277930A CN 111277930 A CN111277930 A CN 111277930A CN 202010147522 A CN202010147522 A CN 202010147522A CN 111277930 A CN111277930 A CN 111277930A
Authority
CN
China
Prior art keywords
bluetooth headset
link state
state information
bluetooth
ear
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010147522.XA
Other languages
Chinese (zh)
Other versions
CN111277930B (en
Inventor
周灵
陈龙
汪艳平
赵伟亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202010147522.XA priority Critical patent/CN111277930B/en
Publication of CN111277930A publication Critical patent/CN111277930A/en
Application granted granted Critical
Publication of CN111277930B publication Critical patent/CN111277930B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1016Earpieces of the intra-aural type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a single-ear far detection method of a multi-ear Bluetooth headset and the Bluetooth headset. The method comprises the steps of acquiring first link state information indicating a link state of a first Bluetooth headset connected with a terminal device and second link state information indicating a link state of the first Bluetooth headset connected with a second Bluetooth headset in real time, and determining whether the multi-ear Bluetooth headset has a Bluetooth headset far away from a single ear or not according to the first link state information and at least one piece of second link state information, so that whether the multi-ear Bluetooth headset has one Bluetooth headset far away from the terminal device and other Bluetooth headsets can be detected accurately in time, and a technical basis is provided for further solving the problem that the audio quality of the Bluetooth headset is reduced due to the fact that the single ear is far away.

Description

Single-ear far detection method of multi-ear Bluetooth headset and Bluetooth headset
Technical Field
The application relates to the technical field of communication, in particular to a single-ear far detection method of a multi-ear Bluetooth headset and the Bluetooth headset.
Background
The use of bluetooth headsets is more and more popular for users because they can avoid the wire being involved and can carry out voice interaction such as talking and listening to music in various ways.
At present, the bluetooth headset is divided into a single-ear bluetooth headset and a multi-ear bluetooth headset according to the different quantity of the headset, wherein the multi-ear bluetooth headset has more than two bluetooth headsets, and after the multi-ear bluetooth headset is connected with a terminal device, voice interaction is carried out with the same terminal device through the multiple bluetooth headsets. In this scenario, if one of the bluetooth headsets is far away from the terminal device and the other bluetooth headsets in normal communication with the terminal device, the multi-ear bluetooth headset disconnects the far bluetooth headset after the connection link between the far bluetooth headset and the other bluetooth headsets has data transmission timeout.
However, in the prior art, in the process of disconnecting the remote bluetooth headset after the remote bluetooth headset is far away, the communication quality between the bluetooth headsets is reduced due to the remote bluetooth headset, so that the communication quality between the whole multi-ear bluetooth headset and the terminal device is reduced, and therefore, the audio jamming or silence occurs, the performance of the headset is reduced, and great influence is brought to the user experience.
Disclosure of Invention
The application provides a single-ear far detection method of a multi-ear Bluetooth headset and the Bluetooth headset, which can detect the state that one Bluetooth headset is far away from terminal equipment and other Bluetooth headsets in the multi-ear Bluetooth headset in use in real time.
In a first aspect, an embodiment of the present application provides a method for detecting a single-ear distance of a multi-ear bluetooth headset, where the method is applied to a first bluetooth headset in the multi-ear bluetooth headset, where the first bluetooth headset is connected to a terminal device and at least one second bluetooth headset through bluetooth links, respectively, and the method includes:
acquiring first link state information and at least one second link state information, wherein the first link state information indicates a link state of a Bluetooth link between the first Bluetooth headset and the terminal device, and the second link state information indicates a link state of a Bluetooth link between the first Bluetooth headset and the second Bluetooth headset;
and determining whether the multi-ear Bluetooth headset has a Bluetooth headset far away from one ear or not according to the first link state information and the at least one second link state information.
In a second aspect, an embodiment of the present application provides a bluetooth headset, including:
an obtaining module, configured to obtain first link state information and at least one second link state information, where the first link state information indicates a link state of a bluetooth link between the first bluetooth headset and the terminal device, and the second link state information indicates a link state of a bluetooth link between the first bluetooth headset and the second bluetooth headset;
and the processing module is used for determining whether the multi-ear Bluetooth headset has a Bluetooth headset far away from a single ear or not according to the first link state information and the at least one second link state information.
In a third aspect, an embodiment of the present application provides a bluetooth headset, including: a memory and a processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored by the memory such that the processor performs the method of monaural distant detection of a multi-ear bluetooth headset according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a multi-ear bluetooth headset, including: at least two Bluetooth headsets connected by a Bluetooth link;
at least one of the at least two bluetooth headsets comprises a bluetooth headset according to the third aspect.
In a fifth aspect, an embodiment of the present application provides a storage medium, including: a readable storage medium and a computer program for implementing the method of single-ear distance detection for a multi-ear bluetooth headset of the first aspect.
According to the embodiment of the application, the first link state information indicating the link state of the first Bluetooth headset connected with the terminal equipment and the second link state information indicating the link state of the first Bluetooth headset connected with the second Bluetooth headset are acquired in real time, and whether the Bluetooth headset far away from a single ear exists in the multi-ear Bluetooth headset is determined according to the first link state information and the at least one second link state information, so that whether the multi-ear Bluetooth headset exists in the multi-ear Bluetooth headset and is kept away from the terminal equipment and other Bluetooth headsets can be detected timely and accurately, and a technical basis is provided for further solving the problem that the audio quality of the Bluetooth headset is reduced due to the fact that the single ear is far away.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for detecting a single-ear distance of a multi-ear bluetooth headset according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another method for detecting a single-ear distance of a multi-ear bluetooth headset according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another method for detecting a single-ear distance of a multi-ear bluetooth headset according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of another method for detecting a single-ear distance of a multi-ear bluetooth headset according to an embodiment of the present disclosure;
fig. 6 is a schematic flowchart of another method for detecting a single-ear distance of a multi-ear bluetooth headset according to an embodiment of the present disclosure;
fig. 7 is a schematic flowchart of another method for detecting a single-ear distance of a multi-ear bluetooth headset according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a bluetooth headset according to an embodiment of the present application;
fig. 9 is a schematic diagram of a hardware structure of a bluetooth headset according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
First, a scenario in which the embodiment of the present application is applied will be briefly described. The Bluetooth headset applies the Bluetooth technology to a hands-free headset, and can freely carry out audio interaction such as conversation or music listening in various modes by establishing Bluetooth connection with terminal equipment. A multi-ear Bluetooth earphone is an earphone device comprising at least two Bluetooth earphones, one of the Bluetooth earphones is connected with a terminal device through a Bluetooth link for audio transmission, the Bluetooth earphones are connected through the Bluetooth link for audio transmission, the multiple Bluetooth earphones can work cooperatively, after the Bluetooth connection is established with the terminal device, the same user can listen to the same source audio by two ears by using the multi-ear Bluetooth earphones, or a plurality of users listen to the same source audio simultaneously, when the multi-ear Bluetooth earphones are used, the situation that the Bluetooth earphones are separated inevitably occurs, for example, one of the users is far away from other users and the terminal device, or the user uses one of the Bluetooth earphones to remove the Bluetooth earphone from the terminal device, because one of the multi-ear Bluetooth earphones is far away from the terminal device and other Bluetooth earphones (hereinafter, the scene is far away from one ear) The communication quality of the bluetooth link between the bluetooth headsets will be reduced, so that the situation of stutter or even silence occurs during audio playing due to audio transmission delay, and the voice quality is poor when the bluetooth headset far away from a single ear is far away until the bluetooth headset is disconnected from the terminal equipment or other bluetooth headsets.
Just because there is no effective detection method for the bluetooth headset far away from the single ear, the problem that the voice quality is poor when the bluetooth headset is far away from the single ear cannot be avoided, and therefore, in the embodiment of the application, in view of the above scenario, by detecting the state of the bluetooth link between the bluetooth headsets and the state of the bluetooth link between the bluetooth headset and the terminal device in real time, it is effectively identified whether there is a bluetooth headset far away from the single ear in the multi-ear bluetooth headset.
The embodiment of the present application can be applied to the scene of detecting the single-ear distance of the multi-ear bluetooth headset, and is specifically described with reference to the following embodiments.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application, and as shown in fig. 1, a multi-ear bluetooth headset 10 includes a first bluetooth headset 11 and at least one second bluetooth headset 12, where the first bluetooth headset 11 is any one of the multi-ear bluetooth headsets, and the first bluetooth headset 11 is connected to a terminal device 20 and the at least one second bluetooth headset 12 through bluetooth links, respectively.
After the multi-ear Bluetooth headset establishes Bluetooth connection with the terminal equipment 20, the first Bluetooth headset 11 and the terminal equipment 20 can directly perform audio interaction; at least one second bluetooth headset 12 establishes bluetooth connection with the first bluetooth headset 11 to realize cooperative work, and performs audio interaction with the terminal device 20 through the first bluetooth headset 11.
As an example, during use of the multi-ear bluetooth headset, the first bluetooth headset 11 is coupled with the terminal device 20, and the first bluetooth headset 11 continuously transmits audio data packets with at least one second bluetooth headset, the first bluetooth headset 11 can obtain the link status of the bluetooth link between the first bluetooth headset and the terminal device according to the audio data packets transmitted with the terminal device 20, i.e., first link state information, and similarly, the first bluetooth headset 11 transmits, based on audio data packets communicated with each second bluetooth headset 12, the link status of the bluetooth link between the first bluetooth headset 12 and each second bluetooth headset 12 may be obtained, i.e., the second link state information, the first bluetooth headset 11 may transmit, based on the first link state information and the second link state information, and identifying whether the multi-ear Bluetooth headset has a Bluetooth headset far away from a single ear in the using process.
The following describes a method for detecting a single-ear distance of a multi-ear bluetooth headset according to several embodiments.
Fig. 2 is a schematic flowchart of a method for detecting a single-ear distance of a multi-ear bluetooth headset according to an embodiment of the present application, and with reference to fig. 2, the method includes:
s1: first link state information and at least one second link state information are obtained.
The first link state information indicates a link state of a Bluetooth link between the first Bluetooth headset and the terminal device, and the second link state information indicates a link state of a Bluetooth link between the first Bluetooth headset and the second Bluetooth headset.
Since the link status of the bluetooth link can reflect the distance between the two connected devices, the embodiment needs to first detect the link status of the bluetooth link associated with the first bluetooth headset. In this step, the first bluetooth headset acquires first link state information and at least one second link state information respectively in order to detect a link state of a bluetooth link connected to the terminal device and a link state of a bluetooth link connected to each second bluetooth headset.
Optionally, the first link state information includes a Received Signal Strength Indication (RSSI), or the first link state information includes the RSSI and a packet reception success rate Rv.
Optionally, the second link state information includes RSSI, or the second link state information includes RSSI and packet reception success rate Rv.
For example, the first bluetooth headset may read the RSSI in the data packets sent by the end device, and similarly, the first bluetooth headset may read the RSSI in the data packets sent by each of the second bluetooth headsets.
For example, the first bluetooth headset may count the success rate of receiving the data packet sent by the terminal device in a unit time, and similarly, the first bluetooth headset may count the success rate of receiving the data packet sent by each second bluetooth headset in a unit time.
S2: and determining whether the multi-ear Bluetooth headset has a Bluetooth headset far away from one ear or not according to the first link state information and the at least one second link state information.
In this step, the first bluetooth headset may determine whether a distance between the first bluetooth headset and the terminal device exceeds a preset distance according to the first link state information, and may determine whether a distance between the first bluetooth headset and the at least one second bluetooth headset exceeds the preset distance according to each second link state information. As an example, if the distance between the first bluetooth headset and the terminal device exceeds a preset distance, and the distance between the first bluetooth headset and each second bluetooth headset exceeds the preset distance, it is determined that the first bluetooth headset is a single-ear far headset, that is, there is a bluetooth headset with a single-ear far away in a multi-ear bluetooth headset; as another example, if the distance between the first bluetooth headset and the terminal device does not exceed the preset distance, and the distance between the first bluetooth headset and one of the at least one second bluetooth headset exceeds the preset distance, it is determined that the second bluetooth headset is a bluetooth headset far away from one ear, that is, there is a bluetooth headset far away from one ear in the multi-ear bluetooth headset.
In order to detect whether a Bluetooth headset far away from a single ear exists in a multi-ear Bluetooth headset timely and accurately, first link state information indicating a link state of a first Bluetooth headset connected with a terminal device and second link state information indicating a link state of the first Bluetooth headset connected with a second Bluetooth headset are acquired in real time, and whether the multi-ear Bluetooth headset has the Bluetooth headset far away from the single ear is determined according to the first link state information and the at least one second link state information, so that the detection of the scene far away from the single ear is realized, and a technical basis is provided for further avoiding audio quality reduction caused by the fact that the single ear is far away from the multi-ear Bluetooth headset.
In the process of determining whether a bluetooth headset with a single ear distance exists in a multi-ear bluetooth headset according to the first link state information and the at least one second link state information, which is exemplarily implemented by the steps shown in fig. 3, fig. 3 is a flowchart illustrating a single ear distance detection method for a multi-ear bluetooth headset according to an embodiment of the present application:
s21: and determining whether the distance between the first Bluetooth headset and the terminal equipment exceeds a preset distance or not according to the first link state information.
It should be understood that the first link state information indicates that the link state of the bluetooth link between the first bluetooth headset and the terminal device can reflect the distance between the first bluetooth headset and the terminal device, for example, when the first link state information includes RSSI, the distance between the first bluetooth headset and the terminal device can be calculated according to the RSSI, in this step, according to the first link state information, it is determined that the distance between the first bluetooth headset and the terminal device may be a numerical value or a range.
If the distance between the first bluetooth headset and the terminal device exceeds the preset distance, it needs to determine whether the first bluetooth headset is away from the second bluetooth headset according to the second link state information, specifically, in step S22, it determines whether the first bluetooth headset is a bluetooth headset away from a single ear according to the second link state information.
If the distance between the first bluetooth headset and the terminal device is less than or equal to the preset distance, the first bluetooth headset is not a bluetooth headset far from one ear, and it needs to further confirm whether there is a bluetooth headset far from one ear in at least one second bluetooth headset connected to the first bluetooth headset, specifically, in step S23, it is determined whether there is a bluetooth headset far from one ear in the second bluetooth headset according to the second link state information.
In the embodiment of the application, the first bluetooth headset firstly determines whether the first bluetooth headset is far away from the terminal equipment according to the first link state information, and further determines whether the first bluetooth headset is a terminal equipment far away from a single ear according to the second link state information after determining that the first bluetooth headset is far away from the terminal equipment, namely whether the first bluetooth headset is far away from the second bluetooth headset; or after determining that the Bluetooth headset is not far away from the terminal equipment, continuously judging whether the Bluetooth headset with a single ear far away exists in at least one second Bluetooth headset according to the second link state information, and realizing the detection of the single ear far away state of each Bluetooth headset in the multi-ear Bluetooth headset.
In order to obtain an accurate detection result, the first link state information includes RSSI. Fig. 4 or fig. 5 is a schematic flowchart of another method for detecting a single-ear distance of a multi-ear bluetooth headset according to an embodiment of the present application.
Referring to fig. 4 and 5, when the first link state information includes RSSI, determining whether a distance between the first bluetooth headset and the terminal device exceeds a preset distance according to the first link state information includes:
s211-1: it is determined whether the RSSI of the first link state information is less than a first preset threshold.
S211-2: and if the RSSI of the first link state information is smaller than a first preset threshold value, determining that the distance between the first Bluetooth earphone and the terminal equipment exceeds a preset distance.
S211-3: and if the RSSI of the first link state information is greater than or equal to a first preset threshold value, determining that the distance between the first Bluetooth headset and the terminal equipment is less than or equal to a preset distance.
Step S211-1 to step S211-3 determine whether the distance between the first bluetooth headset and the terminal device exceeds a preset distance by comparing the RSSI in the first link state information with a first preset threshold, specifically, determine that the first bluetooth headset is away from the terminal device when the RSSI value is smaller than the first preset threshold, and determine that the first bluetooth headset is not away from the terminal device when the RSSI value is greater than or equal to the first preset threshold, so as to perform normal audio interaction.
Based on the above process, in the embodiment of the present application, it is necessary to continuously determine whether the multi-ear bluetooth headset has a bluetooth headset far away from a single ear according to the second link state information.
Illustratively, as shown in fig. 4, the second link state information is set to include RSSI. If the distance between the first Bluetooth earphone and the terminal equipment is determined to exceed the preset distance, whether the first Bluetooth earphone is a Bluetooth earphone far away from one ear is determined according to the second link state information, and the method comprises the following steps:
s221-1: and determining whether the RSSI of each second link state information is smaller than a third preset threshold value.
S221-2: and if the RSSI of each piece of second link state information is smaller than a third preset threshold value, the first Bluetooth earphone is a Bluetooth earphone far away from one ear.
S221-3: otherwise, the first Bluetooth headset is not a Bluetooth headset far away from the single ear.
In steps S221-1 to S221-3, whether the distance between the first bluetooth headset and each second bluetooth headset exceeds the preset distance is determined by comparing the RSSI of each second link state information with a third preset threshold, and if the RSSI of each second link state information is smaller than the third preset threshold, the first bluetooth headset is far away from the terminal device and also from each second bluetooth headset, so that it is determined that the first bluetooth headset is a bluetooth headset far away from one ear, and if the RSSI of each second link state information is not smaller than the third preset threshold, the first bluetooth headset is not far away from each second bluetooth headset and is not a bluetooth headset far away from one ear. Therefore, the detection result of whether the first Bluetooth headset is a Bluetooth headset far away from one ear is obtained.
Further, if it is determined that the distance between the first bluetooth headset and the terminal device is less than or equal to the preset distance, determining whether a bluetooth headset far away from one ear exists in the second bluetooth headset according to the second link state information, including:
s231-1: and determining whether one RSSI of all the RSSI of the second link state information is greater than or equal to a third preset threshold value.
S231-2: if one RSSI in the RSSIs of all the second link state information is larger than or equal to a third preset threshold value, a Bluetooth headset far away from one ear exists in at least one second Bluetooth headset.
S231-3: otherwise, no bluetooth headset far away from one ear exists in the at least one second bluetooth headset.
In steps S231-1 to S231-3, by comparing the RSSI of each second link status information with a third preset threshold, it is determined whether only one RSSI of all the RSSIs is greater than or equal to the third preset threshold, if so, a single-ear far exists in the second bluetooth headset corresponding to the RSSI, that is, a bluetooth headset with a single-ear far exists in at least one second bluetooth headset, otherwise, no single-ear far exists in any second bluetooth headset.
Optionally, in general, since the transmission power of the terminal device is stronger than that of the bluetooth headset, the communication quality between the first bluetooth headset and the terminal device is stronger than that between the first bluetooth headset and the second bluetooth headset at the same distance, and therefore, the third preset threshold may be set to be smaller than the first preset threshold.
In this embodiment, it is set that the first link state information and the second link state information are both RSSI, and whether the first bluetooth headset is a bluetooth headset far away from a single ear or whether a bluetooth headset far away from a single ear exists in at least one second bluetooth is detected by comparing the first link state information with a first preset threshold, the second link state information with a third preset threshold, respectively.
In the embodiment shown in fig. 5, in order to improve the detection accuracy, in this embodiment, a packet reception success rate Rv is added as the second link state information of this embodiment, where the second link state information includes RSSI and Rv, and can more accurately reflect the communication quality between the bluetooth headsets. If the distance between the first Bluetooth earphone and the terminal equipment is determined to exceed the preset distance, whether the first Bluetooth earphone is a Bluetooth earphone far away from one ear is determined according to the second link state information, and the method comprises the following steps:
s222-1: and determining whether the RSSI of each piece of second link state information is smaller than a third preset threshold value and each Rv is smaller than a fourth preset threshold value.
S222-2: if the RSSI of each piece of second link state information is smaller than a third preset threshold value and each Rv is smaller than a fourth preset threshold value, the first Bluetooth earphone is a Bluetooth earphone far away from one ear;
s222-3: otherwise, the first Bluetooth headset is not a Bluetooth headset far away from the single ear.
Further, if it is determined that the distance between the first bluetooth headset and the terminal device is less than or equal to the preset distance, determining whether a bluetooth headset far away from one ear exists in the second bluetooth headset according to the second link state information, including:
s232-1: and determining whether one RSSI in the RSSIs of all the second link state information is greater than or equal to a third preset threshold value and the corresponding Rv is greater than or equal to a fourth preset threshold value.
S232-2: if one RSSI is greater than or equal to a third preset threshold value in the RSSIs of all the second link state information, and the corresponding Rv is greater than or equal to a fourth preset threshold value, a Bluetooth headset far away from one ear exists in at least one second Bluetooth headset.
S232-3: otherwise, no Bluetooth headset far away from the single ear exists in the at least one second Bluetooth headset.
In this embodiment, the first link state information is set as RSSI, the second link state information is set as RSSI and Rv, and whether the first bluetooth headset is a bluetooth headset far away from a single ear or whether a bluetooth headset far away from a single ear exists in at least one second bluetooth is detected by comparing the first link state information with a first preset threshold, the second link state information with a third preset threshold and a fourth preset threshold, respectively.
In order to obtain a more accurate detection result, the embodiment of the application sets the first link state information to include RSSI and Rv, and can more accurately reflect the communication quality between the first bluetooth headset and the terminal device. Fig. 6 or fig. 7 is a schematic flowchart of another method for detecting a single-ear distance of a multi-ear bluetooth headset according to an embodiment of the present application.
As shown in fig. 6 and 7, when the first link state information includes RSSI and Rv, determining whether the distance between the first bluetooth headset and the terminal device exceeds a preset distance according to the first link state information includes:
s212-1: determining whether the RSSI of the first link state information is less than a first preset threshold and Rv is less than a second preset threshold.
S212-2: and if the RSSI of the first link state information is smaller than a first preset threshold value and the Rv is smaller than a second preset threshold value, determining that the distance between the first Bluetooth headset and the terminal equipment exceeds a preset distance.
S212-3: otherwise, determining that the distance between the first Bluetooth headset and the terminal equipment is smaller than or equal to a preset distance.
Step S212-1 to step S212-3 determine whether the distance between the first bluetooth headset and the terminal device exceeds a preset distance by comparing the RSSI in the first link state information with the first preset threshold and the Rv in the first link state information with the second preset threshold, specifically, when the RSSI value is smaller than the first preset threshold and the Rv is smaller than the second preset threshold, it is determined that the first bluetooth headset is away from the terminal device, otherwise, it is determined that the first bluetooth headset is not away from the terminal device, and normal audio interaction can be performed.
Based on the above process, in the embodiment of the present application, it is necessary to continuously determine whether the multi-ear bluetooth headset has a bluetooth headset far away from a single ear according to the second link state information.
For example, as shown in fig. 6, the second link status information is set to include RSSI. If the distance between the first Bluetooth earphone and the terminal equipment is determined to exceed the preset distance, whether the first Bluetooth earphone is a Bluetooth earphone far away from one ear is determined according to the second link state information, and the method comprises the following steps:
s223-1: and determining whether the RSSI of each second link state information is smaller than a third preset threshold value.
S223-2: and if the RSSI of each piece of second link state information is smaller than a third preset threshold value, the first Bluetooth earphone is a Bluetooth earphone far away from one ear.
S223-3: otherwise, the first Bluetooth headset is not a Bluetooth headset far away from the single ear.
The specific implementation process of this embodiment is similar to step S221-1 to step S221-3, and is not described herein again.
Further, if it is determined that the distance between the first bluetooth headset and the terminal device is less than or equal to the preset distance, determining whether a bluetooth headset far away from one ear exists in the second bluetooth headset according to the second link state information, including:
s233-1: and determining whether one RSSI of all the RSSI of the second link state information is greater than or equal to a third preset threshold value.
S233-2: if one RSSI in the RSSIs of all the second link state information is larger than or equal to a third preset threshold value, a Bluetooth headset far away from one ear exists in at least one second Bluetooth headset.
S233-3: otherwise, no bluetooth headset far away from one ear exists in the at least one second bluetooth headset.
The specific implementation process of this embodiment is similar to steps S231-1 to S231-3, and is not described herein again.
Generally, since the transmission power of the terminal device is stronger than that of the bluetooth headset, and the communication quality between the first bluetooth headset and the terminal device is stronger than that between the first bluetooth headset and the second bluetooth headset at the same distance, the third preset threshold may be set to be smaller than the first preset threshold, and similarly, the fourth preset threshold may be set to be smaller than the second preset threshold.
In the embodiment shown in fig. 7, in order to improve the detection accuracy, in this embodiment, a packet reception success rate Rv is added as the second link state information of this embodiment, where the second link state information includes RSSI and Rv, and can more accurately reflect the communication quality between the bluetooth headsets. If the distance between the first Bluetooth earphone and the terminal equipment is determined to exceed the preset distance, whether the first Bluetooth earphone is a Bluetooth earphone far away from one ear is determined according to the second link state information, and the method comprises the following steps:
s224-1: and determining whether the RSSI of each piece of second link state information is smaller than a third preset threshold value and each Rv is smaller than a fourth preset threshold value.
S224-2: if the RSSI of each piece of second link state information is smaller than a third preset threshold value and each Rv is smaller than a fourth preset threshold value, the first Bluetooth earphone is a Bluetooth earphone far away from one ear;
s224-3: otherwise, the first Bluetooth headset is not a Bluetooth headset far away from the single ear.
The specific implementation process of this embodiment is similar to steps S222-1 to S222-3, and is not described herein again.
Further, if it is determined that the distance between the first bluetooth headset and the terminal device is less than or equal to the preset distance, determining whether a bluetooth headset far away from one ear exists in the second bluetooth headset according to the second link state information, including:
s234-1: and determining whether one RSSI in the RSSIs of all the second link state information is greater than or equal to a third preset threshold value and the corresponding Rv is greater than or equal to a fourth preset threshold value.
S234-2: if one RSSI is greater than or equal to a third preset threshold value in the RSSIs of all the second link state information, and the corresponding Rv is greater than or equal to a fourth preset threshold value, a Bluetooth headset far away from one ear exists in at least one second Bluetooth headset.
S234-3: otherwise, no Bluetooth headset far away from the single ear exists in the at least one second Bluetooth headset.
Fig. 8 is a schematic structural diagram of a bluetooth headset according to an embodiment of the present application, and as shown in fig. 8, the bluetooth headset 10 includes:
an obtaining module 11, configured to obtain first link state information and at least one second link state information, where the first link state information indicates a link state of a bluetooth link between the first bluetooth headset and the terminal device, and the second link state information indicates a link state of a bluetooth link between the first bluetooth headset and the second bluetooth headset;
a processing module 12, configured to determine whether there is a bluetooth headset far away from a single ear in the multi-ear bluetooth headset according to the first link state information and the at least one second link state information.
The bluetooth device 10 provided in this embodiment includes an obtaining module 11 and a processing module 12, in order to detect whether there is a bluetooth headset far away from a single ear in a multi-ear bluetooth headset timely and accurately, obtain first link state information indicating a link state where a first bluetooth headset is connected to a terminal device and second link state information indicating a link state where the first bluetooth headset is connected to a second bluetooth headset in real time, and determine whether there is a bluetooth headset far away from a single ear in a multi-ear bluetooth headset according to the first link state information and the at least one second link state information, thereby realizing detection of a scene where a single ear is far away from a single ear, and providing a technical basis for further avoiding audio quality degradation caused by the single ear being far away from the single ear.
In one possible design, the processing module 12 is specifically configured to:
determining whether the distance between the first Bluetooth headset and the terminal equipment exceeds a preset distance or not according to the first link state information;
if the distance between the first Bluetooth earphone and the terminal equipment exceeds a preset distance, determining whether the first Bluetooth earphone is a Bluetooth earphone far away from one ear or not according to the second link state information;
and if the distance between the first Bluetooth earphone and the terminal equipment is smaller than or equal to a preset distance, determining whether a Bluetooth earphone far away from a single ear exists in the second Bluetooth earphone according to the second link state information.
In one possible design, the first link state information includes a received signal strength indication, RSSI;
the processing module 12 is specifically configured to:
if the RSSI of the first link state information is smaller than a first preset threshold value, determining that the distance between the first Bluetooth headset and the terminal equipment exceeds a preset distance;
otherwise, determining that the distance between the first Bluetooth headset and the terminal equipment is smaller than or equal to a preset distance.
In one possible design, the second link state information includes RSSI;
the processing module 12 is specifically configured to:
if the RSSI of each piece of second link state information is smaller than a third preset threshold value, the first Bluetooth headset is a Bluetooth headset far away from one ear;
otherwise, the first Bluetooth earphone is not a Bluetooth earphone far away from the single ear.
In one possible design, the processing module is specifically configured to:
if one RSSI in the RSSIs of all the second link state information is greater than or equal to a third preset threshold value, a Bluetooth earphone far away from one ear exists in the at least one second Bluetooth earphone;
otherwise, no Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset.
In one possible design, the second link state information includes RSSI and packet reception success rate Rv;
the processing module 12 is specifically configured to:
if the RSSI of each piece of second link state information is smaller than a third preset threshold value and each Rv is smaller than a fourth preset threshold value, the first Bluetooth headset is a Bluetooth headset far away from one ear;
otherwise, the first Bluetooth earphone is not a Bluetooth earphone far away from the single ear.
In one possible design, the processing module 12 is specifically configured to:
if one RSSI is greater than or equal to a third preset threshold value and the corresponding Rv is greater than or equal to a fourth preset threshold value in the RSSIs of all the second link state information, a Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset;
otherwise, no Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset.
Optionally, the third preset threshold is smaller than the first preset threshold.
In one possible design, the first link state information may include a Received Signal Strength Indication (RSSI) and a packet reception success rate (Rv);
the processing module 12 is specifically configured to:
if the RSSI of the first link state information is smaller than a first preset threshold value and the Rv of the first link state information is smaller than a second preset threshold value, determining that the distance between the first Bluetooth headset and the terminal equipment exceeds a preset distance;
otherwise, determining that the distance between the first Bluetooth headset and the terminal equipment is smaller than or equal to a preset distance.
In one possible design, the second link state information includes RSSI;
the processing module 12 is specifically configured to:
if the RSSI of each second link state information is smaller than a first preset threshold value, the first Bluetooth headset is a Bluetooth headset far away from one ear;
otherwise, the first Bluetooth earphone is not a Bluetooth earphone far away from the single ear.
In one possible design, the processing module 12 is specifically configured to:
if one RSSI in the RSSIs of all the second link state information is greater than or equal to a third preset threshold value, a Bluetooth earphone far away from one ear exists in the at least one second Bluetooth earphone;
otherwise, no Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset.
In one possible design, the second link state information includes RSSI and packet reception success rate Rv;
the processing module 12 is configured to:
if the RSSI of each piece of second link state information is smaller than a third preset threshold value and the Rv of each piece of second link state information is smaller than a fourth preset threshold value, the first Bluetooth headset is a Bluetooth headset far away from a single ear;
otherwise, the first Bluetooth earphone is not a Bluetooth earphone far away from the single ear.
In one possible design, the processing module 12 is specifically configured to:
if one RSSI is greater than or equal to a third preset threshold value and the corresponding Rv is greater than or equal to a fourth preset threshold value in the RSSIs of all the second link state information, a Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset;
otherwise, no Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset.
Optionally, the third preset threshold is smaller than the first preset threshold.
Optionally, the fourth preset threshold is smaller than the second preset threshold.
The bluetooth headset provided in the above embodiment may implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 9 is a schematic diagram of a hardware structure of a bluetooth headset according to an embodiment of the present application. As shown in fig. 9, in general, the bluetooth headset 600 includes: a processor 601 and a memory 602.
The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 601 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 601 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 602 is used to store at least one instruction for execution by processor 601 to implement the method of monaural distance detection for a multi-ear bluetooth headset provided by method embodiments herein.
In some embodiments, the bluetooth headset 600 may further optionally include: a peripheral interface 603 and at least one peripheral. The processor 601, memory 602, and peripheral interface 603 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 604, a status indicator light 605, a switch unit 606, an audio circuit 607, a positioning component 608 and a power supply 609.
The peripheral interface 603 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 601 and the memory 602. In some embodiments, the processor 601, memory 602, and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 601, the memory 602, and the peripheral interface 603 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 604 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 604 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 604 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 604 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 604 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: bluetooth communication network, metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area network, and/or WiFi (Wireless Fidelity) network. In some embodiments, the rf circuit 604 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The status indicator light 605 is used for flashing and prompting according to the detected incoming call information, the detected status of the bluetooth headset and the received control instruction. In practical application, the user may set the on/off, vibration frequency, vibration amplitude, and the like of the status indicator light 605 according to actual requirements, and may set to detect that the above-mentioned part of information flickers, or detect that each of the above-mentioned information flickers, so as to play a role of prompting.
The switch unit 606 is used for controlling the bluetooth headset to be turned on and off. Alternatively, the switch unit 606 may include a key, and the processor 601 controls the bluetooth headset to be turned on or off by receiving a control instruction input by the user through the switch unit 606, where the key may be a physical key or a virtual key, and the virtual key is displayed through a display interface of the bluetooth headset 600 or associated with a touch position set by the bluetooth headset 600.
The audio circuit 607 may include an audio input module and an audio output module. The audio input module includes a microphone, and is configured to collect sound waves of a user and an environment, convert the sound waves into electrical signals, and input the electrical signals to the processor 601 for processing, or input the electrical signals to the radio frequency circuit 604 for voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different positions of the bluetooth headset 600. The microphone may also be an array microphone or an omni-directional pick-up microphone. The audio output module is used to convert the electrical signal from the processor 601 or the radio frequency circuit 604 into sound waves.
The positioning component 608 is used to locate the current geographic location of the bluetooth headset 600 to implement navigation or LBS (location based Service). The positioning component 608 can be a positioning component based on the GPS (global positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
The power supply 609 is used to power the various components in the bluetooth headset 600. The power supply 609 may be ac, dc, disposable or rechargeable. When the power supply 609 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in fig. 9 does not constitute a limitation of bluetooth headset 600, and may include more or fewer components than shown, or combine certain components, or employ a different arrangement of components.
The embodiment of the application provides a many ears bluetooth headset, includes: at least two bluetooth headsets connected by a bluetooth link, and at least one of the at least two bluetooth headsets includes a bluetooth headset as described in the embodiment shown in fig. 9.
The embodiments of the present application further provide a non-transitory computer-readable storage medium, and when instructions in the storage medium are executed by a processor of a bluetooth headset, the bluetooth headset is enabled to execute the method for detecting a single-ear distance of a multi-ear bluetooth headset provided in the foregoing embodiments.
The computer-readable storage medium in this embodiment may be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, etc. that is integrated with one or more available media, and the available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., SSDs), etc.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the method for detecting a monaural distance of a multi-ear bluetooth headset provided in the above embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (33)

1. A single-ear far detection method of a multi-ear Bluetooth headset is applied to a first Bluetooth headset in the multi-ear Bluetooth headset, wherein the first Bluetooth headset is respectively connected with a terminal device and at least one second Bluetooth headset through Bluetooth links, and the method comprises the following steps:
acquiring first link state information and at least one second link state information, wherein the first link state information indicates a link state of a Bluetooth link between the first Bluetooth headset and the terminal device, and the second link state information indicates a link state of a Bluetooth link between the first Bluetooth headset and the second Bluetooth headset;
and determining whether the multi-ear Bluetooth headset has a Bluetooth headset far away from one ear or not according to the first link state information and the at least one second link state information.
2. The method of claim 1, wherein determining whether the multi-ear Bluetooth headset has a Bluetooth headset that is far away from one ear according to the first link state information and the at least one second link state information comprises:
determining whether the distance between the first Bluetooth headset and the terminal equipment exceeds a preset distance or not according to the first link state information;
if the distance between the first Bluetooth earphone and the terminal equipment exceeds a preset distance, determining whether the first Bluetooth earphone is a Bluetooth earphone far away from one ear or not according to the second link state information;
and if the distance between the first Bluetooth earphone and the terminal equipment is smaller than or equal to a preset distance, determining whether a Bluetooth earphone far away from a single ear exists in the second Bluetooth earphone according to the second link state information.
3. The method of claim 2, wherein the first link state information comprises a Received Signal Strength Indication (RSSI);
the determining whether the distance between the first bluetooth headset and the terminal device exceeds a preset distance according to the first link state information includes:
if the RSSI of the first link state information is smaller than a first preset threshold value, determining that the distance between the first Bluetooth headset and the terminal equipment exceeds a preset distance;
otherwise, determining that the distance between the first Bluetooth headset and the terminal equipment is smaller than or equal to a preset distance.
4. The method of claim 3, wherein the second link state information comprises RSSI;
the determining whether the first bluetooth headset is a bluetooth headset far away from one ear according to the second link state information includes:
if the RSSI of each piece of second link state information is smaller than a third preset threshold value, the first Bluetooth headset is a Bluetooth headset far away from one ear;
otherwise, the first Bluetooth earphone is not a Bluetooth earphone far away from the single ear.
5. The method of claim 4, wherein the determining whether there is a monaural distant Bluetooth headset in the second Bluetooth headset based on the second link state information comprises:
if one RSSI in the RSSIs of all the second link state information is greater than or equal to a third preset threshold value, a Bluetooth earphone far away from one ear exists in the at least one second Bluetooth earphone;
otherwise, no Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset.
6. The method of claim 3, wherein the second link state information comprises RSSI and packet reception success rate Rv;
the determining whether the first bluetooth headset is a bluetooth headset far away from one ear according to the second link state information includes:
if the RSSI of each piece of second link state information is smaller than a third preset threshold value and each Rv is smaller than a fourth preset threshold value, the first Bluetooth headset is a Bluetooth headset far away from one ear;
otherwise, the first Bluetooth earphone is not a Bluetooth earphone far away from the single ear.
7. The method of claim 6, wherein the determining whether there is a monaural distant bluetooth headset in the second bluetooth headset based on the second link state information comprises:
if one RSSI is greater than or equal to a third preset threshold value and the corresponding Rv is greater than or equal to a fourth preset threshold value in the RSSIs of all the second link state information, a Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset;
otherwise, no Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset.
8. The method according to any one of claims 4 to 7, characterized in that said third preset threshold value is smaller than said first preset threshold value.
9. The method of claim 2, wherein the first link state information comprises a Received Signal Strength Indication (RSSI) and a packet reception success rate (Rv);
the determining whether the distance between the first bluetooth headset and the terminal device exceeds a preset distance according to the first link state information includes:
if the RSSI of the first link state information is smaller than a first preset threshold value and the Rv of the first link state information is smaller than a second preset threshold value, determining that the distance between the first Bluetooth headset and the terminal equipment exceeds a preset distance;
otherwise, determining that the distance between the first Bluetooth headset and the terminal equipment is smaller than or equal to a preset distance.
10. The method of claim 9, wherein the second link state information comprises RSSI;
the determining whether the first bluetooth headset is a bluetooth headset far away from one ear according to the second link state information includes:
if the RSSI of each second link state information is smaller than a first preset threshold value, the first Bluetooth headset is a Bluetooth headset far away from one ear;
otherwise, the first Bluetooth earphone is not a Bluetooth earphone far away from the single ear.
11. The method of claim 10, wherein the determining whether there is a monaural distant bluetooth headset in the second bluetooth headset based on the second link state information comprises:
if one RSSI in the RSSIs of all the second link state information is greater than or equal to a third preset threshold value, a Bluetooth earphone far away from one ear exists in the at least one second Bluetooth earphone;
otherwise, no Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset.
12. The method of claim 9, wherein the second link state information comprises RSSI and packet reception success rate Rv;
the determining whether the first bluetooth headset is a bluetooth headset far away from one ear according to the second link state information includes:
if the RSSI of each piece of second link state information is smaller than a third preset threshold value and the Rv of each piece of second link state information is smaller than a fourth preset threshold value, the first Bluetooth headset is a Bluetooth headset far away from a single ear;
otherwise, the first Bluetooth earphone is not a Bluetooth earphone far away from the single ear.
13. The method of claim 12, wherein the determining whether there is a monaural distant bluetooth headset in the second bluetooth headset based on the second link state information comprises:
if one RSSI is greater than or equal to a third preset threshold value and the corresponding Rv is greater than or equal to a fourth preset threshold value in the RSSIs of all the second link state information, a Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset;
otherwise, no Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset.
14. The method according to any one of claims 11 to 13, wherein the third preset threshold is smaller than the first preset threshold.
15. The method according to claim 12 or 13, characterized in that said fourth preset threshold value is smaller than said second preset threshold value.
16. A Bluetooth headset, comprising:
an obtaining module, configured to obtain first link state information and at least one second link state information, where the first link state information indicates a link state of a bluetooth link between the first bluetooth headset and the terminal device, and the second link state information indicates a link state of a bluetooth link between the first bluetooth headset and the second bluetooth headset;
and the processing module is used for determining whether the multi-ear Bluetooth headset has a Bluetooth headset far away from a single ear or not according to the first link state information and the at least one second link state information.
17. The bluetooth headset of claim 16, wherein the processing module is specifically configured to:
determining whether the distance between the first Bluetooth headset and the terminal equipment exceeds a preset distance or not according to the first link state information;
if the distance between the first Bluetooth earphone and the terminal equipment exceeds a preset distance, determining whether the first Bluetooth earphone is a Bluetooth earphone far away from one ear or not according to the second link state information;
and if the distance between the first Bluetooth earphone and the terminal equipment is smaller than or equal to a preset distance, determining whether a Bluetooth earphone far away from a single ear exists in the second Bluetooth earphone according to the second link state information.
18. The bluetooth headset of claim 17, wherein the first link state information comprises a Received Signal Strength Indication (RSSI);
the processing module is specifically configured to:
if the RSSI of the first link state information is smaller than a first preset threshold value, determining that the distance between the first Bluetooth headset and the terminal equipment exceeds a preset distance;
otherwise, determining that the distance between the first Bluetooth headset and the terminal equipment is smaller than or equal to a preset distance.
19. The bluetooth headset of claim 18, wherein the second link state information comprises RSSI;
the processing module is specifically configured to:
if the RSSI of each piece of second link state information is smaller than a third preset threshold value, the first Bluetooth headset is a Bluetooth headset far away from one ear;
otherwise, the first Bluetooth earphone is not a Bluetooth earphone far away from the single ear.
20. The bluetooth headset of claim 19, wherein the processing module is specifically configured to:
if one RSSI in the RSSIs of all the second link state information is greater than or equal to a third preset threshold value, a Bluetooth earphone far away from one ear exists in the at least one second Bluetooth earphone;
otherwise, no Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset.
21. The bluetooth headset of claim 18, wherein the second link state information comprises RSSI and packet reception success rate Rv;
the processing module is specifically configured to:
if the RSSI of each piece of second link state information is smaller than a third preset threshold value and each Rv is smaller than a fourth preset threshold value, the first Bluetooth headset is a Bluetooth headset far away from one ear;
otherwise, the first Bluetooth earphone is not a Bluetooth earphone far away from the single ear.
22. The bluetooth headset of claim 21, wherein the processing module is specifically configured to:
if one RSSI is greater than or equal to a third preset threshold value and the corresponding Rv is greater than or equal to a fourth preset threshold value in the RSSIs of all the second link state information, a Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset;
otherwise, no Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset.
23. A bluetooth headset according to any of the claims 19-22, characterized in that the third preset threshold value is smaller than the first preset threshold value.
24. The bluetooth headset of claim 17, wherein the first link state information comprises a Received Signal Strength Indication (RSSI) and a packet reception success rate (Rv);
the processing module is specifically configured to:
if the RSSI of the first link state information is smaller than a first preset threshold value and the Rv of the first link state information is smaller than a second preset threshold value, determining that the distance between the first Bluetooth headset and the terminal equipment exceeds a preset distance;
otherwise, determining that the distance between the first Bluetooth headset and the terminal equipment is smaller than or equal to a preset distance.
25. The bluetooth headset of claim 24, wherein the second link state information comprises RSSI;
the processing module is specifically configured to:
if the RSSI of each second link state information is smaller than a first preset threshold value, the first Bluetooth headset is a Bluetooth headset far away from one ear;
otherwise, the first Bluetooth earphone is not a Bluetooth earphone far away from the single ear.
26. The bluetooth headset of claim 25, wherein the processing module is specifically configured to:
if one RSSI in the RSSIs of all the second link state information is greater than or equal to a third preset threshold value, a Bluetooth earphone far away from one ear exists in the at least one second Bluetooth earphone;
otherwise, no Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset.
27. The bluetooth headset of claim 24, wherein the second link state information comprises RSSI and packet reception success rate Rv;
the processing module is used for:
if the RSSI of each piece of second link state information is smaller than a third preset threshold value and the Rv of each piece of second link state information is smaller than a fourth preset threshold value, the first Bluetooth headset is a Bluetooth headset far away from a single ear;
otherwise, the first Bluetooth earphone is not a Bluetooth earphone far away from the single ear.
28. The bluetooth headset of claim 27, wherein the processing module is specifically configured to:
if one RSSI is greater than or equal to a third preset threshold value and the corresponding Rv is greater than or equal to a fourth preset threshold value in the RSSIs of all the second link state information, a Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset;
otherwise, no Bluetooth headset far away from one ear exists in the at least one second Bluetooth headset.
29. A bluetooth headset according to any of claims 26-28, wherein the third predetermined threshold value is smaller than the first predetermined threshold value.
30. The method according to claim 27 or 28, wherein the fourth preset threshold is smaller than the second preset threshold.
31. A bluetooth headset, comprising: a memory and a processor;
the memory stores computer-executable instructions;
the processor executing the computer-executable instructions stored by the memory causes the processor to perform the method of monaural distant detection of a multi-ear bluetooth headset of any of claims 1 to 15.
32. A multi-ear Bluetooth headset, comprising: at least two Bluetooth headsets connected by a Bluetooth link;
at least one of the at least two bluetooth headsets comprises a bluetooth headset according to claim 31.
33. A storage medium, comprising: a readable storage medium and a computer program for implementing the method of single ear distance detection for a multi-ear bluetooth headset of any one of claims 1 to 15.
CN202010147522.XA 2020-03-05 2020-03-05 Single-ear far detection method of multi-ear Bluetooth headset and Bluetooth headset Active CN111277930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010147522.XA CN111277930B (en) 2020-03-05 2020-03-05 Single-ear far detection method of multi-ear Bluetooth headset and Bluetooth headset

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010147522.XA CN111277930B (en) 2020-03-05 2020-03-05 Single-ear far detection method of multi-ear Bluetooth headset and Bluetooth headset

Publications (2)

Publication Number Publication Date
CN111277930A true CN111277930A (en) 2020-06-12
CN111277930B CN111277930B (en) 2022-08-23

Family

ID=71000509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010147522.XA Active CN111277930B (en) 2020-03-05 2020-03-05 Single-ear far detection method of multi-ear Bluetooth headset and Bluetooth headset

Country Status (1)

Country Link
CN (1) CN111277930B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120115464A1 (en) * 2010-11-04 2012-05-10 Samsung Electronics Co., Ltd. Apparatus and method for connecting with bluetooth devices in portable terminal
CN104052875A (en) * 2014-06-17 2014-09-17 浪潮集团有限公司 Mobile phone loss alarming method
CN104412614A (en) * 2012-03-29 2015-03-11 哈博拉有限公司 Headset having mobile communication terminal loss prevention function and headset system having loss prevention function
CN108566684A (en) * 2018-07-02 2018-09-21 Oppo广东移动通信有限公司 Communicate to connect method for building up and relevant device
CN108769432A (en) * 2018-07-27 2018-11-06 Oppo广东移动通信有限公司 Main earphone switching method, mobile terminal and computer readable storage medium
CN108934083A (en) * 2018-07-02 2018-12-04 Oppo广东移动通信有限公司 Communicate to connect method for building up and relevant device
CN109743654A (en) * 2019-01-29 2019-05-10 上海与德通讯技术有限公司 A kind of bluetooth headset major-minor ear switching method, device, equipment and medium
CN110446193A (en) * 2019-04-25 2019-11-12 华为技术有限公司 The treating method and apparatus of bluetooth data packets

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120115464A1 (en) * 2010-11-04 2012-05-10 Samsung Electronics Co., Ltd. Apparatus and method for connecting with bluetooth devices in portable terminal
CN104412614A (en) * 2012-03-29 2015-03-11 哈博拉有限公司 Headset having mobile communication terminal loss prevention function and headset system having loss prevention function
CN104052875A (en) * 2014-06-17 2014-09-17 浪潮集团有限公司 Mobile phone loss alarming method
CN108566684A (en) * 2018-07-02 2018-09-21 Oppo广东移动通信有限公司 Communicate to connect method for building up and relevant device
CN108934083A (en) * 2018-07-02 2018-12-04 Oppo广东移动通信有限公司 Communicate to connect method for building up and relevant device
CN108769432A (en) * 2018-07-27 2018-11-06 Oppo广东移动通信有限公司 Main earphone switching method, mobile terminal and computer readable storage medium
CN109743654A (en) * 2019-01-29 2019-05-10 上海与德通讯技术有限公司 A kind of bluetooth headset major-minor ear switching method, device, equipment and medium
CN110446193A (en) * 2019-04-25 2019-11-12 华为技术有限公司 The treating method and apparatus of bluetooth data packets

Also Published As

Publication number Publication date
CN111277930B (en) 2022-08-23

Similar Documents

Publication Publication Date Title
CN108834052B (en) TWS earphone anti-lost method, TWS earphone and anti-lost system
WO2021042942A1 (en) Wireless earphones and wireless earphone system
WO2021008614A1 (en) Method for establishing communication connection and wearable device
US20120294454A1 (en) Mobile terminal and earphone identifying method
WO2020019821A1 (en) Microphone hole-blockage detection method and related product
CN109547897B (en) Wireless earphone connection method, device and system and wireless earphone box
CN108777827B (en) Wireless earphone, volume adjusting method and related product
CN109151212B (en) Equipment control method and device and electronic equipment
WO2020019820A1 (en) Microphone hole blockage detection method and related product
WO2018023846A1 (en) Method for establishing connection with terminal, and earphone
CN112839303B (en) Method and related device for device reconnection
CN104869517A (en) Bluetooth mobile phone hearing aid
EP3826322A1 (en) Master/slave switching method for wearable apparatus and related product
WO2020019843A1 (en) Microphone hole blockage detection method and related product
US20060044120A1 (en) Car audio system and method combining with MP3 player
WO2020007172A1 (en) Communicational connection establishment method and related device
CN112291683B (en) TWS earphone control method and device
US11089429B1 (en) Indication for correct audio device orientation
CN113727231B (en) Earphone volume adjusting method and equipment
CN103813228A (en) Earphones and activation method thereof
CN111277930B (en) Single-ear far detection method of multi-ear Bluetooth headset and Bluetooth headset
CN109298846B (en) Audio transmission method and device, electronic equipment and storage medium
CN112806023B (en) Control method of wireless earphone and related product
WO2020082387A1 (en) Method for changing audio channel, and related device
CN113411417A (en) Wireless sound amplification system and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant