A data interaction method and system based on Bluetooth communication

By employing multi-channel collaborative scheduling and adaptive interference punching technology, channel combinations and resource allocation are dynamically selected, solving the latency and resource allocation problems of Bluetooth communication in strong interference environments and achieving high-efficiency data transmission quality.

CN120812553BActive Publication Date: 2025-12-30ANHUI TAIYI COMM TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511071816.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-01
Publication Date
2025-12-30
Estimated Expiration
2045-08-01

AI Technical Summary

Technical Problem

Traditional Bluetooth communication suffers increased latency in environments with strong interference, and resource allocation cannot adapt to dynamic load demands. Existing interference suppression technologies also experience performance degradation, resulting in poor data transmission quality.

Method used

A multi-channel collaborative scheduling mechanism is adopted to scan interference and load in real time, construct a channel utilization evaluation model, dynamically select the optimal channel combination, share channel resources through a hybrid automatic repeat request mechanism and adaptive interference punching technology, and combine collaborative spatial multiplexing technology, dynamically allocate resource units, and adjust modulation methods and channel resources.

Benefits of technology

It reduces the latency of concurrent transmission between multiple devices, improves resource utilization and data transmission success rate, and ensures the data transmission quality of Bluetooth communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120812553B_ABST
    Figure CN120812553B_ABST
Patent Text Reader

Abstract

The application discloses a data interaction method and system based on Bluetooth communication, and relates to the technical field of communication, which comprises the following steps: real-time scanning of interference and load conditions of each channel through a multi-channel cooperative scheduling mechanism of a Bluetooth device; constructing a channel utilization rate evaluation model and dynamically selecting an optimal channel combination; receiving end adopts a hybrid automatic repeat request mechanism to perform real-time checking on each link data flow; performing demand analysis and decision allocation and dynamically allocating resource units; judging whether interference exists in the current channel; real-time statistics of end-to-end delay of data packets from sending to receiving, and triggering a dynamic optimization process when the delay exceeds a threshold; and sharing channel resources among access points through a cooperative spatial multiplexing technology. Through the setting of a channel combination module, a delay monitoring module and a resource sharing module, the delay of multi-device concurrent transmission is reduced, the channel resources are shared among access points, and the quality of Bluetooth communication is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, specifically to a data interaction method and system based on Bluetooth communication. Background Technology

[0002] Bluetooth is a short-range wireless communication technology based on the IEEE 802.15.1 standard, operating in the 2.4 GHz ISM band, and supporting point-to-point or point-to-multipoint data transmission. Bluetooth communication can use multiple channels for transmission. Bluetooth devices are typically Bluetooth headsets or data transmission devices; therefore, its data interaction is primarily data transmission.

[0003] Traditional Bluetooth communication uses a single-link transmission, requiring retransmission of the entire data packet after packet loss, leading to increased latency. Traditional Bluetooth communication resource allocation uses fixed bandwidth, which cannot adapt to dynamic load demands. For example, in smart cities, traffic monitoring cameras and street light sensors need to share channel resources, but current technology cannot achieve flexible allocation. Existing interference suppression technologies also experience performance degradation in strong interference environments, resulting in increased latency. Summary of the Invention

[0004] To address the aforementioned technical problems, a data interaction method and system based on Bluetooth communication is provided. This technical solution solves the problems mentioned in the background section.

[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:

[0006] A data interaction method based on Bluetooth communication includes:

[0007] After the Bluetooth device is started, the interference and load of each channel are scanned in real time through the Bluetooth device's multi-channel collaborative scheduling mechanism;

[0008] Construct a channel utilization evaluation model, dynamically select the optimal channel combination, and ensure that the primary link and backup link are established simultaneously;

[0009] The data packet is split into at least one sub-data stream at the sending end and transmitted to different channels at the same time. The receiving end adopts a hybrid automatic repeat request mechanism to perform real-time verification of each link data stream.

[0010] Based on the device communication requirements obtained from resource awareness, demand analysis and decision allocation are performed to dynamically allocate resource units.

[0011] Determine if there is interference in the current channel. If so, skip the interfered channel using adaptive interference punching technology and use the available channel to transmit data. After transmission is complete, integrate the data stream through multiple resource units. If not, do not output.

[0012] Real-time statistics show the end-to-end delay of data packets from transmission to reception. When the delay exceeds a threshold, a dynamic optimization process is triggered to adjust the modulation scheme, switch transmission links, and reallocate channel resources.

[0013] Access points share channel resources through collaborative spatial multiplexing technology.

[0014] Preferably, the construction of the channel utilization evaluation model and the dynamic selection of the optimal channel combination to ensure that the primary link and the backup link are established simultaneously specifically include:

[0015] Acquire map data of the assessment area and simulate the propagation and attenuation of signals in space. The map data includes building information and natural geographical features.

[0016] Based on map data and equipment parameters, establish a signal propagation model suitable for the evaluation area;

[0017] By analyzing the device's operating channel, transmit power, and spatial distribution, the impact of interference on signal reception quality is calculated.

[0018] Load the established signal propagation model and scenario parameters into the simulation tool, initialize the simulation environment, construct the channel utilization evaluation model, and set the model parameters, including the simulation start time, end time, and time step parameters.

[0019] Calculate the ratio of channel resources occupied by the device to the total available channel resources within a preset time step and channel, and output it as the channel occupancy rate;

[0020] The data transmission efficiency is calculated by the ratio of data transmission volume to occupied channel bandwidth.

[0021] The ratio of the number of devices that successfully accessed the channel to the number of devices that attempted to access it is calculated and output as the device access success rate.

[0022] Based on the historical database, weights are set for each output data, and the scanning results of IoT devices are input into the channel utilization evaluation model to obtain the channel utilization evaluation value for each channel.

[0023] Based on the channel utilization assessment value, the optimal channel combination is dynamically selected, and the primary link and backup link are established simultaneously.

[0024] Preferably, the triggering of the dynamic optimization process, adjusting the modulation scheme, switching the transmission link, and reallocating channel resources specifically includes:

[0025] At the sending end, a unique identifier is added to each transmitted data packet, and at the receiving end, the data packet is identified and tracked.

[0026] When a data packet is sent from the sending end, the current time is recorded as the sending timestamp. After the receiving end successfully receives the data packet, the current time is recorded as the receiving timestamp.

[0027] The receiving end compares the received timestamp with the corresponding sent timestamp based on the unique identifier of the data packet, and calculates the end-to-end delay of each data packet;

[0028] Statistical analysis of the end-to-end latency of all received data packets is performed, and statistical indicators such as average latency, maximum latency, and minimum latency are calculated.

[0029] Based on business needs and performance requirements, a threshold for end-to-end latency is set, and the statistical indicators of average latency, maximum latency, and minimum latency are compared with the set threshold.

[0030] Determine if all latency metrics have not exceeded the threshold. If so, maintain the current transmission status and do not perform optimization. If not, perform optimization.

[0031] Based on the current latency and channel quality, a four-phase phase shift keying modulation scheme is selected.

[0032] Perform a quality assessment of the bandwidth, latency, packet loss rate, and signal strength of the currently available transmission links;

[0033] The sending and receiving ends negotiate link switching, and the link switching is completed according to the switching protocol based on data buffering and fast retransmission mechanisms.

[0034] Based on service requirements and latency requirements, channel resources are prioritized for each service and data stream, and available channel resources are reallocated to each transmission link and service.

[0035] Preferably, the sharing of channel resources among the access points through cooperative spatial multiplexing technology specifically includes:

[0036] Deploy at least two access points in the network planning area to cover the target area, with spatial spacing between the access points;

[0037] Configure the service set identifier, channel, and transmit power parameters for each access point;

[0038] An information exchange channel is established between access points, through which access points can exchange channel usage, device connection information and interference level data in real time;

[0039] Each access point continuously senses the surrounding channel environment, detecting the signal strength and interference source distribution of each channel;

[0040] The access point uploads the detected channel information to the central controller. The central controller constructs a channel map based on the channel information, marking available channels, interfering channels, and the channel usage around each access point.

[0041] Based on channel maps and device location information, the access point analyzes the feasibility of achieving channel multiplexing in space;

[0042] Access points negotiate and optimize resource allocation schemes, propose adjustment suggestions through information exchange channels, and jointly optimize resource allocation schemes.

[0043] The access point adjusts its channel usage parameters, switches channels, and adjusts its transmission power according to the optimized resource allocation scheme.

[0044] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0045] Real-time perception of interference and load on each channel, combined with the channel combination module to build a channel utilization evaluation model, dynamically select the optimal channel combination, and each access point shares channel resources through collaborative spatial multiplexing technology to reduce the latency of concurrent transmission of multiple devices, dynamically allocate resource units, improve resource utilization, perform real-time interference scanning and avoidance, adaptive interference punching, improve data transmission success rate, and ensure data transmission quality during Bluetooth communication. Attached Figure Description

[0046] Figure 1 This is a flowchart of a data interaction method based on Bluetooth communication according to the present invention;

[0047] Figure 2 This is a flowchart illustrating the real-time scanning of interference and load conditions of each channel using a multi-channel collaborative scheduling mechanism of Bluetooth devices, as described in this invention.

[0048] Figure 3 The flowchart of the present invention for constructing a channel utilization evaluation model, dynamically selecting the optimal channel combination, and ensuring that the primary link and backup link are established simultaneously;

[0049] Figure 4 The flowchart illustrates how the receiver of this invention employs a hybrid automatic repeat request mechanism to perform real-time verification of data streams across each link.

[0050] Figure 5 This is a flowchart illustrating the process of dynamically allocating resource units based on resource-aware device communication requirements, performing requirement analysis and decision allocation, and activating resource units according to the present invention.

[0051] Figure 6 This is a flowchart illustrating the process of determining whether interference exists in the current channel according to the present invention.

[0052] Figure 7This is a flowchart illustrating the triggering dynamic optimization process of the present invention, which involves adjusting the modulation scheme, switching the transmission link, and reallocating channel resources.

[0053] Figure 8 This is a flowchart illustrating how access points of the present invention share channel resources through collaborative spatial multiplexing technology. Detailed Implementation

[0054] The following description is intended to disclose the invention and enable those skilled in the art to implement it. The preferred embodiments described below are merely examples, and other obvious variations will occur to those skilled in the art.

[0055] Reference Figure 1 As shown, a data interaction method based on Bluetooth communication includes:

[0056] After the Bluetooth device is started, the interference and load of each channel are scanned in real time through the Bluetooth device's multi-channel collaborative scheduling mechanism;

[0057] Construct a channel utilization evaluation model, dynamically select the optimal channel combination, and ensure that the primary link and backup link are established simultaneously;

[0058] The data packet is split into at least one sub-data stream at the sending end and transmitted to different channels at the same time. The receiving end adopts a hybrid automatic repeat request mechanism to perform real-time verification of each link data stream.

[0059] Based on the device communication requirements obtained from resource awareness, demand analysis and decision allocation are performed to dynamically allocate resource units.

[0060] Determine if there is interference in the current channel. If so, skip the interfered channel using adaptive interference punching technology and use the available channel to transmit data. After transmission is complete, integrate the data stream through multiple resource units. If not, do not output.

[0061] Real-time statistics show the end-to-end delay of data packets from transmission to reception. When the delay exceeds a threshold, a dynamic optimization process is triggered to adjust the modulation scheme, switch transmission links, and reallocate channel resources.

[0062] Access points share channel resources through collaborative spatial multiplexing technology.

[0063] Reference Figure 2 As shown, the real-time scanning of interference and load conditions of each channel through the multi-channel collaborative scheduling mechanism of Bluetooth devices specifically includes:

[0064] The Bluetooth device initializes and prepares to establish a network connection. After the Bluetooth device starts up, it attempts to connect to all channels by default.

[0065] The Bluetooth device scans at least one channel it is using simultaneously.

[0066] During the scanning process, the device monitors the interference of each channel. The Bluetooth device determines the degree of interference by analyzing parameters such as signal strength, signal-to-noise ratio, and bit error rate. The interference includes the interference of objects in the physical environment on the signal.

[0067] The device assesses the load on each channel, including the number of connected devices and the amount of data transmitted.

[0068] By using the synchronous scanning mechanism of Bluetooth devices, the device simultaneously initiates scanning requests for at least one channel, avoiding the latency caused by traditional polling scanning. During the scanning process, low-latency links are established first for subsequent data transmission.

[0069] Reference Figure 3 As shown, a channel utilization evaluation model is constructed to dynamically select the optimal channel combination, ensuring that the primary link and backup link are established simultaneously. Specifically, this includes:

[0070] Acquire map data of the assessment area and simulate the propagation and attenuation of signals in space. The map data includes building information and natural geographical features.

[0071] Based on map data and equipment parameters, establish a signal propagation model suitable for the evaluation area;

[0072] By analyzing the device's operating channel, transmit power, and spatial distribution, the impact of interference on signal reception quality is calculated.

[0073] Load the established signal propagation model and scenario parameters into the simulation tool, initialize the simulation environment, construct the channel utilization evaluation model, and set the model parameters, including the simulation start time, end time, and time step parameters.

[0074] Calculate the ratio of channel resources occupied by the device to the total available channel resources within a preset time step and channel, and output it as the channel occupancy rate;

[0075] The data transmission efficiency is calculated by the ratio of data transmission volume to occupied channel bandwidth.

[0076] The ratio of the number of devices that successfully accessed the channel to the number of devices that attempted to access it is calculated and output as the device access success rate.

[0077] Based on the historical database, weights are set for each output data, and the scanning results of IoT devices are input into the channel utilization evaluation model to obtain the channel utilization evaluation value for each channel.

[0078] Based on the channel utilization assessment value, the optimal channel combination is dynamically selected, and the primary link and backup link are established simultaneously.

[0079] The channel combination is dynamically adjusted according to real-time environmental changes. The interference and load of each channel are continuously monitored through the channel scanning module. When the evaluation value of the primary link channel drops below the threshold or the evaluation value of the backup link channel increases significantly, channel switching is triggered, the backup link is upgraded to the primary link, and a new backup link is selected.

[0080] Reference Figure 4 As shown, the receiving end employs a hybrid automatic repeat request mechanism to perform real-time verification of the data streams on each link, specifically including:

[0081] The original data packets are split into at least one sub-data stream, and a transmission channel is selected for each sub-data stream based on channel availability and link quality.

[0082] During encoding at the sending end, a cyclic redundancy check (CRC) checksum is added to the sub-data stream;

[0083] The receiving end receives sub-data streams from each channel through at least one antenna. The receiving module of each channel performs down-conversion and demodulation operations on the received signals, converts the analog signals into digital signals, and extracts the sub-data streams.

[0084] The receiving end recalculates the checksum of the received sub-data stream and compares it with the checksum added by the sending end;

[0085] The system checks if the checksums match. If they do, the sub-data stream is transmitted correctly. If not, it outputs that an error occurred during the transmission of the sub-data stream, and the receiver sends a signal to the sender requesting the sender to retransmit the sub-data stream.

[0086] The transmitting end records the transmission time and channel information of each sub-data stream for subsequent retransmission and optimization. The receiving end receives the sub-data streams from each channel through at least one antenna. The receiving module of each channel performs the following operations on the received signal: down-conversion: converting the high-frequency signal into an intermediate-frequency signal; demodulation: converting the analog signal into a digital signal; sub-data stream extraction: extracting the sub-data stream and cyclic redundancy check code from the digital signal.

[0087] Reference Figure 5 As shown, based on the device communication needs obtained through resource awareness, demand analysis and decision allocation are performed, and the dynamic allocation of resource units specifically includes:

[0088] Based on historical data and current business status, predict the communication traffic requirements of the devices;

[0089] Based on the importance of the business, priorities are assigned to each requirement, with latency-sensitive services having higher priority than bandwidth-sensitive services, and conflicts between requirements of each device and each service are checked.

[0090] Based on the information obtained in the resource awareness phase, the available channel, computing, and storage resources are evaluated to determine their quantity, quality, and availability.

[0091] The requirements obtained in the requirements analysis phase are matched with the resource assessment results to output the optimal resource allocation plan;

[0092] Based on the matching results and allocation strategy, a specific resource allocation scheme is generated. The generated allocation scheme is then optimized. Based on the requirement of maximizing resource utilization, a multi-objective optimization algorithm is used to iteratively optimize the scheme.

[0093] A non-dominated sorting genetic algorithm is used to optimize three objectives: resource utilization, latency, and bandwidth. An initial population is generated as the initial resource allocation scheme. The fitness is calculated as the weighted average of resource utilization, latency, and bandwidth. The next generation scheme is generated by selection, crossover, and mutation. The scheme is output when the maximum number of iterations or fitness convergence is reached. The Pareto optimal solution set is output, and the scheme with the highest resource utilization and the lowest latency is selected.

[0094] Reference Figure 6 As shown, determining whether there is interference in the current channel specifically includes:

[0095] Based on empirical data, a signal-to-noise ratio threshold for interference judgment is set;

[0096] Determine whether the signal-to-noise ratio of the current channel is lower than the preset signal-to-noise ratio threshold. If yes, determine that there is interference in the channel; otherwise, do not output anything.

[0097] Mark the interfered channels;

[0098] During data transmission, the system automatically skips interfered channels and does not allocate any data to interfered channels for transmission.

[0099] Time synchronization is performed on the sub-data streams from each channel, and they are aligned on the time axis.

[0100] Before data transmission, the resource allocation module queries the channel management table, skips all channels marked as "interference state", and timestamps the sub-data streams from different channels to ensure that the receiver can align the sub-streams. The transmitter splits the data packet into three sub-streams (S1, S2, S3) and transmits them through 2.4GHz, 5GHz, and 6GHz respectively. A timestamp (T1, T2, T3) is added to each sub-stream with a timestamp accuracy of 1μs. The receiver aligns the sub-streams according to the timestamps and merges them into a complete data packet. The receiving order is: S2 (5GHz) → S1 (2.4GHz) → S3 (6GHz). According to the timestamps, the alignment is S2 → S1 → S3. The receiver buffer stores the out-of-order sub-streams and outputs them after sorting them according to the timestamps.

[0101] Reference Figure 7 As shown, triggering the dynamic optimization process, adjusting the modulation scheme, switching the transmission link, and reallocating channel resources specifically includes:

[0102] At the sending end, a unique identifier is added to each transmitted data packet, and at the receiving end, the data packet is identified and tracked.

[0103] When a data packet is sent from the sending end, the current time is recorded as the sending timestamp. After the receiving end successfully receives the data packet, the current time is recorded as the receiving timestamp.

[0104] The receiving end compares the received timestamp with the corresponding sent timestamp based on the unique identifier of the data packet, and calculates the end-to-end delay of each data packet;

[0105] Statistical analysis of the end-to-end latency of all received data packets is performed, and statistical indicators such as average latency, maximum latency, and minimum latency are calculated.

[0106] Based on business needs and performance requirements, a threshold for end-to-end latency is set, and the statistical indicators of average latency, maximum latency, and minimum latency are compared with the set threshold.

[0107] Determine if all latency metrics have not exceeded the threshold. If so, maintain the current transmission status and do not perform optimization. If not, perform optimization.

[0108] Based on the current latency and channel quality, a four-phase phase shift keying modulation scheme is selected.

[0109] Perform a quality assessment of the bandwidth, latency, packet loss rate, and signal strength of the currently available transmission links;

[0110] The sending and receiving ends negotiate link switching, and the link switching is completed according to the switching protocol based on data buffering and fast retransmission mechanisms.

[0111] Based on service requirements and latency requirements, channel resources are prioritized for each service and data stream, and available channel resources are reallocated to each transmission link and service.

[0112] The threshold value for end-to-end latency is determined based on business requirements. For industrial control, the latency threshold is set to 10ms (strictly low latency requirement). For video streaming, the latency threshold is set to 20ms (tolerating slightly higher latency). For file transfer, such as data backup, the latency threshold is set to 100ms (high throughput priority). The threshold is dynamically adjusted according to network load and interference. In cases of severe interference, the latency threshold can be temporarily relaxed to 15ms.

[0113] Reference Figure 8As shown, the sharing of channel resources among access points through cooperative spatial multiplexing technology specifically includes:

[0114] Deploy at least two access points in the network planning area to cover the target area, with spatial spacing between the access points;

[0115] Configure the service set identifier, channel, and transmit power parameters for each access point;

[0116] An information exchange channel is established between access points, through which access points can exchange channel usage, device connection information and interference level data in real time;

[0117] Each access point continuously senses the surrounding channel environment, detecting the signal strength and interference source distribution of each channel;

[0118] The access point uploads the detected channel information to the central controller. The central controller constructs a channel map based on the channel information, marking available channels, interfering channels, and the channel usage around each access point.

[0119] Based on channel maps and device location information, the access point analyzes the feasibility of achieving channel multiplexing in space;

[0120] Access points negotiate and optimize resource allocation schemes, propose adjustment suggestions through information exchange channels, and jointly optimize resource allocation schemes.

[0121] The access point adjusts its channel usage parameters, switches channels, and adjusts its transmission power according to the optimized resource allocation scheme.

[0122] The process of resource allocation negotiation and optimization between access points involves proposing adjustment suggestions. AP1 sends adjustment suggestions to AP2 through the information exchange channel, such as "suggest switching to channel 149 to reduce interference." AP2 evaluates the feasibility of the suggestions, such as the interference level of channel 149, and replies with the negotiation result, such as "agree to switch, but the transmit power needs to be reduced to 18dBm." After both parties reach an agreement, an optimized resource allocation scheme is generated, such as AP1 using channel 36 and AP2 using channel 149, with transmit powers of 20dBm and 18dBm, respectively.

[0123] A data interaction system based on Bluetooth communication, used to implement the above-mentioned data interaction method based on Bluetooth communication, includes:

[0124] The channel scanning module is used to scan the interference and load of each channel in real time after the Bluetooth device is started, through the multi-channel collaborative scheduling mechanism of the Bluetooth device.

[0125] The channel combination module is used to construct a channel utilization evaluation model, dynamically select the optimal channel combination, and ensure that the primary link and the backup link are established simultaneously.

[0126] The data splitting module is used to split data packets into at least one sub-data stream at the sending end and transmit them to different channels at the same time. The receiving end adopts a hybrid automatic retransmission request mechanism to perform real-time verification of each link data stream.

[0127] The resource allocation module is used to perform demand analysis and decision allocation based on the device communication needs obtained from resource awareness, and to dynamically allocate resource units.

[0128] The interference detection module is used to determine whether there is interference in the current channel. If so, it skips the interfered channel using adaptive interference punching technology and uses the available channel to transmit data. After the transmission is completed, the data stream is integrated through multiple resource units. If not, no output is made.

[0129] The latency monitoring module is used to collect data on the end-to-end latency of data packets from transmission to reception in real time. When the latency exceeds a threshold, a dynamic optimization process is triggered to adjust the modulation method, switch the transmission link, and reallocate channel resources.

[0130] The resource sharing module is used to share channel resources among access points through collaborative spatial multiplexing technology.

[0131] Furthermore, this solution also proposes a computer-readable storage medium storing a computer-readable program, which, when invoked, executes the aforementioned data interaction system based on Bluetooth communication.

[0132] It is understandable that the storage medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; an optical medium, such as a DVD; or a semiconductor medium, such as a solid-state drive (SSD).

[0133] In summary, the advantages of this invention are: real-time perception of interference and load on each channel, construction of a channel utilization evaluation model in conjunction with the channel combination module, dynamic selection of the optimal channel combination, sharing of channel resources by each access point through collaborative spatial multiplexing technology, reduction of latency in concurrent transmission of multiple devices, dynamic allocation of resource units, improved resource utilization, real-time interference scanning and avoidance, adaptive interference punching, improved data transmission success rate, and guarantee of data transmission quality during Bluetooth communication.

[0134] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the claimed invention. The scope of protection claimed by the appended claims and their equivalents is defined.

Claims

1. A data interaction method based on Bluetooth communication, characterized in that, The method comprises the following steps: After the Bluetooth device is started, the interference and load of each channel are scanned in real time through the multi-channel cooperative scheduling mechanism of the Bluetooth device; A channel utilization evaluation model is constructed, and the optimal channel combination is dynamically selected to ensure that the main link and the backup link are established at the same time; The data packet is split into at least one sub-data stream at the sending end, and is transmitted to different channels at the same time, and the hybrid automatic repeat request mechanism is used at the receiving end to check the data stream of each link in real time; Based on the communication demand of the device obtained through resource sensing, demand analysis and decision allocation are carried out, and the resource units are dynamically allocated; It is judged whether there is interference in the current channel, if yes, the interfered channel is skipped through the adaptive interference puncturing technology, and the data is transmitted through the available channel, after the transmission is completed, the data stream is integrated through multiple resource units, if not, it is not output; The end-to-end delay of the data packet from the sending to the receiving is calculated in real time, when the delay exceeds the threshold, the dynamic optimization process is triggered, the modulation mode is adjusted, the transmission link is switched and the channel resource is re-allocated; The channel resources are shared among the access points through the cooperative spatial multiplexing technology; The interference and load of each channel are scanned in real time through the multi-channel cooperative scheduling mechanism of the Bluetooth device, which comprises the following steps: The Bluetooth device is initialized and prepared to establish a network connection, after the Bluetooth device is started, it attempts to connect all channels by default; At least one channel used by the Bluetooth device is scanned at the same time; During the scanning process, the device monitors the interference of each channel, the Bluetooth device judges the interference degree by analyzing the signal strength, signal-to-noise ratio and bit error rate parameters, and the interference includes the interference of objects in the physical environment to the signal; The device evaluates the load of each channel, and the load includes the number of connected devices and the data transmission volume; The channel utilization evaluation model is constructed, and the optimal channel combination is dynamically selected to ensure that the main link and the backup link are established at the same time, which comprises the following steps: Map data of the evaluation area is obtained, the propagation and attenuation of the signal in space are simulated, and the map data includes building information and natural geographical features; Based on the map data and device parameters, a signal propagation model suitable for the evaluation area is established; By analyzing the working channel, transmission power and spatial distribution of the device, the influence of interference on signal reception quality is calculated; The established signal propagation model and scene parameters are loaded in the simulation tool, the simulation environment is initialized, the channel utilization evaluation model is constructed, and the model parameters are set, including the starting time, ending time and time step parameters of the simulation; The proportion of the channel resources occupied by the device to the total available channel resources in the preset time step and channel is calculated, and the channel occupancy rate is output; The data volume transmitted on the unit channel resource is calculated by the ratio of the data transmission volume to the occupied channel bandwidth, and the data transmission efficiency is output; The proportion of the number of devices successfully accessing the channel to the number of devices attempting to access the channel is calculated, and the device access success rate is output; Based on the historical database, the weights of each output data are set, and the scanning results of the Internet of Things device are input into the channel utilization evaluation model to obtain the channel utilization evaluation value of each channel; According to the channel utilization evaluation value, the optimal channel combination is dynamically selected, and the main link and the backup link are established at the same time.

2. The data interaction method based on Bluetooth communication according to claim 1, characterized in that, The receiving end adopts a hybrid automatic repeat request mechanism to perform real-time checking on each link data stream, and the checking specifically includes: Splitting the original data packet into at least one sub-data stream, and selecting a transmission channel for each sub-data stream based on the availability and link quality of the channel; When encoding at the sending end, a cyclic redundancy check code is added to the sub-data stream; The receiving end receives the sub-data stream from each channel through at least one antenna, and each channel receiving module performs down-conversion and demodulation operations on the received signal to convert the analog signal into a digital signal and extract the sub-data stream; The receiving end recalculates the check code of the received sub-data stream and compares it with the check code added by the sending end; If the check codes are consistent, the sub-data stream is transmitted correctly, and if not, an error occurs in the transmission process of the sub-data stream, and the receiving end sends a signal to the sending end to request the sending end to retransmit the sub-data stream.

3. The data interaction method based on Bluetooth communication according to claim 2, characterized in that, The device communication demand obtained based on resource sensing is subjected to demand analysis and decision allocation, and the dynamic allocation of resource units specifically includes: Predicting the communication traffic demand of the device in combination with historical data and current business status; Allocating priority to each demand based on the importance of the business, with the priority of time delay sensitive business being higher than that of bandwidth sensitive business, and checking the conflict between demands of each device and each business; Evaluating the available channels, computing and storage resources based on the information obtained in the resource sensing stage to determine the quantity, quality and availability thereof; Matching the demand obtained in the demand analysis stage with the resource evaluation result to output an optimal resource allocation scheme; Generating a specific resource allocation scheme based on the matching result and the allocation strategy, optimizing the generated allocation scheme, and iteratively optimizing the scheme based on the requirement of maximizing resource utilization by using a multi-objective optimization algorithm.

4. The data interaction method based on Bluetooth communication according to claim 3, characterized in that, The judgment of whether the current channel is interfered specifically includes: Setting a signal-to-noise ratio threshold for interference judgment based on empirical data; Judging whether the signal-to-noise ratio of the current channel is lower than the preset signal-to-noise ratio threshold, if yes, determining that the channel is interfered, and if not, not outputting; Marking the interfered channel; Automatically skipping the interfered channel during data transmission and not allocating any data to the interfered channel for transmission; Time synchronizing the sub-data streams from each channel and aligning them on the time axis.

5. The data interaction method based on Bluetooth communication according to claim 4, characterized in that, The triggering of the dynamic optimization process, the adjustment of the modulation mode, the switching of the transmission link and the reallocation of the channel resource specifically include: Adding a unique identifier to each transmitted data packet at the sending end, and identifying and tracking the data packet at the receiving end; When the data packet is sent from the sending end, the current time is recorded as the sending timestamp, and the receiving end records the current time as the receiving timestamp after successfully receiving the data packet; The receiving end compares the receiving timestamp with the corresponding sending timestamp according to the unique identifier of the data packet to calculate the end-to-end delay of each data packet; Statistically analyzing the end-to-end delay of all received data packets to calculate statistical indicators such as average delay, maximum delay and minimum delay; Based on the business requirements and performance requirements, set the threshold of end-to-end delay, compare the statistical indicators of the average delay, maximum delay and minimum delay obtained by statistics with the set threshold; Determine whether all delay indicators are less than the threshold, if yes, continue to maintain the current transmission state, and do not perform optimization operation, if not, perform optimization operation; Based on the current delay condition and channel quality, select the modulation mode of four-phase shift keying; Quality assessment is performed on the bandwidth, delay, packet loss rate and signal strength of the currently available transmission link; Link switching negotiation is performed between the sending end and the receiving end, and link switching is completed according to the switching protocol based on data buffering and fast retransmission mechanism; Based on the business requirements and delay requirements, the priority of channel resources is allocated to each service and data flow, and the available channel resources are re-allocated to each transmission link and service.

6. The data interaction method based on Bluetooth communication according to claim 5, characterized in that, The channel resources are shared between the access points through the cooperative spatial reuse technology, specifically including: At least two access points are deployed in the network planning area to cover the target area, and there is a spatial interval between the access points; Each access point is configured with a service set identifier, a channel and a transmission power parameter; An information exchange channel is established between the access points, through which the access points can exchange channel usage, device connection information and interference level data in real time; Each access point continuously senses the surrounding channel environment, detects the signal strength of each channel and the distribution of interference sources; The access point uploads the sensed channel information to the central controller, and the central controller constructs a channel map according to the channel information, and marks the available channels, interference channels and channel usage around each access point; Based on the channel map and device location information, the access point analyzes the feasibility of spatial channel reuse; The access points negotiate and optimize the resource allocation scheme, and propose adjustment suggestions through the information exchange channel to jointly optimize the resource allocation scheme; The access point adjusts its channel usage parameters according to the optimized resource allocation scheme, switches channels and adjusts transmission power.

7. A data interaction system based on Bluetooth communication for implementing the data interaction method based on Bluetooth communication according to any one of claims 1-6, characterized in that, It includes: A channel scanning module, which is used to scan the interference and load of each channel in real time through the multi-channel cooperative scheduling mechanism of the Bluetooth device after the Bluetooth device is started; A channel combination module, which is used to construct a channel utilization evaluation model and dynamically select the optimal channel combination to ensure that the primary link and the standby link are established at the same time; A data splitting module, which is used to split the data packet into at least one sub-data stream at the sending end and transmit it to different channels at the same time, and the receiving end uses the hybrid automatic repeat request mechanism to check the data stream of each link in real time; A resource allocation module, which is used to analyze the demand and make decision allocation based on the device communication demand obtained by resource perception, and dynamically allocate resource units; An interference judgment module, which is used to determine whether there is interference in the current channel, if yes, skip the interfered channel through the adaptive interference puncturing technology, and use the available channel to transmit data, and after the transmission is completed, integrate the data stream through multiple resource units, if not, do not output. A time delay monitoring module is configured to calculate the end-to-end time delay of data packets from sending to receiving in real time, and trigger a dynamic optimization process when the time delay exceeds a threshold, to adjust modulation mode, switch transmission link and reallocate channel resources. A resource sharing module is configured to share channel resources among access points through coordinated spatial multiplexing technology.

Citation Information

Patent Citations

  • Apparatus, system and method of selecting a wireless communication channel

    CN106063345A

  • Bluetooth communication method and system and Bluetooth receiving method and device

    CN113206688A