[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN114900786B - Bluetooth headset connection control method and device, electronic equipment and storage medium - Google Patents

Bluetooth headset connection control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114900786B
CN114900786B CN202210398705.8A CN202210398705A CN114900786B CN 114900786 B CN114900786 B CN 114900786B CN 202210398705 A CN202210398705 A CN 202210398705A CN 114900786 B CN114900786 B CN 114900786B
Authority
CN
China
Prior art keywords
bluetooth headset
terminal equipment
state
wearing state
preset
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.)
Active
Application number
CN202210398705.8A
Other languages
Chinese (zh)
Other versions
CN114900786A (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.)
Earda Technologies Co ltd
Original Assignee
Earda Technologies 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 Earda Technologies Co ltd filed Critical Earda Technologies Co ltd
Priority to CN202210398705.8A priority Critical patent/CN114900786B/en
Publication of CN114900786A publication Critical patent/CN114900786A/en
Application granted granted Critical
Publication of CN114900786B publication Critical patent/CN114900786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • 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

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a Bluetooth headset connection control method, a Bluetooth headset connection control device, electronic equipment and a storage medium, wherein the Bluetooth headset connection control method comprises the following steps: when the Bluetooth headset is connected with the terminal equipment, a plurality of positioning data of the terminal equipment are acquired according to a preset period, whether a wearer of the Bluetooth headset is in a running state is judged according to the plurality of positioning data, if yes, a target distance between the Bluetooth headset and the terminal equipment is calculated according to Bluetooth signal intensity, whether the Bluetooth headset is in a non-wearing state is judged according to the plurality of target distances, a disconnection message is sent to the terminal equipment when the Bluetooth headset is in the non-wearing state, and an audio playing channel is switched to a loudspeaker for playing when the terminal equipment receives the disconnection message. The use wearing state of the Bluetooth headset is monitored through the positioning data and the target distance, and when the Bluetooth headset is in the non-wearing state, the terminal equipment is informed to switch the playing mode, so that the missing of information sent by other terminals is avoided, and the effect of intelligently disconnecting the Bluetooth headset is realized.

Description

Bluetooth headset connection control method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of Bluetooth communication, in particular to a Bluetooth headset connection control method, a Bluetooth headset connection control device, electronic equipment and a storage medium.
Background
Along with the rapid development and popularization of electronic products such as smart phones and intelligent wearable devices, bluetooth headphones matched with the electronic products are popular with more and more users. Especially for many users running frequently, the use of headphones to listen to songs during running or to receive guiding audio of the sports APP has become an integral part of running.
The bluetooth technology is a wireless communication technology, and can realize wireless connection between two devices within a certain distance range, and a user usually removes the headset after running, but often forgets that the bluetooth headset is still in a state of being connected with the mobile phone, so that the sound of the mobile phone is still transmitted through the bluetooth headset, and thus the incoming call and important information of the mobile phone are missed.
In the prior art, after the mobile terminal is connected with the Bluetooth headset, the headset is in a dormant state only by key operation, so that the purpose of power saving or headset switching is achieved, and a user usually cannot concentrate on switching the connection state of the Bluetooth headset according to the use condition, so that the intelligent degree of the conventional Bluetooth headset switching method is low, and the use experience of the Bluetooth headset is reduced.
Disclosure of Invention
The embodiment of the invention provides a Bluetooth headset switching method, a Bluetooth headset switching device, electronic equipment and a storage medium, which are used for solving the problems that the existing Bluetooth headset switching method is low in intelligent degree and the use experience of a Bluetooth headset is reduced.
In a first aspect, an embodiment of the present invention provides a method for controlling connection of a bluetooth headset, including:
When the Bluetooth headset is connected with terminal equipment, acquiring a plurality of positioning data of the terminal equipment according to a preset period;
judging whether the wearer of the Bluetooth headset is in a running state or not according to the positioning data;
if yes, calculating a target distance between the Bluetooth headset and the terminal equipment through Bluetooth signal intensity;
Judging whether the Bluetooth headset is in a non-wearing state according to the target distances;
If yes, sending a disconnection message to the terminal equipment, stopping the connection with the Bluetooth headset when the terminal equipment receives the disconnection message, and switching an audio playing channel to a loudspeaker for playing.
Optionally, the determining whether the wearer of the bluetooth headset is in a running state according to the positioning data includes:
Judging whether the terminal equipment is in a moving state or not through a plurality of positioning data;
If yes, determining that the wearer is in a running state.
Optionally, the determining whether the bluetooth headset is in a non-wearing state according to the target distances includes:
when each calculation is carried out to obtain one target distance, adding the target distance to the head of a sliding window with a preset length, and calculating first average values of a plurality of target distances in the sliding window;
Calculating the absolute value of the difference between the first average value and the second average value, wherein the second average value is the average value calculated when the target distance is added to the head of the sliding window last time;
judging whether the absolute value is larger than a preset average value or not;
If yes, determining that the Bluetooth headset is in a non-wearing state.
Optionally, when determining that the absolute value is greater than a preset value, the method further includes:
When the terminal equipment runs a preset application program, judging whether the preset application program plays preset voice or not;
If yes, determining that the Bluetooth headset is in a non-wearing state.
Optionally, the determining whether the bluetooth headset is in a non-wearing state according to the target distances further includes:
clustering the target distances obtained through current calculation to obtain a plurality of clustering centers;
judging whether a new cluster center appears;
If yes, determining that the Bluetooth headset is in a non-wearing state.
Optionally, the determining whether the bluetooth headset is in a non-wearing state according to the target distances further includes:
Fitting a distance curve comprising a plurality of curve segments by taking the time of each preset period as an abscissa and the target distance calculated in the preset period as an ordinate;
inputting the target distance curve into a pre-trained use state identification model to obtain the probability of the Bluetooth headset in a non-wearing state in the time corresponding to each curve segment;
and when any probability is larger than a preset probability threshold, determining that the Bluetooth headset is in a non-wearing state.
Optionally, the usage state recognition model is trained by:
in the running process of wearing the Bluetooth headset by a wearer, acquiring a plurality of sampling distances from the Bluetooth headset to the terminal equipment according to a preset period, wherein the plurality of sampling distances comprise the distances between the Bluetooth headset and the terminal equipment when the Bluetooth headset is in a wearing state and a non-wearing state;
Generating a sampling curve comprising a plurality of sample curve segments by adopting a plurality of sampling distances and sampling time of the target distance, wherein the sample curve segments are marked with labels for representing the use state of the Bluetooth headset;
Inputting the sampling curve into an initialized use state identification model to obtain the probability that each sample curve section belongs to a non-wearing state;
And adjusting the using state recognition model through the probability and the label until convergence to obtain a trained using state recognition model.
In a second aspect, an embodiment of the present invention further provides a bluetooth headset connection control device, including:
The positioning data acquisition module is used for acquiring a plurality of positioning data of the terminal equipment according to a preset period when the Bluetooth headset is connected with the terminal equipment;
The running state judging module is used for judging whether the wearer of the Bluetooth headset is in a running state or not according to the positioning data;
The target distance calculating module is used for calculating the target distance between the Bluetooth headset and the terminal equipment through Bluetooth signal intensity when the wearer of the Bluetooth headset is in a running state;
the using state judging module is used for judging whether the Bluetooth headset is in a non-wearing state according to the target distances;
And the signal sending module is used for sending a disconnection message to the terminal equipment when the Bluetooth headset is in a non-wearing state, stopping the connection with the Bluetooth headset when the terminal equipment receives the disconnection message, and switching an audio playing channel into a loudspeaker for playing.
Optionally, the running state judging module includes:
the mobile state judging sub-module is used for judging whether the terminal equipment is in a mobile state or not through a plurality of positioning data;
The running state determining submodule is used for determining that the wearer is in a running state if the terminal equipment is in a moving state.
Optionally, the usage status judging module includes:
The first average value calculation sub-module is used for adding the target distance to the head of a sliding window with a preset length when one target distance is obtained through calculation, and calculating first average values of a plurality of target distances in the sliding window;
the absolute value calculating sub-module is used for calculating the absolute value of the difference value between the first average value and the second average value, wherein the second average value is the average value calculated when the target distance is added to the head of the sliding window last time;
The absolute value judging sub-module is used for judging whether the absolute value is larger than a preset average value or not;
and the using state determining submodule is used for determining that the Bluetooth headset is in a non-wearing state when the absolute value is larger than a preset average value.
Optionally, the usage status determination submodule further includes:
the terminal equipment comprises a preset voice judging unit, a preset voice judging unit and a voice judging unit, wherein the preset voice judging unit is used for judging whether the preset application program plays preset voice or not when the terminal equipment runs the preset application program;
and the use state determining unit is used for determining that the Bluetooth headset is in a non-wearing state if the preset application program plays preset voice.
Optionally, the usage status judging module further includes:
The clustering sub-module is used for clustering the plurality of target distances obtained through current calculation to obtain a plurality of clustering centers;
The cluster center judging submodule is used for judging whether a new cluster center appears or not;
And the non-wearing state determining submodule is used for determining that the Bluetooth headset is in a non-wearing state if a new cluster center appears.
Optionally, the usage status judging module further includes:
A distance curve fitting sub-module, configured to fit a distance curve including a plurality of curve segments with time of each preset period as an abscissa and the target distance calculated in the preset period as an ordinate;
The probability calculation sub-module is used for inputting the target distance curve into a pre-trained use state recognition model to obtain the probability that the Bluetooth headset is in a non-wearing state in the time corresponding to each curve segment;
when any probability is larger than a preset probability threshold, determining that the Bluetooth headset is in a non-wearing state;
Optionally, the usage state recognition model is trained by:
The Bluetooth headset running system comprises a Bluetooth headset running module, a sampling distance acquisition module and a terminal device running module, wherein the Bluetooth headset running module is used for acquiring a plurality of sampling distances from the Bluetooth headset to the terminal device according to a preset period in the running process of wearing the Bluetooth headset by a wearer, and the plurality of sampling distances comprise the distances between the Bluetooth headset and the terminal device when the Bluetooth headset is in a wearing state and a non-wearing state;
The sampling curve generation module is used for generating a sampling curve comprising a plurality of sample curve segments by adopting a plurality of sampling distances and sampling time of the target distance, and the sample curve segments are marked with labels for representing the use state of the Bluetooth headset;
the probability acquisition module is used for inputting the sampling curve into the initialized use state identification model to obtain the probability that each sample curve segment belongs to a non-wearing state;
and the model adjustment module is used for adjusting the use state recognition model through the probability and the label until convergence so as to obtain a trained use state recognition model.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
One or more processors;
A memory for storing one or more computer programs,
The one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the bluetooth headset connection control method as described in the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the computer program is executed by a processor to implement the bluetooth headset connection control method according to the first aspect.
The embodiment of the invention provides a Bluetooth headset connection control method, which is characterized in that when a Bluetooth headset is connected with terminal equipment, a plurality of positioning data of the terminal equipment are acquired according to a preset period, whether a wearer of the Bluetooth headset is in a running state or not is judged according to the plurality of positioning data, a target distance between the Bluetooth headset and the terminal equipment is calculated through Bluetooth signal intensity when the wearer is in the running state, whether the Bluetooth headset is in a non-wearing state or not is judged according to the plurality of target distances, a disconnection message is sent to the terminal equipment when the Bluetooth headset is in the non-wearing state, the terminal equipment stops being connected with the Bluetooth headset when the disconnection message is received, and an audio playing channel is switched to a loudspeaker for playing. Whether the Bluetooth headset is in a wearing state after the wearer is in a running state or not is monitored through the positioning data and the target distance, and when the Bluetooth headset is in a non-wearing state, the terminal equipment is informed to be disconnected with the Bluetooth headset and is switched to a loudspeaker playing mode, so that information sent by other terminals is prevented from being missed, and intelligent switching between playing of the Bluetooth headset and playing of the loudspeaker is realized.
Drawings
Fig. 1 is a flowchart of a bluetooth headset connection control method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a bluetooth headset connection control method according to a second embodiment of the present invention;
FIG. 3 is a schematic view of a sliding window according to a second embodiment of the present invention;
FIG. 4 is a graph showing distance during running according to a second embodiment of the present invention;
Fig. 5 is a schematic structural diagram of a bluetooth headset connection control device according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a bluetooth headset connection control method provided in a first embodiment of the present invention, where the embodiment is applicable to a situation that a bluetooth headset is automatically disconnected from a terminal device when running of a user is completed, the method may be performed by a bluetooth headset connection control device, and the bluetooth headset connection control device may be implemented by software and/or hardware and may be configured in a bluetooth headset, where the bluetooth headset connection control method specifically includes the following steps:
s101, when the Bluetooth headset is connected with the terminal equipment, acquiring a plurality of positioning data of the terminal equipment according to a preset period.
The terminal device can be a mobile phone or other intelligent sports equipment, and the like, and the terminal device can be provided with a sports APP related to running, wherein the sports APP is used for providing music and broadcasting which are suitable for running and listening to a wearer, guiding the wearer of the Bluetooth headset to develop running, adjusting breathing and posture and the like according to guiding voice. When running, the terminal equipment is carried by a wearer, the Bluetooth earphone is connected with the terminal equipment through Bluetooth, and the exercise APP in the terminal equipment sends audio to the Bluetooth earphone through the terminal equipment.
The terminal device of the present embodiment has a positioning function, for example, a GPS system is generally provided in the terminal device. The positioning data is the position data monitored by the GPS system. The preset period is a period for collecting positioning data and may be a short length of time, for example 10 seconds.
S102, judging whether a wearer of the Bluetooth headset is in a running state or not according to the plurality of positioning data.
For the runner, generally, the runner does not reciprocate in a short time, in this embodiment, the positioning data of the wearer in the preset period is mainly considered to be continuously changed, and when the wearer of the bluetooth headset is in the running state, the position of the wearer in the preset period is usually continuously changed, so that whether the terminal device is in the moving state can be judged through a plurality of positioning data, if so, the wearer is determined to be in the running state, and S103 is executed, if not, whether the wearer is in the running state is continuously monitored.
Specifically, whether the terminal equipment is in a moving state is judged through a plurality of positioning data, the displacement corresponding to the positioning data of two adjacent sampling times can be calculated first, and if the displacement is not 0, the wearer can be determined to be in the moving state.
In addition, an acceleration sensor can be arranged on the terminal equipment or the Bluetooth headset, and whether the wearer is in a moving state or not can be judged by combining acceleration data acquired by the acceleration sensor.
S103, calculating the target distance between the Bluetooth headset and the terminal equipment through Bluetooth signal intensity.
The terminal equipment is used as a transmitting end, the communication Bluetooth headset is used as a receiving end, and the Bluetooth signal intensity of the transmitting end and the Bluetooth signal intensity of the receiving end are inversely proportional to the distance between the transmitting end and the receiving end, namely, the closer the distance is, the stronger the Bluetooth signal intensity is, the farther the distance is, and the weaker the Bluetooth signal intensity is.
The formula for calculating the target distance d is:
d=10^((abs(rssi)-A)/(10*n))
where rsti is bluetooth signal strength, a is signal strength when the transmitting end and the receiving end are separated by 1 meter, n is an environmental attenuation factor, and abs (rsti) represents taking an absolute value for rsti.
In practical situations, the interference suffered during the transmission is relatively large, so the RSSI value is generally smaller than 0, for example, the RSSI of the bluetooth headset is stronger than the signal strength of the RSSI of-100 dBm, and the corresponding target distance is closer.
Furthermore, the acquisition conditions of the target distance may be: when one positioning data is acquired, the target distance between the Bluetooth headset and the terminal equipment can be calculated through the Bluetooth signal intensity.
S104, judging whether the Bluetooth headset is in a non-wearing state according to the plurality of target distances.
When a wearer runs with the Bluetooth headset, the terminal device is usually placed in a waist bag, an arm bag or held on a hand, the distance between the Bluetooth headset and the terminal device is relatively fixed, and if the wearer takes down the headset, the target distance is greatly changed, so that after the target distance between the Bluetooth headset and the terminal device is calculated, whether the Bluetooth headset is in a non-wearing state can be judged according to a plurality of target distances, if yes, S105 is executed, if not, whether the Bluetooth headset is in the non-wearing state is continuously monitored, specifically, whether the difference value between the adjacent target distances is in a preset difference value range can be judged, and if yes, the Bluetooth headset is in the non-wearing state can be determined.
In addition, a bio-impedance sensor can be further arranged on the Bluetooth headset, and the bio-impedance sensor is used for detecting and obtaining human body parameters, wherein the human body parameters comprise at least one of a skin electric reaction index, a bio-resistor, a heartbeat frequency and a respiratory rate. Whether the Bluetooth headset is in a non-wearing state or not is judged by combining the target distance and the human body parameters, and the Bluetooth headset can be detected more accurately when the Bluetooth headset is in the non-wearing state.
S105, sending a disconnection message to the terminal equipment.
When the Bluetooth headset is in a non-wearing state, the Bluetooth headset is difficult to hear the audio sent by the Bluetooth headset, and the Bluetooth headset and the terminal equipment are still in a connection state at the moment, if other audio information is sent at the moment, a user cannot know and miss the audio information, for example, a call dialed by a family friend or a short message sent by the family friend, so that the Bluetooth headset sends a disconnection message to the terminal equipment, the terminal equipment stops connecting with the Bluetooth headset when receiving the disconnection message, switches an audio playing channel to a loudspeaker for playing, and can remind the user to confirm through the loudspeaker when receiving the information sent by other terminals.
The embodiment of the invention provides a Bluetooth headset connection control method, which is characterized in that when a Bluetooth headset is connected with terminal equipment, a plurality of positioning data of the terminal equipment are acquired according to a preset period, whether a wearer of the Bluetooth headset is in a running state or not is judged according to the plurality of positioning data, a target distance between the Bluetooth headset and the terminal equipment is calculated through Bluetooth signal intensity when the wearer is in the running state, whether the Bluetooth headset is in a non-wearing state or not is judged according to the plurality of target distances, a disconnection message is sent to the terminal equipment when the Bluetooth headset is in the non-wearing state, the terminal equipment stops being connected with the Bluetooth headset when the disconnection message is received, and an audio playing channel is switched to a loudspeaker for playing. Whether the Bluetooth headset is in a wearing state after the wearer is in a running state or not is monitored through the positioning data and the target distance, and when the Bluetooth headset is in a non-wearing state, the terminal equipment is informed to be disconnected with the Bluetooth headset and is switched to a loudspeaker playing mode, so that information sent by other terminals is prevented from being missed, and intelligent switching between playing of the Bluetooth headset and playing of the loudspeaker is realized.
Example two
Fig. 2 is a flowchart of a bluetooth headset connection control method according to a second embodiment of the present invention, where the method is further optimized based on the foregoing embodiment, and specifically includes the following steps:
S201, when the Bluetooth headset is connected with the terminal equipment, acquiring a plurality of positioning data of the terminal equipment according to a preset period.
S202, judging whether a wearer of the Bluetooth headset is in a running state or not according to the plurality of positioning data. If yes, S203 is executed.
S203, calculating the target distance between the Bluetooth headset and the terminal equipment through Bluetooth signal intensity.
Since S201 to S203 are the same as those of the first embodiment, reference is made to the description of a part of the first embodiment, and a detailed description is omitted here.
And S204, adding the target distance to the head of the sliding window with the preset length when one target distance is obtained through calculation, and calculating a first average value of a plurality of target distances in the sliding window.
Fig. 3 shows the positional relationship of data of the sliding window under different time, as shown in fig. 3, the preset length of the sliding window is set to 8, the head position of the sliding window is the position of the serial number 1, 301 is the sliding window of the previous time, 302 is the sliding window of the current time, compared with the sliding window 301, the latest target distance (0.4) is newly added in 302 to the head position of the sliding window, the data of serial numbers 1-7 in the original 301 is shifted forward from serial number 2 in the sliding window 302, and because the data amount in the sliding window is kept unchanged, the target distance (0.5) of the serial number 8 in the original 301 is removed, so that the updated sliding window is obtained, and the transmission and updating of the sliding window to the target distance are reflected. Of course, the data size of the sliding window in this embodiment may be determined according to practical situations, for example, the preset length of the sliding window may be 50, which is not limited by the present application.
And calculating the average value of the target distances in the current sliding window as a first average value.
S205, calculating an absolute value of a difference value between the first mean value and the second mean value. The second average is the average calculated last time the target distance was added to the sliding window head.
For the sliding window 302 of the current time in fig. 3, the average value of the data included in the sliding window 301 is the first average value, and the average value of the data included in the sliding window 302 is the second average value.
And calculating the absolute value of the difference between the first mean value and the second mean value, wherein the difference factor of the first mean value and the second mean value is from the newly increased target distance and the last target distance in the sliding window at the previous time.
When the wearer wears the earphone in continuous time, the Bluetooth earphone is located at the ear of the wearer, the terminal equipment is generally located at fixed positions such as a hand, a waist pack and an arm pack, the target distance value between the Bluetooth earphone and the terminal equipment is stable, and even if a target distance is newly added in the sliding window, the difference between the first average value and the second average value of the target distances in the sliding window is small. If the wearer takes down the bluetooth headset, the headset is usually held in the hand or put in a position close to the terminal device such as a waist pack and an arm pack, that is, when the bluetooth headset is in a non-wearing state, the difference between the target distance value and the target distance value is larger than that in a wearing state, so for the sliding window, if the data of the previous time are the target distance for wearing the bluetooth headset and the newly added data are the target distance for taking down the bluetooth headset, the difference between the current first average value and the second average value is larger.
S206, judging whether the absolute value is larger than a preset average value. If yes, executing S207, if not, continuing to detect whether the absolute value is larger than the preset average value.
S207, determining that the Bluetooth headset is in a non-wearing state.
The preset average value is used for measuring the degree of differentiation of the first average value and the second average value, and is further used for judging whether the newly added target distance of the Bluetooth headset is different from the data in the previous state, and when the absolute value is larger than the preset average value, the newly added target distance data of the latest sliding window is represented as the data of the Bluetooth headset in the non-wearing state because the Bluetooth headset is originally in the wearing state.
In one example of the present embodiment, when the absolute value is greater than the preset average value, the method further includes: when the terminal equipment runs the preset application program, judging whether the preset application program plays preset voice, if so, determining that the Bluetooth headset is in a non-wearing state.
The terminal device can be provided with a preset application program, such as a certain exercise APP, the exercise APP can provide guiding voice for a wearer to develop running, adjust breathing and gesture, and the like, a certain running item can be generally selected on the exercise APP by a user and the user clicks to start exercise, then running is started according to the prompt and the guidance of the exercise APP, the preset voice indicates that the running item of the exercise APP is completed, and when the Bluetooth headset receives the preset voice, the user can be judged to finish running. In this example, when it is determined that the user takes down the bluetooth headset, it is determined that running is finished from the user's perspective, and when it is determined that the preset application program makes a preset voice, that is, it is determined that running is stopped from the preset application program perspective, and the user's movement state is determined from two perspectives, the accuracy of determining the user's movement state can be improved.
S208, sending a disconnection message to the terminal equipment, stopping the connection with the Bluetooth headset when the terminal equipment receives the disconnection message, and switching the audio playing channel to a loudspeaker for playing.
When the Bluetooth earphone is in a non-wearing state, the Bluetooth earphone is difficult to hear the audio sent by the Bluetooth earphone, and the Bluetooth earphone and the terminal equipment are still in a connection state at the moment, if other audio information is sent at the moment, a user cannot know and miss the audio information, so that the Bluetooth earphone sends a disconnection message to the terminal equipment, the terminal equipment stops being connected with the Bluetooth earphone when receiving the disconnection message, switches an audio playing channel to a loudspeaker for playing, and can remind the user to confirm through the loudspeaker when receiving the information sent by other terminals.
According to the embodiment, the target distance between the Bluetooth headset and the terminal equipment is updated through the sliding window, so that whether the latest target distance is data when a wearer takes down the Bluetooth headset or not is determined, whether the Bluetooth headset is in a non-wearing state or not is judged, and when the Bluetooth headset is in the non-wearing state, a disconnection message is sent to the terminal equipment, so that the wearer can be detected to take down the headset at the first time, and the connection between the terminal equipment and the Bluetooth headset can be disconnected in time.
In an optional embodiment of the invention, determining whether the bluetooth headset is in a non-wearing state according to the plurality of target distances further includes: and clustering the plurality of target distances obtained through current calculation to obtain a plurality of clustering centers, judging whether a new clustering center appears, and if so, determining that the Bluetooth headset is in a non-wearing state.
The clustering is to divide a plurality of target distances into different classes or clusters, so that the similarity of the target distances in the same cluster is as large as possible, and meanwhile, the difference of the target distances not in the same cluster is also as large as possible. When the Bluetooth headset is converted from a wearing state to a non-wearing state, the difference between the target distance between the Bluetooth headset and the terminal equipment and the target distance acquired before is large, and when a plurality of target distances are clustered, a new clustering center is caused. If cluster analysis is adopted, the required data volume is larger, and the frequency of data acquisition can be relatively improved.
By adopting the clustering of the target distance and judging whether a new clustering center appears, whether the user takes down the Bluetooth headset or not is judged, and the Bluetooth headset when the user takes down the Bluetooth headset can be accurately judged to be in a non-wearing state due to the richness of data.
In an optional embodiment of the invention, determining whether the bluetooth headset is in a non-wearing state according to the plurality of target distances further includes: fitting a distance curve by taking the time of each preset period as an abscissa and the calculated target distance in the preset period as an ordinate, segmenting the distance curve to obtain a plurality of curve segments, inputting the distance curve into a pre-trained use state identification model to obtain the probability that the Bluetooth headset is in a non-wearing state in the time corresponding to each curve segment, and determining that the Bluetooth headset is in the non-wearing state when any probability is larger than a preset probability threshold. For example, when the probability approaches 0, the bluetooth headset is in a wearing state, when the probability approaches 1, the bluetooth headset is in a non-wearing state, and the probability threshold can be set to 0.75, and when any probability is greater than 0.75, the bluetooth headset can be determined to be in the non-wearing state. As shown in fig. 4, a distance curve in the running process is shown, the abscissa is a preset period t, the ordinate is a target distance d, the distance curve is divided into 4 curve segments, the distance curve is input into a use state identification model, probabilities P of the 4 curve segments are respectively 0.1, 0.2, 0.8 and 1, the curve segments with the probabilities P of 0.1 and 0.2 correspond to the use state of the bluetooth headset, and the curve segments with the probabilities P of 0.8 and 1 correspond to the use state of the bluetooth headset.
In particular, the usage state recognition model may be trained by:
In the running process of wearing the Bluetooth headset by a wearer, acquiring a plurality of sampling distances from the Bluetooth headset to the terminal equipment according to a preset period, wherein the plurality of sampling distances comprise the distances between the Bluetooth headset and the terminal equipment when the Bluetooth headset is in a wearing state and in a non-wearing state;
Generating a sampling curve comprising a plurality of sample curve segments by adopting a plurality of sampling distances and sampling time of the distances, wherein the sample curve segments are marked with labels for representing the use state of the Bluetooth headset;
Inputting the sampling curve into an initialized use state identification model to obtain the probability that each sample curve section belongs to a non-wearing state;
Calculating the loss rate by using the probability and the label, calculating the gradient by using the loss rate, and performing gradient descent on the model parameters by using the gradient, namely adjusting the use state recognition model until convergence, and returning to the step of inputting the sampling curve into the initialized use state recognition model until the loss rate is smaller than a preset threshold value, and obtaining the trained use state recognition model after training.
The trained use state identification model is adopted to identify the use state of the Bluetooth headset, and the accuracy of identifying the non-wearing state of the Bluetooth headset can be improved.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Example III
Fig. 5 is a block diagram of a bluetooth headset connection control device according to a third embodiment of the present invention, which may specifically include the following modules:
the positioning data acquisition module 501 is configured to acquire a plurality of positioning data of the terminal device according to a preset period when the bluetooth headset is connected with the terminal device;
the running state judging module 502 is configured to judge whether a wearer of the bluetooth headset is in a running state according to the plurality of positioning data;
a target distance calculating module 503, configured to calculate a target distance between the bluetooth headset and the terminal device according to bluetooth signal intensity when the wearer of the bluetooth headset is in a running state;
A usage state judging module 504, configured to judge whether the bluetooth headset is in a non-wearing state according to the plurality of target distances;
The signal sending module 505 is configured to send a disconnection message to the terminal device when the bluetooth headset is in a non-wearing state, and the terminal device stops connecting with the bluetooth headset when receiving the disconnection message, and switches the audio playing channel to a speaker for playing.
Optionally, the running state determining module 502 includes:
A mobile state judging sub-module for judging whether the terminal equipment is in a mobile state or not through a plurality of positioning data;
The running state determining submodule is used for determining that the wearer is in a running state if the terminal equipment is in a moving state.
Optionally, the usage status determination module 504 includes:
the first average value calculation sub-module is used for adding the target distance to the head of a sliding window with a preset length when one target distance is obtained through calculation, and calculating first average values of a plurality of target distances in the sliding window;
The absolute value calculating sub-module is used for calculating the absolute value of the difference value between the first average value and the second average value, wherein the second average value is the average value calculated when the target distance is added to the head of the sliding window last time;
the absolute value judging sub-module is used for judging whether the absolute value is larger than a preset average value or not;
the using state determining submodule is used for determining that the Bluetooth headset is in a non-wearing state when the absolute value is larger than a preset average value.
Optionally, the usage status determination submodule further includes:
The preset voice judging unit is used for judging whether the preset application program plays preset voice or not when the terminal equipment runs the preset application program;
the use state determining unit is used for determining that the Bluetooth headset is in a non-wearing state if the preset application program plays preset voice.
Optionally, the usage status determination module 504 further includes:
the clustering sub-module is used for clustering the plurality of target distances obtained by current calculation to obtain a plurality of clustering centers;
The cluster center judging submodule is used for judging whether a new cluster center appears or not;
and the non-wearing state determining submodule is used for determining that the Bluetooth headset is in a non-wearing state if a new cluster center appears.
Optionally, the usage status determination module 504 further includes:
a distance curve fitting sub-module, configured to fit a distance curve including a plurality of curve segments with time of each preset period as an abscissa and a target distance calculated in the preset period as an ordinate;
The probability calculation sub-module is used for inputting the distance curve into a pre-trained use state recognition model to obtain the probability that the Bluetooth headset is in a non-wearing state in the time corresponding to each curve segment;
when any probability is larger than a preset probability threshold, determining that the Bluetooth headset is in a non-wearing state;
Optionally, the state recognition model is used to train by:
The system comprises a sampling distance acquisition module, a terminal device and a Bluetooth headset, wherein the sampling distance acquisition module is used for acquiring a plurality of sampling distances from the Bluetooth headset to the terminal device according to a preset period in the running process of wearing the Bluetooth headset by a wearer, and the plurality of sampling distances comprise the distances between the Bluetooth headset and the terminal device when the Bluetooth headset is in a wearing state and in a non-wearing state;
The sampling curve generation module is used for generating a sampling curve comprising a plurality of sample curve segments by adopting a plurality of sampling distances and sampling time of the distances, and the sample curve segments are marked with labels for representing the use state of the Bluetooth earphone;
The probability acquisition module is used for inputting the sampling curve into the initialized use state identification model to obtain the probability that each sample curve segment belongs to the non-wearing state;
And the model adjustment module is used for adjusting the using state recognition model through the probability and the label until convergence so as to obtain a trained using state recognition model.
The Bluetooth headset connection control device provided by the embodiment of the invention can execute the Bluetooth headset connection control method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Referring to fig. 6, a schematic structural diagram of an electronic device in one example of the invention is shown. As shown in fig. 6, the electronic device may specifically include: processor 601, memory 602, display 603 with touch function, input device 604, output device 605 and communication device 606. The number of processors 601 in the electronic device may be one or more, one processor 601 being taken as an example in fig. 6. The amount of memory 602 in the electronic device may be one or more, one memory 602 being illustrated in fig. 6. The processor 601, memory 602, display 603, input means 604, output means 605 and communication means 606 of the device may be connected by a bus or otherwise, in fig. 6 by way of example.
The memory 602 is a computer readable storage medium, and may be used to store a software program and a computer executable program, where the memory 602 may mainly include a memory program area and a memory data area, and the memory program area may store an operating device and an application program required for at least one function; the storage data area may store data created according to the use of the device, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 602 may further include memory located remotely from processor 601, which may be connected to the device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The display screen 603 is a display screen 603 with a touch function, which may be a capacitive screen, an electromagnetic screen, or an infrared screen. Generally, the display screen 603 is used for displaying data according to instructions of the processor 601, and is also used for receiving touch operations applied to the display screen 603 and transmitting corresponding signals to the processor 601 or other devices. Optionally, when the display screen 603 is an infrared screen, it further includes an infrared touch frame disposed around the display screen 603, which may also be used to receive infrared signals and send the infrared signals to the processor 601 or other device.
Communication means 606 for establishing a communication connection with other devices, which may be wired communication means and/or wireless communication means.
The input means 604 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the device. The output device 605 may include an audio device such as a speaker. The specific composition of the input device 604 and the output device 605 may be set according to the actual situation.
The processor 601 executes various functional applications of the device and data processing by running software programs, instructions and modules stored in the memory 602, i.e., implements the bluetooth headset connection control method described above.
Specifically, in the embodiment, when the processor 601 executes one or more programs stored in the memory 602, the bluetooth headset connection control method provided by the embodiment of the invention is specifically implemented.
Example five
The fifth embodiment of the present invention further provides a computer readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, can implement the bluetooth headset connection control method in any embodiment of the present invention.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present invention is not limited to the above-mentioned method operations, and the method for controlling connection of bluetooth headset provided in any embodiment of the present invention may also be implemented.
It should be noted that, in the embodiments of the apparatus, the electronic device, and the storage medium, the description is relatively simple, and the relevant points refer to the part of the description of the method embodiments, since they are substantially similar to the method embodiments.
From the above description of embodiments, it will be clear to a person skilled in the art that the present invention may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-only memory (ROM), a random access memory (RandomAccess Memory, RAM), a FLASH memory (FLASH), a hard disk or an optical disk of a computer, etc., and include several instructions for causing an electronic device (which may be a personal computer, a server, or a network device, etc.) to execute the bluetooth headset connection control method according to the embodiments of the present invention.
It should be noted that, in the embodiment of the bluetooth headset connection control device, each unit and module included are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, and various modifications and variations may be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A bluetooth headset connection control method, comprising:
When the Bluetooth headset is connected with terminal equipment, acquiring a plurality of positioning data of the terminal equipment according to a preset period;
judging whether the wearer of the Bluetooth headset is in a running state or not according to the positioning data;
if yes, calculating a target distance between the Bluetooth headset and the terminal equipment through Bluetooth signal intensity;
Judging whether the Bluetooth headset is in a non-wearing state according to the target distances;
If yes, sending a disconnection message to the terminal equipment, stopping the connection with the Bluetooth headset when the terminal equipment receives the disconnection message, and switching an audio playing channel to a loudspeaker for playing;
The determining whether the bluetooth headset is in a non-wearing state according to the target distances includes:
when each calculation is carried out to obtain one target distance, adding the target distance to the head of a sliding window with a preset length, and calculating first average values of a plurality of target distances in the sliding window;
Calculating the absolute value of the difference between the first average value and the second average value, wherein the second average value is the average value calculated when the target distance is added to the head of the sliding window last time;
judging whether the absolute value is larger than a preset average value or not;
If yes, determining that the Bluetooth headset is in a non-wearing state.
2. The method of claim 1, wherein said determining whether the wearer of the bluetooth headset is in a running state based on a plurality of the positioning data comprises:
Judging whether the terminal equipment is in a moving state or not according to a plurality of positioning data;
If yes, determining that the wearer is in a running state.
3. The method of claim 1, wherein upon determining that the absolute value is greater than a preset value, further comprising:
When the terminal equipment runs a preset application program, judging whether the preset application program plays preset voice or not;
If yes, determining that the Bluetooth headset is in a non-wearing state.
4. The method of any of claims 1-2, wherein the determining whether the bluetooth headset is in a non-worn state based on a plurality of the target distances further comprises:
clustering the target distances obtained through current calculation to obtain a plurality of clustering centers;
judging whether a new cluster center appears;
If yes, determining that the Bluetooth headset is in a non-wearing state.
5. The method of any of claims 1-2, wherein the determining whether the bluetooth headset is in a non-worn state based on a plurality of the target distances further comprises:
Fitting a distance curve comprising a plurality of curve segments by taking the time of each preset period as an abscissa and the target distance calculated in the preset period as an ordinate;
inputting the target distance curve into a pre-trained use state identification model to obtain the probability of the Bluetooth headset in a non-wearing state in the time corresponding to each curve segment;
and when any probability is larger than a preset probability threshold, determining that the Bluetooth headset is in a non-wearing state.
6. The method of claim 5, wherein the usage state recognition model is trained by:
in the running process of wearing the Bluetooth headset by a wearer, acquiring a plurality of sampling distances from the Bluetooth headset to the terminal equipment according to a preset period, wherein the plurality of sampling distances comprise the distances between the Bluetooth headset and the terminal equipment when the Bluetooth headset is in a wearing state and a non-wearing state;
Generating a sampling curve comprising a plurality of sample curve segments by adopting a plurality of sampling distances and sampling time of the target distance, wherein the sample curve segments are marked with labels for representing the use state of the Bluetooth headset;
Inputting the sampling curve into an initialized use state identification model to obtain the probability that each sample curve section belongs to a non-wearing state;
And adjusting the using state recognition model through the probability and the label until convergence to obtain a trained using state recognition model.
7. A bluetooth headset connection control device, comprising:
The positioning data acquisition module is used for acquiring a plurality of positioning data of the terminal equipment according to a preset period when the Bluetooth headset is connected with the terminal equipment;
The running state judging module is used for judging whether the wearer of the Bluetooth headset is in a running state or not according to the positioning data;
The target distance calculating module is used for calculating the target distance between the Bluetooth headset and the terminal equipment through Bluetooth signal intensity when the wearer of the Bluetooth headset is in a running state;
the using state judging module is used for judging whether the Bluetooth headset is in a non-wearing state according to the target distances;
The signal sending module is used for sending a disconnection message to the terminal equipment when the Bluetooth headset is in a non-wearing state, stopping the connection with the Bluetooth headset when the terminal equipment receives the disconnection message, and switching an audio playing channel to a loudspeaker for playing;
the use state judging module comprises:
the first average value calculation sub-module is used for adding the target distance to the head of a sliding window with a preset length when one target distance is obtained through calculation, and calculating first average values of a plurality of target distances in the sliding window;
The absolute value calculating sub-module is used for calculating the absolute value of the difference value between the first average value and the second average value, wherein the second average value is the average value calculated when the target distance is added to the head of the sliding window last time;
the absolute value judging sub-module is used for judging whether the absolute value is larger than a preset average value or not;
the using state determining submodule is used for determining that the Bluetooth headset is in a non-wearing state when the absolute value is larger than a preset average value.
8. An electronic device, the electronic device comprising:
One or more processors;
A memory for storing one or more computer programs,
The one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the bluetooth headset connection control method of any of claims 1-6.
9. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, which when executed by a processor implements the bluetooth headset connection control method according to any one of claims 1-6.
CN202210398705.8A 2022-04-15 2022-04-15 Bluetooth headset connection control method and device, electronic equipment and storage medium Active CN114900786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210398705.8A CN114900786B (en) 2022-04-15 2022-04-15 Bluetooth headset connection control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210398705.8A CN114900786B (en) 2022-04-15 2022-04-15 Bluetooth headset connection control method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114900786A CN114900786A (en) 2022-08-12
CN114900786B true CN114900786B (en) 2024-10-11

Family

ID=82718304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210398705.8A Active CN114900786B (en) 2022-04-15 2022-04-15 Bluetooth headset connection control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114900786B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115190197B (en) * 2022-09-13 2023-02-17 荣耀终端有限公司 Bluetooth headset-based communication method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375554A (en) * 2016-08-25 2017-02-01 维沃移动通信有限公司 Audio output control method and mobile terminal
CN112533126A (en) * 2020-12-16 2021-03-19 歌尔光学科技有限公司 Earphone wearing state detection method, earphone and computer readable storage medium
CN114143397A (en) * 2021-11-25 2022-03-04 英华达(上海)科技有限公司 Bluetooth headset connection control method, system, device and storage medium

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101606375B1 (en) * 2009-09-23 2016-03-25 삼성전자주식회사 Headset, Method And System for operating Headset thereof, and Portable Device supporting the same
CN104270499B (en) * 2014-09-01 2018-01-16 广东欧珀移动通信有限公司 A kind of monitoring method of bluetooth earphone state, device and mobile terminal
KR101618339B1 (en) * 2015-01-29 2016-05-04 강윤규 Bluetooth headset comprising wearing sensor
CN105451111B (en) * 2015-12-10 2019-03-19 小米科技有限责任公司 Earphone control method for playing back, device and terminal
CN107907916B (en) * 2017-10-20 2019-04-02 歌尔科技有限公司 A kind of wearing state detection method and device of intelligent wearable device
CN108737922B (en) * 2018-05-21 2020-02-04 深圳市沃特沃德股份有限公司 Bluetooth headset play control method and Bluetooth headset
CN110430562B (en) * 2019-08-30 2022-06-07 RealMe重庆移动通信有限公司 Bluetooth communication method and related device
CN111200769B (en) * 2020-01-08 2022-01-28 昆山泰芯微电子有限公司 Communication method for Bluetooth headset device and Bluetooth headset device
CN111405508A (en) * 2020-02-19 2020-07-10 华为技术有限公司 Wearable device positioning method and wearable device
CN111417072A (en) * 2020-04-13 2020-07-14 歌尔科技有限公司 Wireless earphone positioning method, device and system
CN112614255A (en) * 2020-12-09 2021-04-06 广州橙行智动汽车科技有限公司 Vehicle position detection method and device, and unlocking control method and device
CN113691939B (en) * 2021-08-05 2024-05-14 Oppo广东移动通信有限公司 Prompting method, electronic equipment, bluetooth headset and computer storage medium
CN113709622B (en) * 2021-09-23 2022-11-01 歌尔科技有限公司 Method and device for detecting state of head-mounted electronic equipment, head-mounted electronic equipment and medium
CN114339589A (en) * 2021-11-17 2022-04-12 展讯通信(上海)有限公司 Data processing method, device, apparatus, storage medium, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375554A (en) * 2016-08-25 2017-02-01 维沃移动通信有限公司 Audio output control method and mobile terminal
CN112533126A (en) * 2020-12-16 2021-03-19 歌尔光学科技有限公司 Earphone wearing state detection method, earphone and computer readable storage medium
CN114143397A (en) * 2021-11-25 2022-03-04 英华达(上海)科技有限公司 Bluetooth headset connection control method, system, device and storage medium

Also Published As

Publication number Publication date
CN114900786A (en) 2022-08-12

Similar Documents

Publication Publication Date Title
CN107582028B (en) Sleep monitoring method and device
CN109511037B (en) Earphone volume adjusting method and device and computer readable storage medium
CN108769432B (en) Main earphone switching method and mobile terminal
CN109618263B (en) Head/neck inclination angle detection method, device and system and wireless earphone controller
CN107978316A (en) The method and device of control terminal
CN106464996A (en) Multifunctional headphone system for sports activities
CN108683799A (en) Wearable device lookup method and relevant device
CN107566604B (en) Message reminding control method and user terminal
CN109120790A (en) Call control method, device, storage medium and wearable device
CN104867506A (en) Music automatic control method and device
CN106105170B (en) Apparatus and method for facilitating wireless communication based on implicit user cues
CN109788387A (en) Control method, bluetooth headset and the computer readable storage medium of bluetooth headset
US20230372800A1 (en) Swing Action Detection Method and Wearable Device
CN109104684A (en) Microphone plug-hole detection method and Related product
EP4286024A1 (en) Method for detecting rope skipping state, and electronic device
CN114900786B (en) Bluetooth headset connection control method and device, electronic equipment and storage medium
CN105406882A (en) Terminal equipment control method and device
CN107205187A (en) A kind of method, device and terminal device based on earphone control music
CN106027801A (en) Communication message processing method and device and mobile device
CN108901080A (en) Communicate to connect method for building up and relevant device
CN106657616A (en) Method and device for adjusting working parameters
CN107609371A (en) A kind of message prompt method and audio-frequence player device
CN108429956B (en) Wireless earphone, control operation method and related product
CN108566684A (en) Communicate to connect method for building up and relevant device
CN107484082A (en) Method for controlling audio signal transmission based on sound channel and user 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