CN108270467A - Bluetooth frequency hopping frequency point update method and system - Google Patents

Bluetooth frequency hopping frequency point update method and system Download PDF

Info

Publication number
CN108270467A
CN108270467A CN201810035969.0A CN201810035969A CN108270467A CN 108270467 A CN108270467 A CN 108270467A CN 201810035969 A CN201810035969 A CN 201810035969A CN 108270467 A CN108270467 A CN 108270467A
Authority
CN
China
Prior art keywords
frequency point
bluetooth
frequency
error rate
frequency hopping
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810035969.0A
Other languages
Chinese (zh)
Other versions
CN108270467B (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 present invention relates to a kind of bluetooth frequency hopping frequency point update method and systems, belong to wireless communication technology field, the corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table is obtained, Packet Error Rate is the ratio between the erroneous packets number received on corresponding frequency point and the number-of-packet received on the frequency point;Effective frequency point in frequency point is obtained according to Packet Error Rate, effective frequency point is less than or equal to the frequency point of first threshold for Packet Error Rate;The frequency hopping frequency point in bluetooth frequency hopping table is updated according to effective frequency point.Effective frequency point is used as by the frequency point that Packet Error Rate in bluetooth frequency hopping table is less than or equal to first threshold, and effective frequency point is updated to bluetooth frequency hopping table, the Packet Error Rate of the frequency hopping frequency point in bluetooth frequency hopping table is relatively low at this time, bluetooth equipment according to bluetooth frequency hopping table when carrying out frequency hopping operation, it can avoid the more serious frequency point that is interfered, so as to improve the quality of Bluetooth communication after frequency hopping, ensure the validity and stability of Bluetooth data transfer.

Description

Bluetooth frequency hopping frequency point update method and system
Technical field
The present invention relates to wireless communication technology field, more particularly to a kind of bluetooth frequency hopping frequency point update method and system.
Background technology
ISM (Industrial Scientific Medical) frequency range is defined by world wireless communication office of communication alliance Radio band, it is main open to be used to three industry, science and medicine fields, without authorizing expense.Among ISM band, 2.4GHz frequency ranges are the frequency ranges of global general-use, and bluetooth is exactly a kind of wireless communication skill being operated in 2.4GHz ISM bands Art.However in addition to bluetooth, also other various wireless communication technologies are equally operated in 2.4GHz frequency ranges, such as WIFI, ZigBee, Therefore 2.4GHz is caused to be quite full, be easily interfered when electronic equipment is communicated by bluetooth.
Currently in order to cutting down the interference from other equipment, bluetooth employs frequency hopping, is led to by selecting frequency point The method of letter avoids the frequency point being disturbed.But in process of the present invention is realized, inventor is had found in technology as above, is at least existed Following problem:If selecting the frequency point being disturbed to communicate, can lead to not effectively transmit data.
Invention content
Based on this, it is necessary to can lead to nothing for selecting the frequency point that is disturbed in current bluetooth frequency hopping and carrying out communication The problem of method effectively transmits data provides a kind of bluetooth frequency hopping frequency point update method and system.
A kind of bluetooth frequency hopping frequency point update method, includes the following steps:
The corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table is obtained, Packet Error Rate is the erroneous packets received on corresponding frequency point The ratio between number and the number-of-packet that is received on the frequency point;
Effective frequency point in frequency point is obtained according to Packet Error Rate, effective frequency point is less than or equal to the frequency of first threshold for Packet Error Rate Point;
The frequency hopping frequency point in bluetooth frequency hopping table is updated according to effective frequency point.
According to above-mentioned bluetooth frequency hopping frequency point update method, by the way that Packet Error Rate in bluetooth frequency hopping table is less than or equal to first The frequency point of threshold value is as effective frequency point, and by the update of effective frequency point to bluetooth frequency hopping table, the frequency hopping frequency in bluetooth frequency hopping table at this time The Packet Error Rate of point is relatively low, and bluetooth equipment can be avoided being interfered more tight when carrying out frequency hopping operation according to bluetooth frequency hopping table The frequency point of weight so as to improve the quality of Bluetooth communication after frequency hopping, ensures the validity and stability of Bluetooth data transfer.
The step of obtaining the corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table in one of the embodiments, includes following Step:
The number-of-packet that each frequency point receives in bluetooth frequency hopping table during record Bluetooth communication respectively;
When the data packet sum of all frequency points is more than second threshold, the corresponding Packet Error Rate of each frequency point is calculated respectively.
The step of obtaining the corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table in one of the embodiments, includes following Step:
The erroneous packets number and number-of-packet that each frequency point receives in bluetooth frequency hopping table during record Bluetooth communication respectively;
The erroneous packets sum and data packet received on all frequency points according to the calculating of the erroneous packets number and number-of-packet of record Sum;
Total Packet Error Rate is calculated according to erroneous packets sum and data packet sum;
When data packet sum is more than second threshold and total Packet Error Rate is more than third threshold value, each frequency point is calculated respectively and is corresponded to Packet Error Rate.
The step of obtaining the corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table in one of the embodiments, further include with Lower step:
When data packet sum is more than second threshold and total Packet Error Rate and is less than or equal to third threshold value, the data that will record Packet number, erroneous packets number, data packet sum and erroneous packets sum are reset, and while restarting to record Bluetooth communication respectively jumps in bluetooth The number-of-packet that each frequency point receives in frequency table.
It is also wrapped after the step of obtaining the corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table in one of the embodiments, Include following steps:
When the corresponding Packet Error Rate of frequency point is more than first threshold, which is recorded buffering area;
It will be further comprising the steps of after the update to the step of bluetooth frequency hopping table of effective frequency point:
When the quantity of the currently active frequency point is less than four threshold values in bluetooth frequency hopping table, alternative frequency point is obtained from buffering area And fill to bluetooth frequency hopping table, wherein, in bluetooth frequency hopping table the quantity of the quantity and alternative frequency point of the currently active frequency point the sum of Reach the 4th threshold value, the size of the 4th threshold value and total Packet Error Rate are negatively correlated.
The step of frequency point is recorded buffering area in one of the embodiments, includes the following steps:
Determine the Packet Error Rate section residing for the corresponding Packet Error Rate of the frequency point;
Buffering area corresponding with Packet Error Rate section is recorded in the frequency point;
Alternative frequency point is obtained from buffering area and is filled to the step of bluetooth frequency hopping table and is included the following steps:
Each buffering area is ranked up according to the sequence of Packet Error Rate from small to large, is chosen in the preceding buffering area that sorts Frequency point alternately frequency point and is filled to bluetooth frequency hopping table.
The step of obtaining the corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table in one of the embodiments, includes following Step:
Bluetooth band is divided into multiple frequency point sections, determines that each frequency point and the ownership at each frequency point end are closed in bluetooth frequency hopping table System;
Obtain the mistake of a untreated frequency point in bluetooth frequency hopping table respectively in multiple frequency point sections successively according to attaching relation Packet rate;
Judge whether the Packet Error Rate of all frequency points in bluetooth frequency hopping table has obtained;
If it is not, return obtained respectively in multiple frequency point sections successively according to attaching relation in bluetooth frequency hopping table one it is untreated The step of Packet Error Rate of frequency point, until the Packet Error Rate of all frequency points of bluetooth frequency hopping table has obtained.
A kind of bluetooth frequency hopping frequency point more new system, including:
Packet Error Rate acquisition module, for obtaining the corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table, each frequency point corresponds to Packet Error Rate be respectively the ratio between erroneous packets number and number-of-packet received in each frequency point;
Frequency point acquisition module, for obtaining effective frequency point in frequency point according to Packet Error Rate, effective frequency point is less than for Packet Error Rate Or the frequency point equal to first threshold;
Frequency point update module, for being updated according to effective frequency point to the frequency hopping frequency point in bluetooth frequency hopping table.
According to above-mentioned bluetooth frequency hopping frequency point more new system, Packet Error Rate acquisition module obtains each frequency point in bluetooth frequency hopping table Corresponding Packet Error Rate, frequency point acquisition module obtain effective frequency point that Packet Error Rate is less than or equal to first threshold, frequency point update module The frequency hopping frequency point in bluetooth frequency hopping table is updated according to effective frequency point, at this time the wrong packet of the frequency hopping frequency point in bluetooth frequency hopping table Rate is relatively low, and bluetooth equipment can avoid the more serious frequency point that is interfered when carrying out frequency hopping operation according to bluetooth frequency hopping table, So as to improve the quality of Bluetooth communication after frequency hopping, ensure the validity and stability of Bluetooth data transfer.
Packet Error Rate acquisition module records each in bluetooth frequency hopping table during Bluetooth communication respectively in one of the embodiments, The number-of-packet that frequency point receives;When the data packet sum of all frequency points is more than second threshold, each frequency point is calculated respectively and is corresponded to Packet Error Rate.
Packet Error Rate acquisition module records each in bluetooth frequency hopping table during Bluetooth communication respectively in one of the embodiments, The erroneous packets number and number-of-packet that frequency point receives;It is calculated according to the erroneous packets number and number-of-packet of record and is received on all frequency points Erroneous packets sum and data packet sum;Total Packet Error Rate is calculated according to erroneous packets sum and data packet sum;In data packet sum When being more than third threshold value more than second threshold and total Packet Error Rate, the corresponding Packet Error Rate of each frequency point is calculated respectively.
Packet Error Rate acquisition module is more than second threshold and total Packet Error Rate in data packet sum in one of the embodiments, During less than or equal to third threshold value, the number-of-packet recorded, erroneous packets number, data packet sum and erroneous packets sum are reset, Lay equal stress on new record Bluetooth communication when each frequency point correspond to receive number-of-packet and erroneous packets number;Wherein, total Packet Error Rate be The ratio between erroneous packets sum and data packet sum that each frequency point receives.
Bluetooth frequency hopping frequency point more new system further includes alternative frequency point filling module in one of the embodiments, for When the corresponding Packet Error Rate of frequency point is more than first threshold, which is recorded buffering area;The currently active frequency in bluetooth frequency hopping table When the quantity of point is less than four threshold values, alternative frequency point is obtained from buffering area and is filled to bluetooth frequency hopping table, wherein, bluetooth frequency hopping In table the quantity of the quantity of the currently active frequency point and alternative frequency point the sum of reach the 4th threshold value, the size of the 4th threshold value with it is total wrong Packet rate is negatively correlated.
Alternative frequency point filling module determines the Packet Error Rate residing for the corresponding Packet Error Rate of the frequency point in one of the embodiments, Section;Buffering area corresponding with Packet Error Rate section is recorded in the frequency point;According to the sequence of Packet Error Rate from small to large to each slow It rushes area to be ranked up, chooses the frequency point in the preceding buffering area of sorting and alternately frequency point and fill to bluetooth frequency hopping table.
Bluetooth band is divided into multiple frequency point sections by Packet Error Rate acquisition module in one of the embodiments, determines bluetooth Each frequency point and the attaching relation at each frequency point end in frequency hopping table;It is obtained respectively in multiple frequency point sections successively according to attaching relation blue The Packet Error Rate of a untreated frequency point in tooth frequency hopping table;Judge whether the Packet Error Rate of all frequency points in bluetooth frequency hopping table has obtained It takes;If it is not, obtain a untreated frequency point in bluetooth frequency hopping table respectively in multiple frequency point sections successively according to attaching relation again Packet Error Rate, until the Packet Error Rate of all frequency points of bluetooth frequency hopping table has obtained.
A kind of readable storage medium storing program for executing is stored with executable program on readable storage medium storing program for executing, when which is executed by processor Realize above-mentioned bluetooth frequency hopping frequency point update method.
Above-mentioned readable storage medium storing program for executing by the executable program of its storage, realizes bluetooth equipment according to bluetooth frequency hopping When table carries out frequency hopping operation, the more serious frequency point that is interfered can be avoided, so as to improve the quality of Bluetooth communication after frequency hopping, Ensure the validity and stability of Bluetooth data transfer.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage Executable program, processor realize above-mentioned bluetooth frequency hopping frequency point update method when performing program.
Above computer equipment by the executable program run on processor, realizes bluetooth equipment according to bluetooth When frequency hopping table carries out frequency hopping operation, the more serious frequency point that is interfered can be avoided, so as to improve Bluetooth communication after frequency hopping Quality ensures the validity and stability of Bluetooth data transfer.
Description of the drawings
Fig. 1 is the applied environment figure of the bluetooth frequency hopping frequency point update method of one embodiment;
Fig. 2 is the flow diagram of the bluetooth frequency hopping frequency point update method of one embodiment;
Fig. 3 is the flow diagram of the bluetooth frequency hopping frequency point update method of another embodiment;
Fig. 4 is the flow diagram of the step S110 of the bluetooth frequency hopping frequency point update method of one embodiment;
Fig. 5 is the flow diagram of the step S110 of the bluetooth frequency hopping frequency point update method of another embodiment;
The flow signal that Fig. 6 is the step S110 and step S117 of the bluetooth frequency hopping frequency point update method of one embodiment Figure;
Fig. 7 is the flow diagram of the bluetooth frequency hopping frequency point update method of further embodiment;
Fig. 8 is the flow diagram of the step S110 of the bluetooth frequency hopping frequency point update method of another embodiment;
Fig. 9 is the structure diagram of the bluetooth frequency hopping frequency point more new system of one embodiment;
Figure 10 is the structure diagram of the bluetooth frequency hopping frequency point more new system of another embodiment;
Figure 11 is the structure diagram of the bluetooth frequency hopping frequency point more new system of another embodiment;
Figure 12 is the concrete application flow chart of the bluetooth frequency hopping frequency point update method of one embodiment;
Figure 13 is that the frequency point section of the bluetooth frequency hopping frequency point update method of one embodiment divides schematic diagram;
Figure 14 is that the frequency point of the bluetooth frequency hopping frequency point update method of one embodiment buffers schematic diagram.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, with reference to the accompanying drawings and embodiments, to this Invention is described in further detail.It should be appreciated that the specific embodiments described herein are only used to explain the present invention, Do not limit protection scope of the present invention.
It should be noted that the term " first/second/third " involved by the embodiment of the present invention is only to be that difference is similar Object, do not represent the particular sorted for object.
Fig. 1 is the hardware entities schematic diagram that information exchange is carried out in one embodiment of the invention, and Fig. 1 includes:First is blue Tooth equipment and the second bluetooth equipment, the first bluetooth equipment carry out information exchange by bluetooth wireless signal and the second bluetooth equipment, First bluetooth equipment and the second bluetooth equipment may each comprise the types such as mobile phone, desktop computer, PC machine, all-in-one machine.The indigo plant of the present invention Tooth frequency hopping frequency point update method can be realized in the first bluetooth equipment or the second bluetooth equipment.
It is shown in Figure 2, it is the flow diagram of the bluetooth frequency hopping frequency point update method of one embodiment.In the embodiment Bluetooth frequency hopping frequency point update method include the following steps:
Step S110:Obtain the corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table, the corresponding Packet Error Rate point of each frequency point It Wei not be in the ratio between erroneous packets number and number-of-packet that each frequency point receives;
In this step, bluetooth frequency hopping table is the table for preserving bluetooth frequency hopping frequency point, the frequency residing for bluetooth frequency hopping frequency point Section is 2.4GHz frequency range of the bluetooth equipment for communication, and bluetooth uses frequency hopping, the data of transmission are divided into multiple data Packet, carries out data transmission in 2.4GHz frequency ranges;
Step S120:Effective frequency point in each frequency point is obtained according to Packet Error Rate, effective frequency point is less than or equal to for Packet Error Rate The frequency point of first threshold;
In this step, when carrying out Bluetooth communication on some frequency point, the Packet Error Rate of the data packet of transmission is less than or equal to During first threshold, it is all right to show that the frequency point is disturbed, is suitable for Bluetooth communication, first threshold can be according to practical bluetooth Communication needs to be adjusted;
Step S130:Each frequency point in bluetooth frequency hopping table is updated according to effective frequency point;
In this step, bluetooth frequency hopping table is disturbed all right effective frequency point for recording, and is being jumped for bluetooth equipment During frequency, frequency point progress frequency hopping is obtained from bluetooth frequency hopping table.
According to above-mentioned bluetooth frequency hopping frequency point update method, by the way that Packet Error Rate in bluetooth frequency hopping table is less than or equal to first The frequency point of threshold value is as effective frequency point, and by the update of effective frequency point to bluetooth frequency hopping table, the frequency hopping frequency in bluetooth frequency hopping table at this time The Packet Error Rate of point is relatively low, and bluetooth equipment can be avoided being interfered more tight when carrying out frequency hopping operation according to bluetooth frequency hopping table The frequency point of weight so as to improve the quality of Bluetooth communication after frequency hopping, ensures the validity and stability of Bluetooth data transfer.
In one of the embodiments, as shown in figure 3, the update of effective frequency point is also wrapped to after the step of bluetooth frequency hopping table Include following steps:
Step S140:With being negotiated by the equipment of bluetooth connection, it is updated bluetooth frequency hopping to replace former bluetooth frequency hopping table Table, and frequency hopping is carried out according to updated bluetooth frequency hopping table in Bluetooth communication.
Specifically, bluetooth frequency hopping frequency point update method includes the following steps:
The corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table is obtained, Packet Error Rate is the erroneous packets received on corresponding frequency point The ratio between number and the number-of-packet that is received on the frequency point;Effective frequency point in each frequency point is obtained according to Packet Error Rate, effective frequency point is Packet Error Rate is less than or equal to the frequency point of first threshold;Each frequency point in bluetooth frequency hopping table is updated according to effective frequency point; With being negotiated by the equipment of bluetooth connection, it is updated bluetooth frequency hopping table, and in Bluetooth communication to replace former bluetooth frequency hopping table Frequency hopping is carried out according to updated bluetooth frequency hopping table.
Since Bluetooth communication is related to Bluetooth signal transmitting terminal and Bluetooth signal receiving terminal, both ends is needed to be carried out at the same time frequency hopping more Newly, in Fig. 1, bluetooth frequency hopping frequency point update method can be realized in the first bluetooth equipment, the first bluetooth equipment and the second bluetooth Equipment is held consultation, unified to use updated bluetooth frequency hopping table, realizes the synchronization of frequency hopping, it is ensured that the accurate biography of blue-teeth data It is defeated.
In one of the embodiments, as shown in figure 4, obtaining the step of the corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table Suddenly include the following steps:
Step S111:The number-of-packet that each frequency point receives in bluetooth frequency hopping table during record Bluetooth communication respectively;
Step S112:When the data packet sum of all frequency points is more than second threshold, it is corresponding that each frequency point is calculated respectively Packet Error Rate.
In the present embodiment, the data packet sum received when obtaining Bluetooth communication frequency hopping in each frequency point, it is total in data packet When number is more than second threshold, the step of effective frequency point carries out the update of bluetooth frequency hopping table is just subsequently obtained, it can be to avoid bluetooth The update of frequency hopping table excessively frequently influences Bluetooth communication rate.
Optionally, the effective frequency point number that can select as needed sets second threshold.For example, it is desired to from current Bluetooth 50 frequency points are selected in frequency hopping table for bluetooth frequency hopping, second threshold can be set at this time for 12 × 50=600, when the number of reception When being more than 600 according to packet sum, the step of obtaining the corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table is performed, can so ensure root When carrying out bluetooth frequency hopping according to current Bluetooth frequency hopping table, the frequency point recorded in current Bluetooth frequency hopping table has the opportunity to received data packet, Also it just has the opportunity to be chosen use, so as to comprehensively record the information of each frequency point of current Bluetooth frequency hopping table, improves the frequency selected The validity of point.
In one of the embodiments, as shown in figure 5, obtaining the step of the corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table Suddenly include the following steps:
Step S113:The erroneous packets number and data that each frequency point receives in bluetooth frequency hopping table during record Bluetooth communication respectively Packet number;
Step S114:The erroneous packets sum received on all frequency points according to the calculating of the erroneous packets number and number-of-packet of record With data packet sum;
Step S115:Total Packet Error Rate is calculated according to erroneous packets sum and data packet sum;
Step S116:When data packet sum is more than second threshold and total Packet Error Rate is more than third threshold value, calculate respectively each The corresponding Packet Error Rate of a frequency point.
In the present embodiment, it is more than second threshold in the data packet sum of reception, and total Packet Error Rate is more than third threshold value When, show to need subsequently to be obtained effective frequency point progress at this time in the presence of serious frequency point is disturbed in current Bluetooth frequency hopping table The step of bluetooth frequency hopping table updates, can be in time to the frequency of bluetooth frequency hopping table while avoiding the update of bluetooth frequency hopping table frequent Point is updated, and improves the stability and reliability that Bluetooth communication is carried out by frequency hopping.
Further, as shown in fig. 6, bluetooth frequency hopping frequency point update method is further comprising the steps of:
Step S117:It, will when data packet sum is more than second threshold and total Packet Error Rate is less than or equal to third threshold value Number-of-packet, erroneous packets number, data packet sum and the erroneous packets sum of record are reset, and restart to record Bluetooth communication respectively When the number-of-packet that is received in each frequency point of Bluetooth band.
In the present embodiment, it is more than second threshold in the data packet sum of reception, but total Packet Error Rate is less than or equal to third During threshold value, show that being disturbed for the frequency point that current Bluetooth frequency hopping table is recorded is all right, can by acquired number-of-packet, Erroneous packets number, data packet sum and erroneous packets sum are reset, and are continued to carry out frequency hopping according to current bluetooth frequency hopping table, be recorded again Data ensure the real-time of data during update, so as to accurately be updated to bluetooth frequency hopping table, improve the rate of Bluetooth communication.
Specifically, bluetooth frequency hopping frequency point update method includes the following steps:
The erroneous packets number and number-of-packet that each frequency point receives in bluetooth frequency hopping table during record Bluetooth communication respectively;According to The erroneous packets sum and data packet sum that erroneous packets number and the number-of-packet calculating of record receive on all frequency points;According to mistake Packet sum and data packet sum calculate total Packet Error Rate;It is more than second threshold in data packet sum and total Packet Error Rate is more than third threshold value When, calculate the corresponding Packet Error Rate of each frequency point respectively, Packet Error Rate be the erroneous packets number that is received on corresponding frequency point in the frequency point The ratio between number-of-packet of upper reception;
When data packet sum is more than second threshold and total Packet Error Rate and is less than or equal to third threshold value, the data that will record Packet number, erroneous packets number, data packet sum and erroneous packets sum are reset, and in bluetooth frequency when restarting to record Bluetooth communication respectively The number-of-packet that each frequency point of section receives;
Effective frequency point in each frequency point is obtained according to Packet Error Rate, effective frequency point is less than or equal to first threshold for Packet Error Rate Frequency point;Each frequency point in bluetooth frequency hopping table is updated according to effective frequency point.
In one of the embodiments, as shown in fig. 7, obtaining the step of the corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table It is further comprising the steps of after rapid:
Step S150:When the corresponding Packet Error Rate of frequency point is more than first threshold, which is recorded buffering area;
It will be further comprising the steps of after the update to the step of bluetooth frequency hopping table of effective frequency point:
Step S160:When the quantity of the currently active frequency point is less than four threshold values in bluetooth frequency hopping table, obtained from buffering area It takes alternative frequency point and fills to bluetooth frequency hopping table, wherein, the quantity of the currently active frequency point and alternative frequency point in bluetooth frequency hopping table Quantity the sum of reach the 4th threshold value, the size of the 4th threshold value and total Packet Error Rate are negatively correlated.
In the present embodiment, the corresponding Packet Error Rate of frequency point be more than first threshold when, show frequency point be disturbed situation compared with To be serious, will first more serious frequency point record can be disturbed in the buffer;It is more there is a situation where to be disturbed frequency point Under, corresponding effectively frequency point negligible amounts, and when carrying out Bluetooth communication by frequency hopping, it needs to retain enough frequency points to keep just Normal communication, therefore when the quantity of effective frequency point in bluetooth frequency hopping table is less than four threshold values, obtained from buffering area alternative Frequency point is simultaneously filled to bluetooth frequency hopping table, make the quantity of effective frequency point in bluetooth frequency hopping table and the quantity of alternative frequency point and is reached 4th threshold value can keep bluetooth normal communication.
Specifically, bluetooth frequency hopping frequency point update method includes the following steps:
The erroneous packets number and number-of-packet that each frequency point receives in bluetooth frequency hopping table during record Bluetooth communication respectively;According to The erroneous packets sum and data packet sum that erroneous packets number and the number-of-packet calculating of record receive on all frequency points;According to mistake Packet sum and data packet sum calculate total Packet Error Rate;It is more than second threshold in data packet sum and total Packet Error Rate is more than third threshold value When, calculate the corresponding Packet Error Rate of each frequency point respectively, Packet Error Rate be the erroneous packets number that is received on corresponding frequency point in the frequency point The ratio between number-of-packet of upper reception;
When the corresponding Packet Error Rate of frequency point is more than first threshold, which is recorded buffering area;
Effective frequency point in each frequency point is obtained according to Packet Error Rate, effective frequency point is less than or equal to first threshold for Packet Error Rate Frequency point;Each frequency point in bluetooth frequency hopping table is updated according to effective frequency point;
When the quantity of the currently active frequency point is less than four threshold values in bluetooth frequency hopping table, alternative frequency point is obtained from buffering area And fill to bluetooth frequency hopping table, wherein, in bluetooth frequency hopping table the quantity of the quantity and alternative frequency point of the currently active frequency point the sum of Reach the 4th threshold value, the size of the 4th threshold value and total Packet Error Rate are negatively correlated.
Wherein, the size of the 4th threshold value and total Packet Error Rate are negatively correlated, i.e., total Packet Error Rate is bigger, and the 4th threshold value is smaller, when When always Packet Error Rate is larger, shows that the interference being subject in Bluetooth communication frequency range is larger, the 4th threshold value is set as smaller value at this time, is subtracted The frequency point quantity recorded in few bluetooth frequency hopping table can be disturbed more serious frequency point progress Bluetooth communication to avoid selecting, carry The stability and reliability of high Bluetooth communication.
For example, when total Packet Error Rate is 50%, the 4th threshold value could be provided as 50;When total Packet Error Rate is 30%, the 4th Threshold value could be provided as 60;When total Packet Error Rate is 20%, the 4th threshold value could be provided as 65, can when total Packet Error Rate is smaller Suitably to increase the frequency point quantity recorded in bluetooth frequency hopping table, to improve the communication quality of Bluetooth communication.
The step of buffering area that the frequency point is recorded in one of the embodiments, includes the following steps:
Determine the Packet Error Rate section at the Packet Error Rate of frequency point;Buffering corresponding with Packet Error Rate section is recorded in frequency point Area;
Alternative frequency point is obtained from buffering area and is filled to the step of bluetooth frequency hopping table and is included the following steps:
Each buffering area is ranked up according to the sequence of Packet Error Rate from small to large, is chosen in the preceding buffering area that sorts Frequency point alternately frequency point and is filled to bluetooth frequency hopping table.
In the present embodiment, the Packet Error Rate of frequency point represents the mistake packet for being disturbed severity, passing through determining frequency point of frequency point Packet Error Rate section at rate, and buffering area corresponding with Packet Error Rate section is recorded in frequency point, it can be according to Packet Error Rate Frequency point is divided into and different is disturbed degree rank.When effective frequency point quantity in bluetooth frequency hopping table is less than four threshold values, It chooses the frequency point in the preceding buffering area of sorting and alternately frequency point and fills to bluetooth frequency hopping table, it can be ensured that fill to bluetooth The alternative frequency point of frequency hopping table have it is relatively light be disturbed degree, improve by frequency hopping carry out the stability of Bluetooth communication with can By property.
For example, three buffering areas can be set, respectively first buffering area, second buffering area and third buffering area;First The corresponding Packet Error Rate section of buffering area for (15%, 30%], the corresponding Packet Error Rate section of second buffering area for (30%, 50%], The corresponding Packet Error Rate section of third buffering area for (50%, 100%];According to the sequence of Packet Error Rate from small to large to each buffering area It is ranked up, is then followed successively by first buffering area, second buffering area and third buffering area;If the Packet Error Rate for getting some frequency point is 25%, then the Packet Error Rate section residing for the Packet Error Rate of the frequency point for (15%, 30%], which should be recorded to first at this time and delayed Rush area.When the quantity of effective frequency point in bluetooth frequency hopping table is less than four threshold values, the frequency in the preceding buffering area that sorts is chosen It puts alternately frequency point and fills to bluetooth frequency hopping table, i.e., alternative frequency point is obtained from first buffering area and fill to bluetooth frequency hopping Table;If all frequency points in first buffering area are had been filled with to bluetooth frequency hopping table, the quantity of effective frequency point in bluetooth frequency hopping table When being still below four threshold values with the sum of the quantity of alternative frequency point, then continue to obtain alternative frequency point from second buffering area, it is such as such It pushes away, until third buffering area, it can be ensured that it fills to the alternative frequency point of bluetooth frequency hopping table and is disturbed degree with relatively good, Improve the stability and reliability that Bluetooth communication is carried out by frequency hopping.
In one of the embodiments, as shown in figure 8, each frequency point of the acquisition for bluetooth equipment to communicate is corresponding The step of Packet Error Rate, includes the following steps:
Step S210:Bluetooth band is divided into multiple frequency point sections, determines each frequency point and each frequency point in bluetooth frequency hopping table The attaching relation at end;
Step S220:Obtained respectively in multiple frequency point sections successively according to attaching relation in bluetooth frequency hopping table one it is untreated The Packet Error Rate of frequency point;
Step S230:Judge whether the Packet Error Rate of all frequency points in bluetooth frequency hopping table has obtained;
Step S240:If it is not, return to step S220, until the Packet Error Rate of all frequency points of bluetooth frequency hopping table has obtained.
In the present embodiment, by the way that Bluetooth band is divided into multiple frequency point sections, by being segmented random manner, from one A untreated frequency point, untreated frequency point in bluetooth frequency hopping table are obtained in frequency point section at random to refer to Packet Error Rate had not been obtained Frequency point, get the Packet Error Rate of the frequency point and then obtained at random from next frequency point section in bluetooth frequency hopping table one not from The frequency point of reason so recycles, until the Packet Error Rate of all frequency points in bluetooth frequency hopping table has obtained, by being segmented random side Formula analyzes frequency point Packet Error Rate, prevents from concentrating the frequency point Packet Error Rate of same frequency point section when analyzing excessively high, to avoid entire frequency Point section is interfered and seriously affects the communication performance of bluetooth.
For example, there are 79 frequency points in bluetooth frequency hopping table under normal circumstances, Bluetooth band can be divided into 9 frequency point sections, respectively Frequency point section may include multiple frequency points, when needing to obtain the corresponding Packet Error Rate of each frequency point to communicate for bluetooth equipment, It obtains the Packet Error Rate of a frequency point in bluetooth frequency hopping table at random from first frequency point section, then is obtained at random from second frequency point section The Packet Error Rate of a frequency point in bluetooth frequency hopping table is taken, until the 9th frequency point section, is then back to first frequency point section and obtains at random The Packet Error Rate of a frequency point in bluetooth frequency hopping table is taken, is so recycled, until the wrong packet of all frequency points in all bluetooth frequency hopping tables Rate has obtained, and entire frequency point section is avoided to be interfered and seriously affect the communication performance of bluetooth.
According to above-mentioned bluetooth frequency hopping frequency point update method, the present invention also provides a kind of bluetooth frequency hopping frequency point more new system, with The embodiment of the lower just bluetooth frequency hopping frequency point more new system of the present invention is described in detail.
It is shown in Figure 9, it is the structure diagram of the bluetooth frequency hopping frequency point more new system of one embodiment of the invention.The reality The bluetooth frequency hopping frequency point more new system applied in example includes:
Packet Error Rate acquisition module 310, for obtaining the corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table, each frequency point pair The Packet Error Rate answered is respectively the ratio between erroneous packets number and number-of-packet received in each frequency point;
Frequency point acquisition module 320, for obtaining effective frequency point in frequency point according to Packet Error Rate, effective frequency point is small for Packet Error Rate In or equal to first threshold frequency point;
Frequency point update module 330, for being updated according to effective frequency point to the frequency hopping frequency point in bluetooth frequency hopping table.
According to above-mentioned bluetooth frequency hopping frequency point more new system, Packet Error Rate acquisition module 310 obtains each in bluetooth frequency hopping table The corresponding Packet Error Rate of frequency point, frequency point acquisition module 320 obtain effective frequency point that Packet Error Rate is less than or equal to first threshold, and frequency point is more New module 330 is updated the frequency hopping frequency point in bluetooth frequency hopping table according to effective frequency point, at this time the frequency hopping in bluetooth frequency hopping table The Packet Error Rate of frequency point is relatively low, and bluetooth equipment can be avoided being interfered more when carrying out frequency hopping operation according to bluetooth frequency hopping table Serious frequency point so as to improve the quality of Bluetooth communication after frequency hopping, ensures the validity and stability of Bluetooth data transfer.
In one of the embodiments, as shown in Figure 10, bluetooth frequency hopping frequency point more new system further includes connection negotiation module 340, for being negotiated by the equipment of bluetooth connection, it to be updated bluetooth frequency hopping table, and in indigo plant to replace former bluetooth frequency hopping table Frequency hopping is carried out according to updated bluetooth frequency hopping table when tooth communicates.
When Packet Error Rate acquisition module 310 records Bluetooth communication respectively in one of the embodiments, in bluetooth frequency hopping table The number-of-packet that each frequency point receives;When the data packet sum of all frequency points is more than second threshold, each frequency point is calculated respectively Corresponding Packet Error Rate.
When Packet Error Rate acquisition module 310 records Bluetooth communication respectively in one of the embodiments, in bluetooth frequency hopping table The erroneous packets number and number-of-packet that each frequency point receives;It is calculated on all frequency points according to the erroneous packets number and number-of-packet of record Erroneous packets sum and the data packet sum of reception;Total Packet Error Rate is calculated according to erroneous packets sum and data packet sum;In data packet When sum is more than second threshold and total Packet Error Rate and is more than third threshold value, the corresponding Packet Error Rate of each frequency point is calculated respectively.
Packet Error Rate acquisition module 310 is more than second threshold and total mistake in data packet sum in one of the embodiments, It is when packet rate is less than or equal to third threshold value, the number-of-packet recorded, erroneous packets number, data packet sum and erroneous packets sum is clear Zero, lay equal stress on new record Bluetooth communication when each frequency point correspond to receive number-of-packet and erroneous packets number;Wherein, total Packet Error Rate is In the ratio between the erroneous packets sum of each frequency point reception and data packet sum.
In one of the embodiments, as shown in figure 11, bluetooth frequency hopping frequency point more new system further includes alternative frequency point filling Module 350, for when the corresponding Packet Error Rate of frequency point is more than first threshold, which to be recorded buffering area;In bluetooth frequency hopping When the quantity of the currently active frequency point is less than four threshold values in table, alternative frequency point is obtained from buffering area and is filled to bluetooth frequency hopping Table, wherein, in bluetooth frequency hopping table the quantity of the quantity and alternative frequency point of the currently active frequency point the sum of reach the 4th threshold value, the 4th The size of threshold value and total Packet Error Rate are negatively correlated.
Alternative frequency point filling module 350 determines the mistake residing for the corresponding Packet Error Rate of the frequency point in one of the embodiments, Packet rate section;Buffering area corresponding with Packet Error Rate section is recorded in the frequency point;According to the sequence of Packet Error Rate from small to large to each A buffering area is ranked up, and is chosen the frequency point in the preceding buffering area of sorting and alternately frequency point and is filled to bluetooth frequency hopping table.
Bluetooth band is divided into multiple frequency point sections by Packet Error Rate acquisition module 310 in one of the embodiments, determines indigo plant Each frequency point and the attaching relation at each frequency point end in tooth frequency hopping table;It is obtained respectively in multiple frequency point sections successively according to attaching relation The Packet Error Rate of a untreated frequency point in bluetooth frequency hopping table;Whether to judge the Packet Error Rate of all frequency points in bluetooth frequency hopping table It obtains;If it is not, obtain a untreated frequency in bluetooth frequency hopping table respectively in multiple frequency point sections successively according to attaching relation again The Packet Error Rate of point, until the Packet Error Rate of all frequency points of bluetooth frequency hopping table has obtained.
The bluetooth frequency hopping frequency point more new system of the present invention and the bluetooth frequency hopping frequency point update method of the present invention correspond, The technical characteristic and advantage that the embodiment of above-mentioned bluetooth frequency hopping frequency point update method illustrates are suitable for bluetooth frequency hopping In the embodiment of frequency point more new system.
According to above-mentioned bluetooth frequency hopping frequency point update method, the embodiment of the present invention also provides a kind of readable storage medium storing program for executing and one kind Computer equipment.
Executable program is stored on readable storage medium storing program for executing, which realizes above-mentioned bluetooth frequency hopping frequency when being executed by processor The step of point update method;The executable program that storage medium is stored by it realizes bluetooth equipment according to bluetooth frequency hopping When table carries out frequency hopping operation, the more serious frequency point that is interfered can be avoided, so as to improve the quality of Bluetooth communication after frequency hopping, Ensure the validity and stability of Bluetooth data transfer.
Computer equipment includes memory, processor and storage on a memory and can run on a processor executable The step of program, processor realizes above-mentioned bluetooth frequency hopping frequency point update method when performing program;Above computer equipment passes through place The executable program run on reason device realizes bluetooth equipment when carrying out frequency hopping operation according to bluetooth frequency hopping table, can avoid Be interfered more serious frequency point, so as to improve the quality of Bluetooth communication after frequency hopping, ensures the validity of Bluetooth data transfer And stability.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, program can be stored in a non-volatile computer-readable storage In medium, in embodiment, which can be stored in the storage medium of computer system, and by the computer system extremely A few processor performs, to realize the flow for including the embodiment such as above-mentioned bluetooth frequency hopping frequency point update method.Wherein, it stores Medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Shown in Figure 12, the bluetooth frequency hopping frequency point update method for one embodiment of the invention applies to bluetooth EDR Flow diagram during (Enhanced Data Rate enhance data transfer rate) communication technology.Bluetooth frequency hopping frequency in the embodiment Point update method includes the following steps:
Step S410:After last time updates bluetooth frequency hopping table, data packet that current frequency point when recording each frequency hopping receives Number and erroneous packets number;
Step S420:Add up each frequency point and have the data packet sum received and erroneous packets sum altogether;Setting second threshold be Target selects 12 times of frequency point quantity;
Step S430:When data packet sum has reached second threshold, obtained according to data packet sum and erroneous packets sum Take total Packet Error Rate;
Step S440:If total Packet Error Rate reaches third threshold value, next step is performed;Otherwise each frequency point data packet that will have been recorded Number, erroneous packets number, data packet sum and erroneous packets sum are reset, and return to step S410;Wherein, third threshold value is 12%;
Step S450:0~78 frequency point of current Bluetooth frequency range is divided into 9 frequency point sections, is determined each in bluetooth frequency hopping table Frequency point and the attaching relation at each frequency point end obtain the wrong packet of a frequency point in bluetooth frequency hopping table respectively in 9 frequency point sections successively Rate;It when determining to the 9th frequency point section, returns to the 1st frequency point section and continues cycling through, until all frequency points of bluetooth frequency hopping table correspond to Packet Error Rate obtained;
As shown in figure 13, it be the 9~17, the 3rd frequency point section is the 18~26, the 4th frequency point that the 1st frequency point section, which is the 0~8, the 2nd frequency point section, It is the 36~44, the 6th frequency point section be the 45~53, the 7th frequency point section is that the 54~62, the 8th frequency point section is that section, which is the 27~35, the 5th frequency point section, 63~71, the 9th frequency point section is 72~78;
Step S460:When the corresponding Packet Error Rate of frequency point is more than first threshold, which is recorded buffering area;Wherein, Buffering area, respectively first buffering area, second buffering area and third buffering area there are three pre-setting, corresponding Packet Error Rate section Respectively (15%, 30%], (30%, 50%], (50%, 100%];First threshold is 15%;
For example, it is erroneous packets in the data packet that frequency point 11 and frequency point 25 receive, then by frequency point 11 and frequency as shown in figure 14 25 third buffering area is recorded in point, and representing these frequency points, to be disturbed degree serious;Frequency point 2, frequency point 21, frequency point 33, frequency point 40, The Packet Error Rate of frequency point 5 and frequency point 27 is all higher than 30% and less than 50%, then by frequency point 2, frequency point 21, frequency point 33, frequency point 40, frequency point 5 and frequency point 27 second buffering area is recorded, representing these frequency points, to be disturbed degree general;Frequency point 10, frequency point 55 and frequency point 75 Packet Error Rate be all higher than 15% and less than 30%, then third buffering area is recorded in frequency point 10, frequency point 55 and frequency point 75, represented It is slight that these frequency points are disturbed degree.
Step S470:Obtain the frequency that Packet Error Rate is less than or equal to effective frequency point of first threshold and updates bluetooth frequency hopping table Point;
Step S480:If the quantity of effective frequency point obtains frequency point alternately frequency point less than the 4th threshold value from buffering area And fill to bluetooth frequency hopping table, the sum of effective frequency point number and alternative frequency point number in bluetooth frequency hopping table is made to reach the 4th threshold value;It is no Then directly perform next step;
Wherein, according to first buffering area, second buffering area, the sequence of third buffering area, preferentially from the forward buffering that sorts Frequency point is obtained in area;
4th threshold value according to total Packet Error Rate be configured:When total Packet Error Rate is more than 50%, the 4th threshold value is set as 50;When total Packet Error Rate is more than 30% and is less than or equal to 50%, the 4th threshold value is set as 60;When total Packet Error Rate is more than 20% And during less than or equal to 30%, the 4th threshold value is set as 65;
Step S490:It is updated bluetooth frequency hopping with negotiating to replace current Bluetooth frequency hopping table by the equipment of bluetooth connection Table, and frequency hopping is carried out according to updated bluetooth frequency hopping table when carrying out Bluetooth communication.
According to above-mentioned bluetooth frequency hopping frequency point update method, the data of record bluetooth frequency hopping table intermediate-frequeney point reception are counted According to packet number and erroneous packets number, Packet Error Rate in bluetooth frequency hopping table is less than or equal to the frequency point of first threshold as effective frequency point, and Effective frequency point is updated to bluetooth frequency hopping table, and disturbed condition is classified, conjunction is selected by the communication quality that frequency point is disturbed Suitable frequency point utmostly reduces the Packet Error Rate of the frequency hopping frequency point in bluetooth frequency hopping table, when reducing bluetooth equipment progress EDR communications It is interfered by other wireless systems, while ensures the normal communication of bluetooth EDR, improved the quality of Bluetooth communication after frequency hopping, change Kind Bluetooth communication distance.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, it is all considered to be the range of this specification record.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that those of ordinary skill in the art are come It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of bluetooth frequency hopping frequency point update method, which is characterized in that include the following steps:
The corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table is obtained, the Packet Error Rate is the erroneous packets received on corresponding frequency point The ratio between number and the number-of-packet that is received on the frequency point;
Effective frequency point in each frequency point is obtained according to the Packet Error Rate, effective frequency point is less than or equal to for Packet Error Rate The frequency point of one threshold value;
Each frequency point in bluetooth frequency hopping table is updated according to effective frequency point.
2. bluetooth frequency hopping frequency point update method according to claim 1, which is characterized in that in the acquisition bluetooth frequency hopping table The step of each frequency point corresponding Packet Error Rate, includes the following steps:
The number-of-packet that each frequency point receives in bluetooth frequency hopping table during record Bluetooth communication respectively;
When the data packet sum of all frequency points is more than second threshold, the corresponding Packet Error Rate of each frequency point is calculated respectively.
3. bluetooth frequency hopping frequency point update method according to claim 1, which is characterized in that in the acquisition bluetooth frequency hopping table The step of each frequency point corresponding Packet Error Rate, includes the following steps:
The erroneous packets number and number-of-packet that each frequency point receives in bluetooth frequency hopping table during record Bluetooth communication respectively;
The erroneous packets sum and data packet sum received on all frequency points according to the calculating of the erroneous packets number and number-of-packet of record;
Total Packet Error Rate is calculated according to the erroneous packets sum and data packet sum;
When the data packet sum is more than second threshold and total Packet Error Rate is more than third threshold value, each frequency point is calculated respectively Corresponding Packet Error Rate.
4. bluetooth frequency hopping frequency point update method according to claim 3, which is characterized in that further comprising the steps of:
It, will when the data packet sum is more than the second threshold and total Packet Error Rate is less than or equal to the third threshold value The number-of-packet, the erroneous packets number, data packet sum and the erroneous packets sum recorded is reset, and open again The number-of-packet received when beginning to record Bluetooth communication respectively in each frequency point of Bluetooth band.
5. bluetooth frequency hopping frequency point update method according to claim 3, which is characterized in that in the acquisition bluetooth frequency hopping table It is further comprising the steps of after the step of each frequency point corresponding Packet Error Rate:
When the corresponding Packet Error Rate of frequency point is more than the first threshold, which is recorded buffering area;
It is further included after described the step of being updated according to effective frequency point to each frequency point in bluetooth frequency hopping table following Step:
When the quantity of the currently active frequency point is less than four threshold values in the bluetooth frequency hopping table, obtained from the buffering area alternative Frequency point is simultaneously filled to the bluetooth frequency hopping table, wherein, in the bluetooth frequency hopping table quantity of the currently active frequency point with it is described alternative The quantity of frequency point the sum of reach the 4th threshold value, the size of the 4th threshold value and total Packet Error Rate are negatively correlated.
6. bluetooth frequency hopping frequency point update method according to claim 5, which is characterized in that it is described the frequency point is recorded it is slow The step of rushing area includes the following steps:
Determine the Packet Error Rate section residing for the corresponding Packet Error Rate of the frequency point;
Buffering area corresponding with the Packet Error Rate section is recorded in the frequency point;
It is described alternative frequency point is obtained from the buffering area and is filled to the step of bluetooth frequency hopping table include the following steps:
Each buffering area is ranked up according to the sequence of Packet Error Rate from small to large, chooses the frequency point in the preceding buffering area that sorts Alternately frequency point and fill to the bluetooth frequency hopping table.
7. bluetooth frequency hopping frequency point update method as claimed in any of claims 1 to 6, which is characterized in that described to obtain The step of taking in bluetooth frequency hopping table each frequency point corresponding Packet Error Rate includes the following steps:
Bluetooth band is divided into multiple frequency point sections, determines returning for each frequency point and each frequency point end in the bluetooth frequency hopping table Category relationship;
Obtained respectively in multiple frequency point sections successively according to the attaching relation in the bluetooth frequency hopping table one it is untreated The Packet Error Rate of frequency point;
Judge whether the Packet Error Rate of all frequency points in the bluetooth frequency hopping table has obtained;
If it is not, return is described to obtain the bluetooth frequency hopping table respectively in multiple frequency point sections successively according to the attaching relation In untreated frequency point Packet Error Rate the step of, until the Packet Error Rate of all frequency points of the bluetooth frequency hopping table has obtained.
8. a kind of bluetooth frequency hopping frequency point more new system, which is characterized in that including:
Packet Error Rate acquisition module, for obtaining the corresponding Packet Error Rate of each frequency point in bluetooth frequency hopping table, the Packet Error Rate is right Answer the ratio between the erroneous packets received on frequency point number and number-of-packet for being received on the frequency point;
Frequency point acquisition module, for obtaining effective frequency point in the frequency point according to the Packet Error Rate, effective frequency point is mistake Packet rate is less than or equal to the frequency point of first threshold;
Frequency point update module, for being updated according to effective frequency point to the frequency hopping frequency point in bluetooth frequency hopping table.
9. a kind of readable storage medium storing program for executing, it is stored with executable program on the readable storage medium storing program for executing, which is characterized in that the program quilt Processor realizes above-mentioned bluetooth frequency hopping frequency point update method when performing.
10. a kind of computer equipment, including memory, processor and it is stored on the memory and can runs on a processor Executable program, which is characterized in that the processor realizes any one of claim 1-8 bluetooth frequency hoppings when performing program The step of frequency point update method.
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 true CN108270467A (en) 2018-07-10
CN108270467B 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)

Cited By (1)

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

Citations (4)

* 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
US20170126275A1 (en) * 2015-10-29 2017-05-04 Wichita State University System and method for channel statistics dependent frequency hopping
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170126275A1 (en) * 2015-10-29 2017-05-04 Wichita State University System and method for channel statistics dependent frequency hopping
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112437418A (en) * 2020-07-17 2021-03-02 珠海市杰理科技股份有限公司 TWS device communication data configuration method, device, equipment, chip and medium
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

Also Published As

Publication number Publication date
CN108270467B (en) 2019-12-20

Similar Documents

Publication Publication Date Title
CN109618373A (en) Link choosing method and relevant apparatus
CN105915466B (en) A kind of method and device of MPTCP Path selection
CN101365092B (en) Image determining device, image determining method
CN102457940B (en) Method and device for intelligently selecting channel of home gateway
US20140045436A1 (en) Mobile Battery Consumption Analysis System and Method of Operating on Delta Charge Samples
US9288290B2 (en) Interactive dynamic ordering of deep packet inspection rules
CN101321388B (en) Cognition radio network FDM channel selection method based on game theory
WO2017138955A1 (en) Methods and systems to estimate virtual client health for improved access point selection in a wireless network
EP2675235A1 (en) Method and device for allocating uplink channel resource of cooperative multi-point transmission/reception
CN108270467A (en) Bluetooth frequency hopping frequency point update method and system
CN112804718A (en) Network switching method, terminal and storage medium
CN107018088B (en) Transmission link selection method and device
CN109802891A (en) A kind of method and device improving elephant stream flow table utilization rate
JP2008035174A (en) Radio communication apparatus
CN107613524A (en) Data-updating method and apparatus and system, base station
CN114650119B (en) Data transmission method, device, system, electronic equipment and storage medium
CN110351051A (en) A kind of method and device of determining search space
CN105517166A (en) Communication frequency selection method and device
WO2021237564A1 (en) Communication method and apparatus, and electronic device
CN106233688B (en) A kind of aggregate frame design method and device
CN112019357B (en) Network configuration method, device, equipment and system
CN112153684A (en) LoRa networking communication method, gateway, node, database and system
CN101771506B (en) Method and device for reporting parameters
CN117880605B (en) Short message video quick playing method and system based on 5G technology
CN110365799A (en) A kind of cluster multinode dispatching method, device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
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.

CP02 Change in the address of a patent holder