CN108270467B - Bluetooth frequency hopping point updating method and system - Google Patents

Bluetooth frequency hopping point updating method and system Download PDF

Info

Publication number
CN108270467B
CN108270467B CN201810035969.0A CN201810035969A CN108270467B CN 108270467 B CN108270467 B CN 108270467B CN 201810035969 A CN201810035969 A CN 201810035969A CN 108270467 B CN108270467 B CN 108270467B
Authority
CN
China
Prior art keywords
frequency
bluetooth
frequency point
frequency hopping
error 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.)
Active
Application number
CN201810035969.0A
Other languages
Chinese (zh)
Other versions
CN108270467A (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.)
Zhuhai Jieli Technology Co Ltd
Original Assignee
Zhuhai Jieli 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 Zhuhai Jieli Technology Co Ltd filed Critical Zhuhai Jieli Technology Co Ltd
Priority to CN201810035969.0A priority Critical patent/CN108270467B/en
Publication of CN108270467A publication Critical patent/CN108270467A/en
Application granted granted Critical
Publication of CN108270467B publication Critical patent/CN108270467B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • H04B1/715Interference-related aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • H04B1/715Interference-related aspects
    • H04B2001/7154Interference-related aspects with means for preventing interference

Landscapes

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

Abstract

The invention relates to a method and a system for updating Bluetooth frequency hopping points, which belong to the technical field of wireless communication, and are used for acquiring the packet error rate corresponding to each frequency point in a Bluetooth frequency hopping list, wherein the packet error rate is the ratio of the number of error packets received at the corresponding frequency point to the number of data packets received at the frequency point; obtaining effective frequency points in the frequency points according to the packet error rate, wherein the effective frequency points are the frequency points of which the packet error rate is less than or equal to a first threshold value; and updating the frequency hopping points in the Bluetooth frequency hopping list according to the effective frequency points. The frequency point with the error packet rate smaller than or equal to the first threshold value in the Bluetooth frequency hopping table is used as an effective frequency point, the effective frequency point is updated to the Bluetooth frequency hopping table, the error packet rate of the frequency hopping frequency point in the Bluetooth frequency hopping table is lower at the moment, and the Bluetooth equipment can avoid the frequency point with serious interference when carrying out frequency hopping operation according to the Bluetooth frequency hopping table, so that the quality of Bluetooth communication after frequency hopping is improved, and the effectiveness and the stability of Bluetooth data transmission are ensured.

Description

Bluetooth frequency hopping point updating method and system
Technical Field
The invention relates to the technical field of wireless communication, in particular to a Bluetooth frequency hopping point updating method and a Bluetooth frequency hopping point updating system.
Background
The ISM (Industrial Scientific medical) frequency band is a wireless frequency band defined by the International telecommunication Union, which is mainly open for the use in three fields of industry, science and medicine, and does not require authorization cost. Among the ISM bands, the 2.4GHz band is a global universal band, and bluetooth is a wireless communication technology operating in the 2.4GHz ISM band. However, besides bluetooth, there are other wireless communication technologies that also operate in the 2.4GHz band, such as WIFI, ZigBee, etc., so that the 2.4GHz band is rather crowded, and electronic devices are susceptible to interference when communicating via bluetooth.
At present, in order to reduce interference from other devices, bluetooth adopts a frequency hopping technology, and avoids interfered frequency points by a method of selecting the frequency points for communication. However, in the process of implementing the present invention, the inventors have found that the above techniques have at least the following problems: if the interfered frequency point is selected for communication, the data cannot be effectively transmitted.
Disclosure of Invention
Therefore, it is necessary to provide a method and a system for updating bluetooth frequency hopping points, aiming at the problem that the selection of interfered frequency points for communication in the current bluetooth frequency hopping technology can not result in the effective transmission of data.
A Bluetooth frequency hopping point updating method comprises the following steps:
acquiring the packet error rate corresponding to each frequency point in a Bluetooth frequency hopping list, wherein the packet error rate is the ratio of the number of error packets received at the corresponding frequency point to the number of data packets received at the frequency point;
obtaining effective frequency points in the frequency points according to the packet error rate, wherein the effective frequency points are the frequency points of which the packet error rate is less than or equal to a first threshold value;
and updating the frequency hopping points in the Bluetooth frequency hopping list according to the effective frequency points.
According to the Bluetooth frequency hopping point updating method, the frequency point with the error rate smaller than or equal to the first threshold value in the Bluetooth frequency hopping table is used as the effective frequency point, the effective frequency point is updated to the Bluetooth frequency hopping table, the error rate of the frequency hopping frequency point in the Bluetooth frequency hopping table is low at the moment, and when the Bluetooth equipment carries out frequency hopping operation according to the Bluetooth frequency hopping table, the frequency point with serious interference can be avoided, so that the quality of Bluetooth communication after frequency hopping is improved, and the effectiveness and stability of Bluetooth data transmission are ensured.
In one embodiment, the step of obtaining the packet error rate corresponding to each frequency point in the bluetooth frequency hopping table includes the following steps:
respectively recording the number of data packets received at each frequency point in a Bluetooth frequency hopping table during Bluetooth communication;
and when the total number of the data packets of all the frequency points is greater than a second threshold value, respectively calculating the packet error rate corresponding to each frequency point.
In one embodiment, the step of obtaining the packet error rate corresponding to each frequency point in the bluetooth frequency hopping table includes the following steps:
respectively recording the number of error packets and the number of data packets received at each frequency point in a Bluetooth frequency hopping table during Bluetooth communication;
calculating the total number of error packets and the total number of data packets received on all frequency points according to the recorded error packet number and data packet number;
calculating the total packet error rate according to the total number of error packets and the total number of data packets;
and when the total number of the data packets is greater than the second threshold and the total packet error rate is greater than a third threshold, respectively calculating the packet error rate corresponding to each frequency point.
In one embodiment, the step of obtaining the packet error rate corresponding to each frequency point in the bluetooth frequency hopping table further includes the following steps:
when the total number of the data packets is greater than the second threshold and the total packet error rate is less than or equal to a third threshold, clearing the recorded data packet number, error packet number, total number of the data packets and total number of the error packets, and restarting to record the data packet number received at each frequency point in the Bluetooth frequency hopping table during Bluetooth communication.
In one embodiment, the step of obtaining the packet error rate corresponding to each frequency point in the bluetooth frequency hopping table further includes the following steps:
when the packet error rate corresponding to the frequency point is greater than a first threshold value, recording the frequency point to a buffer area;
the step of updating the effective frequency point to the Bluetooth frequency hopping list further comprises the following steps:
and when the number of the current effective frequency points in the Bluetooth frequency hopping list is lower than a fourth threshold value, acquiring the alternative frequency points from the buffer area and filling the alternative frequency points into the Bluetooth frequency hopping list, wherein the sum of the number of the current effective frequency points in the Bluetooth frequency hopping list and the number of the alternative frequency points reaches the fourth threshold value, and the size of the fourth threshold value is negatively correlated with the total packet error rate.
In one embodiment, the step of recording the frequency point to the buffer area comprises the following steps:
determining a packet error rate interval where the packet error rate corresponding to the frequency point is located;
recording the frequency point to a buffer zone corresponding to the packet error rate interval;
the step of obtaining the alternative frequency points from the buffer area and filling the alternative frequency points into the Bluetooth frequency hopping list comprises the following steps:
and sequencing the buffer areas according to the sequence of the packet error rate from small to large, selecting the frequency points in the buffer area in front of the sequencing as alternative frequency points and filling the alternative frequency points into a Bluetooth frequency hopping table.
In one embodiment, the step of obtaining the packet error rate corresponding to each frequency point in the bluetooth frequency hopping table includes the following steps:
dividing a Bluetooth frequency band into a plurality of frequency point segments, and determining the affiliation relationship between each frequency point and each frequency point end in a Bluetooth frequency hopping list;
sequentially acquiring the error packet rate of an unprocessed frequency point in the Bluetooth frequency hopping list from the frequency point sections according to the attribution relation;
judging whether the packet error rates of all frequency points in the Bluetooth frequency hopping list are acquired or not;
if not, returning to the step of sequentially acquiring the packet error rate of an unprocessed frequency point in the Bluetooth frequency hopping list in the frequency point sections according to the attribution relation until the packet error rates of all the frequency points of the Bluetooth frequency hopping list are acquired.
A Bluetooth frequency hopping frequency point updating system comprises:
the error packet rate acquisition module is used for acquiring the error packet rate corresponding to each frequency point in the Bluetooth frequency hopping list, and the error packet rate corresponding to each frequency point is the ratio of the number of error packets received at each frequency point to the number of data packets;
the frequency point acquisition module is used for acquiring effective frequency points in the frequency points according to the error packet rate, wherein the effective frequency points are the frequency points of which the error packet rate is less than or equal to a first threshold value;
and the frequency point updating module is used for updating the frequency hopping frequency points in the Bluetooth frequency hopping list according to the effective frequency points.
According to foretell bluetooth frequency hopping frequency point update system, the wrong package rate that each frequency point corresponds in the bluetooth frequency hopping table is acquireed to the wrong package rate acquisition module, the effective frequency point that the wrong package rate is less than or equal to first threshold value is acquireed to the frequency point acquisition module, frequency point update module updates the frequency hopping frequency point in the bluetooth frequency hopping table according to the effective frequency point, the wrong package rate of the frequency hopping frequency point in the bluetooth frequency hopping table this moment is lower, bluetooth equipment is when carrying out the frequency hopping operation according to the bluetooth frequency hopping table, can avoid receiving the frequency point that the interference is comparatively serious, thereby improve the quality of bluetooth communication after the frequency hopping, guarantee bluetooth data transmission's validity and stability.
In one embodiment, the packet error rate obtaining module records the number of data packets received at each frequency point in the bluetooth frequency hopping table during bluetooth communication; and when the total number of the data packets of all the frequency points is greater than a second threshold value, respectively calculating the packet error rate corresponding to each frequency point.
In one embodiment, the packet error rate obtaining module records the number of error packets and the number of data packets received at each frequency point in the bluetooth frequency hopping table during bluetooth communication respectively; calculating the total number of error packets and the total number of data packets received on all frequency points according to the recorded error packet number and data packet number; calculating the total packet error rate according to the total number of error packets and the total number of data packets; and when the total number of the data packets is greater than the second threshold and the total packet error rate is greater than a third threshold, respectively calculating the packet error rate corresponding to each frequency point.
In one embodiment, when the total number of data packets is greater than the second threshold and the total error packet rate is less than or equal to the third threshold, the error packet rate obtaining module clears the recorded data packet number, error packet number, total number of data packets and total number of error packets, and re-records the data packet number and error packet number correspondingly received at each frequency point during bluetooth communication; wherein, the total error packet rate is the ratio of the total number of error packets received at each frequency point to the total number of data packets.
In one embodiment, the bluetooth frequency hopping frequency point updating system further includes an alternative frequency point filling module, configured to record a frequency point to a buffer when a packet error rate corresponding to the frequency point is greater than a first threshold; and when the number of the current effective frequency points in the Bluetooth frequency hopping list is lower than a fourth threshold value, acquiring the alternative frequency points from the buffer area and filling the alternative frequency points into the Bluetooth frequency hopping list, wherein the sum of the number of the current effective frequency points in the Bluetooth frequency hopping list and the number of the alternative frequency points reaches the fourth threshold value, and the size of the fourth threshold value is negatively correlated with the total packet error rate.
In one embodiment, the alternative frequency point filling module determines an error packet rate interval where an error packet rate corresponding to the frequency point is located; recording the frequency point to a buffer zone corresponding to the packet error rate interval; and sequencing the buffer areas according to the sequence of the packet error rate from small to large, selecting the frequency points in the buffer area in front of the sequencing as alternative frequency points and filling the alternative frequency points into a Bluetooth frequency hopping table.
In one embodiment, the packet error rate obtaining module divides a bluetooth frequency band into a plurality of frequency point segments, and determines the attribution relationship between each frequency point and each frequency point end in a bluetooth frequency hopping table; sequentially acquiring the error packet rate of an unprocessed frequency point in the Bluetooth frequency hopping list from the frequency point sections according to the attribution relation; judging whether the packet error rates of all frequency points in the Bluetooth frequency hopping list are acquired or not; if not, respectively acquiring the packet error rate of an unprocessed frequency point in the Bluetooth frequency hopping list in a plurality of frequency point segments according to the attribution relationship again until the packet error rates of all frequency points of the Bluetooth frequency hopping list are acquired.
A readable storage medium, on which an executable program is stored, is provided, wherein the program, when executed by a processor, implements the above Bluetooth frequency hopping point updating method.
According to the readable storage medium, the stored executable program realizes that the Bluetooth equipment can avoid frequency points seriously interfered when carrying out frequency hopping operation according to the Bluetooth frequency hopping table, so that the quality of Bluetooth communication after frequency hopping is improved, and the effectiveness and the stability of Bluetooth data transmission are ensured.
A computer device comprises a memory, a processor and an executable program which is stored on the memory and can run on the processor, wherein the Bluetooth frequency hopping frequency point updating method is realized when the processor executes the program.
Above-mentioned computer equipment through the executable program that runs on the treater, has realized that bluetooth equipment can avoid receiving the frequency point that the interference is comparatively serious when carrying out the frequency hopping operation according to the bluetooth frequency hopping table to improve the quality of bluetooth communication after the frequency hopping, guarantee bluetooth data transmission's validity and stability.
Drawings
Fig. 1 is an application environment diagram of a bluetooth frequency hopping frequency point updating method according to an embodiment;
fig. 2 is a schematic flowchart of a bluetooth frequency hopping frequency point updating method according to an embodiment;
fig. 3 is a schematic flowchart of a bluetooth frequency hopping frequency point updating method according to another embodiment;
fig. 4 is a flowchart illustrating step S110 of a bluetooth frequency hopping frequency point updating method according to an embodiment;
fig. 5 is a schematic flowchart of step S110 of a bluetooth frequency hopping frequency point updating method according to another embodiment;
fig. 6 is a schematic flowchart of step S110 and step S117 of the bluetooth frequency hopping frequency point updating method according to an embodiment;
fig. 7 is a schematic flowchart of a bluetooth frequency hopping frequency point updating method according to yet another embodiment;
fig. 8 is a flowchart illustrating step S110 of a bluetooth frequency hopping frequency point updating method according to another embodiment;
fig. 9 is a schematic structural diagram of a bluetooth frequency hopping frequency point updating system according to an embodiment;
fig. 10 is a schematic structural diagram of a bluetooth frequency hopping frequency point updating system according to another embodiment;
fig. 11 is a schematic structural diagram of a bluetooth frequency hopping frequency point updating system according to yet another embodiment;
fig. 12 is a flowchart illustrating a specific application of the bluetooth frequency hopping frequency point updating method according to an embodiment;
fig. 13 is a schematic diagram illustrating frequency segment division of a bluetooth frequency hopping frequency point updating method according to an embodiment;
fig. 14 is a schematic diagram of frequency point buffering of a bluetooth frequency hopping frequency point updating method according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the detailed description and specific examples, while indicating the scope of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
It should be noted that the term "first/second/third" referred to in the embodiments of the present invention is only used for distinguishing similar objects, and does not represent a specific ordering for the objects.
Fig. 1 is a schematic diagram of a hardware entity for performing information interaction in an embodiment of the present invention, where fig. 1 includes: the first Bluetooth device and the second Bluetooth device are in information interaction with the second Bluetooth device through Bluetooth wireless signals and can comprise mobile phones, desktop computers, Personal Computers (PC), all-in-one machines and the like. The Bluetooth frequency hopping point updating method can be realized in the first Bluetooth equipment or the second Bluetooth equipment.
Fig. 2 is a schematic flowchart of a bluetooth frequency hopping frequency point updating method according to an embodiment. The method for updating the Bluetooth frequency hopping points in the embodiment comprises the following steps:
step S110: acquiring the packet error rate corresponding to each frequency point in a Bluetooth frequency hopping list, wherein the packet error rate corresponding to each frequency point is the ratio of the number of error packets received at each frequency point to the number of data packets;
in this step, the bluetooth frequency hopping table is a table for storing bluetooth frequency hopping points, the frequency band where the bluetooth frequency hopping points are located is a 2.4GHz frequency band used by the bluetooth device for communication, the bluetooth uses a frequency hopping technology to divide the transmitted data into a plurality of data packets, and the data transmission is performed in the 2.4GHz frequency band;
step S120: obtaining effective frequency points in each frequency point according to the error packet rate, wherein the effective frequency points are the frequency points of which the error packet rate is less than or equal to a first threshold value;
in this step, when bluetooth communication is performed on a certain frequency point and the packet error rate of a transmitted data packet is less than or equal to a first threshold, it indicates that the frequency point is good in interference condition and suitable for bluetooth communication, and the first threshold can be adjusted according to actual bluetooth communication requirements;
step S130: updating each frequency point in the Bluetooth frequency hopping list according to the effective frequency point;
in this step, the bluetooth frequency hopping table is used for recording the effective frequency point that the disturbed condition is good, supplies bluetooth equipment when frequency hopping, obtains the frequency point from the bluetooth frequency hopping table and carries out the frequency hopping.
According to the Bluetooth frequency hopping point updating method, the frequency point with the error rate smaller than or equal to the first threshold value in the Bluetooth frequency hopping table is used as the effective frequency point, the effective frequency point is updated to the Bluetooth frequency hopping table, the error rate of the frequency hopping frequency point in the Bluetooth frequency hopping table is low at the moment, and when the Bluetooth equipment carries out frequency hopping operation according to the Bluetooth frequency hopping table, the frequency point with serious interference can be avoided, so that the quality of Bluetooth communication after frequency hopping is improved, and the effectiveness and stability of Bluetooth data transmission are ensured.
In one embodiment, as shown in fig. 3, the step of updating the effective frequency point to the bluetooth frequency hopping table further includes the following steps:
step S140: and negotiating with equipment connected through the Bluetooth, replacing the original Bluetooth frequency hopping table into an updated Bluetooth frequency hopping table, and carrying out frequency hopping according to the updated Bluetooth frequency hopping table during Bluetooth communication.
Specifically, the method for updating the Bluetooth frequency hopping point comprises the following steps:
acquiring the packet error rate corresponding to each frequency point in a Bluetooth frequency hopping list, wherein the packet error rate is the ratio of the number of error packets received at the corresponding frequency point to the number of data packets received at the frequency point; obtaining effective frequency points in each frequency point according to the error packet rate, wherein the effective frequency points are the frequency points of which the error packet rate is less than or equal to a first threshold value; updating each frequency point in the Bluetooth frequency hopping list according to the effective frequency point; and negotiating with equipment connected through the Bluetooth, replacing the original Bluetooth frequency hopping table into an updated Bluetooth frequency hopping table, and carrying out frequency hopping according to the updated Bluetooth frequency hopping table during Bluetooth communication.
Because bluetooth communication relates to a bluetooth signal sending end and a bluetooth signal receiving end, both ends are required to perform frequency hopping updating simultaneously, in fig. 1, the bluetooth frequency hopping point updating method can be implemented in a first bluetooth device, the first bluetooth device negotiates with a second bluetooth device, and an updated bluetooth frequency hopping table is uniformly used, so that synchronization of frequency hopping is realized, and accurate transmission of bluetooth data is ensured.
In one embodiment, as shown in fig. 4, the step of obtaining the packet error rate corresponding to each frequency point in the bluetooth frequency hopping table includes the following steps:
step S111: respectively recording the number of data packets received at each frequency point in a Bluetooth frequency hopping table during Bluetooth communication;
step S112: and when the total number of the data packets of all the frequency points is greater than a second threshold value, respectively calculating the packet error rate corresponding to each frequency point.
In this embodiment, the total number of data packets received at each frequency point during bluetooth communication frequency hopping is obtained, and when the total number of data packets is greater than the second threshold, the subsequent step of obtaining effective frequency points to update the bluetooth frequency hopping table is performed, so that it is possible to avoid that the bluetooth frequency hopping table is updated too frequently to affect the bluetooth communication rate.
Optionally, the second threshold may be set according to the number of effective frequency points to be selected. For example, 50 frequency points need to be selected from the current bluetooth frequency hopping list for bluetooth frequency hopping, at this time, the second threshold value may be set to be 12 × 50 ═ 600, when the total number of received data packets is greater than 600, the step of obtaining the packet error rate corresponding to each frequency point in the bluetooth frequency hopping list is executed, so that when bluetooth frequency hopping is performed according to the current bluetooth frequency hopping list, the frequency points recorded in the current bluetooth frequency hopping list all have an opportunity to receive data packets, and also all have an opportunity to be selected, thereby comprehensively recording the information of each frequency point in the current bluetooth frequency hopping list, and improving the effectiveness of the selected frequency points.
In one embodiment, as shown in fig. 5, the step of obtaining the packet error rate corresponding to each frequency point in the bluetooth frequency hopping table includes the following steps:
step S113: respectively recording the number of error packets and the number of data packets received at each frequency point in a Bluetooth frequency hopping table during Bluetooth communication;
step S114: calculating the total number of error packets and the total number of data packets received on all frequency points according to the recorded error packet number and data packet number;
step S115: calculating the total packet error rate according to the total number of error packets and the total number of data packets;
step S116: and when the total number of the data packets is greater than the second threshold and the total packet error rate is greater than a third threshold, respectively calculating the packet error rate corresponding to each frequency point.
In this embodiment, when the total number of received data packets is greater than the second threshold and the total packet error rate is greater than the third threshold, it indicates that a frequency point with serious interference exists in the current bluetooth frequency hopping table, and at this time, a subsequent step of obtaining an effective frequency point to update the bluetooth frequency hopping table needs to be performed, so that the frequency point of the bluetooth frequency hopping table can be updated in time while the bluetooth frequency hopping table is prevented from being updated frequently, and the stability and reliability of bluetooth communication through frequency hopping are improved.
Further, as shown in fig. 6, the bluetooth frequency hopping point updating method further includes the following steps:
step S117: when the total number of the data packets is greater than the second threshold and the total packet error rate is less than or equal to a third threshold, clearing the recorded data packet number, error packet number, total number of the data packets and total number of the error packets, and restarting to record the data packet number received at each frequency point of the Bluetooth frequency band during Bluetooth communication respectively.
In this embodiment, when the total number of received data packets is greater than the second threshold but the total packet error rate is less than or equal to the third threshold, it indicates that the interference condition of the frequency points recorded by the current bluetooth frequency hopping table is good, the obtained number of data packets, the obtained number of error packets, the obtained total number of data packets, and the obtained total number of error packets may be cleared, frequency hopping continues according to the current bluetooth frequency hopping table, data is recorded again, and the real-time performance of the data during updating is ensured, so that the bluetooth frequency hopping table is updated accurately, and the rate of bluetooth communication is increased.
Specifically, the method for updating the Bluetooth frequency hopping point comprises the following steps:
respectively recording the number of error packets and the number of data packets received at each frequency point in a Bluetooth frequency hopping table during Bluetooth communication; calculating the total number of error packets and the total number of data packets received on all frequency points according to the recorded error packet number and data packet number; calculating the total packet error rate according to the total number of error packets and the total number of data packets; when the total number of the data packets is greater than a second threshold and the total packet error rate is greater than a third threshold, respectively calculating the packet error rate corresponding to each frequency point, wherein the packet error rate is the ratio of the number of error packets received at the corresponding frequency point to the number of data packets received at the frequency point;
when the total number of the data packets is greater than the second threshold and the total packet error rate is less than or equal to a third threshold, clearing the recorded data packet number, error packet number, total number of the data packets and total number of the error packets, and restarting to record the data packet number received at each frequency point of the Bluetooth frequency band during Bluetooth communication respectively;
obtaining effective frequency points in each frequency point according to the error packet rate, wherein the effective frequency points are the frequency points of which the error packet rate is less than or equal to a first threshold value; and updating each frequency point in the Bluetooth frequency hopping list according to the effective frequency point.
In one embodiment, as shown in fig. 7, the step of obtaining the packet error rate corresponding to each frequency point in the bluetooth frequency hopping table further includes the following steps:
step S150: when the packet error rate corresponding to the frequency point is greater than a first threshold value, recording the frequency point to a buffer area;
the step of updating the effective frequency point to the Bluetooth frequency hopping list further comprises the following steps:
step S160: and when the number of the current effective frequency points in the Bluetooth frequency hopping list is lower than a fourth threshold value, acquiring the alternative frequency points from the buffer area and filling the alternative frequency points into the Bluetooth frequency hopping list, wherein the sum of the number of the current effective frequency points in the Bluetooth frequency hopping list and the number of the alternative frequency points reaches the fourth threshold value, and the size of the fourth threshold value is negatively correlated with the total packet error rate.
In this embodiment, when the packet error rate corresponding to a frequency point is greater than the first threshold, it indicates that the interfered condition of the frequency point is relatively serious, and the frequency point with relatively serious interference may be recorded in the buffer area first; under the condition that the number of interfered frequency points is large, the number of corresponding effective frequency points is small, when Bluetooth communication is carried out through frequency hopping, enough frequency points need to be reserved to keep normal communication, therefore, when the number of the effective frequency points in the Bluetooth frequency hopping table is lower than a fourth threshold value, alternative frequency points are obtained from the buffer area and are filled in the Bluetooth frequency hopping table, the sum of the number of the effective frequency points in the Bluetooth frequency hopping table and the number of the alternative frequency points reaches the fourth threshold value, and normal communication of the Bluetooth can be kept.
Specifically, the method for updating the Bluetooth frequency hopping point comprises the following steps:
respectively recording the number of error packets and the number of data packets received at each frequency point in a Bluetooth frequency hopping table during Bluetooth communication; calculating the total number of error packets and the total number of data packets received on all frequency points according to the recorded error packet number and data packet number; calculating the total packet error rate according to the total number of error packets and the total number of data packets; when the total number of the data packets is greater than a second threshold and the total packet error rate is greater than a third threshold, respectively calculating the packet error rate corresponding to each frequency point, wherein the packet error rate is the ratio of the number of error packets received at the corresponding frequency point to the number of data packets received at the frequency point;
when the packet error rate corresponding to the frequency point is greater than a first threshold value, recording the frequency point to a buffer area;
obtaining effective frequency points in each frequency point according to the error packet rate, wherein the effective frequency points are the frequency points of which the error packet rate is less than or equal to a first threshold value; updating each frequency point in the Bluetooth frequency hopping list according to the effective frequency point;
and when the number of the current effective frequency points in the Bluetooth frequency hopping list is lower than a fourth threshold value, acquiring the alternative frequency points from the buffer area and filling the alternative frequency points into the Bluetooth frequency hopping list, wherein the sum of the number of the current effective frequency points in the Bluetooth frequency hopping list and the number of the alternative frequency points reaches the fourth threshold value, and the size of the fourth threshold value is negatively correlated with the total packet error rate.
The size of the fourth threshold is negatively correlated with the total packet error rate, namely the total packet error rate is larger, the fourth threshold is smaller, when the total packet error rate is larger, the interference received in a Bluetooth communication frequency band is larger, the fourth threshold is set to be a smaller value at the moment, the number of frequency points recorded in a Bluetooth frequency hopping table is reduced, the frequency points which are seriously interfered can be prevented from being selected for use to carry out Bluetooth communication, and the stability and the reliability of the Bluetooth communication are improved.
For example, when the total error rate is 50%, the fourth threshold may be set to 50; when the total error rate is 30%, the fourth threshold may be set to 60; when the total packet error rate is 20%, the fourth threshold may be set to 65, and when the total packet error rate is smaller, the number of frequency points recorded in the bluetooth frequency hopping table may be appropriately increased to improve the communication quality of bluetooth communication.
In one embodiment, the step of recording the frequency point to the buffer comprises the following steps:
determining a packet error rate interval in which the packet error rate of the frequency point is positioned; recording the frequency points to a buffer area corresponding to the packet error rate interval;
the step of obtaining the alternative frequency points from the buffer area and filling the alternative frequency points into the Bluetooth frequency hopping list comprises the following steps:
and sequencing the buffer areas according to the sequence of the packet error rate from small to large, selecting the frequency points in the buffer area in front of the sequencing as alternative frequency points and filling the alternative frequency points into a Bluetooth frequency hopping table.
In this embodiment, the error rate of a frequency point indicates the interference severity of the frequency point, and the frequency point may be divided into different interference level levels according to the error rate by determining the error rate interval in which the error rate of the frequency point is located and recording the frequency point to the buffer corresponding to the error rate interval. When the number of the effective frequency points in the Bluetooth frequency hopping table is lower than a fourth threshold value, the frequency points in the buffer area in front of the sequence are selected as the alternative frequency points and filled into the Bluetooth frequency hopping table, the alternative frequency points filled into the Bluetooth frequency hopping table can be ensured to have relatively light interference degree, and the stability and reliability of Bluetooth communication through frequency hopping are improved.
For example, three buffers may be provided, a first buffer, a second buffer, and a third buffer; the error packet rate interval corresponding to the first buffer area is (15%, 30%), the error packet rate interval corresponding to the second buffer area is (30%, 50%), the error packet rate interval corresponding to the third buffer area is (50%, 100%), the first buffer area, the second buffer area and the third buffer area are sequentially arranged by sequencing the buffer areas according to the sequence of the error packet rates from small to large, if the error packet rate of a certain frequency point is 25%, the error packet rate interval of the error packet rate of the frequency point is (15%, 30%), the frequency point is recorded in the first buffer area, when the number of effective frequency points in the Bluetooth frequency hopping table is lower than a fourth threshold value, the frequency point in the front sequenced buffer area is selected as an alternative frequency point and is filled in the Bluetooth frequency hopping table, namely the alternative frequency point is obtained from the first buffer area and is filled in the Bluetooth frequency hopping table, if all the frequency points in the first buffer area are filled in the Bluetooth frequency hopping table, when the sum of the number of the effective frequency points and the number of the alternative frequency points in the Bluetooth frequency hopping list is still lower than a fourth threshold value, the alternative frequency points are continuously obtained from the second buffer area, and the like until the third buffer area, the alternative frequency points filled in the Bluetooth frequency hopping list can be ensured to have relatively good interference degree, and the stability and the reliability of Bluetooth communication through frequency hopping are improved.
In one embodiment, as shown in fig. 8, the step of acquiring the packet error rate corresponding to each frequency point used for the bluetooth device to perform communication includes the following steps:
step S210: dividing a Bluetooth frequency band into a plurality of frequency point segments, and determining the affiliation relationship between each frequency point and each frequency point end in a Bluetooth frequency hopping list;
step S220: sequentially acquiring the error packet rate of an unprocessed frequency point in the Bluetooth frequency hopping list from the frequency point sections according to the attribution relation;
step S230: judging whether the packet error rates of all frequency points in the Bluetooth frequency hopping list are acquired or not;
step S240: if not, returning to the step S220 until the error packet rates of all frequency points of the Bluetooth frequency hopping list are obtained.
In this embodiment, the bluetooth frequency band is divided into a plurality of frequency point segments, an unprocessed frequency point in the bluetooth frequency hopping table is randomly acquired from one frequency point segment in a segmented random manner, the unprocessed frequency point refers to a frequency point at which a packet error rate is not acquired, after the packet error rate of the frequency point is acquired, an unprocessed frequency point in the bluetooth frequency hopping table is randomly acquired from the next frequency point segment, and the steps are repeated until the packet error rates of all frequency points in the bluetooth frequency hopping table are acquired, the frequency point packet error rate is analyzed in a segmented random manner, the frequency point packet error rate of the same frequency point segment is too high during centralized analysis, and the communication performance of the bluetooth is seriously affected by interference of the whole frequency point segment.
For example, there are 79 frequency points in the bluetooth frequency hopping table under general conditions, the bluetooth frequency band can be divided into 9 frequency point segments, each frequency point segment can include a plurality of frequency points, when the error packet rate corresponding to each frequency point used for the bluetooth device to communicate needs to be obtained, the error packet rate of one frequency point in the bluetooth frequency hopping table is randomly obtained from the first frequency point segment, the error packet rate of one frequency point in the bluetooth frequency hopping table is randomly obtained from the second frequency point segment, and then the ninth frequency point segment is obtained until the error packet rate of one frequency point in the bluetooth frequency hopping table is randomly obtained by returning to the first frequency point segment, and the process is repeated until the error packet rates of all frequency points in all the bluetooth frequency hopping tables are obtained, so that the situation that the communication performance of the bluetooth is seriously affected due to interference on the whole frequency point segment is avoided.
According to the above method for updating bluetooth frequency hopping points, the present invention further provides a bluetooth frequency hopping point updating system, and the following describes in detail an embodiment of the bluetooth frequency hopping point updating system of the present invention.
Fig. 9 is a schematic structural diagram of a bluetooth frequency hopping frequency point updating system according to an embodiment of the present invention. The bluetooth frequency hopping frequency point updating system in this embodiment includes:
a packet error rate obtaining module 310, configured to obtain a packet error rate corresponding to each frequency point in the bluetooth frequency hopping table, where the packet error rate corresponding to each frequency point is a ratio of the number of error packets received at each frequency point to the number of data packets;
the frequency point obtaining module 320 is configured to obtain an effective frequency point in the frequency points according to the packet error rate, where the effective frequency point is a frequency point whose packet error rate is less than or equal to a first threshold;
and the frequency point updating module 330 is configured to update the frequency hopping frequency point in the bluetooth frequency hopping list according to the effective frequency point.
According to the bluetooth frequency hopping frequency point updating system, the packet error rate acquiring module 310 acquires the packet error rate corresponding to each frequency point in the bluetooth frequency hopping table, the frequency point acquiring module 320 acquires the effective frequency point with the packet error rate smaller than or equal to the first threshold value, the frequency point updating module 330 updates the frequency hopping frequency point in the bluetooth frequency hopping table according to the effective frequency point, at the moment, the packet error rate of the frequency hopping frequency point in the bluetooth frequency hopping table is lower, when the bluetooth device performs frequency hopping operation according to the bluetooth frequency hopping table, the frequency point with serious interference can be avoided, the quality of bluetooth communication after frequency hopping is improved, and the validity and stability of bluetooth data transmission are ensured.
In one embodiment, as shown in fig. 10, the bluetooth frequency hopping frequency point updating system further includes a connection negotiation module 340, configured to negotiate with a device connected through bluetooth, replace the original bluetooth frequency hopping table with an updated bluetooth frequency hopping table, and perform frequency hopping according to the updated bluetooth frequency hopping table during bluetooth communication.
In one embodiment, the packet error rate obtaining module 310 records the number of data packets received at each frequency point in the bluetooth frequency hopping table during bluetooth communication; and when the total number of the data packets of all the frequency points is greater than a second threshold value, respectively calculating the packet error rate corresponding to each frequency point.
In one embodiment, the packet error rate obtaining module 310 records the number of error packets and the number of data packets received at each frequency point in the bluetooth frequency hopping table during bluetooth communication; calculating the total number of error packets and the total number of data packets received on all frequency points according to the recorded error packet number and data packet number; calculating the total packet error rate according to the total number of error packets and the total number of data packets; and when the total number of the data packets is greater than the second threshold and the total packet error rate is greater than a third threshold, respectively calculating the packet error rate corresponding to each frequency point.
In one embodiment, when the total number of data packets is greater than the second threshold and the total packet error rate is less than or equal to the third threshold, the packet error rate obtaining module 310 clears the recorded data packet number, error packet number, total number of data packets, and total number of error packets, and records the data packet number and error packet number correspondingly received at each frequency point during bluetooth communication; wherein, the total error packet rate is the ratio of the total number of error packets received at each frequency point to the total number of data packets.
In one embodiment, as shown in fig. 11, the bluetooth frequency hopping frequency point updating system further includes an alternative frequency point filling module 350, configured to record a frequency point to a buffer when the packet error rate corresponding to the frequency point is greater than a first threshold; and when the number of the current effective frequency points in the Bluetooth frequency hopping list is lower than a fourth threshold value, acquiring the alternative frequency points from the buffer area and filling the alternative frequency points into the Bluetooth frequency hopping list, wherein the sum of the number of the current effective frequency points in the Bluetooth frequency hopping list and the number of the alternative frequency points reaches the fourth threshold value, and the size of the fourth threshold value is negatively correlated with the total packet error rate.
In one embodiment, the alternative frequency point filling module 350 determines an error rate interval where an error rate corresponding to the frequency point is located; recording the frequency point to a buffer zone corresponding to the packet error rate interval; and sequencing the buffer areas according to the sequence of the packet error rate from small to large, selecting the frequency points in the buffer area in front of the sequencing as alternative frequency points and filling the alternative frequency points into a Bluetooth frequency hopping table.
In one embodiment, the packet error rate obtaining module 310 divides the bluetooth frequency band into a plurality of frequency point segments, and determines the attribution relationship between each frequency point and each frequency point end in the bluetooth frequency hopping table; sequentially acquiring the error packet rate of an unprocessed frequency point in the Bluetooth frequency hopping list from the frequency point sections according to the attribution relation; judging whether the packet error rates of all frequency points in the Bluetooth frequency hopping list are acquired or not; if not, respectively acquiring the packet error rate of an unprocessed frequency point in the Bluetooth frequency hopping list in a plurality of frequency point segments according to the attribution relationship again until the packet error rates of all frequency points of the Bluetooth frequency hopping list are acquired.
The bluetooth frequency hopping frequency point updating system and the bluetooth frequency hopping frequency point updating method of the invention are in one-to-one correspondence, and the technical characteristics and the beneficial effects explained in the embodiment of the bluetooth frequency hopping frequency point updating method are both suitable for the embodiment of the bluetooth frequency hopping frequency point updating system.
According to the bluetooth frequency hopping point updating method, the embodiment of the invention also provides a readable storage medium and a computer device.
The readable storage medium stores executable program, and the program realizes the steps of the Bluetooth frequency hopping point updating method when being executed by the processor; the storage medium realizes that the Bluetooth equipment can avoid frequency points seriously interfered when carrying out frequency hopping operation according to the Bluetooth frequency hopping table through the stored executable program, thereby improving the quality of Bluetooth communication after frequency hopping and ensuring the validity and stability of Bluetooth data transmission.
The computer equipment comprises a memory, a processor and an executable program which is stored on the memory and can run on the processor, and the step of the Bluetooth frequency hopping point updating method is realized when the processor executes the program; the computer equipment realizes that the Bluetooth equipment can avoid frequency points with serious interference when carrying out frequency hopping operation according to the Bluetooth frequency hopping table through the executable program running on the processor, thereby improving the quality of Bluetooth communication after frequency hopping and ensuring the validity and stability of Bluetooth data transmission.
It will be understood by those skilled in the art that all or part of the processes in the method for implementing the above-described embodiments may be implemented by instructing relevant hardware through a computer program, and the program may be stored in a non-volatile computer-readable storage medium, for example, in the embodiments, the program may be stored in the storage medium of a computer system and executed by at least one processor in the computer system, so as to implement the processes of the embodiments including the above-described bluetooth frequency hopping frequency point updating method. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Fig. 12 is a schematic flow chart of the bluetooth frequency hopping point updating method according to an embodiment of the present invention when applied to the bluetooth EDR (Enhanced Data Rate) communication technology. The method for updating the Bluetooth frequency hopping points in the embodiment comprises the following steps:
step S410: after updating the Bluetooth frequency hopping table last time, recording the number of data packets and the number of error packets received by the current frequency point during each frequency hopping;
step S420: accumulating the total number of data packets and the total number of error packets which are received together by all the frequency points; setting a second threshold value to be 12 times of the number of the target selection frequency points;
step S430: when the total number of the data packets reaches a second threshold value, acquiring a total error packet rate according to the total number of the data packets and the total number of error packets;
step S440: if the total packet error rate reaches a third threshold value, executing the next step; otherwise, clearing the recorded data packet number, error packet number, data packet total number and error packet total number of each frequency point, and returning to the step S410; wherein the third threshold is 12%;
step S450: dividing 0-78 frequency points of a current Bluetooth frequency band into 9 frequency point segments, determining the affiliation relationship between each frequency point and each frequency point end in a Bluetooth frequency hopping list, and sequentially and respectively acquiring the packet error rate of one frequency point in the Bluetooth frequency hopping list in the 9 frequency point segments; when the 9 th frequency point segment is determined, returning to the 1 st frequency point segment for continuous circulation until the packet error rates corresponding to all frequency points of the Bluetooth frequency hopping list are obtained;
as shown in fig. 13, the 1 st frequency point section is 0 to 8, the 2 nd frequency point section is 9 to 17, the 3 rd frequency point section is 18 to 26, the 4 th frequency point section is 27 to 35, the 5 th frequency point section is 36 to 44, the 6 th frequency point section is 45 to 53, the 7 th frequency point section is 54 to 62, the 8 th frequency point section is 63 to 71, and the 9 th frequency point section is 72 to 78;
step S460: when the packet error rate corresponding to the frequency point is greater than a first threshold value, recording the frequency point to a buffer area; wherein, three buffer zones are preset, namely a first buffer zone, a second buffer zone and a third buffer zone, the corresponding packet error rate intervals are respectively (15%, 30% ], (30%, 50% ]), (50%, 100% ], and the first threshold value is 15%;
for example, as shown in fig. 14, if the data packets received at frequency points 11 and 25 are both error packets, both frequency points 11 and 25 are recorded in the third buffer, which represents that the interference degree of these frequency points is severe; the error packet rates of the frequency point 2, the frequency point 21, the frequency point 33, the frequency point 40, the frequency point 5 and the frequency point 27 are all more than 30% and less than 50%, and then the frequency point 2, the frequency point 21, the frequency point 33, the frequency point 40, the frequency point 5 and the frequency point 27 are all recorded in a second buffer area, which represents that the frequency points are generally interfered; and if the packet error rates of the frequency point 10, the frequency point 55 and the frequency point 75 are all more than 15% and less than 30%, recording the frequency point 10, the frequency point 55 and the frequency point 75 in a third buffer area, which represents that the frequency points are slightly interfered.
Step S470: acquiring an effective frequency point with a packet error rate smaller than or equal to a first threshold value and updating the frequency point of a Bluetooth frequency hopping table;
step S480: if the number of the effective frequency points is lower than a fourth threshold value, acquiring frequency points from the buffer area as alternative frequency points and filling the alternative frequency points into the Bluetooth frequency hopping table, so that the sum of the number of the effective frequency points and the number of the alternative frequency points in the Bluetooth frequency hopping table reaches the fourth threshold value; otherwise, directly executing the next step;
according to the sequence of the first buffer area, the second buffer area and the third buffer area, preferentially acquiring frequency points from the buffer area which is ranked in the front;
the fourth threshold is set according to the total packet error rate: when the total error rate is greater than 50%, setting a fourth threshold value to be 50; when the total error rate is greater than 30% and less than or equal to 50%, setting a fourth threshold value to be 60; when the total error rate is greater than 20% and less than or equal to 30%, setting a fourth threshold value to 65;
step S490: and negotiating with equipment connected through the Bluetooth to replace the current Bluetooth frequency hopping table into an updated Bluetooth frequency hopping table, and carrying out frequency hopping according to the updated Bluetooth frequency hopping table during Bluetooth communication.
According to the Bluetooth frequency hopping point updating method, data received by frequency points in the Bluetooth frequency hopping list are recorded to obtain the data packet number and the error packet number, the frequency points with the error packet rate smaller than or equal to a first threshold value in the Bluetooth frequency hopping list are used as effective frequency points, the effective frequency points are updated to the Bluetooth frequency hopping list, the interference conditions are graded, proper frequency points are selected according to the communication quality of the frequency points subjected to interference, the error packet rate of the frequency hopping points in the Bluetooth frequency hopping list is reduced to the maximum extent, the interference of other wireless systems when the Bluetooth equipment carries out EDR communication is reduced, meanwhile, the normal communication of Bluetooth EDR is guaranteed, the quality of the Bluetooth communication after frequency hopping is improved, and the Bluetooth communication distance is improved.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A Bluetooth frequency hopping point updating method is characterized by comprising the following steps:
acquiring the packet error rate corresponding to each frequency point in a Bluetooth frequency hopping list, wherein the packet error rate is the ratio of the number of error packets received at the corresponding frequency point to the number of data packets received at the frequency point;
obtaining effective frequency points in the frequency points according to the packet error rate, wherein the effective frequency points are the frequency points of which the packet error rate is less than or equal to a first threshold value;
updating each frequency point in a Bluetooth frequency hopping list according to the effective frequency point;
the step of obtaining the packet error rate corresponding to each frequency point in the Bluetooth frequency hopping list further comprises the following steps:
when the packet error rate corresponding to the frequency point is greater than the first threshold value, recording the frequency point to a buffer area;
the step of updating each frequency point in the Bluetooth frequency hopping list according to the effective frequency point further comprises the following steps:
when the number of the current effective frequency points in the Bluetooth frequency hopping list is lower than a fourth threshold value, acquiring alternative frequency points from the buffer area and filling the alternative frequency points into the Bluetooth frequency hopping list, wherein the sum of the number of the current effective frequency points in the Bluetooth frequency hopping list and the number of the alternative frequency points reaches the fourth threshold value, the size of the fourth threshold value is negatively related to the total packet error rate, and the total packet error rate is obtained according to the total number of error packets and the total number of data packets received on all the frequency points.
2. The method according to claim 1, wherein the step of obtaining the packet error rate corresponding to each frequency point in the bluetooth frequency hopping list comprises the following steps:
respectively recording the number of data packets received at each frequency point in a Bluetooth frequency hopping table during Bluetooth communication;
and when the total number of the data packets of all the frequency points is greater than a second threshold value, respectively calculating the packet error rate corresponding to each frequency point.
3. The method according to claim 1, wherein the step of obtaining the packet error rate corresponding to each frequency point in the bluetooth frequency hopping list comprises the following steps:
respectively recording the number of error packets and the number of data packets received at each frequency point in a Bluetooth frequency hopping table during Bluetooth communication;
calculating the total number of error packets and the total number of data packets received on all frequency points according to the recorded error packet number and data packet number;
calculating the total packet error rate according to the total number of the error packets and the total number of the data packets;
and when the total number of the data packets is greater than a second threshold and the total packet error rate is greater than a third threshold, respectively calculating the packet error rate corresponding to each frequency point.
4. The Bluetooth frequency hopping point updating method according to claim 3, further comprising the steps of:
when the total number of the data packets is greater than the second threshold value and the total packet error rate is less than or equal to the third threshold value, the recorded data packet number, the recorded error packet number, the recorded data packet total number and the recorded error packet total number are cleared, and the data packet number received at each frequency point of the Bluetooth frequency band when Bluetooth communication is started is recorded again.
5. The bluetooth frequency hopping frequency point updating method according to claim 1, wherein the step of recording the frequency point to the buffer area comprises the steps of:
determining a packet error rate interval where the packet error rate corresponding to the frequency point is located;
recording the frequency point to a buffer zone corresponding to the packet error rate interval;
the step of obtaining the alternative frequency points from the buffer area and filling the alternative frequency points into the Bluetooth frequency hopping list comprises the following steps:
and sequencing the buffer areas according to the sequence of the packet error rate from small to large, selecting the frequency points in the buffer area in front of the sequencing as alternative frequency points and filling the alternative frequency points into the Bluetooth frequency hopping list.
6. The method according to any of claims 1 to 5, wherein the step of obtaining the packet error rate corresponding to each frequency point in the Bluetooth frequency hopping list comprises the following steps:
dividing a Bluetooth frequency band into a plurality of frequency point segments, and determining the affiliation relationship between each frequency point and each frequency point segment in the Bluetooth frequency hopping table;
sequentially acquiring the error packet rate of an unprocessed frequency point in the Bluetooth frequency hopping list from a plurality of frequency point segments according to the attribution relation;
judging whether the packet error rates of all frequency points in the Bluetooth frequency hopping list are acquired or not;
if not, returning to the step of respectively acquiring the packet error rate of an unprocessed frequency point in the Bluetooth frequency hopping list in the frequency point segments according to the attribution relation until the packet error rates of all the frequency points of the Bluetooth frequency hopping list are acquired.
7. A Bluetooth frequency hopping point updating system is characterized by comprising:
the system comprises a packet error rate acquisition module, a packet error rate acquisition module and a data transmission module, wherein the packet error rate acquisition module is used for acquiring the packet error rate corresponding to each frequency point in a Bluetooth frequency hopping list, and the packet error rate is the ratio of the number of error packets received at the corresponding frequency point to the number of data packets received at the frequency point;
the frequency point acquisition module is used for acquiring effective frequency points in the frequency points according to the packet error rate, wherein the effective frequency points are the frequency points of which the packet error rate is less than or equal to a first threshold value;
the frequency point updating module is used for updating the frequency hopping frequency points in the Bluetooth frequency hopping list according to the effective frequency points;
the alternative frequency point filling module is used for recording the frequency point to a buffer area when the packet error rate corresponding to the frequency point is greater than the first threshold value; when the number of the current effective frequency points in the Bluetooth frequency hopping list is lower than a fourth threshold value, acquiring alternative frequency points from the buffer area and filling the alternative frequency points into the Bluetooth frequency hopping list, wherein the sum of the number of the current effective frequency points in the Bluetooth frequency hopping list and the number of the alternative frequency points reaches the fourth threshold value, the size of the fourth threshold value is negatively related to the total packet error rate, and the total packet error rate is obtained according to the total number of error packets and the total number of data packets received on all the frequency points.
8. The bluetooth frequency hopping frequency point updating system according to claim 7, wherein the packet error rate obtaining module is further configured to record the number of data packets received at each frequency point in the bluetooth frequency hopping table during bluetooth communication, respectively; and when the total number of the data packets of all the frequency points is greater than a second threshold value, respectively calculating the packet error rate corresponding to each frequency point.
9. A readable storage medium having an executable program stored thereon, wherein the program, when executed by a processor, implements the bluetooth frequency hopping bin updating method according to any one of claims 1 to 6.
10. A computer device comprising a memory, a processor and an executable program stored in the memory and executable on the processor, wherein the processor implements the steps of the bluetooth frequency hopping bin updating method according to any one of claims 1 to 6 when executing the program.
CN201810035969.0A 2018-01-15 2018-01-15 Bluetooth frequency hopping point updating method and system Active CN108270467B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810035969.0A CN108270467B (en) 2018-01-15 2018-01-15 Bluetooth frequency hopping point updating method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810035969.0A CN108270467B (en) 2018-01-15 2018-01-15 Bluetooth frequency hopping point updating method and system

Publications (2)

Publication Number Publication Date
CN108270467A CN108270467A (en) 2018-07-10
CN108270467B true CN108270467B (en) 2019-12-20

Family

ID=62775724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810035969.0A Active CN108270467B (en) 2018-01-15 2018-01-15 Bluetooth frequency hopping point updating method and system

Country Status (1)

Country Link
CN (1) CN108270467B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112437418B (en) * 2020-07-17 2024-01-30 珠海市杰理科技股份有限公司 TWS equipment communication data configuration method, TWS equipment communication data configuration device, TWS equipment communication data configuration chip and TWS equipment communication data configuration medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897301A (en) * 2016-06-30 2016-08-24 山东航天电子技术研究所 Self-adaptive anti-jamming frequency-hopping networking method
CN106712803A (en) * 2016-12-19 2017-05-24 四川九洲电器集团有限责任公司 Frequency hopping control method, emission equipment and receiving equipment
CN106851415A (en) * 2016-12-29 2017-06-13 深圳Tcl数字技术有限公司 Frequency list updating method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9819387B2 (en) * 2015-10-29 2017-11-14 Wichita State University System and method for channel probability mass function dependent frequency hopping

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897301A (en) * 2016-06-30 2016-08-24 山东航天电子技术研究所 Self-adaptive anti-jamming frequency-hopping networking method
CN106712803A (en) * 2016-12-19 2017-05-24 四川九洲电器集团有限责任公司 Frequency hopping control method, emission equipment and receiving equipment
CN106851415A (en) * 2016-12-29 2017-06-13 深圳Tcl数字技术有限公司 Frequency list updating method and system

Also Published As

Publication number Publication date
CN108270467A (en) 2018-07-10

Similar Documents

Publication Publication Date Title
KR101104963B1 (en) Control channel management apparatus, control channel searching apparatus and control channel allocation method
US10423542B2 (en) Data transmission method and system for transmitting data between processes using shared memory block indexes
CN109286957B (en) Switching method and device of return link, electronic equipment and storage medium
US20180343084A1 (en) Transmission processing method and device
CN108270467B (en) Bluetooth frequency hopping point updating method and system
EP3319358A1 (en) Frequency selection for broadband transmissions among a shared spectrum
CN108768448A (en) Anti- narrowband interference method, equipment and storage medium in frequency hopping burst communication system
US10277377B2 (en) Dynamic quality of service adjustment using device-side analytics
WO2014155919A1 (en) Image encoding device, image encoding method and image encoding program
US20200037339A1 (en) Data detection method and terminal
CN104978278B (en) Data processing method and device
JP6293308B2 (en) Method for signaling time and frequency resource allocation in a wireless communication system
JP6366731B2 (en) Method and device for determining time and frequency resources from time and frequency resources of a wireless communication network
US8693449B2 (en) Method of allocating and withdrawing time slot using position movement of time slot and TDMA communication system using the same
EP3240327B1 (en) Resource allocation method and device and information feedback method and device
CN106028458B (en) Method and apparatus for selecting a hopped target channel
US20220038919A1 (en) Downlink control channel transmission and reception methods, terminal, and network side device
WO2019192304A1 (en) Blind channel detection method, signal transmission method and related device
KR101754467B1 (en) Frequency hopping system and method
US10701676B2 (en) Clear channel assessment method, information receiving method, and apparatuses thereof
CN111741373A (en) Video data transmission method and video source equipment
CN108282306B (en) Method and device for determining candidate control channel resources
Meuser et al. Adaptive Decision Making based on Temporal Information Dynamics.
US20070232317A1 (en) Method of assigning a tracking area to mobile unit based on a location update frequency
CN105025369A (en) Method and device for determining recommended resources in channel combination

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
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 519000 No. 333, Kexing Road, Xiangzhou District, Zhuhai City, Guangdong Province

Patentee after: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

Address before: Floor 1-107, building 904, ShiJiHua Road, Zhuhai City, Guangdong Province

Patentee before: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.