CN114245481B - Automatic disconnection method and system for Bluetooth headset, bluetooth headset and storage medium - Google Patents

Automatic disconnection method and system for Bluetooth headset, bluetooth headset and storage medium Download PDF

Info

Publication number
CN114245481B
CN114245481B CN202111620628.8A CN202111620628A CN114245481B CN 114245481 B CN114245481 B CN 114245481B CN 202111620628 A CN202111620628 A CN 202111620628A CN 114245481 B CN114245481 B CN 114245481B
Authority
CN
China
Prior art keywords
intensity
bluetooth headset
terminal equipment
radio frequency
audio
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
CN202111620628.8A
Other languages
Chinese (zh)
Other versions
CN114245481A (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.)
Dongguan Alpha Electronic Technology Co ltd
Original Assignee
Dongguan Alpha Electronic Technology 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 Dongguan Alpha Electronic Technology Co ltd filed Critical Dongguan Alpha Electronic Technology Co ltd
Priority to CN202111620628.8A priority Critical patent/CN114245481B/en
Publication of CN114245481A publication Critical patent/CN114245481A/en
Application granted granted Critical
Publication of CN114245481B publication Critical patent/CN114245481B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • 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
    • 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/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/34Selective release of ongoing connections

Abstract

The application relates to an automatic disconnection method and system of a Bluetooth headset, the Bluetooth headset and a storage medium, wherein the automatic disconnection method and system comprise the following steps: acquiring the intensity of radio frequency signals sent by terminal equipment, wherein the terminal equipment is connected with a Bluetooth headset; and judging whether to disconnect the connection with the terminal equipment according to the intensity and the preset intensity threshold value and combining whether the audio is currently played. The application provides an automatic disconnection method, a system, a Bluetooth headset and a storage medium of the Bluetooth headset, which are used for judging the distance between the Bluetooth headset and the terminal equipment according to the strength of radio frequency signals sent by the terminal equipment when considering whether the connection between the Bluetooth headset and the terminal equipment is automatically disconnected or not, and judging whether the connection between the Bluetooth headset and the terminal equipment is disconnected or not according to the quality of the audio played or not according to the fact that whether the audio is currently played or not besides the distance between the Bluetooth headset and the terminal equipment is considered, so that the problem that the headset is blocked and screaming when the distance between the Bluetooth headset and the terminal equipment reaches a critical distance is avoided.

Description

Automatic disconnection method and system for Bluetooth headset, bluetooth headset and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and system for automatically disconnecting a bluetooth headset, and a storage medium.
Background
With the development of technology and the elimination of traditional audio interfaces for certain models of mobile phones, bluetooth headsets have been used more and more frequently in people's daily lives. The transmission of bluetooth headset signal is easily received transmission distance and barrier's restriction, and the mechanism of target bluetooth headset automatic disconnection and terminal equipment only can initiatively break off the connection when the distance between bluetooth headset and the connected terminal equipment exceeds the preset distance, but when wearing bluetooth headset and keeping away from cell-phone or other equipment and reaching bluetooth connection's critical position, at this moment bluetooth headset is not Chang Kadu and even accompanies the squeaking sound, greatly reduced user experience.
Disclosure of Invention
Based on the above, the application provides an automatic disconnection method and system for a Bluetooth headset, the Bluetooth headset and a storage medium.
In a first aspect, an embodiment of the present application provides an automatic disconnection method for a bluetooth headset, including:
acquiring the intensity of radio frequency signals sent by terminal equipment, wherein the terminal equipment is connected with the Bluetooth headset;
and judging whether to disconnect the terminal equipment according to the intensity and the preset intensity threshold value and combining whether to play the audio currently.
Preferably, the determining whether to disconnect from the terminal device according to the intensity and the preset intensity threshold, and in combination with whether audio is currently being played, includes:
and if the intensity is smaller than the preset intensity threshold value and the audio is currently being played, disconnecting the connection with the terminal equipment.
Preferably, the determining whether to disconnect from the terminal device according to the intensity and the preset intensity threshold, and in combination with whether audio is currently being played, includes:
if the intensity is smaller than the preset intensity threshold value and the audio is not played currently, the connection with the terminal equipment is not disconnected.
Preferably, the determining whether to disconnect from the terminal device according to the intensity and the preset intensity threshold, and in combination with whether audio is currently being played, includes:
and if the intensity is not smaller than the preset intensity threshold, the connection with the terminal equipment is not disconnected.
Preferably, the acquiring the strength of the radio frequency signal sent by the terminal device includes:
acquiring each radio frequency signal transmitted by the terminal equipment within a preset time period;
acquiring average radio frequency intensity according to the number of all radio frequency signals in the preset time period and the intensity of each radio frequency signal sent by the terminal equipment;
and taking the average radio frequency intensity as the intensity of the radio frequency signal sent by the terminal equipment.
Preferably, the obtaining average radio frequency strength according to the number of all radio frequency signals in the preset time period and the strength of each radio frequency signal sent by the terminal device includes:
acquiring the sum of the intensities of each radio frequency signal transmitted by the terminal equipment;
and dividing the sum of the intensities by the number of all radio frequency signals to obtain the average radio frequency intensity.
Preferably, the terminal device comprises a mobile phone, a tablet computer and a computer.
In a second aspect, an embodiment of the present application provides an automatic disconnection system of a bluetooth headset, including:
the intensity module is used for acquiring the intensity of radio frequency signals sent by the terminal equipment, and the terminal equipment is connected with the Bluetooth headset;
and the judging module is used for judging whether to disconnect the terminal equipment according to the intensity and the preset intensity threshold value and combining whether to play the audio currently.
In a third aspect, an embodiment of the present application provides a bluetooth headset, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the step of automatically disconnecting the bluetooth headset when the processor executes the computer program.
In a fourth aspect, an embodiment of the present application provides a computer storage medium storing a computer program, where the computer program when executed by a processor implements the step of automatically disconnecting the bluetooth headset.
The application provides an automatic disconnection method, a system, a Bluetooth headset and a storage medium of the Bluetooth headset, which are used for judging the distance between the Bluetooth headset and the terminal equipment according to the strength of radio frequency signals sent by the terminal equipment when considering whether the connection between the Bluetooth headset and the terminal equipment is automatically disconnected or not, and judging whether the connection between the Bluetooth headset and the terminal equipment is disconnected or not according to the quality of the audio played or not according to the fact that whether the audio is currently played or not besides the distance between the Bluetooth headset and the terminal equipment is considered, so that the problem that the headset is blocked and screaming when the distance between the Bluetooth headset and the terminal equipment reaches a critical distance is avoided.
Drawings
Fig. 1 is a flowchart of an automatic disconnection method of a bluetooth headset according to an embodiment of the present application;
fig. 2 is a flow chart of an automatic disconnection method of a bluetooth headset according to another embodiment of the present application;
FIG. 3 is a flowchart of a method for calculating RF signal strength according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an automatic disconnection system for bluetooth according to an embodiment of the present application.
Detailed Description
In order that the application may be readily understood, a more complete description of the application will be rendered by reference to the appended drawings. Preferred embodiments of the present application are shown in the drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "fixed to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
Fig. 1 is a flowchart of an automatic disconnection method of a bluetooth headset according to an embodiment of the present application, as shown in fig. 1, where the method includes:
the Bluetooth headset automatic disconnection method provided by the embodiment of the application is applied to the Bluetooth headset, and the Bluetooth headset automatically disconnects with the terminal equipment when the Bluetooth headset meets the automatic disconnection condition by burning the automatic disconnection method.
S110, acquiring the intensity of radio frequency signals sent by terminal equipment, wherein the terminal equipment is connected with the Bluetooth headset;
the implementation main body of the method is a Bluetooth earphone, firstly the Bluetooth earphone receives a radio frequency signal sent by a terminal device and calculates the intensity of the radio frequency signal, and the more the Bluetooth signal intensity is, the closer the distance between the terminal device and the Bluetooth earphone is, the smaller the Bluetooth signal intensity is, and the more the distance between the terminal device and the Bluetooth earphone is, so that the distance between the terminal device and the Bluetooth earphone can be judged according to the intensity of the Bluetooth signal, and whether the terminal device and the Bluetooth earphone are in active disconnection or not is judged later.
S120, judging whether to disconnect the terminal equipment according to the intensity and the preset intensity threshold value and combining whether to play the audio currently.
And then according to the intensity calculated in the last step and the preset intensity threshold, whether the Bluetooth headset is connected with the terminal equipment is judged finally by combining whether the Bluetooth headset is playing audio currently or not. It should be noted that, under ideal conditions, the preset intensity threshold value indicates that the terminal device sends a radio frequency signal to the bluetooth headset, the intensity value of the radio frequency signal detected by the bluetooth headset is the preset intensity threshold value, the preset intensity threshold value is a critical value that the audio played by the bluetooth headset is not blocked, once the distance between the terminal device and the bluetooth headset is larger, the intensity of the radio frequency signal detected by the bluetooth headset is smaller than the preset intensity threshold value, and the audio played by the bluetooth headset is blocked. In the specific implementation process, the specific value of the preset intensity threshold value is required to be determined through multiple tests, the preset distance is tested through multiple tests, the preset distance represents the critical distance between the occurrence of audio jamming and the non-occurrence of audio jamming, and the value of the preset intensity threshold value is determined on the basis of the determination of the preset distance. In the embodiment of the present application, the preset intensity threshold may be determined according to actual situations, which is not specifically limited herein.
The application provides an automatic disconnection method of a Bluetooth headset, which is characterized in that when considering whether to automatically disconnect the connection with terminal equipment, the distance between the Bluetooth headset and the terminal equipment is judged according to the strength of radio frequency signals sent by the terminal equipment, and besides considering the distance between the Bluetooth headset and the terminal equipment, whether to disconnect the connection between the Bluetooth headset and the terminal equipment is judged according to the quality of the audio to be played, so that the problems of clamping and screaming of the headset when the distance between the Bluetooth headset and the terminal equipment reaches a critical distance are avoided.
On the basis of the foregoing embodiment, preferably, the determining whether to disconnect from the terminal device according to the intensity and a preset intensity threshold, and in combination with whether audio is currently being played, includes:
and if the intensity is smaller than the preset intensity threshold value and the audio is currently being played, disconnecting the connection with the terminal equipment.
Specifically, if the intensity of the radio frequency signal received by the bluetooth headset is smaller than a preset intensity threshold, it is indicated that the terminal device is far away from the bluetooth headset, and there is a possibility of delay and blocking problems, if the bluetooth headset is just detected to play audio at the moment, the bluetooth headset will be actively disconnected from the terminal device at the moment, and the problems of audio delay and blocking are avoided to the greatest extent.
Aiming at the condition that the intensity of a received radio frequency signal is smaller than a preset intensity threshold value, the embodiment of the application timely disconnects the connection between the Bluetooth headset playing the audio and the terminal equipment, thereby avoiding the problems of audio delay and blocking to the greatest extent.
On the basis of the foregoing embodiment, preferably, the determining whether to disconnect from the terminal device according to the intensity and a preset intensity threshold, and in combination with whether audio is currently being played, includes:
if the intensity is smaller than the preset intensity threshold value and the audio is not played currently, the connection with the terminal equipment is not disconnected.
Specifically, if the intensity of the radio frequency signal received by the bluetooth headset is smaller than the preset intensity threshold, it indicates that the distance between the terminal device and the bluetooth headset is far, and there is a possibility that delay and jamming problems may occur, but at this time, if the bluetooth headset does not play audio, even if the distance between the bluetooth headset and the terminal device is already within the range where the delay and jamming phenomena occur, but because the bluetooth headset does not play audio, the connection between the bluetooth headset and the terminal device is not disconnected, so as to improve the user satisfaction to the maximum extent.
On the basis of the foregoing embodiment, preferably, the determining whether to disconnect from the terminal device according to the intensity and a preset intensity threshold, and in combination with whether audio is currently being played, includes:
and if the intensity is not smaller than the preset intensity threshold, the connection with the terminal equipment is not disconnected.
Specifically, if the intensity of the radio frequency signal received by the bluetooth headset is greater than or equal to the preset intensity threshold, the conditions of audio jamming and delay are not objectively existed, so that whether the bluetooth headset is playing audio or not is not required, and the connection between the bluetooth headset and the terminal equipment is not required to be actively disconnected.
Fig. 2 is a flow chart of an automatic disconnection method of a bluetooth headset according to another embodiment of the present application, as shown in fig. 2, the method includes:
firstly, the intensity of the radio frequency signals received by the Bluetooth headset is obtained and compared with a stored preset intensity threshold, if the intensity is smaller than the preset intensity threshold and the Bluetooth headset is playing audio, the connection between the Bluetooth headset and the terminal equipment is directly and actively disconnected, otherwise, if the intensity is not smaller than the preset intensity threshold, no matter whether the Bluetooth headset is playing audio or not, the connection between the Bluetooth headset and the terminal equipment is not actively disconnected.
Fig. 3 is a flowchart of a method for calculating the radio frequency signal strength according to an embodiment of the present application, as shown in fig. 3, on the basis of the foregoing embodiment, preferably, the obtaining the strength of the radio frequency signal sent by the terminal device includes:
acquiring each radio frequency signal transmitted by the terminal equipment within a preset time period;
acquiring average radio frequency intensity according to the number of all radio frequency signals in the preset time period and the intensity of each radio frequency signal sent by the terminal equipment;
and taking the average radio frequency intensity as the intensity of the radio frequency signal sent by the terminal equipment.
Specifically, in order to obtain the strength of the radio frequency signal sent by the terminal equipment, the following method is adopted:
firstly, acquiring the number of each radio frequency signal and all radio frequency signals transmitted by the terminal equipment in a preset time period, calculating the average radio frequency intensity according to the intensity of each radio frequency signal and the number of all radio frequency signals transmitted in the preset time period, and taking the average radio frequency intensity as the intensity of the radio frequency signals transmitted by the terminal equipment.
According to the intensity of each radio frequency signal and the number of all radio frequency signals transmitted in the preset time period, the average radio frequency intensity is calculated, and the specific implementation method can be as follows: according to the intensity of each radio frequency signal, radio frequency signals with the intensity larger than a certain threshold value are screened out firstly to remove noise in the environment, then integral summation is carried out on the residual radio frequency signals, and the integral summation is divided by the number of the residual radio frequency signals to obtain the spliced radio frequency intensity. Or, the intensity of each radio frequency signal is obtained, the intensities of all radio frequency signals are integrated and summed, and the numerical value obtained by summation is divided by the number of all radio frequency signals in a preset time period to obtain the average radio frequency intensity.
It should be noted that, the specific value of the preset time period may be determined according to the actual situation, and the embodiment of the present application is not limited herein specifically.
In the embodiment of the application, the average value of the radio frequency signal intensity in the preset time period is obtained, the average value is used as the intensity value of the radio frequency signal received by the Bluetooth headset, and the intensity value of the radio frequency signal is obtained through average calculation, so that the intensity value of the radio frequency signal is calculated more accurately, and the subsequent judgment result is also more accurate.
On the basis of the foregoing embodiment, preferably, the obtaining average radio frequency strength according to the number of all radio frequency signals in the preset time period and the strength of each radio frequency signal sent by the terminal device includes:
acquiring the sum of the intensities of each radio frequency signal transmitted by the terminal equipment;
and dividing the sum of the intensities by the number of all radio frequency signals to obtain the average radio frequency intensity.
In the embodiment of the application, the average radio frequency intensity is obtained according to the sum of all the radio frequency signal intensities in the preset time period divided by the number of all the radio frequency signals in the preset time period. For example, the preset time period has a value of 104us, and the number of all rf signals is 8192, so that the average rf strength is sum (rf signal strength)/8192.
On the basis of the above embodiment, preferably, the terminal device includes a mobile phone, a tablet, and a computer.
The terminal equipment in the embodiment of the application comprises, but is not limited to, a smart phone, a tablet personal computer, a computer and the like, and is determined according to actual conditions.
In summary, the present application provides an automatic disconnection method for a bluetooth headset, when considering whether to automatically disconnect from a terminal device, according to the strength of a radio frequency signal sent by the terminal device, so as to determine the distance between the bluetooth headset and the terminal device, and besides considering the distance between the bluetooth headset and the terminal device, whether to currently play audio is also considered, and whether to disconnect from the bluetooth headset and the terminal device is determined according to the quality of the played audio, so as to avoid the problem that the headset is stuck and screaming when the distance between the bluetooth headset and the terminal device reaches a critical distance.
And the average value of the radio frequency signal intensity in the preset time period is obtained, the average value is used as the intensity value of the radio frequency signal received by the Bluetooth headset, and the intensity value of the radio frequency signal is obtained through average calculation, so that the intensity value of the radio frequency signal is calculated more accurately, and the subsequent judgment result is also more accurate.
Fig. 4 is a schematic structural diagram of an automatic bluetooth disconnection system according to an embodiment of the present application, as shown in fig. 4, where the system includes an intensity module 410 and a judgment module 420, where:
the intensity module 410 is configured to obtain intensity of a radio frequency signal sent by a terminal device, where the terminal device is connected with the bluetooth headset;
the judging module 420 is configured to judge whether to disconnect from the terminal device according to the intensity and a preset intensity threshold, and in combination with whether audio is currently being played.
The present embodiment is a system embodiment corresponding to the above method, and please refer to the above method embodiment for details, which are not described herein.
On the basis of the above embodiment, preferably, the judging module includes a first judging unit, in which:
and the first judging unit is used for disconnecting the connection with the terminal equipment if the intensity is smaller than the preset intensity threshold value and the audio is currently being played.
On the basis of the above embodiment, preferably, the judging module further includes a second judging unit, wherein:
and the second judging unit is used for not disconnecting the connection with the terminal equipment if the intensity is smaller than the preset intensity threshold value and the audio is not played currently.
On the basis of the above embodiment, preferably, the judging module includes a third judging unit, wherein:
and the third judging unit is used for not disconnecting the connection with the terminal equipment if the intensity is not smaller than the preset intensity threshold value.
On the basis of the above embodiment, preferably, the intensity module includes a transmitting unit, an averaging unit, and an intensity calculating unit, wherein:
the transmitting unit is used for acquiring each radio frequency signal transmitted by the terminal equipment in a preset time period;
the average unit is used for obtaining average radio frequency intensity according to the number of all radio frequency signals in the preset time period and the intensity of each radio frequency signal sent by the terminal equipment;
the intensity calculating unit is used for taking the average radio frequency intensity as the intensity of the radio frequency signal sent by the terminal equipment.
On the basis of the above embodiment, preferably, the averaging unit includes a summing subunit and a dividing subunit, wherein:
the summation subunit is used for obtaining the sum of the intensity of each radio frequency signal sent by the terminal equipment;
the dividing subunit is configured to divide the sum of the intensities by the number of all radio frequency signals to obtain the average radio frequency intensity.
On the basis of the above embodiment, preferably, the terminal device includes a mobile phone, a tablet, and a computer.
All or part of each module in the automatic disconnection system of the Bluetooth headset can be realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In an embodiment of the present application, a bluetooth headset is provided, where the bluetooth headset includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the bluetooth headset is configured to provide computing and control capabilities. The memory of the Bluetooth headset comprises a computer storage medium and an internal memory. The computer storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the computer storage media. The computer program when executed by the processor is configured to implement a method for automatically disconnecting a bluetooth headset.
In one embodiment, a computer device is provided that includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the steps of the automatic disconnection method of a bluetooth headset in the above embodiments. Alternatively, the processor, when executing the computer program, implements the functions of the modules/units in this embodiment of the bluetooth headset automatic disconnection system.
In one embodiment, a computer storage medium is provided, and a computer program is stored on the computer storage medium, where the computer program is executed by a processor to implement the steps of the automatic disconnection method of a bluetooth headset in the above embodiment. Alternatively, the computer program, when executed by the processor, performs the functions of the modules/units in the embodiment of the automatic disconnection system of a bluetooth headset.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples only represent preferred embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (7)

1. An automatic disconnection method for a Bluetooth headset, which is characterized by being applied to the Bluetooth headset and comprising the following steps:
acquiring the intensity of radio frequency signals sent by terminal equipment, wherein the terminal equipment is connected with the Bluetooth headset;
according to the intensity and the preset intensity threshold, and combining whether audio is currently played, judging whether to disconnect the connection with the terminal equipment, including:
if the intensity is smaller than the preset intensity threshold value and the audio is currently being played, disconnecting the connection with the terminal equipment;
if the intensity is smaller than the preset intensity threshold and the audio is not played currently, the connection with the terminal equipment is not disconnected;
and if the intensity is not smaller than the preset intensity threshold, the connection with the terminal equipment is not disconnected.
2. The automatic disconnection method of a bluetooth headset according to claim 1, wherein the obtaining the strength of the radio frequency signal transmitted by the terminal device includes:
acquiring each radio frequency signal transmitted by the terminal equipment within a preset time period;
acquiring average radio frequency intensity according to the number of all radio frequency signals in the preset time period and the intensity of each radio frequency signal sent by the terminal equipment;
and taking the average radio frequency intensity as the intensity of the radio frequency signal sent by the terminal equipment.
3. The automatic disconnection method of a bluetooth headset according to claim 2, wherein the obtaining average radio frequency strength according to the number of all radio frequency signals in the preset time period and the strength of each radio frequency signal sent by the terminal device includes:
acquiring the sum of the intensities of each radio frequency signal transmitted by the terminal equipment;
and dividing the sum of the intensities by the number of all radio frequency signals to obtain the average radio frequency intensity.
4. The automatic disconnection method of a bluetooth headset according to any of claims 1 to 3, wherein the terminal device comprises a mobile phone, a tablet, a computer.
5. An automatic disconnection system of a bluetooth headset, which is applied to the bluetooth headset, comprises:
the intensity module is used for acquiring the intensity of radio frequency signals sent by the terminal equipment, and the terminal equipment is connected with the Bluetooth headset;
the judging module is used for judging whether to disconnect the terminal equipment according to the intensity and the preset intensity threshold value and combining whether to play the audio currently or not, and comprises the following steps:
if the intensity is smaller than the preset intensity threshold value and the audio is currently being played, disconnecting the connection with the terminal equipment;
if the intensity is smaller than the preset intensity threshold and the audio is not played currently, the connection with the terminal equipment is not disconnected;
and if the intensity is not smaller than the preset intensity threshold, the connection with the terminal equipment is not disconnected.
6. A bluetooth headset comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, realizes the steps of the automatic disconnection method of a bluetooth headset according to any of claims 1 to 4.
7. A computer storage medium storing a computer program, wherein the computer program when executed by a processor performs the steps of the automatic disconnection method of a bluetooth headset according to any of claims 1 to 4.
CN202111620628.8A 2021-12-27 2021-12-27 Automatic disconnection method and system for Bluetooth headset, bluetooth headset and storage medium Active CN114245481B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111620628.8A CN114245481B (en) 2021-12-27 2021-12-27 Automatic disconnection method and system for Bluetooth headset, bluetooth headset and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111620628.8A CN114245481B (en) 2021-12-27 2021-12-27 Automatic disconnection method and system for Bluetooth headset, bluetooth headset and storage medium

Publications (2)

Publication Number Publication Date
CN114245481A CN114245481A (en) 2022-03-25
CN114245481B true CN114245481B (en) 2023-12-12

Family

ID=80764033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111620628.8A Active CN114245481B (en) 2021-12-27 2021-12-27 Automatic disconnection method and system for Bluetooth headset, bluetooth headset and storage medium

Country Status (1)

Country Link
CN (1) CN114245481B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745673B (en) * 2022-04-15 2023-03-24 广州易而达科技股份有限公司 Connection control method and device of Bluetooth headset, bluetooth headset and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468971A (en) * 2014-10-30 2015-03-25 小米科技有限责任公司 Method and device for connecting playing source
CN105187613A (en) * 2015-04-09 2015-12-23 深圳市金立通信设备有限公司 Terminal
CN109495805A (en) * 2018-12-07 2019-03-19 广州由我科技股份有限公司 A kind of bluetooth headset and its control method
CN111372228A (en) * 2020-02-24 2020-07-03 维沃移动通信有限公司 Audio control method and electronic equipment
CN111417100A (en) * 2020-04-10 2020-07-14 北京百瑞互联技术有限公司 Automatic connection and control method for Bluetooth low-power-consumption equipment
CN112153534A (en) * 2020-09-11 2020-12-29 Oppo(重庆)智能科技有限公司 Call quality adjusting method and device, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102149033A (en) * 2010-10-28 2011-08-10 华为终端有限公司 Earphone processing method and user equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468971A (en) * 2014-10-30 2015-03-25 小米科技有限责任公司 Method and device for connecting playing source
CN105187613A (en) * 2015-04-09 2015-12-23 深圳市金立通信设备有限公司 Terminal
CN109495805A (en) * 2018-12-07 2019-03-19 广州由我科技股份有限公司 A kind of bluetooth headset and its control method
CN111372228A (en) * 2020-02-24 2020-07-03 维沃移动通信有限公司 Audio control method and electronic equipment
CN111417100A (en) * 2020-04-10 2020-07-14 北京百瑞互联技术有限公司 Automatic connection and control method for Bluetooth low-power-consumption equipment
CN112153534A (en) * 2020-09-11 2020-12-29 Oppo(重庆)智能科技有限公司 Call quality adjusting method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114245481A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN107493500B (en) Multimedia resource playing method and device
CN106791067B (en) Call volume adjusting method and device and mobile terminal
CN107871015B (en) Log data processing method and device, terminal and readable storage medium
US10204639B2 (en) Method and device for processing sound signal for communications device
CN114245481B (en) Automatic disconnection method and system for Bluetooth headset, bluetooth headset and storage medium
CN107820684B (en) Channel detection method, information sending method, device and communication equipment
CN108093451B (en) Random access control method, device, storage medium and mobile terminal
CN107979858B (en) Data path switching method, device, terminal and computer readable storage medium
US20180083690A1 (en) Antenna Allocation Method and Terminal
CN111601310B (en) Call encryption method and system based on voiceprint recognition and mobile terminal
CN104754099A (en) Conversation volume adjusting method
CN112714215A (en) Mobile terminal sound setting processing method and device, terminal equipment and storage medium
CN114222278A (en) Signal back connection method, system, Bluetooth headset and storage medium
CN112752328A (en) Network control method, device and storage medium
CN106304287B (en) Method for reducing standby power consumption of mobile terminal and mobile terminal
CN109495934B (en) Call conversation method, related equipment and storage medium
CN115460665A (en) Network switching method and device
CN110399114B (en) Method, device and terminal equipment for controlling robot to perform video monitoring
CN112787745B (en) Wireless communication method, device, electronic equipment and storage medium
CN115052276A (en) Information processing method and device, electronic device and storage medium
CN110337823B (en) Information configuration method and device, service processing method and device and base station
CN108924902B (en) Wireless network disconnection method and device and electronic device
US20060043937A1 (en) Method and system for obtaining ambient temperatures
US10045167B2 (en) Phone record
CN114244383B (en) Signal processing method, system, bluetooth headset and storage medium

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