CN117793682A - Method for dynamically adjusting Bluetooth broadcasting and scanning - Google Patents

Method for dynamically adjusting Bluetooth broadcasting and scanning Download PDF

Info

Publication number
CN117793682A
CN117793682A CN202410001637.6A CN202410001637A CN117793682A CN 117793682 A CN117793682 A CN 117793682A CN 202410001637 A CN202410001637 A CN 202410001637A CN 117793682 A CN117793682 A CN 117793682A
Authority
CN
China
Prior art keywords
broadcast
scanning
bluetooth device
bluetooth
success rate
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.)
Pending
Application number
CN202410001637.6A
Other languages
Chinese (zh)
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 Nanfang Silicon Valley Semiconductor Co ltd
Original Assignee
Shenzhen Nanfang Silicon Valley Semiconductor 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 Nanfang Silicon Valley Semiconductor Co ltd filed Critical Shenzhen Nanfang Silicon Valley Semiconductor Co ltd
Priority to CN202410001637.6A priority Critical patent/CN117793682A/en
Publication of CN117793682A publication Critical patent/CN117793682A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a method for dynamically adjusting Bluetooth broadcasting and scanning, relates to the technical field of wireless communication, and solves the technical problem that the performance of other wireless transmission technologies can be affected when Bluetooth is broadcasted or scanned due to the fact that Bluetooth and other wireless transmission technologies use the same frequency band. S1, a first Bluetooth device and a second Bluetooth device conduct a broadcast scanning flow, and the broadcast scanning flow is monitored in real time; s2, calculating the success rate of the broadcast scanning flow on the current broadcast channel in a first set time; and S3, dynamically adjusting the broadcast of the first Bluetooth device or the scanning of the second Bluetooth device according to the success rate. The invention can give the reduced broadcasting or scanning time to other wireless transmission technologies for use, thereby increasing the performance of other wireless transmission technologies.

Description

Method for dynamically adjusting Bluetooth broadcasting and scanning
Technical Field
The invention relates to the technical field of wireless communication, in particular to a method for dynamically adjusting Bluetooth broadcasting and scanning.
Background
Most of terminal devices support various wireless network transmission functions at present, wherein the common terminal devices have Bluetooth functions; many application scenarios also require that bluetooth and other wireless transmission technologies (e.g., wi-Fi, zigBee, Z-Wave, etc.) work simultaneously. Bluetooth and other wireless transmission technologies mostly operate in the 2.4G frequency band, and often share the same frequency band for transmission. Taking the common wireless transmission technology WiFi as an example, the WiFi communication standard is 802.11b/G, and the WiFi communication standard works in the 2.4G frequency band.
According to the specifications of the current Bluetooth technology alliance, bluetooth uses 37/38/39 broadcast channels fixedly, and Bluetooth is broadcasted and scanned on the three broadcast channels. However, some broadcast channels may be used by other wireless transmission techniques, or no device may broadcast or scan on the broadcast channel at all; when the broadcast channel is used by other wireless transmission technologies, the collision probability of broadcasting on the broadcast channel is high, but the action of transmitting the broadcast is still needed to be performed on the appointed broadcast channel when the time arrives, so that the radio frequency time is wasted, other wireless transmission technologies working in the 2.4G frequency band cannot transmit and receive in the time, and the performance of other wireless transmission technologies is further affected. If bluetooth is encountered to broadcast when the WiFi transmits or receives a signal, the WiFi must be interrupted and the radio frequency control is given to the bluetooth, which results in a decrease in throughput of the WiFi.
In the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art:
the bluetooth and other wireless transmission technologies use the same frequency band, which results in that the bluetooth affects the performance of the other wireless transmission technologies when broadcasting or scanning.
Disclosure of Invention
The invention aims to provide a method for dynamically adjusting Bluetooth broadcasting and scanning, which aims to solve the technical problem that the performance of other wireless transmission technologies can be influenced when Bluetooth is used for broadcasting or scanning due to the fact that the Bluetooth and other wireless transmission technologies use the same frequency band in the prior art. The preferred technical solutions of the technical solutions provided by the present invention can produce a plurality of technical effects described below.
In order to achieve the above purpose, the present invention provides the following technical solutions:
the invention provides a method for dynamically adjusting Bluetooth broadcasting and scanning, which comprises the following steps: s1, a first Bluetooth device and a second Bluetooth device conduct a broadcast scanning flow, and the broadcast scanning flow is monitored in real time; s2, calculating the success rate of the broadcast scanning flow on the current broadcast channel in a first set time; and S3, dynamically adjusting the broadcast of the first Bluetooth device or the scanning of the second Bluetooth device according to the success rate.
Preferably, the broadcast scanning procedure includes: s11, the first Bluetooth device periodically transmits a broadcast packet; s12, after the second Bluetooth device receives the broadcast packet, the second Bluetooth device returns a scanning request packet to the first Bluetooth device; and S13, after the first Bluetooth device receives the scanning request packet, returning a scanning response packet to the second Bluetooth device.
Preferably, in step S3, the adjusting the broadcast of the first bluetooth device includes the following steps: s301, judging whether the success rate is greater than a threshold value, if so, executing a step S302; otherwise, step S303 is performed; s302, continuing broadcasting on the current broadcasting channel, and executing the step S1 after a second set time; and S303, stopping broadcasting on the current broadcasting channel, and executing the step S1 after a second set time.
Preferably, the calculation formula of the success rate is:
wherein tx_scanresponse indicates that the second bluetooth device has received the correct number of scan response packets; RX_ScanRequest represents the correct number of scan request packets received by the first Bluetooth device; RX_error_ScanRequest represents the number of errors in the reception of the scan request packet by the first Bluetooth device; tx_error_advertisement represents the number of broadcast errors received by the second bluetooth device.
Preferably, the calculation formula of the success rate is:
wherein rx_scanrequests indicates the correct number of scan request packets received by the first bluetooth device; tx_advertisement indicates that the second bluetooth device receives the correct number of broadcast packets.
Preferably, in step S3, the adjusting the scanning of the second bluetooth device includes the following steps: s311, judging whether the success rate is greater than a threshold value, if so, executing a step S312; otherwise, step S313 is performed; s312, continuing to scan on the current broadcast channel, and executing the step S1 after a third set time; s313, stopping scanning on the current broadcast channel, and executing step S1 after a third set time.
Preferably, the calculation formula of the success rate is:
wherein tx_advertisement indicates that the second bluetooth device receives the correct number of broadcast packets; tx_scanresponse indicates that the second bluetooth device has received the correct number of scan response packets; TX_error_advertisement indicates the number of errors in the broadcast packet received by the second Bluetooth device; tx_error_scanresponse represents the number of scan response packet errors received by the second bluetooth device.
Preferably, there are three broadcast channels, and if the success rates of the three broadcast channels are all smaller than the threshold value, broadcasting or scanning is performed on the broadcast channel with the highest success rate.
Preferably, whether the broadcast packet, the scan request packet and the scan response packet have errors is determined through cyclic redundancy check, parity check, longitudinal redundancy check or hamming code.
Preferably, the first bluetooth device at least comprises a first radio frequency antenna and a second radio frequency antenna; the first Bluetooth device and the second Bluetooth device conduct a broadcast scanning process through the first radio frequency antenna, and the second radio frequency antenna monitors the broadcast scanning process.
By implementing one of the technical schemes, the invention has the following advantages or beneficial effects:
according to the invention, the success rate of broadcast scanning is calculated by detecting the condition of the broadcast scanning flow, then the Bluetooth broadcast or scanning is dynamically adjusted according to the success rate, the time of the Bluetooth broadcast and scanning is flexibly arranged, the time of the radio frequency for the Bluetooth broadcast or scanning is reduced, the reduced time is given to other wireless transmission technologies, the Bluetooth scanning does not occupy the radio frequency time of other wireless transmission technologies, and the performance of other wireless transmission technologies is further improved.
Drawings
For a clearer description of the technical solutions of embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art, in which:
FIG. 1 is a flow chart of a method of dynamically adjusting Bluetooth broadcasts and scans in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart of the broadcast scanning flow steps of an embodiment of the present invention;
fig. 3 is a flowchart of the steps performed to adjust the broadcast of the first bluetooth device according to an embodiment of the present invention;
fig. 4 is a flowchart of the steps for adjusting the scan of the second bluetooth device according to an embodiment of the present invention.
Detailed Description
For a better understanding of the objects, technical solutions and advantages of the present invention, reference should be made to the various exemplary embodiments described hereinafter with reference to the accompanying drawings, which form a part hereof, and in which are described various exemplary embodiments which may be employed in practicing the present invention. The same reference numbers in different drawings identify the same or similar elements unless expressly stated otherwise. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. It is to be understood that they are merely examples of processes, methods, apparatuses, etc. that are consistent with certain aspects of the present disclosure as detailed in the appended claims, other embodiments may be utilized, or structural and functional modifications may be made to the embodiments set forth herein without departing from the scope and spirit of the present disclosure.
In the description of the present invention, it should be understood that the terms "center," "longitudinal," "transverse," and the like are used in an orientation or positional relationship based on that shown in the drawings, and are merely for convenience in describing the present invention and to simplify the description, rather than to indicate or imply that the elements referred to must have a particular orientation, be constructed and operate in a particular orientation. The terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. The term "plurality" means two or more. The terms "connected," "coupled" and "connected" are to be construed broadly and may be, for example, fixedly connected, detachably connected, integrally connected, mechanically connected, electrically connected, communicatively connected, directly connected, indirectly connected via intermediaries, or may be in communication with each other between two elements or in an interaction relationship between the two elements. The term "and/or" includes any and all combinations of one or more of the associated listed items. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In order to illustrate the technical solutions of the present invention, the following description is made by specific embodiments, only the portions related to the embodiments of the present invention are shown.
Preferably, the method of the invention is more applicable to BLE (Bluetooth Low Energy ); the broadcast channel of bluetooth is part of the bluetooth spectrum and is divided into three non-overlapping channels, 37, 38 and 39 channels, respectively, at 2402MHz, 2426MHz and 2480MHz frequencies in the 2.4GHz ISM band. In BLE communication, when one device transmits a broadcast in a broadcast mode, other devices can detect and identify the devices transmitting the broadcast through a scanning operation; in general, a device transmitting a broadcast is a slave device, and detects and recognizes the broadcast as a master device. When the master device scans to the slave device, the master device can choose to send a scan request message to the slave device to acquire more messages or establish a connection; and if the slave device agrees to establish communication with the master device, returning a scanning response message to the master device.
Embodiment one:
as shown in fig. 1, the present invention provides a method for dynamically adjusting bluetooth broadcasting and scanning, comprising the steps of: s1, a first Bluetooth device and a second Bluetooth device conduct a broadcast scanning process, and the broadcast scanning process is monitored in real time; the broadcast scanning flow is carried out in real time, and the receiving and transmitting conditions of a broadcast packet, a scanning request acknowledgement packet and a scanning response packet in the flow process are mainly monitored; s2, calculating the success rate of the broadcast scanning flow on the current broadcast channel in the first set time; the success rate is calculated according to the number of received correct or incorrect broadcast packets, scanning request acknowledgement packets and scanning response packets; since the broadcast scanning process is performed in real time, the calculated success rate is the success rate within a period of time, and if the first set time is set to 5 minutes, the calculated success rate of the broadcast scanning process within the 5 minutes is the success rate of the broadcast scanning process, and the first set time is adjusted according to the actual transmission condition. S3, according to the success rate, dynamically adjusting the broadcast of the first Bluetooth device or the scanning of the second Bluetooth device; the success rate can reflect the occupation condition of the current broadcast channel, if the broadcast channel is crowded during broadcasting, the broadcasting is stopped for a period of time, and the time is given to other wireless transmission technologies for application; if the broadcast channel is crowded during scanning, the scanning is stopped for a period of time, and the time is also given to other wireless transmission technologies. According to the embodiment, the success rate of broadcast scanning is calculated by detecting the condition of the broadcast scanning flow, then Bluetooth broadcasting or scanning is dynamically adjusted according to the success rate, the time of Bluetooth broadcasting and scanning is flexibly arranged, the time of radio frequency broadcasting or scanning is reduced, the reduced time is given to other wireless transmission technologies, the Bluetooth scanning does not occupy the radio frequency time of other wireless transmission technologies, and the performance of other wireless transmission technologies is further improved.
Preferably, the broadcast scanning procedure includes: s11, the first Bluetooth device periodically transmits a broadcast packet; s12, after receiving the broadcast packet, the second Bluetooth device returns a scanning request packet to the first Bluetooth device; s13, after the first Bluetooth device receives the scanning request packet, the first Bluetooth device returns a scanning response packet to the second Bluetooth device. In this embodiment, since the first bluetooth device performs broadcasting and the second bluetooth device performs scanning, the first bluetooth device is a slave device, and the second bluetooth device is a master device; for example, the first bluetooth device may be a bluetooth headset, a bluetooth watch, a mobile phone, a tablet or notebook computer, etc.; the second bluetooth setting may be a mobile phone, a tablet or a notebook computer, etc.
In an alternative embodiment, in step S3, the method for adjusting the broadcast of the first bluetooth device includes the following steps: s301, judging whether the success rate is greater than a threshold value, if so, executing a step S302; otherwise, step S303 is performed; s302, continuing broadcasting on a current broadcasting channel, and executing a step S1 after a second set time; s303, stopping broadcasting on the current broadcasting channel, and executing step S1 after a second set time. This is to dynamically adjust the broadcast of the first bluetooth device; if the success rate is smaller than the threshold value, the current broadcast channel is crowded, the probability of collision is high, therefore, if the second set time is set to 2 minutes, the broadcasting is stopped for 2 minutes, the step S1 is executed after 2 minutes, the first set time of the normal broadcast scanning flow is executed, the success rate in the period of time is calculated again, if the success rate is larger than the threshold value, the current broadcast channel communication quality is good, the broadcasting is continued for a period of time, the step S1 is returned, and the step is circulated; when the broadcast channel is crowded, the broadcast is stopped, and the current channel is given to other people for using the wireless transmission technology, so that the performance of other wireless transmission technologies is ensured. Of course, the second setting time can be adjusted according to the actual situation.
Preferably, the calculation formula of the success rate is:
wherein, TX_ScanResponse represents the correct number of received scanning response packets by the second Bluetooth device; RX_ScanRequest indicates the correct number of scan request packets received by the first Bluetooth device; RX_error_ScanRequest represents the number of scan request packet errors received by the first Bluetooth device; tx_error_advertisement indicates the number of broadcast errors received by the second bluetooth device. Only when the whole broadcast scanning process is finished (namely, the second Bluetooth device receives the broadcast packet, sends the scanning request packet and receives the scanning response packet), the second Bluetooth device receives the scanning response packet, so that the number of times of finishing the whole broadcast scanning process can be represented by counting the correct number of the second Bluetooth device receiving the scanning response packet; similarly, the second bluetooth device only receives the broadcast packet and then sends the scan request packet, so that the first bluetooth device receives the correct number of scan request packets and the number of scan request packet errors, and the total broadcast packet received by the second bluetooth device is indicated by adding the number of broadcast packet errors received by the second bluetooth device. When the formula is used for calculating the success rate, the threshold value is set to be 50%, and if the success rate is greater than 50%, the probability of completing the broadcast scanning flow is more than 50%, and the current broadcast channel quality is better; however, if the number of the packet collisions is less than 50%, it means that most of the broadcast scanning flows have problems due to the packet collisions occurring on the channels, so that the success rate can correctly reflect the packet collisions of the current channels during broadcasting. The threshold is adjusted according to the actual situation, and if a high quality broadcast channel is required, the threshold can be adjusted to 70%.
Preferably, the calculation formula of the success rate is:
wherein, RX_ScanReques represents the correct number of the scan request packets received by the first Bluetooth device; tx_advertisement indicates that the second bluetooth device received the correct number of broadcast packets. Similarly, the success rate can also be calculated by the formula, the second bluetooth device returns a scanning request packet after receiving the broadcast packet, but not every returned scanning request packet is received by the first bluetooth device, because the scanning request packet is damaged due to poor channel environment transmitted through the broadcast channel, and the first bluetooth device receives the wrong scanning request packet or cannot receive the scanning request packet at all; therefore, the success rate calculated by the formula can also reflect the occupation situation of the broadcast channel during broadcasting. Depending on the calculation method, different thresholds may be set as needed, and if the success rate is calculated by this formula, the threshold may be set to 30%.
In an alternative embodiment, in step S3, the scanning of the second bluetooth device is adjusted, including the following steps: s311, judging whether the success rate is greater than a threshold value, if so, executing a step S312; otherwise, step S313 is performed; s312, continuing to scan on the current broadcast channel, and executing the step S1 after the third set time; s313, stopping scanning on the current broadcast channel, and executing step S1 after a third set time. Dynamically adjusting the scanning of the second Bluetooth; similarly, if the success rate is smaller than the threshold, it indicates that the current broadcast channel is crowded, the scanning is stopped for a period of time, if the third set time is set to 1 minute, the scanning is stopped for 1 minute, and step S1 is executed after 1 minute; if the success rate is greater than the threshold value, the current broadcast channel communication quality is better, the scanning is continued for a period of time, and then the step S1 is returned to circulate the step; when the broadcast channel is crowded, the scanning is stopped, and the current channel is yielded to other people for using the wireless transmission technology, so that the performance of other wireless transmission technologies is ensured. Of course, the third setting time and the threshold value may be adjusted according to the actual situation.
Preferably, the calculation formula of the success rate is:
the TX_advertisement indicates that the second Bluetooth device receives the correct number of the broadcast packets; TX_ScanResponse indicates the correct number of scan response packets received by the second Bluetooth device; TX_error_advertisement indicates the number of broadcast packet errors received by the second Bluetooth device; tx_error_scanresponse indicates the number of scan response packet errors received by the second bluetooth device. According to the formula, when the number of the received error broadcasting packets and the number of the error scanning response packets are large, the success rate is small, and the current broadcasting channel is crowded and is not suitable for scanning at the moment, so that the success rate calculated by the formula can correctly reflect the occupation situation of the broadcasting channel during scanning. The three broadcast channels at 37, 38 and 39 are all calculated by the three methods described above and the time of broadcast and scan is adjusted, if the success rate on which broadcast channel is less than the threshold, the broadcast or scan on that channel is stopped, but may be performed on the remaining broadcast.
Preferably, there are three broadcast channels, and if the success rate of the three broadcast channels is smaller than the threshold value, broadcasting or scanning is performed on the broadcast channel with the highest success rate. Because the Bluetooth is broadcast and scanned on the three broadcast channels, if the success rate of only one or two broadcast channels is smaller than the threshold value, the broadcast scanning flow can be carried out on the other two or the other broadcast channels; if the success rate of the three broadcast channels is smaller than the threshold value, but the broadcast or scanning of the three channels cannot be stopped, so that a channel with the highest success rate is selected, and the broadcast or scanning is completed through the channel, thereby ensuring that the broadcast scanning flow can be performed in real time.
Preferably, whether the broadcast packet, the scan request packet, and the scan response packet have errors is determined by cyclic redundancy check, parity check, longitudinal redundancy check, or hamming code. The method is a common data packet verification method, has high calculation speed, high error detection capability and high reliability, and can accurately and quickly obtain the correct and error conditions of the broadcast packet, the scanning request packet and the scanning response packet. Detecting broadcast packets with cyclic redundancy check, for example: calculating a cyclic redundancy check value of the broadcast packet in the Bluetooth specification by adopting CRC-24; meanwhile, CRC-24 is adopted to calculate the cyclic redundancy check value of the received broadcast packet; if the cyclic redundancy check value of the last 3 bytes of the broadcast packet in the bluetooth specification is consistent with the cyclic redundancy check value of the last 3 bytes of the received broadcast packet, the broadcast packet is correct.
Preferably, the first bluetooth device includes at least a first radio frequency antenna and a second radio frequency antenna; the first Bluetooth device and the second Bluetooth device conduct broadcast scanning flow through the first radio frequency antenna, and the second radio frequency antenna monitors the broadcast scanning flow. And one radio frequency antenna is adopted for receiving and transmitting data packets, and the other radio frequency antenna is used for monitoring the process, so that the monitoring of the broadcast scanning process can be completed while the process is not influenced.
The embodiment is a specific example only and does not suggest one such implementation of the invention.
The foregoing is only illustrative of the preferred embodiments of the invention, and it will be appreciated by those skilled in the art that various changes in the features and embodiments may be made and equivalents may be substituted without departing from the spirit and scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.

Claims (10)

1. A method for dynamically adjusting bluetooth broadcasts and scans, comprising the steps of:
s1, a first Bluetooth device and a second Bluetooth device conduct a broadcast scanning flow, and the broadcast scanning flow is monitored in real time;
s2, calculating the success rate of the broadcast scanning flow on the current broadcast channel in a first set time;
and S3, dynamically adjusting the broadcast of the first Bluetooth device or the scanning of the second Bluetooth device according to the success rate.
2. The method for dynamically adjusting bluetooth broadcast and scanning according to claim 1, wherein the broadcast scanning procedure comprises:
s11, the first Bluetooth device periodically transmits a broadcast packet;
s12, after the second Bluetooth device receives the broadcast packet, the second Bluetooth device returns a scanning request packet to the first Bluetooth device;
and S13, after the first Bluetooth device receives the scanning request packet, returning a scanning response packet to the second Bluetooth device.
3. A method for dynamically adjusting bluetooth broadcasting and scanning according to claim 2, wherein in step S3, by adjusting the broadcasting of the first bluetooth device, the method comprises the steps of:
s301, judging whether the success rate is greater than a threshold value, if so, executing a step S302; otherwise, step S303 is performed;
s302, continuing broadcasting on the current broadcasting channel, and executing the step S1 after a second set time;
and S303, stopping broadcasting on the current broadcasting channel, and executing the step S1 after a second set time.
4. A method for dynamically adjusting bluetooth broadcast and scanning according to claim 3, wherein said success rate is calculated by the formula:
wherein tx_scanresponse indicates that the second bluetooth device has received the correct number of scan response packets; RX_ScanRequest represents the correct number of scan request packets received by the first Bluetooth device; RX_error_ScanRequest represents the number of errors in the reception of the scan request packet by the first Bluetooth device; tx_error_advertisement represents the number of broadcast errors received by the second bluetooth device.
5. A method for dynamically adjusting bluetooth broadcast and scanning according to claim 3, wherein said success rate is calculated by the formula:
wherein rx_scanrequests indicates the correct number of scan request packets received by the first bluetooth device; tx_advertisement indicates that the second bluetooth device receives the correct number of broadcast packets.
6. A method for dynamically adjusting bluetooth broadcasting and scanning according to claim 2, wherein in step S3, by adjusting the scanning of the second bluetooth device, the method comprises the steps of:
s311, judging whether the success rate is greater than a threshold value, if so, executing a step S312; otherwise, step S313 is performed;
s312, continuing to scan on the current broadcast channel, and executing the step S1 after a third set time;
s313, stopping scanning on the current broadcast channel, and executing step S1 after a third set time.
7. The method for dynamically adjusting bluetooth broadcasting and scanning according to claim 6, wherein the success rate is calculated by the following formula:
wherein tx_advertisement indicates that the second bluetooth device receives the correct number of broadcast packets; tx_scanresponse indicates that the second bluetooth device has received the correct number of scan response packets; TX_error_advertisement indicates the number of errors in the broadcast packet received by the second Bluetooth device; tx_error_scanresponse represents the number of scan response packet errors received by the second bluetooth device.
8. A method for dynamically adjusting bluetooth broadcasting and scanning according to claim 3 or 6, wherein there are three broadcast channels, and if the success rate on three broadcast channels is less than the threshold, broadcasting or scanning is performed on the broadcast channel with the highest success rate.
9. A method for dynamically adjusting bluetooth broadcast and scanning according to claim 4, 5 or 7, wherein said broadcast packet, scan request packet and scan response packet are determined to be erroneous by cyclic redundancy check, parity check, longitudinal redundancy check or hamming code.
10. The method of claim 1, wherein the first bluetooth device includes at least a first rf antenna and a second rf antenna; the first Bluetooth device and the second Bluetooth device conduct a broadcast scanning process through the first radio frequency antenna, and the second radio frequency antenna monitors the broadcast scanning process.
CN202410001637.6A 2024-01-02 2024-01-02 Method for dynamically adjusting Bluetooth broadcasting and scanning Pending CN117793682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410001637.6A CN117793682A (en) 2024-01-02 2024-01-02 Method for dynamically adjusting Bluetooth broadcasting and scanning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410001637.6A CN117793682A (en) 2024-01-02 2024-01-02 Method for dynamically adjusting Bluetooth broadcasting and scanning

Publications (1)

Publication Number Publication Date
CN117793682A true CN117793682A (en) 2024-03-29

Family

ID=90389113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410001637.6A Pending CN117793682A (en) 2024-01-02 2024-01-02 Method for dynamically adjusting Bluetooth broadcasting and scanning

Country Status (1)

Country Link
CN (1) CN117793682A (en)

Similar Documents

Publication Publication Date Title
US10499390B2 (en) Base station, user equipment, transmission control method for base station and data transmission method for user equipment
CN110754106B (en) Wireless link monitoring method and device
US9112695B2 (en) Cooperative transmission in wireless communication system
US8660561B2 (en) MBMS feedback and neighboring cell measurement reporting
CN108617001B (en) Uplink data transmission method and device
WO2009101567A1 (en) Wireless communications arrangement, network and approach therefor to manage a shared channel among different wireless systems
EP3158806B1 (en) Method and arrangement for triggering paging profiling
EP2257087A1 (en) Wireless terminal and retransmission method
EP3796579B1 (en) Wireless communication with time-delay repetition detection
US20220095076A1 (en) Communication method and apparatus to improve resource utilization and reliability of transmission of service data
US10313059B2 (en) Data sending feedback method and apparatus, and data sending method and apparatus
EP2136594A2 (en) Apparatus and method for handover in a wireless communication system
WO2021197228A1 (en) Communication method and related apparatus
CN111052814B (en) Client device, network access node and method thereof
WO2017007541A1 (en) Method for testing a radio frequency (rf) data packet signal transceiver packet error rate
US6505042B1 (en) System and method for establishing a communication link between a mobile station and a base station controller
EP3910988A1 (en) Method and apparatus for transmitting control information
CN117793682A (en) Method for dynamically adjusting Bluetooth broadcasting and scanning
CN113038522B (en) Transmission method, terminal, base station and storage medium of downlink control information
US20130064163A1 (en) Method for minimizing collisions of messages responsive to multi- or broadcast messages in a radio communications system
CN113167854B (en) Bluetooth positioning method and Bluetooth equipment
WO2021155929A1 (en) Detect-and-avoid mechanism for wireless networks
US20220159490A1 (en) Detection of a skipped uplink transmission
CN103747479A (en) Wireless communication method and wireless communication equipment
CN112242881B (en) Method, device and equipment for detecting downlink control information

Legal Events

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