A bluetooth earphone pairing connection method, system and bluetooth earphone
By analyzing the pairing device list of Bluetooth headsets, potential interfering devices were identified and a priority pairing strategy was developed. This solved the problem of unstable connection of Bluetooth headsets when the device storage was saturated, and achieved fast and stable device connection and efficient user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- JIANGXI LUXSHARE INTELLIGENT MFG CO LTD
- Filing Date
- 2025-12-30
- Publication Date
- 2026-06-16
AI Technical Summary
When Bluetooth headsets are in a state of saturated storage, the repetition of bytes at the end of the MAC address can cause signal interference and connection instability, affecting the user experience.
By analyzing the pairing device list of Bluetooth headsets, potential interfering devices with duplicate MAC tail bytes are screened out, their number distribution types are determined, and connection requests from these areas are prioritized during reconnection to formulate a priority pairing strategy to improve connection stability.
Even when the device's storage is full, Bluetooth headsets can quickly and stably connect to the target device, improving connection fault tolerance and user experience.
Smart Images

Figure CN121604186B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Bluetooth pairing and connection technology, and specifically to a Bluetooth headset pairing and connection method, system, and Bluetooth headset. Background Technology
[0002] Since Bluetooth headsets typically have a certain storage capacity for paired devices, users may pair multiple devices with them. As the number of paired devices increases, the pairing device list of the Bluetooth headset will gradually reach storage saturation. When this saturation occurs, pairing new devices or reconnecting existing devices may be interfered with, leading to unstable connections, connection failures, and other problems, severely impacting the user experience.
[0003] Among the many paired devices on a Bluetooth headset, some devices may have duplicate MAC address (Media Access Control address) bytes at the end. These duplicate MAC address bytes can cause signal interference during Bluetooth headset pairing, especially when the pairing table's numbering follows a specific pattern, making the interference more complex. This interference can cause the Bluetooth headset's built-in index pointer to deviate when effectively addressing the target pairing device, thus affecting the stability of successful reconnection.
[0004] Furthermore, in the presence of potential interfering pairing devices, the degree of impact of different types of potential interfering pairing devices (such as high-frequency and low-frequency devices) on the pairing connection of Bluetooth headsets varies. Therefore, when the pairing device list is saturated and interference exists, Bluetooth headsets will have difficulty establishing a quick and stable connection with the target device, failing to meet users' needs for efficient and convenient connection.
[0005] Therefore, the present invention provides a Bluetooth headset pairing and connection method, system, and Bluetooth headset. Summary of the Invention
[0006] The purpose of this invention is to provide a Bluetooth headset pairing and connection method, system, and Bluetooth headset to solve the aforementioned background problems.
[0007] The objective of this invention can be achieved through the following technical solutions:
[0008] A Bluetooth headset pairing and connection method includes:
[0009] Extract the pairing device table for Bluetooth headsets, analyze the paired devices in the table, and determine the degree of pairing storage.
[0010] When the paired device table is saturated, paired devices with duplicate MAC tail bytes are selected as potential interference paired devices. The distribution of numbers in the index paired table of potential interference paired devices is analyzed to determine the type of potential interference distribution.
[0011] When the latent interference distribution type is a concentrated distribution, the effective addressing of the built-in index pointer of the Bluetooth headset during the historical pairing period is analyzed to evaluate the stability of effective reconnection.
[0012] When the assessed effective reconnection stability shows an inefficient pairing signal, the type of potential interference pairing device in each potential interference connection interval is identified, and a priority pairing strategy is formulated for the potential interference pairing devices in the pairing device table based on the type of pairing device identified in the potential interference concentration area.
[0013] As a further aspect of the present invention, the process for determining the degree of paired storage is as follows:
[0014] The number of paired devices currently stored in the Bluetooth headset's paired device table is counted, and the proportion of this number to the maximum number of paired devices in the Bluetooth headset's paired device table is used to obtain the paired storage ratio.
[0015] If the paired storage ratio is equal to 1, the device is in a paired storage saturation state, which is displayed as a paired storage saturation signal.
[0016] As a further aspect of the present invention, the screening process for potential interference pairing devices is as follows:
[0017] In the paired device table, select a paired device as the benchmark analysis device, and extract the MAC tail byte corresponding to the benchmark analysis device as the benchmark tail byte;
[0018] The remaining paired devices in the paired device table are used as the comparison analysis devices, and the MAC tail bytes corresponding to the comparison analysis devices are extracted as the comparison tail bytes.
[0019] The alignment analysis device corresponding to the alignment tail byte that is repeated with the benchmark tail byte is extracted and classified as a potential interference pairing device with the benchmark analysis device.
[0020] As a further aspect of the present invention, the process for determining the distribution type of latent disturbance is as follows:
[0021] Obtain the number of each potential interference pairing device in the index pairing table, extract the potential interference pairing devices with consecutive numbers in the index pairing table, and merge them into a cluster of consecutive interference numbers to obtain multiple clusters of consecutive interference numbers.
[0022] Divide all the numbers in the index pairing table into equal intervals to obtain several index number intervals. Extract the index number intervals with consecutive clusters of latent numbers and use them as latent number contiguous intervals.
[0023] The mean and standard deviation of the number of potential interference paired devices in each latent interference cluster interval are calculated and then substituted into the coefficient of variation formula to output the latent interference cluster distribution value. If the latent interference cluster distribution value is less than or equal to the latent interference cluster distribution threshold, it is displayed as a latent interference concentrated distribution signal.
[0024] As a further aspect of the present invention, the process of analyzing the effective addressing of the Bluetooth headset's built-in index pointer during historical pairing periods is as follows:
[0025] Extract all latent interference concatenation intervals. Within a latent interference concatenation interval, the number of times the index pointer effectively identifies the tail byte of the target paired device's MAC address is taken as a valid index pairing operation.
[0026] The effective index pairing ratio is obtained by calculating the proportion of the total number of effective index pairing operations to the total number of index pairing operations within the corresponding latent contiguous editing interval.
[0027] The standard deviation of the effective induction and matching frequency ratio corresponding to all latent disturbance consecutive intervals is calculated to obtain the effective induction and matching sub-stable value;
[0028] Record the time taken for each valid index pairing operation and calculate the ratio with the single index addressing time set by the Bluetooth headset at the factory to obtain the single valid pairing time ratio.
[0029] The average effective inoculation time per zone is calculated by summing the ratios of the effective inoculation time per single inoculation.
[0030] The standard deviation of the average effective acquisition time of each zone corresponding to all latent disturbances in the continuous coding interval is calculated to obtain the stable value of effective acquisition time.
[0031] As a further aspect of the present invention, the evaluation process for effective reconnection stability is as follows:
[0032] The effective substable value and the effective temporal stable value are summed to obtain the effective stable value. If the effective stable value is greater than the effective stable threshold, it is displayed as an inefficient match signal.
[0033] As a further aspect of the present invention, the potential interference pairing devices within the latent interference consecutive interval are identified, and the process is as follows:
[0034] Within the latent interference consecutive numbering interval, obtain the number of pairing reconnections of each potential interference pairing device in the historical pairing cycle within the consecutive cluster of latent interference numbers, and calculate the ratio of the number of pairing reconnections to the total number of pairing reconnections in the historical pairing cycle to obtain the single device pairing reconnection ratio.
[0035] The usage time of each potential interference pairing device within a continuous cluster of potential interference numbers after pairing and reconnection within a historical pairing period is obtained, and the ratio of this to the total number of pairing and reconnection within the historical pairing period is calculated to obtain the single device pairing usage time ratio.
[0036] The sum of the ratio of single-device connection times and the ratio of single-device connection usage time is used to obtain the single-device type analysis value.
[0037] If the single device type analysis value is greater than or equal to the single device type analysis threshold, it is a potential interference with high-frequency devices; if the single device type analysis value is less than the single device type analysis threshold, it is a potential interference with low-frequency devices.
[0038] As a further aspect of the present invention, the process for formulating a priority pairing strategy for potential interfering pairing devices in the pairing device table is as follows:
[0039] When the potential interference pairing devices in the latent interference co-location interval are all latent interference pairing high-frequency devices or all latent interference pairing low-frequency devices;
[0040] Extract the single-equipment type analysis value corresponding to the high-frequency equipment or low-frequency equipment of the latent interference pairing, and reorder the numbers of the potential interference pairing equipment in the index pairing table in descending order;
[0041] When the potential interference pairing devices within the latent interference co-location interval include latent interference pairing high-frequency devices and latent interference pairing low-frequency devices;
[0042] Prioritize sorting the numbers corresponding to the high-frequency devices involved in the potential interference. After sorting the numbers corresponding to the high-frequency devices involved in the potential interference, sort the numbers corresponding to the low-frequency devices involved in the potential interference. In the process of sorting the numbers corresponding to the high-frequency and low-frequency devices involved in the potential interference, the numbers are re-sorted in descending order based on the analysis value of the corresponding single device type.
[0043] A Bluetooth headset pairing and connection system, comprising:
[0044] Storage status analysis module: Extracts the Bluetooth headset pairing device table, analyzes the paired devices in the pairing device table, and determines the degree of pairing storage;
[0045] Latent interference distribution identification module: When the pairing storage in the pairing device table is saturated, the module filters out the pairing devices with duplicate MAC tail bytes in the pairing device table as potential interference pairing devices, and analyzes the number distribution in the index pairing table where the potential interference pairing devices are located to determine the type of latent interference distribution.
[0046] Effective reconnection evaluation module: When the latent interference distribution type is latent interference concentrated distribution, the effective addressing of the Bluetooth headset's built-in index pointer during the historical pairing period is analyzed to evaluate the stability of effective reconnection;
[0047] Pairing strategy optimization module: When the evaluated effective reconnection stability shows an inefficient pairing signal, the potential interference pairing devices in each potential interference connection interval are identified by type, and a priority pairing strategy is formulated for the potential interference pairing devices in the pairing device table based on the type of pairing devices identified in the potential interference concentration area.
[0048] A Bluetooth headset, comprising:
[0049] Memory, used to store computer programs;
[0050] A processor, configured to implement the steps of the Bluetooth headset pairing and connection method as described in any one of claims 1 to 8 when executing the computer program.
[0051] The beneficial effects of this invention are as follows:
[0052] 1. This invention extracts a pairing device table for Bluetooth headsets and analyzes the paired devices within the table to determine the pairing storage level. When the pairing storage in the table is saturated, paired devices with duplicate MAC tail bytes are selected as potential interference devices. The distribution of the numbers within the index pairing table of these potential interference devices is analyzed to determine the type of latent interference. During pairing and reconnection, the Bluetooth headset increases the signal monitoring frequency for these areas, prioritizing connection requests from devices in these areas to ensure stable connections for devices in concentrated areas and quickly pinpointing the cause of unstable connections. In cases of concentrated distribution, the Bluetooth headset prioritizes pairing devices in concentrated areas, facilitating quick switching and pairing with the Bluetooth headset.
[0053] 2. When the latent interference distribution type is a concentrated distribution, this invention analyzes the effective addressing of the built-in index pointer of the Bluetooth headset within the historical pairing cycle. If it shows an inefficient pairing signal, it identifies the type of potential interfering pairing devices in each latent interference serial number interval. Based on the type of pairing devices identified in the concentrated latent interference area, it formulates a priority pairing strategy for potential interfering pairing devices in the pairing device table. Since the device numbers in the index table are disordered after the index pointer identifies devices with duplicate tail bytes, the pointer cannot quickly locate the target device. Now, the target devices for high-frequency connection are placed at the beginning of the index table. When the index pointer addresses, it will prioritize matching the devices with the earlier numbers. Even if the MAC tail bytes are duplicated, it can prioritize matching the device used by the user for high-frequency pairing, avoiding matching and connecting to the wrong device, and improving the fault tolerance rate of Bluetooth headset pairing and connection devices. Attached Figure Description
[0054] The invention will now be further described with reference to the accompanying drawings.
[0055] Figure 1 This is a functional block diagram of a Bluetooth headset pairing and connection method according to the present invention;
[0056] Figure 2 This is a flowchart illustrating the determination process of a Bluetooth headset pairing and connection method in this invention.
[0057] Figure 3 This is a flowchart of a Bluetooth headset pairing and connection system according to the present invention. Detailed Implementation
[0058] To make the technical means, creative features, objectives and effects of this invention easier to understand, the invention will be further described below in conjunction with specific embodiments.
[0059] Example 1
[0060] When a Bluetooth headset is paired with multiple devices (computers, mobile phones, tablets, and car infotainment systems, such as CarPlay or HUAWEI HiCar), the headset's flash memory contains a large number of MAC addresses and a key corresponding to each device. Because the headset's built-in NVFlash allocates an independent storage area for each device—meaning one paired device corresponds to one paired device list—this list includes the device's MAC address and link key. Furthermore, the headset's built-in index pointer only recognizes the last 2-3 bytes of the MAC address when addressing devices. Therefore, there can be instances where the last 2-3 bytes of the MAC address are repeated, but not unique to any single device, causing the Bluetooth headset to fail to connect to the paired device. Figures 1-2 As shown, this embodiment of the invention provides a Bluetooth headset pairing and connection method, including:
[0061] Step 1: Extract the Bluetooth headset pairing device table, analyze the paired devices in the pairing device table, and determine the pairing storage level;
[0062] It should be noted that the Bluetooth headset pairing device table refers to the pairing table stored in the Bluetooth headset after it has been paired with multiple devices. The pairing storage level includes either a saturated pairing storage signal or a non-saturated pairing storage signal.
[0063] In some embodiments, the number of paired devices currently stored in the Bluetooth headset's paired device table is counted, and the proportion of this number to the maximum number of paired devices in the Bluetooth headset's paired device table is obtained to obtain the pairing storage ratio.
[0064] It should be noted that the maximum number of paired devices in the Bluetooth headset's pairing device list refers to the maximum number of paired devices that are set in the pairing device list after the Bluetooth headset leaves the factory.
[0065] If the pairing storage percentage is equal to 1, it means that the number of paired devices in the pairing device table of the Bluetooth headset has reached the limit of the number of paired devices in the pairing device table set after the Bluetooth headset leaves the factory, and is in a state of device pairing storage saturation, which is displayed as a pairing storage saturation signal.
[0066] If the pairing storage ratio is less than 1, it means that the number of paired devices in the Bluetooth headset's pairing device table has reached the limit of the number of paired devices in the pairing device table set after the Bluetooth headset leaves the factory. The device pairing storage is in an unsaturated state and is displayed as a pairing storage non-saturation signal.
[0067] Step 2: When the paired device table is saturated, filter out paired devices with duplicate MAC tail bytes in the paired device table as potential interference paired devices, and analyze the number distribution in the index paired table where the potential interference paired devices are located to determine the type of potential interference distribution.
[0068] It should be noted that the MAC tail bytes refer to the last 2 or 3 bytes of the MAC address of the paired device. Among them, the types of interference distribution include: concentrated interference distribution or fragmented interference distribution.
[0069] In some embodiments, a paired device is selected from the paired device table as the benchmark analysis device, and the MAC tail byte corresponding to the benchmark analysis device is extracted as the benchmark tail byte.
[0070] The remaining paired devices in the paired device table are used as the comparison analysis devices, and the MAC tail bytes corresponding to the comparison analysis devices are extracted as the comparison tail bytes.
[0071] The alignment analysis devices corresponding to the alignment tail bytes that are repeated with the benchmark tail bytes are extracted and classified as potential interference pairing devices with the benchmark analysis devices.
[0072] Obtain the number of each potential interference pairing device in the index pairing table, extract the potential interference pairing devices with consecutive numbers in the index pairing table, and merge them into a cluster of consecutive interference numbers to obtain multiple clusters of consecutive interference numbers.
[0073] Divide all the numbers in the index pairing table into equal intervals to obtain several index number intervals, where the interval range length of each index number interval is equal (the number of numbers in each index number interval is the same).
[0074] It should be noted that, since the Bluetooth headset pairing device table is in a state of saturation in pairing storage, the index number is a fixed continuous set (e.g., total capacity: 20 units, numbered from 1 to 20), and there are no empty numbers after the interval division;
[0075] Extract the index number range of consecutive clusters containing latent interference numbers, and use it as the latent interference contiguous number range;
[0076] It should be noted that there is at least one consecutive cluster of latent interference numbers within the latent interference consecutive numbering interval;
[0077] The mean and standard deviation of the number of potential interference paired devices in each potential interference cluster interval are calculated and then substituted into the coefficient of variation formula to output the distribution value of potential interference cluster.
[0078] It should be noted that there are three or more potential interference pairs within a consecutive cluster of latent interference numbers, and the number does not exceed the total number of numbers within the index number range.
[0079] It is understandable that the meaning of the latent interference clustering distribution value is: the latent interference clustering distribution value is calculated by the coefficient of variation and is a statistical measure of the degree of data dispersion. It reflects the distribution of the corresponding numbers of potential interference paired devices in the index pairing table. Specifically, if the latent interference clustering distribution value is small, it means that the numbers of potential interference paired devices are clustered and locally dense, that is, there are many in a few index number intervals and few in most index number intervals. The data distribution has low dispersion and high concentration. If the latent interference clustering distribution value is large, it means that the numbers of potential interference paired devices are evenly scattered and not clustered. That is, the number in each index number interval is not much different. The data distribution has high dispersion and low concentration.
[0080] If the latent interference clustering distribution value is greater than the latent interference clustering distribution threshold, it indicates that the numbers of the potential interference paired devices are evenly scattered and not clustered, that is, the number in each index number interval is not much different, the data distribution has a high degree of dispersion and low concentration, which shows a latent interference fragment distribution signal.
[0081] If the latent interference clustering distribution value is less than or equal to the latent interference clustering distribution threshold, it indicates that the numbers of the potential interference paired devices are clustered and locally dense, that is, there are many in a few index number intervals and few in most index number intervals. The data distribution has low dispersion and high concentration, which shows a concentrated distribution signal of latent interference.
[0082] The specific solution of this invention is as follows: Extract the Bluetooth headset pairing device table, analyze the paired devices in the table to determine the pairing storage level, and when the pairing storage in the pairing device table is saturated, filter out paired devices with duplicate MAC tail bytes as potential interference paired devices. Analyze the number distribution in the index pairing table where the potential interference paired devices are located to determine the type of latent interference distribution. During the pairing reconnection process, the Bluetooth headset increases the signal monitoring frequency in these areas, prioritizes the connection requests of devices in these areas, ensures stable connection of devices in concentrated areas, and can quickly locate the cause of unstable connection in concentrated areas. In the case of concentrated distribution, the Bluetooth headset can prioritize the pairing devices in concentrated areas, facilitating quick switching and completion of pairing connection with the Bluetooth headset.
[0083] Example 2
[0084] like Figures 1-2 As shown, this embodiment of the invention provides a Bluetooth headset pairing and connection method, which further includes:
[0085] Step 3: If the latent interference distribution type is a concentrated distribution, analyze the effective addressing of the Bluetooth headset's built-in index pointer during the historical pairing period and evaluate the stability of effective reconnection.
[0086] In some embodiments, all latent interference cascading intervals are extracted, and within a latent interference cascading interval, the number of times the index pointer effectively identifies the tail byte of the target paired device MAC is taken as a valid index pairing operation;
[0087] It should be noted that the target pairing device refers to the Bluetooth headset that the user successfully paired with and connected to the desired pairing device within the historical pairing period, and that was not paired with other pairing devices within the potential interference range.
[0088] The effective index pairing ratio is obtained by calculating the proportion of the total number of effective index pairing operations to the total number of index pairing operations within the corresponding latent contiguous editing interval.
[0089] It should be noted that the total number of index pairing operations refers to the total number of index pairing operations initiated by the built-in index pointer of the Bluetooth headset only for this latent interference consecutive interval within the historical pairing period (excluding addressing behavior in non-latent interference consecutive intervals). This ratio accurately reflects the effective addressing capability of the index pointer within a single latent interference consecutive interval. The higher the ratio, the stronger the addressing effectiveness within this interval.
[0090] The standard deviation of the effective induction and matching frequency ratio corresponding to all latent disturbance consecutive intervals is calculated to obtain the effective induction and matching sub-stable value;
[0091] Within a perturbation interval, the time taken for each effective index pairing operation is recorded, and the ratio is calculated with the single index addressing time set by the Bluetooth headset at the factory to obtain the single effective pairing time ratio.
[0092] It should be noted that the standard addressing time per single attempt refers to the standard time taken for the index pointer of a Bluetooth headset to complete one valid indexing and pairing operation under normal pairing conditions without any interfering vulnerabilities. This is a hardware baseline value that is fixed at the factory for the Bluetooth headset. The physical meaning of this ratio is "the deviation of the actual addressing time per single attempt from the standard time". The closer the ratio is to 1, the closer the addressing time is to the standard value and the higher the addressing efficiency. The larger the ratio is, the longer the addressing time is due to concentrated interfering vulnerabilities and the lower the efficiency.
[0093] The average effective inoculation time per zone is calculated by summing the ratios of the effective inoculation time per single inoculation.
[0094] The standard deviation of the average effective acquisition time of each zone corresponding to all latent disturbances in the continuous coding interval is calculated to obtain the stable value of effective acquisition time.
[0095] The effective alligation substable value is summed with the effective alligation temporal stable value to obtain the effective alligation stable value;
[0096] It is understandable that the meaning of the effective pairing stability value is as follows: the effective pairing stability value is the core comprehensive quantitative value for evaluating the effective reconnection stability of Bluetooth headsets. The smaller the effective pairing stability value, the higher the stability of the effective addressing count and addressing time in each latent interference interval, and the more stable the effective reconnection of the Bluetooth headset. The larger the effective pairing stability value, the greater the fluctuation of the addressing count and the greater the difference in addressing time in each latent interference interval, and the worse the effective reconnection stability of the Bluetooth headset.
[0097] Therefore, based on the magnitude of the effective pairing stability value, the effective reconnection stability level of the Bluetooth headset under the concentrated distribution of latent interference can be determined. For scenarios with poor stability, the Bluetooth headset can increase the signal monitoring frequency and addressing priority in the latent interference co-location interval, thereby reducing the effective pairing stability value and improving the effective reconnection stability.
[0098] If the effective pairing stability value is greater than the effective pairing stability threshold, it means that the number of addressing times and the addressing time difference of each latent interference co-location interval are greater, and the effective reconnection degree of the Bluetooth headset is relatively inefficient, which is displayed as an inefficient pairing signal.
[0099] If the effective pairing stability value is less than or equal to the effective pairing stability threshold, it indicates that the higher the stability of the effective addressing times and the higher the stability of the addressing time in each latent interference co-location interval, the more efficient the Bluetooth headset's effective reconnection is, which is displayed as an efficient pairing signal.
[0100] Step 4: When the evaluated effective reconnection stability shows an inefficient pairing signal, the type of potential interference pairing device in each potential interference connection interval is identified, and a priority pairing strategy is formulated for the potential interference pairing devices in the pairing device table based on the type of pairing device identified in the potential interference concentration area.
[0101] It should be noted that the types of paired devices in the potential interference concentration area include high-frequency interference concentration, low-frequency interference concentration, or mixed interference concentration;
[0102] In some embodiments, the type identification of potential interference pairing devices within the latent interference co-location interval is performed as follows:
[0103] Within the latent interference consecutive numbering interval, obtain the number of pairing reconnections of each potential interference pairing device in the historical pairing cycle within the consecutive cluster of latent interference numbers, and calculate the ratio of the number of pairing reconnections to the total number of pairing reconnections in the historical pairing cycle to obtain the single device pairing reconnection ratio.
[0104] The usage time of each potential interference pairing device within a continuous cluster of potential interference numbers after pairing and reconnection within a historical pairing period is obtained, and the ratio of this to the total number of pairing and reconnection within the historical pairing period is calculated to obtain the single device pairing usage time ratio.
[0105] The sum of the ratio of single-device connection times and the ratio of single-device connection usage time is used to obtain the single-device type analysis value.
[0106] If the single device type analysis value is greater than or equal to the single device type analysis threshold, it indicates that the analyzed potential interference pairing device has a high frequency of pairing and connection with the Bluetooth headset during the historical pairing cycle and a long usage time, and is a high frequency device of potential interference pairing.
[0107] If the single device type analysis value is less than the single device type analysis threshold, it indicates that the analyzed potential interference pairing device has a low frequency of pairing and connection with the Bluetooth headset during the historical pairing cycle and a short usage time, and is a low-frequency device for potential interference pairing.
[0108] For example, when the potential interference pairing devices in the latent interference co-location interval are all latent interference pairing high-frequency devices or all latent interference pairing low-frequency devices;
[0109] Extract the single-equipment type analysis value corresponding to the high-frequency equipment or low-frequency equipment of the latent interference pairing, and reorder the numbers of the potential interference pairing equipment in the index pairing table in descending order;
[0110] For example, when the potential interference pairing devices exist within the latent interference co-location interval, they include latent interference pairing high-frequency devices and latent interference pairing low-frequency devices;
[0111] Prioritize extracting the high-frequency devices with potential interference, obtain the single device type analysis value corresponding to each high-frequency device with potential interference, and reorder the numbers in the index pairing table corresponding to all high-frequency devices with potential interference in the potential interference coding interval from front to back in descending order.
[0112] Secondly, extract the low-frequency devices of the latent interference connection, obtain the single device type analysis value corresponding to each low-frequency device of the latent interference connection, and reorder the numbers of all the low-frequency devices of the latent interference connection within the latent interference connection interval in the index pairing table from front to back in descending order.
[0113] It should be noted that after all the high-frequency equipment numbers of the latent interference in the latent interference co-location interval are reordered, the low-frequency equipment numbers of the latent interference in the latent interference co-location interval are then reordered.
[0114] The specific solution in this embodiment is as follows: When the latent interference distribution type is a concentrated latent interference distribution, the effective addressing of the built-in index pointer of the Bluetooth headset within the historical pairing cycle is analyzed. If it shows an inefficient pairing signal, the type of potential interfering pairing devices in each latent interference serial number interval is identified. Based on the type of pairing devices identified in the concentrated latent interference area, a priority pairing strategy is formulated for the potential interfering pairing devices in the pairing device table. Since the device numbers in the index table are disordered after the index pointer identifies devices with duplicate tail bytes, the pointer cannot quickly locate the target device. Now, the target devices with high-frequency connections are placed at the beginning of the index table. When the index pointer addresses, it will prioritize matching the devices with the earlier numbers. Even if the MAC tail bytes are duplicated, it can prioritize matching the device used by the user for high-frequency pairing, avoiding matching and connecting to the wrong device, and improving the fault tolerance rate of Bluetooth headset pairing and connection devices.
[0115] Example 3
[0116] Please see Figure 3 As shown, this embodiment of the invention provides a Bluetooth headset pairing and connection system, including the following modules:
[0117] Storage status analysis module: Extracts the Bluetooth headset pairing device table, analyzes the paired devices in the pairing device table, and determines the degree of pairing storage;
[0118] Latent interference distribution identification module: When the pairing storage in the pairing device table is saturated, the module filters out the pairing devices with duplicate MAC tail bytes in the pairing device table as potential interference pairing devices, and analyzes the number distribution in the index pairing table where the potential interference pairing devices are located to determine the type of latent interference distribution.
[0119] Effective reconnection evaluation module: When the latent interference distribution type is latent interference concentrated distribution, the effective addressing of the Bluetooth headset's built-in index pointer during the historical pairing period is analyzed to evaluate the stability of effective reconnection;
[0120] Pairing strategy optimization module: When the evaluated effective reconnection stability shows an inefficient pairing signal, the potential interference pairing devices in each potential interference connection interval are identified by type, and a priority pairing strategy is formulated for the potential interference pairing devices in the pairing device table based on the type of pairing devices identified in the potential interference concentration area.
[0121] Example 4
[0122] This invention provides a Bluetooth headset, comprising:
[0123] Memory, used to store computer programs;
[0124] A processor, configured to implement the steps of the Bluetooth headset pairing and connection method as described in any one of claims 1 to 8 when executing the computer program.
[0125] The foregoing has provided a detailed description of one embodiment of the present invention, but this description is merely a preferred embodiment and should not be construed as limiting the scope of the invention. All equivalent variations and modifications made within the scope of the present invention should still fall within the scope of the present invention.
Claims
1. A method for pairing and connecting Bluetooth headsets, characterized in that: include: Extract the pairing device table for Bluetooth headsets, analyze the paired devices in the table, and determine the degree of pairing storage. When the paired device table is saturated, paired devices with duplicate MAC tail bytes are selected as potential interference paired devices. The distribution of numbers in the index paired table of potential interference paired devices is analyzed to determine the type of potential interference distribution. When the latent interference distribution type is a concentrated distribution, the effective addressing of the built-in index pointer of the Bluetooth headset during the historical pairing period is analyzed to evaluate the stability of effective reconnection. When the assessed effective reconnection stability shows an inefficient pairing signal, the type of potential interference pairing device in each potential interference connection interval is identified, and a priority pairing strategy is formulated for the potential interference pairing devices in the pairing device table based on the type of pairing device identified in the potential interference concentration area.
2. The Bluetooth headset pairing and connection method according to claim 1, characterized in that: The process for determining the degree of paired storage is as follows: The number of paired devices currently stored in the Bluetooth headset's paired device table is counted, and the proportion of this number to the maximum number of paired devices in the Bluetooth headset's paired device table is used to obtain the paired storage ratio. If the paired storage ratio is equal to 1, the device is in a paired storage saturation state, which is displayed as a paired storage saturation signal.
3. The Bluetooth headset pairing and connection method according to claim 2, characterized in that: The screening process for potential interference pairing devices is as follows: In the paired device table, select a paired device as the benchmark analysis device, and extract the MAC tail byte corresponding to the benchmark analysis device as the benchmark tail byte; The remaining paired devices in the paired device table are used as the comparison analysis devices, and the MAC tail bytes corresponding to the comparison analysis devices are extracted as the comparison tail bytes. The alignment analysis device corresponding to the alignment tail byte that is repeated with the benchmark tail byte is extracted and classified as a potential interference pairing device with the benchmark analysis device.
4. The Bluetooth headset pairing and connection method according to claim 3, characterized in that: The process for determining the distribution type of latent disturbance is as follows: Obtain the number of each potential interference pairing device in the index pairing table, extract the potential interference pairing devices with consecutive numbers in the index pairing table, and merge them into a cluster of consecutive interference numbers to obtain multiple clusters of consecutive interference numbers. Divide all the numbers in the index pairing table into equal intervals to obtain several index number intervals. Extract the index number intervals with consecutive clusters of latent numbers and use them as latent number contiguous intervals. The mean and standard deviation of the number of potential interference paired devices in each latent interference cluster interval are calculated and then substituted into the coefficient of variation formula to output the latent interference cluster distribution value. If the latent interference cluster distribution value is less than or equal to the latent interference cluster distribution threshold, it is displayed as a latent interference concentrated distribution signal.
5. The Bluetooth headset pairing and connection method according to claim 1, characterized in that: The process of analyzing the effective addressing of the Bluetooth headset's built-in index pointer during historical pairing periods is as follows: Extract all latent interference concatenation intervals. Within a latent interference concatenation interval, the number of times the index pointer effectively identifies the tail byte of the target paired device's MAC address is taken as a valid index pairing operation. The effective index pairing ratio is obtained by calculating the proportion of the total number of effective index pairing operations to the total number of index pairing operations within the corresponding latent contiguous editing interval. The standard deviation of the effective induction and matching frequency ratio corresponding to all latent disturbance consecutive intervals is calculated to obtain the effective induction and matching sub-stable value; Record the time taken for each valid index pairing operation and calculate the ratio with the single index addressing time set by the Bluetooth headset at the factory to obtain the single valid pairing time ratio. The average effective inoculation time per zone is calculated by summing the ratios of the effective inoculation time per single inoculation. The standard deviation of the average effective acquisition time of each zone corresponding to all latent disturbances in the continuous coding interval is calculated to obtain the stable value of effective acquisition time.
6. The Bluetooth headset pairing and connection method according to claim 1, characterized in that: The evaluation process for effective reconnection stability is as follows: The effective substable value and the effective temporal stable value are summed to obtain the effective stable value. If the effective stable value is greater than the effective stable threshold, it is displayed as an inefficient match signal.
7. A Bluetooth headset pairing and connection method according to claim 1, characterized in that: The process of identifying the type of potential interference pairing devices within the latent interference co-location interval is as follows: Within the latent interference consecutive numbering interval, obtain the number of pairing reconnections of each potential interference pairing device in the historical pairing cycle within the consecutive cluster of latent interference numbers, and calculate the ratio of the number of pairing reconnections to the total number of pairing reconnections in the historical pairing cycle to obtain the single device pairing reconnection ratio. The usage time of each potential interference pairing device within a continuous cluster of potential interference numbers after pairing and reconnection within a historical pairing period is obtained, and the ratio of this to the total number of pairing and reconnection within the historical pairing period is calculated to obtain the single device pairing usage time ratio. The sum of the ratio of single-device connection times and the ratio of single-device connection usage time is used to obtain the single-device type analysis value. If the single device type analysis value is greater than or equal to the single device type analysis threshold, it is a potential interference with high-frequency devices; if the single device type analysis value is less than the single device type analysis threshold, it is a potential interference with low-frequency devices.
8. A Bluetooth headset pairing and connection method according to claim 1, characterized in that: The process for formulating a priority pairing strategy for potential interfering pairing devices in the pairing device table is as follows: When the potential interference pairing devices in the latent interference co-location interval are all latent interference pairing high-frequency devices or all latent interference pairing low-frequency devices; Extract the single-equipment type analysis value corresponding to the high-frequency equipment or low-frequency equipment of the latent interference pairing, and reorder the numbers of the potential interference pairing equipment in the index pairing table in descending order; When the potential interference pairing devices within the latent interference co-location interval include latent interference pairing high-frequency devices and latent interference pairing low-frequency devices; Prioritize sorting the numbers corresponding to the high-frequency devices involved in the potential interference. After sorting the numbers corresponding to the high-frequency devices involved in the potential interference, sort the numbers corresponding to the low-frequency devices involved in the potential interference. In the process of sorting the numbers corresponding to the high-frequency and low-frequency devices involved in the potential interference, the numbers are re-sorted in descending order based on the analysis value of the corresponding single device type.
9. A Bluetooth headset pairing and connection system, characterized in that: include: Storage status analysis module: Extracts the Bluetooth headset pairing device table, analyzes the paired devices in the pairing device table, and determines the degree of pairing storage; Latent interference distribution identification module: When the pairing storage in the pairing device table is saturated, the module filters out the pairing devices with duplicate MAC tail bytes in the pairing device table as potential interference pairing devices, and analyzes the number distribution in the index pairing table where the potential interference pairing devices are located to determine the type of latent interference distribution. Effective reconnection evaluation module: When the latent interference distribution type is latent interference concentrated distribution, the effective addressing of the Bluetooth headset's built-in index pointer during the historical pairing period is analyzed to evaluate the stability of effective reconnection; Pairing strategy optimization module: When the evaluated effective reconnection stability shows an inefficient pairing signal, the potential interference pairing devices in each potential interference connection interval are identified by type, and a priority pairing strategy is formulated for the potential interference pairing devices in the pairing device table based on the type of pairing devices identified in the potential interference concentration area.
10. A Bluetooth headset, characterized in that: include: Memory, used to store computer programs; A processor, configured to implement the steps of the Bluetooth headset pairing and connection method as described in any one of claims 1 to 8 when executing the computer program.
Citation Information
Patent Citations
Bluetooth earphone switching method, Bluetooth earphone and terminal
CN109890021A
Bluetooth earphone charging box searching method and device, electronic equipment and storage medium
CN116539039A