A high-reliability data transmission system based on industrial-grade Bluetooth technology

Through the data transmission system of industrial-grade Bluetooth technology, the communication topology model is obtained, the Bluetooth configuration is optimized, the problem of unstable data transmission in complex environments is solved, and high-reliability data transmission is achieved.

CN118317339BActive Publication Date: 2024-10-29SHENZHEN JUWEI ELECTRONIC TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410555524.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-10-29
Estimated Expiration
2044-05-07

AI Technical Summary

Technical Problem

Traditional data transmission technology is difficult to provide high-reliability data transmission in complex communication environments and device topologies, resulting in unstable data transmission.

Method used

A high-reliability data transmission system based on industrial-grade Bluetooth technology is used to ensure the stability of data transmission by obtaining the communication topology model, identifying serial communication objects, calculating communication distance, collecting data transmission samples, optimizing Bluetooth configuration, and configuring hardware modules.

Benefits of technology

It can automatically adapt to different communication environments and equipment layouts in complex environments, optimize Bluetooth configuration, improve the stability and reliability of data transmission, and ensure the smooth progress of the production process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118317339B_ABST
    Figure CN118317339B_ABST
Patent Text Reader

Abstract

The present application provides a high-reliability data transmission system based on industrial-grade Bluetooth technology, which relates to the field of Bluetooth technology. The system includes: obtaining a topological model of a preset communication device in a target communication area; identifying and segmenting serial communication objects to obtain a first serial network; extracting adjacent communication devices, calculating the communication distance to obtain a first neighbor distance; collecting data transmission samples; optimizing based on Bluetooth configuration constraints and neighbor distance test to obtain a first optimal configuration; configuring the Bluetooth hardware module of the communication device with the configuration to achieve efficient data transmission. The present application can solve the technical problem of being unable to provide high-reliability data transmission due to the complexity and variability of the communication environment and device topology, and achieve the technical effect of automatically adapting to different communication environments and device layouts, optimizing Bluetooth configuration, and improving the stability and reliability of data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Bluetooth technology, and in particular to a high-reliability data transmission system based on industrial-grade Bluetooth technology. Background Art

[0002] In the context of the rapid development of industrial automation and intelligence, the stability and reliability of data transmission technology are crucial to ensure the smooth progress of the production process. However, traditional data transmission technology often has difficulty in providing sufficiently reliable data transmission services when faced with complex and changing communication environments and device topologies. This is mainly due to the complexity of the communication environment, the compatibility between devices, and various interference factors in the data transmission process. Summary of the invention

[0003] The purpose of this application is to provide a high-reliability data transmission system based on industrial-grade Bluetooth technology to solve the technical problem that high-reliability data transmission cannot be provided due to the complexity and variability of the communication environment and device topology.

[0004] In view of the above problems, the present application provides a high-reliability data transmission system based on industrial-grade Bluetooth technology.

[0005] The present application provides a high-reliability data transmission system based on industrial-grade Bluetooth technology, the system comprising: a communication topology acquisition module, used to acquire a preset communication topology model of multiple preset communication devices in a target communication area; a serial communication object identification module, used to identify serial communication objects based on the preset communication topology model, and segment the preset communication topology model according to the identification result to obtain a first communication device serial network; a communication distance calculation module, used to extract a first communication device and a second communication device according to the first communication device serial network, and perform communication distance calculation to obtain a first proximity, wherein the first communication device and the second communication device are communication devices located at adjacent nodes in the first communication device serial network; a data transmission sample acquisition module, used to collect first data transmission samples of the first communication device and the second communication device; a Bluetooth configuration optimization module, used to perform Bluetooth configuration test optimization on the first data transmission sample based on preset Bluetooth configuration constraints and the first proximity to obtain a first optimization configuration; a Bluetooth hardware configuration module, used to configure the Bluetooth hardware modules of the first communication device and the second communication device with the first optimization configuration, and perform data transmission with the configured Bluetooth hardware modules.

[0006] The technical solution provided in this application has at least the following technical effects or advantages:

[0007] The above-mentioned high-reliability data transmission system based on industrial-grade Bluetooth technology collects the communication topology model of all preset communication devices in the target communication area. This model describes the connection mode and communication path between each device. Based on this communication topology model, identify which devices are connected in series, that is, devices that can communicate directly. Subsequently, according to these identification results, the original communication topology model is segmented to form several serial communication device networks, one of which is the first communication device serial network. After obtaining this serial network, two adjacent communication devices, namely the first communication device and the second communication device, are further selected, and the communication distance between them is calculated. This distance can help determine the difficulty of communication and the possible interference. After that, the data transmission samples between the two communication devices are collected, that is, the data they actually transmit. Then, according to the preset Bluetooth configuration constraints and the previously calculated communication distance, a series of tests and optimizations are performed on these data transmission samples, with the aim of finding the best Bluetooth configuration settings. Finally, according to this optimized configuration, the Bluetooth hardware modules of the first communication device and the second communication device are configured. After the configuration is completed, the optimized Bluetooth settings are used for data transmission. The whole process realizes the reliability and stability of data transmission through intelligent analysis and optimized configuration in a complex communication environment.

[0008] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented according to the contents of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are specifically cited below. It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0010] Figure 1 A schematic diagram of the structure of a high-reliability data transmission system based on industrial-grade Bluetooth technology is provided for this application;

[0011] Figure 2 This application discloses a flow chart of a Bluetooth configuration optimization module of a high-reliability data transmission system based on industrial-grade Bluetooth technology.

[0012] Description of reference numerals:

[0013] Communication topology acquisition module 1, serial communication object identification module 2, communication distance calculation module 3, data transmission sample collection module 4, Bluetooth configuration optimization module 5, Bluetooth hardware configuration module 6. DETAILED DESCRIPTION

[0014] This application solves the technical problem of being unable to provide high-reliability data transmission due to the complexity and changeability of the communication environment and device topology by providing a high-reliability data transmission system based on industrial-grade Bluetooth technology, thereby achieving the technical effect of automatically adapting to different communication environments and device layouts, optimizing Bluetooth configuration, and improving the stability and reliability of data transmission.

[0015] Below, the technical solutions in the present application will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments of the present application. It should be understood that the present application is not limited to the example embodiments described herein. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application. It should also be noted that, for the convenience of description, only the parts related to the present application are shown in the accompanying drawings, rather than all of them. Example

[0016] Please see attached Figure 1 , the present application provides a high-reliability data transmission system based on industrial-grade Bluetooth technology, the system specifically includes the following modules:

[0017] A communication topology acquisition module 1 is used to acquire a preset communication topology model of multiple preset communication devices in a target communication area;

[0018] In an embodiment of the present application, in order to effectively manage data transmission, the system terminal understands and constructs a communication topology model of multiple preset communication devices in the target communication area. This model is not just a simple device connection diagram, but is constructed based on the previous and next data requirements between industrial production equipment, that is, the communication path is set according to their position in the production process and the needs of data exchange, because not all devices need direct communication. The system terminal obtains the historical communication records of multiple preset communication devices, and obtains a group of directly connected communication devices based on these historical communication records. Subsequently, a preset communication topology model is constructed in combination with the actual positions of these devices on the industrial production line and the type of data that needs to be exchanged between them. This model will clearly depict which devices need to communicate directly and which devices communicate indirectly through intermediate devices. With this preset communication topology model, the system terminal can perform more efficient data transmission management according to the communication needs of the equipment.

[0019] Furthermore, the communication topology acquisition module 1 is also used for:

[0020] Acquire historical communication records of the plurality of preset communication devices, and acquire a directly connected communication device group based on the historical communication records;

[0021] Based on the direct communication device group, devices having a direct communication relationship are connected to construct the preset communication topology model.

[0022] Preferably, in the process of building a preset communication topology model, the system terminal collects historical communication records of multiple preset communication devices, which reflect the past data transmission between devices. By analyzing these historical records, it is possible to identify which devices have direct communication relationships, that is, they directly send and receive data to each other, and the system terminal organizes these devices into a group of directly connected communication devices. Subsequently, the identified devices with direct communication relationships are classified and sorted. This includes determining the communication direction (one-way or two-way), communication frequency, and communication data volume between devices. After that, based on the sorted device relationships, a preliminary communication topology model is constructed. In this model, each device is represented as a node, and the direct communication relationship is represented as a line between nodes. Then, detailed information of the device, such as device type, location, IP address, communication priority, etc., is added to improve the preliminary constructed communication topology model to ensure that the communication path between devices can be accurately reflected in the preset communication topology model. After that, after the above steps, the system will construct a complete preset communication topology model. This model not only reflects the physical connection relationship between devices, but more importantly, it accurately depicts the actual communication situation between devices based on the historical communication records of the devices. Such a model can provide more accurate and efficient data transmission management solutions for industrial automation and intelligent control systems.

[0023] Further, communication segment optimization includes:

[0024] Marking the device communication priority of the direct communication device group;

[0025] After data transmission is performed using the configured Bluetooth hardware module, real-time communication traffic of multiple preset communication devices within the target communication area is collected;

[0026] Optionally, it is an important task for the system terminal to mark the device communication priority of the directly connected communication device group. This process assigns a communication priority to each device based on the actual communication needs, importance and urgency of the device. Priority marking can help the system terminal manage resources more effectively during data transmission, ensure that key data can be transmitted first, and improve the operating efficiency and stability of the entire data transmission process. Once the device communication priority marking is completed, and the Bluetooth hardware module of the device has been optimized according to the determined first optimization configuration, the system terminal begins to transmit data with the configured Bluetooth hardware module. In this process, the system terminal monitors the real-time communication traffic of multiple preset communication devices in the target communication area in real time and collects it. Real-time communication traffic data reflects the activity and transmission efficiency of data exchange between devices, and is an important basis for evaluating transmission performance and making subsequent optimization adjustments. These steps together ensure that the system terminal can efficiently and stably transmit data in a complex communication environment to meet the needs of industrial automation and intelligent control.

[0027] Perform frequency band congestion identification based on the real-time communication traffic to obtain a communication congestion index;

[0028] If the communication congestion index is greater than a preset congestion index, communication segment optimization is performed according to the device communication priority mark.

[0029] Optionally, in order to ensure smooth data transmission, the system terminal monitors the real-time communication traffic and determines whether the frequency band is congested based on the traffic data. This process involves the collection, analysis and processing of real-time communication traffic to obtain a communication congestion index. Specifically, the system terminal continuously monitors the real-time communication traffic on the target frequency band, including the number of packets sent and received. Subsequently, a traffic threshold is set based on historical data and business requirements, for example, the maximum number of packets allowed per minute. When the real-time communication traffic exceeds the set traffic threshold, the system terminal determines that the frequency band may be in a congested state. At this time, the system terminal calculates the actual communication traffic within a time window, that is, the number of packets actually received within the time specified by the traffic threshold. Afterwards, the system terminal uses the actual communication traffic to perform a ratio operation with the traffic threshold to calculate the current congestion rate, that is, the communication congestion index. This index can quantitatively represent the degree of congestion of the current frequency band. When the system terminal finds that the communication congestion index exceeds the preset congestion index, it will start the communication segment optimization measures. The core idea of ​​the optimization is to reallocate and schedule resources according to the device communication priority tag. The system terminal will give priority to the communication needs of high-priority devices to ensure that their data can be transmitted smoothly. For low-priority devices, the system terminal will adopt strategies such as reducing the transmission rate and adjusting the transmission time to reduce the congestion of the frequency band. Through this process, resources can be effectively managed and optimized when the frequency band is congested, ensuring that the transmission of key data is not affected, and improving the operating efficiency and stability of the entire data transmission process.

[0030] A serial communication object identification module 2, configured to identify serial communication objects based on the preset communication topology model, and segment the preset communication topology model according to the identification result to obtain a first communication device serial network;

[0031] In one embodiment, the system terminal first reads a preset communication topology model, and traverses each communication device in the communication topology model and the connection relationship between them. During the traversal process, the communication devices that form a continuous sequence through direct connection are identified, that is, the series objects. These series objects constitute a series path, which has no branches, and data or signals can only flow along this path. For each identified series path, the system terminal will record the starting device, the ending device, and all the intermediate devices on the path. Subsequently, based on the identification results of the series communication objects, the system terminal determines at which positions the topology model is segmented. The segmentation points include the starting point, the ending point, and the shared nodes of the multiple paths of the series path. After determining the segmentation points, the system terminal begins to perform the actual segmentation operation. For the series paths that do not involve shared nodes, the system terminal directly segments the path from the topology model, and for those that contain shared nodes, the system terminal will copy the shared nodes and create a new sub-model to represent the segmented parts in combination with the copied nodes. After that, the system terminal organizes the segmentation results to construct a first communication device series network. The first communication device serial network includes all segmented serial paths, which helps the system terminal to more efficiently manage and optimize the communication process of these serial communication devices and improve communication efficiency and stability.

[0032] A communication distance calculation module 3, used to extract a first communication device and a second communication device according to the first communication device series network, and perform communication distance calculation to obtain a first proximity distance, wherein the first communication device and the second communication device are communication devices located at adjacent nodes in the first communication device series network;

[0033] In one embodiment, the system terminal extracts the first communication device and the second communication device in the network based on the identified and segmented first communication device series network. The two devices are communication devices on two directly adjacent nodes in the series network. There may be multiple communication devices on a node, and these devices may communicate with multiple adjacent nodes at the same time, forming a complex communication relationship. In order to quantify the physical relationship between the first communication device and the second communication device, the system terminal estimates the communication distance by analyzing factors such as the transmission distance of the wireless signal, signal attenuation, and obstacles, and uses the estimated transmission distance as the first adjacent distance. Through such processing, the system terminal can clearly know which devices are directly adjacent in the series communication network, and the relative distance between them, which has important reference value for network optimization and transmission.

[0034] The data transmission sample collection module 4 is used to collect the first data transmission samples of the first communication device and the second communication device;

[0035] In one embodiment, when data is transmitted between the first communication device and the second communication device, the system terminal captures the data samples transmitted in real time and constructs a first data transmission sample. These data samples contain key information such as the actual transmitted data size, transmission time, and transmission speed. By analyzing these samples, the communication status between the two devices can be understood, thereby evaluating the network performance and transmission capacity.

[0036] A Bluetooth configuration optimization module, configured to perform a Bluetooth configuration test optimization on the first data transmission sample based on a preset Bluetooth configuration constraint and the first proximity distance to obtain a first optimization configuration;

[0037] In one embodiment, in wireless communication, Bluetooth is a commonly used short-range wireless communication technology, and its performance is affected by many factors, including transmission power, connection parameters, and antenna gain. In order to ensure the stability and efficiency of Bluetooth communication, these parameters need to be configured according to the actual communication environment and requirements. First, the system terminal determines the parameter range available for configuration according to the preset Bluetooth configuration constraints. These preset constraints are based on the specifications and performance of the Bluetooth transmission device actually used, including the maximum and minimum values ​​of the transmission power, the adjustable range of the connection parameters (such as the connection interval, the delay from the device, etc.), and the optional value of the antenna gain. Subsequently, the system terminal performs Bluetooth parameter configuration on the first communication device and the second communication device based on the preset Bluetooth configuration constraints, and then combines the parameter configuration results with the first proximity to perform a transmission test of the first data transmission sample. Afterwards, the test results are subjected to data transmission loss identification, and the identification results are compared with the preset communication quality threshold to generate a first optimal configuration. This configuration can maximize the communication performance and ensure the stability and efficiency of data transmission under the premise of meeting the preset Bluetooth configuration constraints.

[0038] Further, if Figure 2 As shown, the Bluetooth configuration optimization module is also used for:

[0039] Performing Bluetooth parameter configuration on the first communication device and the second communication device based on the preset Bluetooth configuration constraint to obtain a first Bluetooth configuration parameter set;

[0040] Performing a transmission test on the first data transmission sample based on the first proximity distance and the first Bluetooth configuration parameter set to obtain a plurality of first test data sets;

[0041] Preferably, based on the preset Bluetooth configuration constraints, the system terminal first performs Bluetooth parameter configuration on the first communication device and the second communication device, and generates a set of Bluetooth configuration parameter sets for the two devices, namely, the first Bluetooth configuration parameter set. This configuration process ensures that the parameters of the Bluetooth device are within the allowed range and are set based on the performance specifications of the actual device. Subsequently, the system terminal uses this set of first Bluetooth configuration parameter sets, combined with the first proximity distance calculated previously, namely, the communication distance between the first communication device and the second communication device, to perform a transmission test on the first data transmission sample. Actual data transmission is performed to evaluate the data transmission performance under the current Bluetooth configuration and communication distance. During the test, the system terminal records the transmitted data to form multiple first test data sets. These test data sets contain data transmission performance data under different parameter configurations and communication distances, which provide important references for subsequent performance analysis and optimization. In summary, this process includes a series of steps including parameter configuration of the Bluetooth device, transmission test based on the actual communication distance, and collection and analysis of test data, aiming to ensure the stability and efficiency of Bluetooth communication.

[0042] Identify data transmission loss based on the first test data set to obtain a plurality of first communication quality indicators;

[0043] Preferably, after collecting multiple first test data sets, the system terminal analyzes these data in detail to identify the loss during the data transmission process. This process is mainly to evaluate the integrity and accuracy of data transmission under a given Bluetooth configuration and communication distance. By analyzing multiple first test data sets, the system terminal can identify signal attenuation, data loss or delay that may occur during the transmission process, and convert these identification results into multiple specific communication quality indicators to obtain multiple first communication quality indicators. This indicator reflects the reliability and efficiency of data transmission from different angles, and provides strong data support for subsequent communication optimization.

[0044] Determine whether the multiple first communication quality indicators are greater than a preset communication quality threshold, and if so, obtain optimal Bluetooth configuration parameters to generate the first optimal configuration;

[0045] If the first communication quality indicator is less than the preset communication quality threshold, the first Bluetooth configuration parameter set is updated and optimized until the optimal Bluetooth configuration parameter is obtained.

[0046] Preferably, when evaluating the quality of Bluetooth communication, the system terminal first determines whether the multiple first communication quality indicators obtained based on the first test data set have reached a preset communication quality threshold. These communication quality thresholds are pre-set according to actual needs and performance requirements, and are used to measure the reliability, stability and efficiency of data transmission. If any of the multiple first communication quality indicators exceeds the preset communication quality threshold, the system terminal determines that the current Bluetooth configuration parameters meet the expected requirements. At this time, the system terminal selects the Bluetooth configuration parameters with the best performance from the previously tested configurations to generate a first optimization configuration as a recommended Bluetooth configuration parameter set. However, if all the first communication quality indicators are lower than the preset communication quality threshold, the system terminal determines that the current Bluetooth configuration parameter set is not ideal and needs to be updated and adjusted. In order to find the optimal Bluetooth configuration parameters, the system terminal will continue to perform Bluetooth configuration test optimization on the first Bluetooth configuration parameter set. This process includes identification of data transmission mode, pattern matching, etc., and then re-perform data transmission test and evaluate new communication quality indicators. This process will be repeated until a set of Bluetooth configuration parameters that can make the communication quality indicators reach or exceed the preset threshold, that is, the optimal Bluetooth configuration parameters, is found to ensure the stability and efficiency of Bluetooth communication.

[0047] Furthermore, the Bluetooth configuration optimization module is also used for:

[0048] Perform signal attenuation identification based on the first test data set to obtain a first attenuation index;

[0049] Performing data transmission integrity identification based on the first test data set to obtain a first integrity indicator;

[0050] Performing data transmission delay identification based on the first test data set to obtain a first delay indicator;

[0051] Optionally, based on the first test data set, the system terminal identifies and analyzes multiple key performance dimensions of Bluetooth communication. First, the system terminal identifies signal attenuation. Signal attenuation is a common phenomenon in wireless communications. It increases with the increase of transmission distance and may also be caused by obstacles, weather conditions and other factors. By extracting the test data set, a received signal strength indication (RSSI) value is obtained. In order to obtain the first attenuation index, the system terminal compares the signal strength of the transmitter and the receiver. Among them, the signal strength of the transmitter is known and is obtained by direct measurement at the transmitting device, while the signal strength of the receiver is obtained through the RSSI value. The system terminal calculates the difference between these two values ​​to obtain a signal attenuation value, i.e., a first attenuation index. This indicator reflects the loss of the signal during transmission.

[0052] After obtaining the first attenuation index, the system terminal will evaluate the integrity of data transmission. During the transmission process, data may be lost or damaged due to various reasons, such as noise, interference, equipment failure, etc. By checking the sequence number of each data packet and comparing it with the expected sequence number. If the sequence number is discontinuous or missing, this means that data is lost or the order of the data packets is wrong. Subsequently, the system terminal checks the checksum of each data packet to verify whether the data has been changed or damaged during the transmission process. After that, based on the results of the data packet comparison and verification, the system terminal calculates the integrity index of the data transmission, that is, the first integrity index. This indicator is a decimal obtained by subtracting the ratio of the number of lost or erroneous data packets to the total number of data packets transmitted from 1, which measures the reliability and accuracy of data transmission.

[0053] After obtaining the first integrity indicator, the system terminal identifies the delay of data transmission. In real-time communication, transmission delay is a very important performance indicator. It refers to the time required for data to be transmitted from the sender to the receiver. For each received data packet, the system terminal retrieves the timestamp of the data packet from the first test data set. This timestamp includes the sending time and the receiving time. Subsequently, the difference between the receiving time and the sending time is calculated to obtain the transmission time difference, which is the first delay indicator. This indicator reflects the real-time and response speed of data transmission.

[0054] In summary, through the analysis of the first test data set, key performance indicators such as signal attenuation, data transmission integrity and transmission delay in Bluetooth communication can be identified and quantified into specific indicators. These indicators provide an important reference for evaluating the performance of Bluetooth communication and optimizing communication parameters.

[0055] The first attenuation indicator, the first integrity indicator, and the first delay indicator are combined to perform transmission loss analysis to generate the plurality of first communication quality indicators.

[0056] Optionally, the system terminal integrates the data of the first attenuation index, the first integrity index and the first delay index. These data reflect the loss of the signal during transmission, the integrity of the data and the real-time nature of the transmission. Subsequently, a corresponding weight is assigned to each index according to the needs and importance of the actual application. For example, if real-time performance is critical to the system terminal, the weight of the first delay index will be higher. After that, the value of each index is multiplied by its corresponding weight, added, and then divided by the total number of indicators to obtain a comprehensive communication quality index. This index is a weighted average of the three basic indicators, which takes into account the three factors of attenuation, integrity and delay. Then, the system terminal performs the same steps as above for each first test data set to generate multiple first communication quality indicators. These indicators comprehensively consider multiple aspects of the signal during transmission and provide a comprehensive basis for evaluating the performance of data transmission.

[0057] Furthermore, the Bluetooth configuration optimization module is also used for:

[0058] Based on the preset communication topology model, a data transmission mode is identified for the first communication device serial network, where the data transmission mode includes one-to-one transmission, one-to-many transmission and many-to-one transmission;

[0059] Performing pattern matching on communication devices located at adjacent nodes based on the data transmission pattern to obtain a matching pattern;

[0060] Optionally, the system terminal identifies the data transmission mode of the first communication device serial network based on a preset communication topology model, and these transmission modes include one-to-one transmission, one-to-many transmission, and many-to-one transmission. One-to-one transmission refers to the direct transmission of data from one device to another without the participation of an intermediate device. This mode is applicable to two devices that need to communicate directly, such as Bluetooth file transmission between two mobile phones. One-to-many transmission refers to a device transmitting data to multiple devices at the same time. This is common in broadcast, multicast or multicast scenarios, such as a wireless router sending data to multiple connected clients. Many-to-one transmission refers to multiple devices sending data to the same receiving device. This mode is common in data aggregation or aggregation scenarios, such as multiple sensors sending data to a central server for analysis. After identifying the data transmission mode, the system terminal performs pattern matching on the communication devices located at adjacent nodes. This process mainly determines which devices should be paired together for data transmission based on the communication capabilities of the devices, the network topology, and the requirements of the data transmission mode. For example, in one-to-many transmission, the sending device needs to match all receiving devices and ensure that they are all within its transmission range. In general, data transmission mode recognition and device pattern matching are key steps to ensure efficient and reliable operation of the communication network. They enable data to be transmitted in the network in a predetermined manner and path, thus meeting various communication needs.

[0061] If the matching mode is one-to-many transmission, obtaining a plurality of first proximity distances between the first communication device and a plurality of second communication devices;

[0062] Based on the multiple first proximity distances, a Bluetooth configuration test is performed on the first communication device and the multiple second communication devices to optimize the first optimal configuration to obtain the first optimal configuration.

[0063] Optionally, when the data transmission mode is determined to be one-to-many transmission, it means that the first communication device needs to transmit data with multiple second communication devices at the same time. In order to achieve this transmission mode, it is necessary to ensure that the communication between the first communication device and these second communication devices is stable and efficient. First, the system terminal obtains multiple first proximity distances between the first communication device and each second communication device. Subsequently, based on these first proximity distances, the system terminal performs Bluetooth configuration test optimization. Specifically, the system terminal determines the test range of Bluetooth communication based on the multiple first proximity distances obtained. This range needs to ensure that all second communication devices are within the effective communication range of the first communication device. Subsequently, one or more initial Bluetooth configuration parameters are selected as the starting point for testing. These parameters include Bluetooth transmission power, receiving sensitivity, data transmission rate, etc. After that, for each initial configuration, a Bluetooth connection is established between the first communication device and each second communication device. Specific test data is sent to record key indicators such as connection establishment time, transmission rate, data loss rate, signal attenuation degree, etc. Repeat the test multiple times to obtain more accurate performance indicators. If the performance indicators of the initial configuration do not meet the requirements, the system terminal performs optimization iteration. During the iteration process, adjust the Bluetooth configuration parameters, such as increasing or decreasing the transmission power, adjusting the receiving sensitivity, etc. When the performance indicators meet the requirements, the system terminal outputs the current Bluetooth configuration parameters as the first optimal configuration. In summary, when the data transmission mode is one-to-many transmission, the best Bluetooth configuration parameters are found by obtaining the first proximity and performing Bluetooth configuration test optimization to ensure that the first communication device can simultaneously perform stable and efficient data transmission with multiple second communication devices.

[0064] Furthermore, the Bluetooth configuration optimization module is also used for:

[0065] If the matching mode is many-to-one transmission, obtaining a plurality of second proximity distances of a plurality of first communication devices and a plurality of second communication devices;

[0066] Based on the multiple second proximity distances, a Bluetooth configuration test is performed on the multiple first communication devices and the second communication device to optimize the first optimized configuration to obtain.

[0067] Optionally, when the matching mode of data transmission is many-to-one transmission, it means that multiple first communication devices need to transmit data to one second communication device at the same time. In order to optimize the Bluetooth communication performance in this transmission mode, the system terminal obtains multiple second proximity distances between multiple first communication devices and the second communication device, and uses the same method as above to perform Bluetooth configuration test optimization based on these proximity distances to obtain the first optimization configuration. This configuration will be used to ensure that in the many-to-one transmission mode, multiple first communication devices can efficiently and stably transmit data to the second communication device.

[0068] The Bluetooth hardware configuration module is used to configure the Bluetooth hardware modules of the first communication device and the second communication device according to the first optimal configuration, and to perform data transmission with the configured Bluetooth hardware modules.

[0069] In one embodiment, after determining the first optimization configuration, the system terminal applies this configuration to the Bluetooth hardware modules of the first communication device and the second communication device. This process is to ensure that the two or more communication devices can perform data transmission according to the optimal settings during Bluetooth communication, so as to obtain the best communication performance and stability. Specifically, the system terminal sets and adjusts the Bluetooth hardware modules of the first communication device and the second communication device according to the parameters specified in the first optimization configuration, such as transmission power, receiving sensitivity, data transmission rate, etc. This process needs to be completed through a pre-created hardware interface in order to accurately control the various parameters of the Bluetooth module. Once the Bluetooth hardware modules are successfully configured, these Bluetooth hardware modules can start to perform data transmission according to the optimal settings. This means that during the data transmission process, the device will be able to use Bluetooth communication resources more efficiently, reduce the delay and error rate of data transmission, and improve the reliability and stability of communication.

[0070] Furthermore, the system further comprises a relay communication module, and the relay communication module is used for:

[0071] Perform a maximum transmission distance test according to the preset Bluetooth configuration constraint, and if the first proximity is greater than the maximum transmission distance, establish a relay communication node for the first communication device and the second communication device;

[0072] The first communication device serial network is updated based on the relay communication node, and the updated first communication device serial network is used to perform Bluetooth configuration test optimization of adjacent nodes.

[0073] Preferably, the system terminal performs a maximum transmission distance test according to a preset Bluetooth configuration constraint. The purpose of this test is to determine the maximum distance that Bluetooth communication can reach under the existing configuration. If the test result shows that the first adjacent distance between the first communication device and the second communication device is greater than the maximum transmission distance, the system terminal needs to establish a relay communication node to ensure that the communication between them can proceed normally. These relay nodes will serve as transfer points to help data be transmitted from the first communication device to the second communication device, thereby solving the communication problem caused by the long distance. After the relay communication node is established, the system terminal updates the first communication device serial network. This update process includes adding a new relay node to the network and reconfiguring the Bluetooth parameters of the relevant devices to ensure that they can communicate normally with the new node. Afterwards, based on the updated first communication device serial network, the system terminal performs the Bluetooth configuration test of the adjacent nodes again to find the best. The purpose of this test is to find the Bluetooth configuration parameters that can achieve the best communication performance under the new network topology to ensure that all devices can communicate efficiently and stably under the new network structure.

[0074] In summary, the high-reliability data transmission system based on industrial-grade Bluetooth technology provided by this application has the following technical effects:

[0075] The present application constructs a communication topology model of a preset communication device, and identifies a serial communication object based on the model to form a first communication device serial network. Subsequently, the communication distance between the first communication device and the second communication device, i.e., the first proximity, is calculated, and a data transmission sample between them is collected. Afterwards, according to the preset Bluetooth configuration constraints and the first proximity, the data transmission sample is configured and tested for optimization, and the optimal Bluetooth configuration parameters, i.e., the first optimization configuration, are obtained. Then, these configuration parameters are used to configure the hardware module of the communication device to ensure the reliability of data transmission. In addition, it also has the ability to handle many-to-one and one-to-many transmission modes, and a relay node is established when necessary through a relay communication module to support long-distance communication. It can also optimize communication segments according to real-time communication traffic, further improving the efficiency and stability of data transmission. These technical effects jointly solve the technical problem that high-reliability data transmission cannot be provided due to the complexity and variability of the communication environment and the device topology, and achieve the technical effect of automatically adapting to different communication environments and device layouts, optimizing Bluetooth configuration, and improving the stability and reliability of data transmission.

[0076] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

[0077] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application belong to the scope of the present application and its equivalent technology, the present application is also intended to include these modifications and variations.

Claims

1. A high-reliability data transmission system based on industrial-grade Bluetooth technology, characterized in that: The system comprises: A communication topology acquisition module, used to acquire a preset communication topology model of a plurality of preset communication devices in a target communication area; A serial communication object identification module, used to identify serial communication objects based on the preset communication topology model, and segment the preset communication topology model according to the identification result to obtain a first communication device serial network; a communication distance calculation module, configured to extract a first communication device and a second communication device according to the first communication device serial network, and perform communication distance calculation to obtain a first proximity distance, wherein the first communication device and the second communication device are communication devices located at adjacent nodes in the first communication device serial network; A data transmission sample collection module, used to collect first data transmission samples of the first communication device and the second communication device; A Bluetooth configuration optimization module, configured to perform a Bluetooth configuration test optimization on the first data transmission sample based on a preset Bluetooth configuration constraint and the first proximity distance to obtain a first optimization configuration; A Bluetooth hardware configuration module, configured to configure Bluetooth hardware modules of the first communication device and the second communication device according to the first optimal configuration, and to perform data transmission with the configured Bluetooth hardware modules; The Bluetooth configuration optimization module is also used for: Performing Bluetooth parameter configuration on the first communication device and the second communication device based on the preset Bluetooth configuration constraint to obtain a first Bluetooth configuration parameter set; Performing a transmission test on the first data transmission sample based on the first proximity distance and the first Bluetooth configuration parameter set to obtain a plurality of first test data sets; Identify data transmission loss based on the first test data set to obtain a plurality of first communication quality indicators; Determine whether the multiple first communication quality indicators are greater than a preset communication quality threshold, and if so, obtain optimal Bluetooth configuration parameters to generate the first optimal configuration; If the first communication quality indicator is less than the preset communication quality threshold, updating and optimizing the first Bluetooth configuration parameter set until the optimal Bluetooth configuration parameter is obtained; The Bluetooth configuration optimization module is also used for: Based on the preset communication topology model, a data transmission mode is identified for the first communication device serial network, where the data transmission mode includes one-to-one transmission, one-to-many transmission and many-to-one transmission; Performing pattern matching on communication devices located at adjacent nodes based on the data transmission pattern to obtain a matching pattern; If the matching mode is one-to-many transmission, obtaining a plurality of first proximity distances between the first communication device and a plurality of second communication devices; Based on the multiple first proximity distances, a Bluetooth configuration test is performed on the first communication device and the multiple second communication devices to optimize the first optimal configuration to obtain the first optimal configuration.

2. The system according to claim 1, characterized in that The Bluetooth configuration optimization module is also used for: Perform signal attenuation identification based on the first test data set to obtain a first attenuation index; Performing data transmission integrity identification based on the first test data set to obtain a first integrity indicator; Performing data transmission delay identification based on the first test data set to obtain a first delay indicator; The first attenuation indicator, the first integrity indicator, and the first delay indicator are combined to perform transmission loss analysis to generate the plurality of first communication quality indicators.

3. The system according to claim 1, characterized in that The Bluetooth configuration optimization module is also used for: If the matching mode is many-to-one transmission, obtaining a plurality of second proximity distances of a plurality of first communication devices and a plurality of second communication devices; Based on the multiple second proximity distances, a Bluetooth configuration test is performed on the multiple first communication devices and the second communication device to optimize the first optimized configuration to obtain.

4. The system according to claim 1, characterized in that The system further comprises a relay communication module, wherein the relay communication module is used for: Perform a maximum transmission distance test according to the preset Bluetooth configuration constraint, and if the first proximity is greater than the maximum transmission distance, establish a relay communication node for the first communication device and the second communication device; The first communication device serial network is updated based on the relay communication node, and the updated first communication device serial network is used to perform Bluetooth configuration test optimization of adjacent nodes.

5. The system according to claim 1, wherein: The communication topology acquisition module is also used for: Acquire historical communication records of the plurality of preset communication devices, and acquire a directly connected communication device group based on the historical communication records; Based on the direct communication device group, devices having a direct communication relationship are connected to construct the preset communication topology model.

6. The system according to claim 5, characterized in that The described invention is also used for: Marking the device communication priority of the direct communication device group; After data transmission is performed using the configured Bluetooth hardware module, real-time communication traffic of multiple preset communication devices within the target communication area is collected; Perform frequency band congestion identification based on the real-time communication traffic to obtain a communication congestion index; If the communication congestion index is greater than a preset congestion index, communication segment optimization is performed according to the device communication priority mark.

Citation Information

Patent Citations

  • Communication path selection method and device based on multiple Bluetooth networks

    CN117062180A