CN106792462A - Bluetooth audio frequency transmits method of adjustment and device - Google Patents

Bluetooth audio frequency transmits method of adjustment and device Download PDF

Info

Publication number
CN106792462A
CN106792462A CN201611201751.5A CN201611201751A CN106792462A CN 106792462 A CN106792462 A CN 106792462A CN 201611201751 A CN201611201751 A CN 201611201751A CN 106792462 A CN106792462 A CN 106792462A
Authority
CN
China
Prior art keywords
bluetooth
packet loss
transmission
transmission power
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611201751.5A
Other languages
Chinese (zh)
Other versions
CN106792462B (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.)
Shenzhen TCL New Technology Co Ltd
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201611201751.5A priority Critical patent/CN106792462B/en
Publication of CN106792462A publication Critical patent/CN106792462A/en
Application granted granted Critical
Publication of CN106792462B publication Critical patent/CN106792462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/72Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
    • 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
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/26TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service]

Landscapes

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

Abstract

The invention discloses a kind of Bluetooth audio frequency transmission method of adjustment, the method includes:Obtain the packet loss of terminal current Bluetooth audio transmission;Judge the packet loss of the current Bluetooth audio transmission whether more than or equal to default packet loss threshold value;If so, then calculating Bluetooth transmission power corresponding with the packet loss of the current Bluetooth audio transmission according to preset algorithm;The current Bluetooth transmission power of the terminal is adjusted according to result of calculation.The invention also discloses a kind of Bluetooth audio frequency transmission adjusting apparatus.The present invention can solve the problem that in blue tooth transmission audio frequency data procedures due to the technical problem of audio interim card caused by packet loss.

Description

Bluetooth audio frequency transmits method of adjustment and device
Technical field
The present invention relates to communication technical field, more particularly to Bluetooth audio frequency transmission method of adjustment and device.
Background technology
Bluetooth is widely used in various terminal equipment (such as intelligent television, intelligent hand as a kind of short haul connection mode Machine, bluetooth earphone, Baffle Box of Bluetooth etc.) communication.Wherein, Bluetooth audio frequency transmission is based on A2DP agreements (Advanced Audio Distribution Profile, Bluetooth audio frequency mode agreement), bluetooth earphone, audio amplifier etc. are transmitted by this agreement Voice data stream.
During Bluetooth communication, packet loss when representing data transfer lost data packet number account for transmitted data group Ratio, usual experience packet loss value will be less than a ten thousandth, and data transfer is just very smooth.However, A2DP agreements are to voice data The requirement of real-time of transmission is more strict, when two terminals carry out Bluetooth communication, due to influence (the abundant wall of environmental factor Wall, metal isolation strip, electronic interferences etc.) or the distance between two terminals become the packet loss remote, Bluetooth audio frequency can be caused to transmit Rate increases, and interim card occurs so as to cause audio, has had a strong impact on Consumer's Experience.
The content of the invention
It is a primary object of the present invention to propose a kind of Bluetooth audio frequency transmission method of adjustment and device, it is intended to solve bluetooth biography Due to the technical problem of audio interim card caused by packet loss during defeated voice data.
To achieve the above object, the present invention provides a kind of Bluetooth audio frequency transmission method of adjustment, and methods described includes following step Suddenly:
Obtain the packet loss of terminal current Bluetooth audio transmission;
Judge the packet loss of the current Bluetooth audio transmission whether more than or equal to default packet loss threshold value;
If so, then calculating Bluetooth transmission work(corresponding with the packet loss of the current Bluetooth audio transmission according to preset algorithm Rate;
The current Bluetooth transmission power of the terminal is adjusted according to result of calculation.
Alternatively, it is described to include the step of adjust the terminal current Bluetooth transmission power according to result of calculation:
Obtain the current Bluetooth transmission power of the terminal;
Judge whether the current Bluetooth transmission power of the terminal is less than the be calculated and current Bluetooth audio and passes The corresponding Bluetooth transmission power of defeated packet loss;
If so, the current Bluetooth transmission power of the terminal to be then adjusted to the packet loss with the current Bluetooth audio transmission The corresponding Bluetooth transmission power of rate.
Alternatively, whether the Bluetooth transmission power for judging that the terminal is current is current with described less than being calculated After the step of corresponding Bluetooth transmission power of packet loss of Bluetooth audio frequency transmission, also include:
If it is not, then calculate corresponding with packet loss threshold value Bluetooth transmission power according to the preset algorithm, and by institute State the current Bluetooth transmission power of terminal and be adjusted to Bluetooth transmission power corresponding with the packet loss threshold value.
Alternatively, it is described to calculate bluetooth hair corresponding with the packet loss of the current Bluetooth audio transmission according to preset algorithm The step of penetrating power includes:
Pass throughIt is calculated the packet loss with current Bluetooth audio transmission Corresponding Bluetooth transmission power Pc
Wherein, LcRepresent the packet loss of current Bluetooth audio transmission, LmaxRepresent maximum packet loss and Lmax=100%, e are Constant.
Alternatively, methods described also includes:
According to the song between the packet loss of default Bluetooth audio frequency transmission rate and the terminal current Bluetooth audio transmission Line relation adjusts the current Bluetooth audio frequency transmission rate of the terminal.
Additionally, to achieve the above object, the present invention also provides a kind of Bluetooth audio frequency transmission adjusting apparatus, described device bag Include:
Acquisition module, the packet loss for obtaining terminal current Bluetooth audio transmission;
Judge module, for judging the packet loss of the current Bluetooth audio transmission whether more than or equal to default packet loss Rate threshold value;
Computing module, if being more than or equal to default packet loss threshold for the packet loss of the current Bluetooth audio transmission Value, then calculate Bluetooth transmission power corresponding with the packet loss of the current Bluetooth audio transmission according to preset algorithm;
First adjusting module, for adjusting the current Bluetooth transmission power of the terminal according to result of calculation.
Alternatively, first adjusting module is additionally operable to:
Obtain the current Bluetooth transmission power of the terminal;
Judge whether the current Bluetooth transmission power of the terminal is less than the be calculated and current Bluetooth audio and passes The corresponding Bluetooth transmission power of defeated packet loss;
If so, the current Bluetooth transmission power of the terminal to be then adjusted to the packet loss with the current Bluetooth audio transmission The corresponding Bluetooth transmission power of rate.
Alternatively, first adjusting module is additionally operable to:
If the current Bluetooth transmission power of the terminal be more than or equal to be calculated and the current Bluetooth audio pass The corresponding Bluetooth transmission power of defeated packet loss, then calculate bluetooth corresponding with the packet loss threshold value according to the preset algorithm Transmission power, and the current Bluetooth transmission power of the terminal is adjusted to Bluetooth transmission work(corresponding with the packet loss threshold value Rate.
Alternatively, the computing module is additionally operable to:
Pass throughIt is calculated the packet loss with current Bluetooth audio transmission Corresponding Bluetooth transmission power Pc
Wherein, LcRepresent the packet loss of current Bluetooth audio transmission, LmaxRepresent maximum packet loss and Lmax=100%, e are Constant.
Alternatively, described device also includes:
Second adjusting module, for according to default Bluetooth audio frequency transmission rate and the terminal current Bluetooth audio transmission Packet loss between curved line relation adjust the current Bluetooth audio frequency transmission rate of the terminal.
The present invention obtains the packet loss of terminal current Bluetooth audio transmission;Judge the packet loss of the current Bluetooth audio transmission Whether rate is more than or equal to default packet loss threshold value;If so, then calculated according to preset algorithm being passed with the current Bluetooth audio The corresponding Bluetooth transmission power of defeated packet loss;The current Bluetooth transmission power of the terminal is adjusted according to result of calculation.Pass through Aforesaid way, when Bluetooth audio frequency transmission environment is poor, compared to the Bluetooth transmission power that terminal in the prior art is fixed, this hair It is bright self-adaptative adjustment to be carried out to terminal Bluetooth transmission power according to the packet loss of current Bluetooth audio transmission, and then reduce blue The packet loss of tooth audio transmission, reduces Caton phenomenon such that it is able to solve in blue tooth transmission audio frequency data procedures because packet loss is led The technical problem of the audio interim card of cause.
Brief description of the drawings
Fig. 1 is the schematic flow sheet that Bluetooth audio frequency of the present invention transmits method of adjustment first embodiment;
Fig. 2 is the refinement step schematic diagram of step S40 in Fig. 1;
Fig. 3 is the mapping curve schematic diagram in formula one between Bluetooth transmission power and packet loss;
Fig. 4 is the schematic flow sheet that Bluetooth audio frequency of the present invention transmits method of adjustment second embodiment;
Fig. 5 be default Bluetooth audio frequency transmission rate of the invention with the packet loss of the terminal current Bluetooth audio transmission it Between curved line relation schematic diagram;
Fig. 6 is the high-level schematic functional block diagram that Bluetooth audio frequency of the present invention transmits adjusting apparatus first embodiment;
Fig. 7 is the high-level schematic functional block diagram that Bluetooth audio frequency of the present invention transmits adjusting apparatus second embodiment.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of Bluetooth audio frequency transmission method of adjustment.
Reference picture 1, Fig. 1 is the schematic flow sheet that Bluetooth audio frequency of the present invention transmits method of adjustment first embodiment.The side Method comprises the following steps:
Step S10, obtains the packet loss of terminal current Bluetooth audio transmission;
In the present embodiment, terminal can have bluetooth for intelligent television, smart mobile phone, bluetooth earphone, Baffle Box of Bluetooth etc. The electronic equipment of communication function.
When two terminal devices carry out Bluetooth audio frequency transmission, terminal obtains the packet loss of current Bluetooth audio transmission first Rate, wherein, packet loss when representing data transfer lost data packet number account for the ratio of transmitted data group, usual experience packet loss Rate value will be less than a ten thousandth, and data transfer is just very smooth.Terminal in the present embodiment refers to two Bluetooth communication terminals and sets Host ends in standby, i.e. main equipment, such as be connected when intelligent television carries out pairing using the independent auditory function of bluetooth and Baffle Box of Bluetooth When, can be using intelligent television as main equipment, using Baffle Box of Bluetooth as slave unit.
Specifically, when Bluetooth audio frequency transmission is carried out, terminal device uses A2DP agreements (Bluetooth audio frequency mode Agreement), the detectable A2dp of a2dp Service service processes of terminal is in play (activity) state, and now terminal can be called Bluetooth bottom reads packet loss (Packet Loss Rate) interface ReadLossRate (), so that reading terminals current Bluetooth The packet loss of audio transmission.Wherein, terminal can in real time read the packet loss of current Bluetooth audio transmission, it is also possible to according to default Frequency read current Bluetooth audio transmission packet loss, can flexibly be set during specific implementation.
Whether step S20, judge the packet loss of the current Bluetooth audio transmission more than or equal to default packet loss threshold Value;
After the packet loss that terminal gets current Bluetooth audio transmission, then judge the packet loss that gets whether be more than or Equal to default packet loss threshold value, the packet loss threshold value can flexibly be set according to actual needs, such as could be arranged to ten thousand / mono-.If the packet loss for getting is less than default packet loss threshold value, can determine that current Bluetooth audio frequency transmission interference compared with It is small, audio Caton phenomenon will not occur, thus any treatment need not be made.
Step S30, if the packet loss of the current Bluetooth audio transmission is more than or equal to default packet loss threshold value, presses Bluetooth transmission power corresponding with the packet loss of the current Bluetooth audio transmission is calculated according to preset algorithm;
If the packet loss for getting is more than or equal to default packet loss threshold value, current Bluetooth audio frequency transmission is can determine that Interference is larger, now needs to be adjusted the Bluetooth transmission power of terminal.
In the prior art, the Bluetooth transmission power of terminal device is generally fixed value, and the bluetooth formulated according to official is led to Letter agreement, no more than the maximum transmission power of its regulation, otherwise associated Bluetooth standard is with regard to nothing for terminal Bluetooth transmitting peak power Method test passes through.Meanwhile, in the case of other conditions identical, terminal Bluetooth transmission power is bigger, then transmitting range is more remote, blue The coverage of tooth audio transmission is also bigger, thus, terminal Bluetooth transmission power is improved to a certain extent can reduce indigo plant The packet loss of tooth audio transmission, reduces the generation of audio Caton phenomenon.
The present embodiment terminal can calculate bluetooth corresponding with the packet loss of current Bluetooth audio transmission according to preset algorithm Transmission power, the Bluetooth transmission power that this is calculated needs in the reasonable scope, such as in the emission maximum of 0 to agreement regulation Between power, wherein, maximum transmission power or the empirical value of maximum transmission power that preset algorithm can specify according to agreement Flexibly set.
Step S40, the current Bluetooth transmission power of the terminal is adjusted according to result of calculation.
Terminal after the corresponding Bluetooth transmission power of the packet loss of current Bluetooth audio transmission is calculated, further according to calculating The current Bluetooth transmission power of result adjustment terminal.Such as, the Bluetooth transmission power that will can be calculated and the current indigo plant of terminal Tooth transmission power is compared, if the Bluetooth transmission power being calculated is more than the current Bluetooth transmission power of terminal, can be by The Bluetooth transmission power being calculated is used as the current Bluetooth transmission power of terminal, so as to increase the current Bluetooth transmission work(of terminal Rate, improves the Caton phenomenon during audio transmission.
In the present embodiment, the packet loss of terminal current Bluetooth audio transmission is obtained;Judge that the current Bluetooth audio is passed Whether defeated packet loss is more than or equal to default packet loss threshold value;If so, then being calculated and the current indigo plant according to preset algorithm The corresponding Bluetooth transmission power of packet loss of tooth audio transmission;The current Bluetooth transmission work(of the terminal is adjusted according to result of calculation Rate.Through the above way, when Bluetooth audio frequency transmission environment is poor, compared to the Bluetooth transmission work(that terminal in the prior art is fixed Rate, the present invention can carry out self-adaptative adjustment according to the packet loss of current Bluetooth audio transmission to terminal Bluetooth transmission power, enter And reduce the packet loss of Bluetooth audio frequency transmission, reduce Caton phenomenon such that it is able to solve in blue tooth transmission audio frequency data procedures by The technical problem of audio interim card caused by packet loss.
Further, reference picture 2, Fig. 2 is the refinement step schematic diagram of step S40 in Fig. 1.Based on shown in above-mentioned Fig. 1 Embodiment, the step S40 can include:
Step S41, obtains the current Bluetooth transmission power of the terminal;
Step S42, judge the current Bluetooth transmission power of the terminal whether less than being calculated with the current indigo plant The corresponding Bluetooth transmission power of packet loss of tooth audio transmission;
Step S43, if so, being then adjusted to the current Bluetooth transmission power of the terminal to be passed with the current Bluetooth audio The corresponding Bluetooth transmission power of defeated packet loss.
Terminal reads itself current Bluetooth transmission power, by itself current Bluetooth transmission power and according to preset algorithm The Bluetooth transmission power being calculated is compared.Because the Bluetooth transmission power being calculated specifies most no more than agreement Big transmission power, if current Bluetooth transmission power is less than Bluetooth transmission power is calculated, terminal can be by current bluetooth Transmission power is adjusted to be calculated Bluetooth transmission power, so that Bluetooth transmission power increases, reduces audio interim card.
Further, after the step S42, can also include:
Step S44, if it is not, then calculating Bluetooth transmission work(corresponding with the packet loss threshold value according to the preset algorithm Rate, and the current Bluetooth transmission power of the terminal is adjusted to Bluetooth transmission power corresponding with the packet loss threshold value.
If current Bluetooth transmission power is more than or equal to Bluetooth transmission power is calculated, to reduce audio interim card, eventually Current Bluetooth transmission power can be adjusted to the maximum Bluetooth transmission power of agreement permission, the maximum bluetooth that the agreement is allowed at end Transmission power is corresponding with the packet loss threshold value for setting before, thus can by with identical algorithm before will set packet loss Threshold value is converted into Bluetooth transmission power, and the current Bluetooth transmission power of terminal then is adjusted into corresponding with packet loss threshold value again Bluetooth transmission power.The current Bluetooth transmission power of terminal can also thus increased, so as to reduce audio interim card.
In the present embodiment, terminal is according to bluetooth corresponding with the packet loss of the current Bluetooth audio transmission hair being calculated Power is penetrated, it is (main that rational self-adaptative adjustment is carried out to the Bluetooth transmission power of terminal with reference to the current Bluetooth transmission power of terminal Refer to increase), so as to reduce the packet loss of Bluetooth audio frequency transmission, reduce the generation of audio Caton phenomenon.
Further, based on the above embodiments, the step S30 can include:
Step S31, passes throughIt is calculated and current Bluetooth audio transmission The corresponding Bluetooth transmission power P of packet lossc;Wherein, LcRepresent the packet loss of current Bluetooth audio transmission, LmaxRepresent that maximum is lost Bag rate and Lmax=100%, e are constant.
In the present embodiment, if the maximum Bluetooth transmission power of Bluetooth communication protocol regulation is 10dbm (dBm), eventually The algorithm that end calculates Bluetooth transmission power could be arranged to:
The packet loss L of the terminal current Bluetooth audio transmission that will be gotcBring above-mentioned formula into, you can calculate with currently The corresponding Bluetooth transmission power P of packet loss of Bluetooth audio frequency transmissionc.Reference picture 3, Fig. 3 be formula one in Bluetooth transmission power with Mapping curve schematic diagram between packet loss, when present packet loss is 0, correspondence maximum Bluetooth transmission power 10dbm, when current When packet loss is 100%, corresponding Bluetooth transmission power is 0, and the Bluetooth transmission power being calculated is between 0-10dbm, Thus, formula design meets Bluetooth communication protocol and relatively reasonable reliability.
Further, reference picture 4, Fig. 4 is that the flow of Bluetooth audio frequency transmission method of adjustment second embodiment of the present invention is illustrated Figure.Method of adjustment first embodiment is transmitted based on Bluetooth audio frequency of the present invention, after the step S40, can also be included:
Step S50, according to the packet loss of default Bluetooth audio frequency transmission rate and the terminal current Bluetooth audio transmission Between curved line relation adjust the current Bluetooth audio frequency transmission rate of the terminal.
When Bluetooth audio frequency transmission is carried out, in addition to Bluetooth transmission power, bluetooth transmission speed can also have to Bluetooth transmission Effect transmission range produces influence, and when other conditions are identical, bluetooth transmission speed is faster, and transmitting procedure busy channel is more, Naturally anti-interference meeting is worse, i.e., effective audio transmission distance can shorten.
To further enhance the antijamming capability of Bluetooth transmission, while self-adaptative adjustment Bluetooth transmission power, also may be used Bluetooth transmission speed is adjusted.When voice data is transmitted, link layer all uses ACL (Asynchronous to A2DP agreements Connectionless Link, asynchronous towards connection) async link, use ACL-U (ACL-User) to carry transmission packet (packet), now transmits according to EBR (Enhanced Basic Rate strengthen basal rate) modulating mode, audio transmission Speed is 2Mbps-3Mbps.
Reference picture 5, Fig. 5 is default Bluetooth audio frequency transmission rate of the invention and the terminal current Bluetooth audio transmission Curved line relation schematic diagram between packet loss.As a kind of implementation method, such as, current Bluetooth audio transmission packet loss not More than default packet loss threshold value LoWhen, Bluetooth audio frequency transmission rate is set to 3Mbps, in losing for current Bluetooth audio transmission Bag rate exceedes default packet loss threshold value LoWhen, Bluetooth audio frequency transmission rate is adjusted to 2Mbps, that is, reduce Bluetooth audio frequency transmission Speed, so as to reduce interference, improves the Caton phenomenon during audio transmission.Thus, terminal is to realize Bluetooth audio frequency transmission The self-adaptative adjustment of speed.
The present embodiment terminal also carries out self adaptation while self-adaptative adjustment Bluetooth transmission power to audio delivery rate Adjustment such that it is able to further increase the effective propagation path of Bluetooth audio frequency transmission, reduces packet loss, reduces the card of audio transmission Phenomenon, lifts Consumer's Experience.
The present invention also provides a kind of Bluetooth audio frequency transmission adjusting apparatus.
Reference picture 6, Fig. 6 is the high-level schematic functional block diagram that Bluetooth audio frequency of the present invention transmits adjusting apparatus first embodiment.Institute Stating device includes:
Acquisition module 10, the packet loss for obtaining terminal current Bluetooth audio transmission;
In the present embodiment, terminal can have bluetooth for intelligent television, smart mobile phone, bluetooth earphone, Baffle Box of Bluetooth etc. The electronic equipment of communication function.
When two terminal devices carry out Bluetooth audio frequency transmission, terminal obtains the packet loss of current Bluetooth audio transmission first Rate, wherein, packet loss when representing data transfer lost data packet number account for the ratio of transmitted data group, usual experience packet loss Rate value will be less than a ten thousandth, and data transfer is just very smooth.Terminal in the present embodiment refers to two Bluetooth communication terminals and sets Host ends in standby, i.e. main equipment, such as be connected when intelligent television carries out pairing using the independent auditory function of bluetooth and Baffle Box of Bluetooth When, can be using intelligent television as main equipment, using Baffle Box of Bluetooth as slave unit.
Specifically, when Bluetooth audio frequency transmission is carried out, terminal device uses A2DP agreements (Bluetooth audio frequency mode Agreement), the detectable A2dp of a2dp Service service processes of terminal is in play (activity) state, now acquisition module 10 Bluetooth bottom can be called to read packet loss (Packet Loss Rate) interface ReadLossRate (), so that reading terminals are worked as The packet loss of preceding Bluetooth audio frequency transmission.Wherein, acquisition module 10 can in real time read the packet loss of current Bluetooth audio transmission, The packet loss of current Bluetooth audio transmission can be read according to default frequency, can flexibly be set during specific implementation.
Whether judge module 20, the packet loss for judging the current Bluetooth audio transmission is lost more than or equal to default Bag rate threshold value;
After the packet loss that acquisition module 10 gets current Bluetooth audio transmission, judge module 20 judges what is got again Whether packet loss is more than or equal to default packet loss threshold value, and the packet loss threshold value can flexibly be set according to actual needs, Such as could be arranged to a ten thousandth.If the packet loss for getting is less than default packet loss threshold value, judge module 20 can be sentenced Bluetooth audio frequency transmission interference before settled is smaller, and audio Caton phenomenon will not occur, thus need not make any treatment.
Computing module 30, if being more than or equal to default packet loss threshold for the packet loss of the current Bluetooth audio transmission Value, then calculate Bluetooth transmission power corresponding with the packet loss of the current Bluetooth audio transmission according to preset algorithm;
If the packet loss for getting is more than or equal to default packet loss threshold value, current Bluetooth audio frequency transmission is can determine that Interference is larger, now needs to be adjusted the Bluetooth transmission power of terminal.
In the prior art, the Bluetooth transmission power of terminal device is generally fixed value, and the bluetooth formulated according to official is led to Letter agreement, no more than the maximum transmission power of its regulation, otherwise associated Bluetooth standard is with regard to nothing for terminal Bluetooth transmitting peak power Method test passes through.Meanwhile, in the case of other conditions identical, terminal Bluetooth transmission power is bigger, then transmitting range is more remote, blue The coverage of tooth audio transmission is also bigger, thus, terminal Bluetooth transmission power is improved to a certain extent can reduce indigo plant The packet loss of tooth audio transmission, reduces the generation of audio Caton phenomenon.
The present embodiment computing module 30 can calculate corresponding with the packet loss of current Bluetooth audio transmission according to preset algorithm Bluetooth transmission power, Bluetooth transmission power that this is calculated needs in the reasonable scope, such as in 0 to agreement regulation most Between big transmission power, wherein, maximum transmission power that preset algorithm can specify according to agreement or maximum transmission power Empirical value is flexibly set.
First adjusting module 40, for adjusting the current Bluetooth transmission power of the terminal according to result of calculation.
Computing module 30 after the corresponding Bluetooth transmission power of the packet loss of current Bluetooth audio transmission is calculated, first Adjusting module 40 is further according to the current Bluetooth transmission power of result of calculation adjustment terminal.Such as, the first adjusting module 40 will can be counted The Bluetooth transmission power that the obtains Bluetooth transmission power current with terminal is compared, if the Bluetooth transmission power being calculated The Bluetooth transmission power current more than terminal, then the Bluetooth transmission power that will can be calculated is used as the current Bluetooth transmission of terminal Power, so as to increase the current Bluetooth transmission power of terminal, improves the Caton phenomenon during audio transmission.
In the present embodiment, the packet loss of terminal current Bluetooth audio transmission is obtained in acquisition module 10;Judge module 20 Judge the packet loss of the current Bluetooth audio transmission whether more than or equal to default packet loss threshold value;If so, then calculating mould Block 30 calculates Bluetooth transmission power corresponding with the packet loss of the current Bluetooth audio transmission according to preset algorithm;First adjustment Module 40 adjusts the current Bluetooth transmission power of the terminal according to result of calculation.Through the above way, transmitted in Bluetooth audio frequency When environment is poor, compared to the Bluetooth transmission power that terminal in the prior art is fixed, the present invention can be according to current Bluetooth audio The packet loss of transmission carries out self-adaptative adjustment to terminal Bluetooth transmission power, and then reduces the packet loss that Bluetooth audio frequency is transmitted, and subtracts Few Caton phenomenon such that it is able to solve in blue tooth transmission audio frequency data procedures because the technology of audio interim card caused by packet loss is asked Topic.
Further, with continued reference to Fig. 6, first adjusting module 40 is additionally operable to:Obtain the current bluetooth of the terminal Transmission power;Judge the current Bluetooth transmission power of the terminal whether less than the packet loss with the current Bluetooth audio transmission Corresponding Bluetooth transmission power;If so, then the current Bluetooth transmission power of the terminal is adjusted to and the current Bluetooth sound Keep pouring in the corresponding Bluetooth transmission power of defeated packet loss.
The current Bluetooth transmission power of the reading terminals of first adjusting module 40, by current Bluetooth transmission power and according to pre- The Bluetooth transmission power that imputation method is calculated is compared.Because the Bluetooth transmission power being calculated is advised no more than agreement Fixed maximum transmission power, if current Bluetooth transmission power is less than is calculated Bluetooth transmission power, the first adjusting module Current Bluetooth transmission power can be adjusted to be calculated Bluetooth transmission power by 40, so that Bluetooth transmission power increases, be subtracted Few audio interim card.
Further, first adjusting module 40 is additionally operable to:If the current Bluetooth transmission power of the terminal be more than or Equal to the Bluetooth transmission power corresponding with the packet loss of the current Bluetooth audio transmission being calculated, then according to described default Algorithm calculates Bluetooth transmission power corresponding with the packet loss threshold value, and the current Bluetooth transmission power of the terminal is adjusted It is Bluetooth transmission power corresponding with the packet loss threshold value.
If current Bluetooth transmission power is more than or equal to Bluetooth transmission power is calculated, to reduce audio interim card, the Current Bluetooth transmission power can be adjusted to one adjusting module 40 the maximum Bluetooth transmission power of agreement permission, and the agreement is allowed Maximum Bluetooth transmission power it is corresponding with the packet loss threshold value for setting before, thus the first adjusting module 40 can by with before The packet loss threshold value of setting is converted into Bluetooth transmission power by identical algorithm, then again by Bluetooth transmission power that terminal is current It is adjusted to Bluetooth transmission power corresponding with packet loss threshold value.The current Bluetooth transmission power of terminal can also thus increased, So as to reduce audio interim card.
In the present embodiment, terminal is according to bluetooth corresponding with the packet loss of the current Bluetooth audio transmission hair being calculated Power is penetrated, it is (main that rational self-adaptative adjustment is carried out to the Bluetooth transmission power of terminal with reference to the current Bluetooth transmission power of terminal Refer to increase), so as to reduce the packet loss of Bluetooth audio frequency transmission, reduce the generation of audio Caton phenomenon.
Further, with continued reference to Fig. 6, based on the above embodiments, the computing module 30 is additionally operable to:Pass throughIt is calculated bluetooth hair corresponding with the packet loss of current Bluetooth audio transmission Penetrate power Pc;Wherein, LcRepresent the packet loss of current Bluetooth audio transmission, LmaxRepresent maximum packet loss and Lmax=100%, e are Constant.
In the present embodiment, if the maximum Bluetooth transmission power of Bluetooth communication protocol regulation is 10dbm (dBm), count The algorithm for calculating the calculating Bluetooth transmission power of module 30 could be arranged to:
The packet loss L of the terminal current Bluetooth audio transmission that will be gotcBring above-mentioned formula into, computing module 30 can meter Calculate Bluetooth transmission power P corresponding with the packet loss of current Bluetooth audio transmissionc.Reference picture 3, Fig. 3 is bluetooth in formula one Mapping curve schematic diagram between transmission power and packet loss, when present packet loss is 0, correspondence maximum Bluetooth transmission power 10dbm, when present packet loss is 100%, corresponding Bluetooth transmission power is 0, and the Bluetooth transmission power being calculated exists Between 0-10dbm, thus, formula design meets Bluetooth communication protocol and relatively reasonable reliability.
Further, reference picture 7, Fig. 7 is the functional module that Bluetooth audio frequency of the present invention transmits adjusting apparatus second embodiment Schematic diagram.Adjusting apparatus first embodiment is transmitted based on Bluetooth audio frequency of the present invention, described device can also include:
Second adjusting module 50, for being passed with the terminal current Bluetooth audio according to default Bluetooth audio frequency transmission rate Curved line relation between defeated packet loss adjusts the current Bluetooth audio frequency transmission rate of the terminal.
When Bluetooth audio frequency transmission is carried out, in addition to Bluetooth transmission power, bluetooth transmission speed can also have to Bluetooth transmission Effect transmission range produces influence, and when other conditions are identical, bluetooth transmission speed is faster, and transmitting procedure busy channel is more, Naturally anti-interference meeting is worse, i.e., effective audio transmission distance can shorten.
To further enhance the antijamming capability of Bluetooth transmission, while self-adaptative adjustment Bluetooth transmission power, also may be used Bluetooth transmission speed is adjusted.When voice data is transmitted, link layer all uses ACL (Asynchronous to A2DP agreements Connectionless Link, asynchronous towards connection) async link, use ACL-U (ACL-User) to carry transmission packet (packet), now transmits according to EBR (Enhanced Basic Rate strengthen basal rate) modulating mode, audio transmission Speed is 2Mbps-3Mbps.
Reference picture 5, Fig. 5 is default Bluetooth audio frequency transmission rate of the invention and the terminal current Bluetooth audio transmission Curved line relation schematic diagram between packet loss.As a kind of implementation method, such as, current Bluetooth audio transmission packet loss not More than default packet loss threshold value LoWhen, Bluetooth audio frequency transmission rate is set to 3Mbps, in losing for current Bluetooth audio transmission Bag rate exceedes default packet loss threshold value LoWhen, Bluetooth audio frequency transmission rate is adjusted to 2Mbps by the second adjusting module 50, that is, drop Low Bluetooth audio frequency transmission rate, so as to reduce interference, improves the Caton phenomenon during audio transmission.Thus, terminal is to realize The self-adaptative adjustment of Bluetooth audio frequency transmission rate.
The present embodiment terminal also carries out self adaptation while self-adaptative adjustment Bluetooth transmission power to audio delivery rate Adjustment such that it is able to further increase the effective propagation path of Bluetooth audio frequency transmission, reduces packet loss, reduces the card of audio transmission Phenomenon, lifts Consumer's Experience.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of Bluetooth audio frequency transmits method of adjustment, it is characterised in that methods described comprises the following steps:
Obtain the packet loss of terminal current Bluetooth audio transmission;
Judge the packet loss of the current Bluetooth audio transmission whether more than or equal to default packet loss threshold value;
If so, then calculating Bluetooth transmission power corresponding with the packet loss of the current Bluetooth audio transmission according to preset algorithm;
The current Bluetooth transmission power of the terminal is adjusted according to result of calculation.
2. Bluetooth audio frequency as claimed in claim 1 transmits method of adjustment, it is characterised in that described to adjust institute according to result of calculation The step of stating terminal current Bluetooth transmission power includes:
Obtain the current Bluetooth transmission power of the terminal;
Judge the terminal current Bluetooth transmission power whether less than being calculated and the current Bluetooth audio transmission The corresponding Bluetooth transmission power of packet loss;
If so, the current Bluetooth transmission power of the terminal to be then adjusted to the packet loss pair with the current Bluetooth audio transmission The Bluetooth transmission power answered.
3. Bluetooth audio frequency as claimed in claim 2 transmits method of adjustment, it is characterised in that the judgement terminal is current Whether Bluetooth transmission power is less than the Bluetooth transmission work(corresponding with the packet loss of the current Bluetooth audio transmission being calculated After the step of rate, also include:
If it is not, then calculate corresponding with packet loss threshold value Bluetooth transmission power according to the preset algorithm, and by the end The current Bluetooth transmission power in end is adjusted to Bluetooth transmission power corresponding with the packet loss threshold value.
4. the Bluetooth audio frequency as described in any one of claims 1 to 3 transmits method of adjustment, it is characterised in that described according to default The step of algorithm calculates Bluetooth transmission power corresponding with the packet loss of the current Bluetooth audio transmission includes:
Pass throughIt is calculated corresponding with the packet loss of current Bluetooth audio transmission Bluetooth transmission power Pc
Wherein, LcRepresent the packet loss of current Bluetooth audio transmission, LmaxRepresent maximum packet loss and Lmax=100%, e are constant.
5. Bluetooth audio frequency as claimed in claim 4 transmits method of adjustment, it is characterised in that methods described also includes:
Closed according to the curve between the packet loss of default Bluetooth audio frequency transmission rate and the terminal current Bluetooth audio transmission The current Bluetooth audio frequency transmission rate of system's adjustment terminal.
6. a kind of Bluetooth audio frequency transmits adjusting apparatus, it is characterised in that described device includes:
Acquisition module, the packet loss for obtaining terminal current Bluetooth audio transmission;
Judge module, for judging the packet loss of the current Bluetooth audio transmission whether more than or equal to default packet loss threshold Value;
Computing module, if being more than or equal to default packet loss threshold value for the packet loss of the current Bluetooth audio transmission, Bluetooth transmission power corresponding with the packet loss of the current Bluetooth audio transmission is calculated according to preset algorithm;
First adjusting module, for adjusting the current Bluetooth transmission power of the terminal according to result of calculation.
7. Bluetooth audio frequency as claimed in claim 6 transmits adjusting apparatus, it is characterised in that first adjusting module is also used In:
Obtain the current Bluetooth transmission power of the terminal;
Judge the current Bluetooth transmission power of the terminal whether less than corresponding with the packet loss of the current Bluetooth audio transmission Bluetooth transmission power;
If so, the current Bluetooth transmission power of the terminal to be then adjusted to the packet loss pair with the current Bluetooth audio transmission The Bluetooth transmission power answered.
8. Bluetooth audio frequency as claimed in claim 7 transmits adjusting apparatus, it is characterised in that first adjusting module is also used In:
If the current Bluetooth transmission power of the terminal be more than or equal to be calculated with the current Bluetooth audio transmission The corresponding Bluetooth transmission power of packet loss, then calculate Bluetooth transmission corresponding with the packet loss threshold value according to the preset algorithm Power, and the current Bluetooth transmission power of the terminal is adjusted to Bluetooth transmission power corresponding with the packet loss threshold value.
9. the Bluetooth audio frequency as described in any one of claim 6 to 8 transmits adjusting apparatus, it is characterised in that the computing module It is additionally operable to:
Pass throughIt is calculated corresponding with the packet loss of current Bluetooth audio transmission Bluetooth transmission power Pc
Wherein, LcRepresent the packet loss of current Bluetooth audio transmission, LmaxRepresent maximum packet loss and Lmax=100%, e are constant.
10. Bluetooth audio frequency as claimed in claim 6 transmits adjusting apparatus, it is characterised in that described device also includes:
Second adjusting module, for losing according to default Bluetooth audio frequency transmission rate and the terminal current Bluetooth audio transmission Curved line relation between bag rate adjusts the current Bluetooth audio frequency transmission rate of the terminal.
CN201611201751.5A 2016-12-22 2016-12-22 Bluetooth audio transmission adjusting method and device Active CN106792462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611201751.5A CN106792462B (en) 2016-12-22 2016-12-22 Bluetooth audio transmission adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611201751.5A CN106792462B (en) 2016-12-22 2016-12-22 Bluetooth audio transmission adjusting method and device

Publications (2)

Publication Number Publication Date
CN106792462A true CN106792462A (en) 2017-05-31
CN106792462B CN106792462B (en) 2020-05-22

Family

ID=58897473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611201751.5A Active CN106792462B (en) 2016-12-22 2016-12-22 Bluetooth audio transmission adjusting method and device

Country Status (1)

Country Link
CN (1) CN106792462B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005582A (en) * 2018-08-14 2018-12-14 Oppo广东移动通信有限公司 Transmission power adjustment method, device, electronic equipment and storage medium
CN110248341A (en) * 2018-03-08 2019-09-17 华为技术有限公司 Transmission rate switching method, bluetooth equipment and computer-readable medium
CN110337095A (en) * 2019-06-10 2019-10-15 深圳市豪恩声学股份有限公司 The parameter updating method, device and audio that audio listens to equipment listen to equipment
WO2019201185A1 (en) * 2018-04-16 2019-10-24 深圳Tcl新技术有限公司 Bluetooth transmission control method, system, and storage medium
CN110446193A (en) * 2019-04-25 2019-11-12 华为技术有限公司 The treating method and apparatus of bluetooth data packets
CN110875756A (en) * 2018-08-29 2020-03-10 杭州海康威视数字技术股份有限公司 Method and equipment for automatically adjusting transmitting power in frequency hopping communication
WO2020124610A1 (en) * 2018-12-22 2020-06-25 华为技术有限公司 Transmission speed control method and device
CN115002834A (en) * 2022-06-20 2022-09-02 深圳十米网络科技有限公司 Data transmission method for somatosensory device and terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065534A (en) * 2011-01-31 2011-05-18 华为技术有限公司 Power adjustment method and device
CN102595520A (en) * 2012-02-07 2012-07-18 北京傲天动联技术有限公司 Transmitting speed adjusting method in wireless local area network and device using same
CN102781087A (en) * 2012-07-31 2012-11-14 福建星网锐捷网络有限公司 Method and device for adjusting transmission power and access device
US20130128762A1 (en) * 2010-07-27 2013-05-23 Hangzhou H3C Technologies Co., Ltd. Method and apparatus for controlling intelligent antenna system
CN103415066A (en) * 2013-08-12 2013-11-27 惠州Tcl移动通信有限公司 Adjustment method and terminal for WIFI transmission power
CN203445876U (en) * 2013-09-11 2014-02-19 天脉聚源(北京)传媒科技有限公司 Radio frequency signal output power control device and terminal equipment
CN103686978A (en) * 2013-12-24 2014-03-26 深圳市双赢伟业科技股份有限公司 Wireless terminal device transmitting power control method
CN105430732A (en) * 2015-11-03 2016-03-23 广东欧珀移动通信有限公司 WIFI transmitting power regulation method, terminal and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130128762A1 (en) * 2010-07-27 2013-05-23 Hangzhou H3C Technologies Co., Ltd. Method and apparatus for controlling intelligent antenna system
CN102065534A (en) * 2011-01-31 2011-05-18 华为技术有限公司 Power adjustment method and device
CN102595520A (en) * 2012-02-07 2012-07-18 北京傲天动联技术有限公司 Transmitting speed adjusting method in wireless local area network and device using same
CN102781087A (en) * 2012-07-31 2012-11-14 福建星网锐捷网络有限公司 Method and device for adjusting transmission power and access device
CN103415066A (en) * 2013-08-12 2013-11-27 惠州Tcl移动通信有限公司 Adjustment method and terminal for WIFI transmission power
WO2015021784A1 (en) * 2013-08-12 2015-02-19 惠州Tcl移动通信有限公司 Method and terminal for adjusting wifi transmission power
CN203445876U (en) * 2013-09-11 2014-02-19 天脉聚源(北京)传媒科技有限公司 Radio frequency signal output power control device and terminal equipment
CN103686978A (en) * 2013-12-24 2014-03-26 深圳市双赢伟业科技股份有限公司 Wireless terminal device transmitting power control method
CN105430732A (en) * 2015-11-03 2016-03-23 广东欧珀移动通信有限公司 WIFI transmitting power regulation method, terminal and system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110248341A (en) * 2018-03-08 2019-09-17 华为技术有限公司 Transmission rate switching method, bluetooth equipment and computer-readable medium
WO2019201185A1 (en) * 2018-04-16 2019-10-24 深圳Tcl新技术有限公司 Bluetooth transmission control method, system, and storage medium
CN109005582A (en) * 2018-08-14 2018-12-14 Oppo广东移动通信有限公司 Transmission power adjustment method, device, electronic equipment and storage medium
CN109005582B (en) * 2018-08-14 2021-07-13 Oppo广东移动通信有限公司 Transmission power adjusting method, device, electronic equipment and storage medium
CN110875756A (en) * 2018-08-29 2020-03-10 杭州海康威视数字技术股份有限公司 Method and equipment for automatically adjusting transmitting power in frequency hopping communication
CN110875756B (en) * 2018-08-29 2021-07-02 杭州海康威视数字技术股份有限公司 Method and equipment for automatically adjusting transmitting power in frequency hopping communication
WO2020124610A1 (en) * 2018-12-22 2020-06-25 华为技术有限公司 Transmission speed control method and device
CN110446193A (en) * 2019-04-25 2019-11-12 华为技术有限公司 The treating method and apparatus of bluetooth data packets
CN110337095A (en) * 2019-06-10 2019-10-15 深圳市豪恩声学股份有限公司 The parameter updating method, device and audio that audio listens to equipment listen to equipment
CN110337095B (en) * 2019-06-10 2022-06-10 深圳市豪恩声学股份有限公司 Parameter updating method and device for audio listening equipment and audio listening equipment
CN115002834A (en) * 2022-06-20 2022-09-02 深圳十米网络科技有限公司 Data transmission method for somatosensory device and terminal

Also Published As

Publication number Publication date
CN106792462B (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN106792462A (en) Bluetooth audio frequency transmits method of adjustment and device
CN113163435B (en) Method for determining back-off power and method for adjusting transmission power
US8290530B2 (en) Radio communication method and radio base station
CN103731858B (en) Wireless LAN communication equipment and Wireless LAN communication method
CN104898446A (en) Control method and intelligent household control device
RU2004107498A (en) METHOD AND DEVICE FOR SCHEDULED TRANSMISSION OF PACKET DATA IN A WIRELESS COMMUNICATION SYSTEM
WO2007033579A1 (en) An adaptive power adjustment method and means based on reducing crosstalk among dsl lines
CN108430094B (en) Reduce method, apparatus and terminal that WIFI and LTE is interfered with each other
CN103501532A (en) Method and device for controlling mobile WIFI (wireless fidelity) hotspot transmitting power
CN107666366B (en) Method, device and system for adjusting coding rate
WO2021031826A1 (en) Method for controlling power of physical sidelink feedback channel, and terminal
EP1555765A3 (en) Transmission power control of a random access channel
CN107171908A (en) BLEMesh devices based on voice terminal
WO2021203112A3 (en) Method and apparatus for receiver assisted transmission in shared spectrum
CN108900883A (en) It is a kind of using Bluetooth transmission remote signal and the transmission method of audio data
CN101562479B (en) Background service transmission method and system based on idle channel
CN105392143B (en) A kind of frequency spectrum access method that authorized user and cognitive user QoS based on power distribution ensure
CN105491582B (en) A kind of information processing method and device
CN105913853A (en) Near-field cluster intercom echo elimination system and realization method thereof
CN104270821B (en) A kind of anti-interference frequency spectrum access method based on user fairness
CN109889247A (en) Low-overhead dynamic feedback safe transmission method and system suitable for narrow-band Internet of things
CN103987113B (en) Radio reception device power intelligent method of adjustment applied to short haul connection
WO2021027809A1 (en) Information sending method, information receiving method, terminal and control node
CN104936185B (en) A kind of video communication integrated power and rate control method in cognitive radio
CN209358622U (en) Echo suppression circuit and call class of electronic devices

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