A method and apparatus for multi-link data transmission

CN123020683APending Publication Date: 2026-10-30BONCHREE (SHANGHAI) COMMUNICATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611477649.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-22
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0004]本发明的目的在于提出了一种多链路数据传输方法及装置,旨在解决现有单一频段、单一通信链路进行数据传输的技术局限问题

Benefits of technology

配置数据传输设备中的一条链路作为默认主链路,数据传输设备中其余链路则自动设定为从链路,形成“一主多从”的冗余通信架构。当设备需要发送数据时,将待发送的数据包复制多份,并分别缓存至主链路及各从链路对应的数据包队列中。正常情况下,数据优先通过主链路进行发送;若主链路成功完成数据包的空中传输并收到确认应答,则系统会同步释放所有从链路队列中对应的冗余数据副本,避免资源浪费。反之,若主链路因信道拥塞、干扰或信号质量恶化等原因导致发送失败,系统将立即触发备用机制,选择一条可用的从链路重新发送该数据包,从而保障数据传输的连续性与完整性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123020683A_ABST
    Figure CN123020683A_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a kind of multi-link data transmission method and device, method includes: obtaining the state information of each wireless link of data transmission equipment, and select main link and slave link in the wireless link of the data transmission equipment based on the state information;Copy the data to be sent, obtain copy data, and the copy data is buffered to the data packet queue of main link and the data packet queue of slave link respectively;Copy data is transmitted based on the data packet queue of main link, and the transmission result of main link is obtained;If the transmission result of main link represents that copy data is completed transmission, then clear copy data in the data packet queue of slave link;If the transmission result of main link represents that copy data is not completed transmission, then select standby link in the slave link based on the state information, and copy data is transmitted based on the data packet queue of standby link.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data transmission technology, and in particular to a multi-link data transmission method and apparatus. Background Technology

[0002] With the continuous advancement of the intelligent manufacturing industry, the levels of industrial automation, digitalization, and intelligence are constantly improving, placing higher demands on the underlying communication infrastructure. Against this backdrop, highly stable and reliable industrial wireless communication technologies have become a pressing core need for many key industries, including high-end manufacturing, energy and power, rail transportation, and smart factories. Ensuring the stable, continuous, and low-latency transmission of critical data in complex electromagnetic environments is one of the key elements supporting the efficient operation of the entire intelligent manufacturing system.

[0003] However, currently deployed industrial wireless devices generally suffer from the technical limitation of relying on a single frequency band and a single communication link for data transmission. This single-link architecture is highly susceptible to packet loss or retransmission failure when encountering situations such as increased channel interference, signal attenuation, or sudden blockage, leading to the interruption of the entire communication link or a significant performance degradation, which seriously affects the real-time performance and reliability of industrial control systems. Summary of the Invention

[0004] The purpose of this invention is to propose a multi-link data transmission method and apparatus, which aims to solve the technical limitations of existing single-frequency band and single-communication link data transmission.

[0005] To achieve one, some, or all of the above objectives, or other objectives, this invention proposes a multi-link data transmission method, the method comprising: The status information of each wireless link of the data transmission device is acquired at a preset period, and the primary link and the secondary link are selected from the wireless links of the data transmission device based on the status information. The data to be sent is copied to obtain copied data, and the copied data is cached in the data packet queue of the main link and the data packet queue of the slave link respectively; The replicated data is transmitted based on the main link's data packet queue to obtain the main link's transmission result; If the transmission result of the main link indicates that the copied data has been successfully transmitted, then the copied data in the data packet queue of the secondary link is cleared. If the transmission result of the primary link indicates that the replicated data has not been transmitted, then a backup link is selected from the secondary links based on the status information, and the replicated data is transmitted based on the data packet queue of the backup link.

[0006] Optionally, the step of selecting the primary link and the secondary link in the wireless link of the data transmission device based on the status information includes: Based on at least one of the following in the status information—total number of data packets sent, transmission success rate, and channel idle / busy time percentage—the comprehensive communication quality data of each wireless link of the data transmission device is calculated, and the wireless links are sorted according to the comprehensive communication quality data to obtain the sorting result. Based on the sorting results, the primary link and the secondary link are selected in the wireless links of the data transmission device.

[0007] Optionally, the step of selecting the primary link and the secondary link in the wireless link of the data transmission device based on the status information further includes: Obtain the device type of the data transmission device; When the device type of the data transmission device is a mobile device, the received signal strength indication data of the data transmission device is obtained, and the primary link and the secondary link are selected in the wireless link of the data transmission device based on the status information and the received signal strength indication data.

[0008] Optionally, the step of selecting the primary link and the secondary link in the wireless link of the data transmission device based on the status information and the received signal strength indication data includes: In the wireless links of the data transmission device, a wireless link whose received signal strength indication data is greater than a first preset threshold is selected as a candidate link; Based on the status information, the primary link and the secondary link are selected from the candidate links.

[0009] Optionally, the method further includes: Obtain the air interface resource usage data and transmission success rate of the main link within a preset time period; When the air interface resource usage data does not meet the resource threshold requirements and / or the transmission success rate does not meet the transmission requirements, a backup link is selected from the slave links based on the status information, and the copied data is transmitted based on the data packet queue of the backup link.

[0010] Optionally, the method further includes: If the transmission result of the main link indicates that the replicated data has not been transmitted, obtain the termination node of the main link's data packet queue when transmitting the replicated data, and use the termination node as the starting node of the backup link's data packet queue when transmitting the replicated data, so as to transmit the replicated data based on the backup link's data packet queue.

[0011] On the other hand, this application provides a multi-link data transmission apparatus, the apparatus comprising: The selection module is used to acquire the status information of each wireless link of the data transmission device at a preset period, and select the primary link and the secondary link of the wireless link of the data transmission device based on the status information. The distribution module is used to copy the data to be sent, obtain the copied data, and cache the copied data in the data packet queue of the main link and the data packet queue of the slave link respectively. The first transmission module is used to transmit the replicated data based on the data packet queue of the main link, and obtain the transmission result of the main link; The cleaning module is used to clear the copied data from the data packet queue of the secondary link if the transmission result of the primary link indicates that the copied data has been successfully transmitted. The second transmission module is used to select a backup link from the slave links based on the status information if the transmission result of the main link indicates that the copied data has not been transmitted, and to transmit the copied data based on the data packet queue of the backup link.

[0012] Thirdly, this application provides an electronic device, including: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, the steps of the multi-link data transmission method described above are performed.

[0013] Fourthly, this application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the multi-link data transmission method described above.

[0014] The embodiments of the present invention have the following beneficial effects: One link in the data transmission equipment is configured as the default primary link, while the remaining links are automatically designated as secondary links, forming a redundant "one-primary-multiple-slave" communication architecture. When the device needs to send data, it copies the data packet to be sent multiple times and buffers it in the data packet queues corresponding to the primary link and each secondary link. Under normal circumstances, data is sent preferentially through the primary link. If the primary link successfully completes the over-the-air transmission of the data packet and receives an acknowledgment, the system will simultaneously release the corresponding redundant data copies in all secondary link queues to avoid resource waste. Conversely, if the primary link fails to transmit due to channel congestion, interference, or signal quality deterioration, the system will immediately trigger a backup mechanism, selecting an available secondary link to retransmit the data packet, thereby ensuring the continuity and integrity of data transmission. Attached Figure Description

[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] in: Figure 1 This is a flowchart of a multi-link data transmission method provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of a multi-link data transmission device provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of a storage medium provided in an embodiment of this application. Detailed Implementation

[0017] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limiting purposes, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details.

[0018] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0019] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0020] The term "if" as used in this application specification and appended claims may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [described condition or event] is detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once [described condition or event] is detected," or "in response to detection of [described condition or event]."

[0021] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0022] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0023] like Figure 1 As shown, this invention proposes a multi-link data transmission method, the method comprising: S101. Obtain the status information of each wireless link of the data transmission device according to a preset period, and select the master link and slave link in the wireless links of the data transmission device based on the status information; S102. Copy the data to be sent to obtain copied data, and cache the copied data in the data packet queue of the main link and the data packet queue of the slave link respectively. S103. The replicated data is transmitted based on the main link's data packet queue to obtain the main link's transmission result; S104. If the transmission result of the main link indicates that the copied data has been successfully transmitted, then the copied data in the data packet queue of the secondary link is cleared. S105. If the transmission result of the main link indicates that the replicated data has not been transmitted, then a backup link is selected from the slave links based on the status information, and the replicated data is transmitted based on the data packet queue of the backup link.

[0024] In one possible implementation, the step of selecting the primary link and the secondary link based on the state information in the wireless link of the data transmission device includes: Based on at least one of the following in the status information—total number of data packets sent, transmission success rate, and channel idle / busy time percentage—the comprehensive communication quality data of each wireless link of the data transmission device is calculated, and the wireless links are sorted according to the comprehensive communication quality data to obtain the sorting result. Based on the sorting results, the primary link and the secondary link are selected in the wireless links of the data transmission device.

[0025] For example, the primary link is responsible for performing the initial transmission, while the secondary link queue remains in standby mode. Only after a primary link transmission failure is detected by the system will the scheduling module trigger a secondary link to perform a retransmission. To prevent the receiving end from receiving duplicate data packets due to concurrent transmission from multiple links, this scheme strictly limits retransmission to only one secondary link at a time, ensuring the uniqueness and order of data packets. Once any link (whether the primary link or the triggered secondary link) successfully completes data transmission, the wireless transmission module will release all corresponding data copies in the primary and secondary link queues to avoid memory leaks and resource redundancy.

[0026] In one possible implementation, the step of selecting the primary link and the secondary link in the wireless link of the data transmission device based on the state information further includes: Obtain the device type of the data transmission device; When the device type of the data transmission device is a mobile device, the received signal strength indication data of the data transmission device is obtained, and the primary link and the secondary link are selected in the wireless link of the data transmission device based on the status information and the received signal strength indication data.

[0027] In one possible implementation, the step of selecting a primary link and a secondary link in the wireless link of the data transmission device based on the status information and the received signal strength indication data includes: In the wireless links of the data transmission device, a wireless link whose received signal strength indication data is greater than a first preset threshold is selected as a candidate link; Based on the status information, the primary link and the secondary link are selected from the candidate links.

[0028] For example, when the RSSI value of the primary link remains below a preset threshold T, it indicates that the current signal quality of the primary link can no longer meet the requirements for reliable communication. At this time, the wireless packet transceiver statistics module will actively trigger a link reselection process, scanning all available links and selecting the link with the highest RSSI value as the new primary link. Simultaneously, if the RSSI value of a secondary link falls below another lower threshold L, the system will determine that the link is currently unreliable. It will not only suspend the allocation of new data packets to it but also initiate a channel scan and access point reselection process for that link, attempting to connect to an access device with a stronger signal to rebuild a high-quality communication path.

[0029] Specifically, once the RSSI value of a slave link falls below the threshold L, newly generated data packets will no longer be copied to the transmission queue of that link when entering the wireless module, thus reducing unnecessary transmission overhead. Furthermore, when the system detects that the RSSI values ​​of all available links (including the current master link and all slave links) are below the threshold L, indicating severe degradation of the entire link signal quality, the device will immediately initiate a full-channel scanning mechanism to comprehensively search for all potential available access points in the environment. Based on multiple dimensions such as signal strength and channel load, a completely new set of communication links will be established. During this process, the system will prioritize selecting the link with the optimal RSSI and the least interference as the new master link, while the remaining links that meet basic communication conditions will be configured as slave links. This effectively avoids the risk of complete data transmission interruption due to the failure of the entire link, greatly improving the system's survivability and robustness in extreme environments.

[0030] Understandably, the main link switching threshold T, slave link disabling threshold L, statistical period, queue management strategy, etc., all support custom configuration according to the actual needs of specific industrial application scenarios. For example, in high-interference workshops, the T value can be appropriately reduced to speed up the main link switching response; in high-speed mobile scenarios, the statistical period can be shortened to improve link adaptability. This highly configurable design enables this solution to flexibly adapt to diverse industrial wireless communication environments with different interference intensities, different mobility requirements, and different reliability levels, providing a solid, reliable, and intelligent underlying connection guarantee for intelligent manufacturing.

[0031] In one possible implementation, the method further includes: Obtain the air interface resource usage data and transmission success rate of the main link within a preset time period; When the air interface resource usage data does not meet the resource threshold requirements and / or the transmission success rate does not meet the transmission requirements, a backup link is selected from the slave links based on the status information, and the copied data is transmitted based on the data packet queue of the backup link.

[0032] For example, the system continuously monitors the air interface resource usage of the main link. If statistics show that the busy percentage of the channel where the main link is located remains high over a period of time, and the data transmission success rate drops significantly, the system will automatically evaluate the communication quality of other slave links and select the best-performing slave link to upgrade to the main link, thus achieving intelligent switching and optimization of the main link.

[0033] In one possible implementation, the method further includes: If the transmission result of the main link indicates that the replicated data has not been transmitted, obtain the termination node of the main link's data packet queue when transmitting the replicated data, and use the termination node as the starting node of the backup link's data packet queue when transmitting the replicated data, so as to transmit the replicated data based on the backup link's data packet queue.

[0034] In one possible implementation, such as Figure 2 As shown, this application provides a multi-link data transmission apparatus, the apparatus comprising: Selection module 201 is used to acquire the status information of each wireless link of the data transmission device at a preset period, and select the master link and slave link of the wireless links of the data transmission device based on the status information. The distribution module 202 is used to copy the data to be sent, obtain the copied data, and cache the copied data in the data packet queue of the main link and the data packet queue of the slave link respectively. The first transmission module 203 is used to transmit the copied data based on the data packet queue of the main link to obtain the transmission result of the main link; The cleaning module 204 is used to clear the copied data from the data packet queue of the secondary link if the transmission result of the primary link indicates that the copied data has been successfully transmitted. The second transmission module 205 is used to select a backup link from the slave links based on the status information if the transmission result of the main link indicates that the copied data has not been transmitted, and to transmit the copied data based on the data packet queue of the backup link.

[0035] In one possible implementation, such as Figure 3 As shown, this application provides an electronic device 300, including: a memory 310, a processor 320, and a computer program 311 stored in the memory 310 and executable on the processor 320. When the processor 320 executes the computer program 311, it implements: The status information of each wireless link of the data transmission device is acquired at a preset period, and the primary link and the secondary link are selected from the wireless links of the data transmission device based on the status information. The data to be sent is copied to obtain copied data, and the copied data is cached in the data packet queue of the main link and the data packet queue of the slave link respectively; The replicated data is transmitted based on the main link's data packet queue to obtain the main link's transmission result; If the transmission result of the main link indicates that the copied data has been successfully transmitted, then the copied data in the data packet queue of the secondary link is cleared. If the transmission result of the primary link indicates that the replicated data has not been transmitted, then a backup link is selected from the secondary links based on the status information, and the replicated data is transmitted based on the data packet queue of the backup link.

[0036] In one possible implementation, such as Figure 4 As shown, this application embodiment provides a computer-readable storage medium 400, on which a computer program 411 is stored, which, when executed by a processor, implements: The status information of each wireless link of the data transmission device is acquired at a preset period, and the primary link and the secondary link are selected from the wireless links of the data transmission device based on the status information. The data to be sent is copied to obtain copied data, and the copied data is cached in the data packet queue of the main link and the data packet queue of the slave link respectively; The replicated data is transmitted based on the main link's data packet queue to obtain the main link's transmission result; If the transmission result of the main link indicates that the copied data has been successfully transmitted, then the copied data in the data packet queue of the secondary link is cleared. If the transmission result of the primary link indicates that the replicated data has not been transmitted, then a backup link is selected from the secondary links based on the status information, and the replicated data is transmitted based on the data packet queue of the backup link.

[0037] It will be understood by those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby allowing them to be stored in a storage device for execution by a computing device, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0038] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

[0039] The above-disclosed embodiments are merely preferred embodiments of the present invention and should not be construed as limiting the scope of the present invention. Therefore, any equivalent variations made in accordance with the claims of the present invention are still within the scope of the present invention.

Claims

1. A multi-link data transmission method, characterized in that, The methods include: The status information of each wireless link of the data transmission device is acquired at a preset period, and the primary link and the secondary link are selected from the wireless links of the data transmission device based on the status information. The data to be sent is copied to obtain copied data, and the copied data is cached in the data packet queue of the main link and the data packet queue of the slave link respectively; The replicated data is transmitted based on the main link's data packet queue to obtain the main link's transmission result; If the transmission result of the main link indicates that the copied data has been successfully transmitted, then the copied data in the data packet queue of the secondary link is cleared. If the transmission result of the primary link indicates that the replicated data has not been transmitted, then a backup link is selected from the secondary links based on the status information, and the replicated data is transmitted based on the data packet queue of the backup link.

2. The multi-link data transmission method according to claim 1, characterized in that, The step of selecting the primary link and the secondary link in the wireless link of the data transmission device based on the status information includes: Based on at least one of the following in the status information—total number of data packets sent, transmission success rate, and channel idle / busy time percentage—the comprehensive communication quality data of each wireless link of the data transmission device is calculated, and the wireless links are sorted according to the comprehensive communication quality data to obtain the sorting result. Based on the sorting results, the primary link and the secondary link are selected in the wireless links of the data transmission device.

3. The multi-link data transmission method according to claim 1, characterized in that, The step of selecting the primary link and the secondary link in the wireless link of the data transmission device based on the status information further includes: Obtain the device type of the data transmission device; When the device type of the data transmission device is a mobile device, the received signal strength indication data of the data transmission device is obtained, and the primary link and the secondary link are selected in the wireless link of the data transmission device based on the status information and the received signal strength indication data.

4. The multi-link data transmission method according to claim 3, characterized in that, The step of selecting the primary link and the secondary link in the wireless link of the data transmission device based on the status information and the received signal strength indication data includes: In the wireless links of the data transmission device, a wireless link whose received signal strength indication data is greater than a first preset threshold is selected as a candidate link; Based on the status information, the primary link and the secondary link are selected from the candidate links.

5. The multi-link data transmission method according to claim 1, characterized in that, The method further includes: Obtain the air interface resource usage data and transmission success rate of the main link within a preset time period; When the air interface resource usage data does not meet the resource threshold requirements and / or the transmission success rate does not meet the transmission requirements, a backup link is selected from the slave links based on the status information, and the copied data is transmitted based on the data packet queue of the backup link.

6. The multi-link data transmission method according to claim 1, characterized in that, The method further includes: If the transmission result of the main link indicates that the replicated data has not been transmitted, obtain the termination node of the main link's data packet queue when transmitting the replicated data, and use the termination node as the starting node of the backup link's data packet queue when transmitting the replicated data, so as to transmit the replicated data based on the backup link's data packet queue.

7. A multi-link data transmission device, characterized in that, The device includes: The selection module is used to acquire the status information of each wireless link of the data transmission device at a preset period, and select the primary link and the secondary link of the wireless link of the data transmission device based on the status information. The distribution module is used to copy the data to be sent, obtain the copied data, and cache the copied data in the data packet queue of the main link and the data packet queue of the slave link respectively. The first transmission module is used to transmit the replicated data based on the data packet queue of the main link, and obtain the transmission result of the main link; The cleaning module is used to clear the copied data from the data packet queue of the secondary link if the transmission result of the primary link indicates that the copied data has been successfully transmitted. The second transmission module is used to select a backup link from the slave links based on the status information if the transmission result of the main link indicates that the copied data has not been transmitted, and to transmit the copied data based on the data packet queue of the backup link.

8. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, they perform the steps of the multi-link data transmission method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the multi-link data transmission method as described in any one of claims 1 to 6.