Multi-path data transmission method and system
By real-time detection and switching alternate paths, the problems of packet out of order and buffer blocking in traditional multi-path TCP when link congestion are solved, more efficient data transmission is achieved, and network stability and throughput are improved.
Patent Information
- Application Number
- CN202411446288.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-01-17
AI Technical Summary
Traditional multi-path TCP can easily lead to out-of-order packets and blockage of the receiver buffer when link congestion or timeout, and fail to effectively utilize multiple paths to improve network bandwidth and throughput performance.
By real-time detection of whether the main multipath data stream reaches saturation state, the MPTCP protocol is used to establish a multipath data stream, and the backup path is started for data transmission when it reaches saturation state, and the multipath transmission processor is used to cross-scatter the data on different paths. , multiple transmission paths are formed using different frequencies, polarization directions or beams.
It improves the stability, reliability and speed of the network, reduces the buffer blocking problem of receiving the side, enhances data throughput, and provides a better network experience.
Smart Images

Figure CN119324891A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of multipath data transmission, and in particular to a multipath data transmission method and system. Background Art
[0002] MultiPath Transmission Control Protocol (MPTCP) allows multiple sub-paths to be established in a transmission control protocol link. Any of the multiple sub-paths can be selected to send data.
[0003] Traditional transmission control protocol (TCP) adopts single-channel communication, which causes waste of resources. To this end, IETF specifically proposed multi-path TCP (MPTCP) to implement TCP multi-channel transmission, thereby improving link utilization and protocol robustness. With the rise of various Internet applications, especially P2P applications, users have an increasing demand for bandwidth. At the same time, broadband access technology has also achieved unprecedented development, especially wireless broadband access technology, such as WiFi, WiMAX, 3G, etc., which enables a user terminal to have multiple links to the target node at the same time. If the data stream is distributed to these multiple links in a resource sharing manner to increase the network bandwidth, this is the idea of multi-path TCP (MPTCP).
[0004] When using MPTCP to send data, different parts of the data packet will be transmitted in different sub-paths. In order to optimize the data transmission process, as one of the existing technologies, a polling scheduling method is used to allocate data packets. That is, for the data segment to be sent, the next path with a free sending window is selected from all currently available paths in the order of sub-paths from 1 to N as the path selection for this scheduling. However, the polling scheduling method does not consider the path transmission performance. When the link is congested and timeouts are serious, it is easy to cause problems such as packet disorder and buffer blockage.
[0005] Based on the form of the above access path, when the main path reaches saturation, the receiving end buffer is prone to blocking. That is, a backup path is proposed in which the main path is in working state and the backup path is not working, so as to improve the data throughput performance of the entire system and solve the receiving end buffer blocking problem.
[0006] Therefore, it is an urgent problem for those skilled in the art to propose a multi-path data transmission method and system to solve the difficulties existing in the prior art. Summary of the invention
[0007] In view of this, the present invention provides a multi-path data transmission method and system to improve the stability, reliability and speed of the network and provide users with a better network experience.
[0008] In order to achieve the above object, the present invention adopts the following technical solution:
[0009] A multi-path data transmission method comprises the following steps:
[0010] Establishing a multi-path data stream by acquiring multiple data paths, wherein the multi-path data stream includes a main multi-path data stream and multiple backup path data streams;
[0011] Based on the established multi-path data stream, data transmission is performed through a transmission protocol;
[0012] Real-time detection of whether the main multi-path data flow has reached a saturation state; when the multi-path data flow has reached a saturation state, the backup path data flow is started for data transmission.
[0013] The above method optionally uses a multi-path transmission processor to process the original data and then cross-disperse it to multiple different transmission paths for transmission, using different frequencies, polarization directions or beams to form multiple transmission paths, thereby establishing a multi-path data stream.
[0014] The above method optionally transmits data via the MPTCP transmission protocol.
[0015] The above method is optional, and the specific content of data transmission through the MPTCP transmission protocol is: obtaining the path parameter transmission status information of each TCP sub-path in the MPTCP connection; determining whether there is an abnormal transmission status node, and setting the abnormal transmission status node to a standby state.
[0016] In the above method, optionally, the path parameters include data capacity of the sending window, actual value of the forward transmission delay, packet loss rate and throughput.
[0017] In the above method, optionally, the abnormal transmission status node includes a node that has maintenance requirements or a node failure.
[0018] The above method may optionally determine whether the saturation state is reached through the working state of the main multi-path data flow.
[0019] A multi-path data transmission system, applying any one of the multi-path data transmission methods mentioned above, comprising: an establishment module, a first data transmission module, and a second data transmission module;
[0020] An establishing module, connected to the input end of the first data transmission module, for establishing a multi-path data stream by acquiring a plurality of one-path data, wherein the multi-path data stream includes a main multi-path data stream and a plurality of backup path data streams;
[0021] A first data transmission module, connected to an input end of a second data transmission module, and configured to perform data transmission through a transmission protocol based on the established multipath data stream;
[0022] The second data transmission module is used to detect in real time whether the main multi-path data flow has reached a saturation state; when the multi-path data flow has reached a saturation state, the backup path data flow is started for data transmission.
[0023] It can be seen from the above technical solutions that, compared with the prior art, the present invention provides a multi-path data transmission method and system, which has the following beneficial effects:
[0024] (1) The present invention flexibly transmits data on multiple paths, thereby improving the overall data transmission performance and reducing the problem of receiving end buffer blocking when multiple paths of data are transmitted simultaneously;
[0025] (2) The MPTCP protocol of the present invention allows parallel transmission of multiple paths, thereby improving the stability, reliability and speed of the network and providing users with a better network experience;
[0026] (3) The present invention detects in real time whether the main multi-path data flow has reached a saturation state. When the multi-path data flow has reached a saturation state, the backup path data flow is started for data transmission. On the basis of ensuring that the main multi-path data flow can transmit data normally, the backup multi-path data flow is increased to transmit data, thereby improving the data throughput of the entire system. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in 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 described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0028] Figure 1 A flow chart of a multi-path data transmission method provided by the present invention;
[0029] Figure 2 A structural block diagram of a multi-path data transmission system provided by the present invention. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0031] Reference Figure 1 As shown, the present invention discloses a multi-path data transmission method, comprising the following steps:
[0032] Establishing a multi-path data stream by acquiring multiple data paths, wherein the multi-path data stream includes a main multi-path data stream and multiple backup path data streams;
[0033] Based on the established multi-path data stream, data transmission is performed through a transmission protocol;
[0034] Real-time detection of whether the main multi-path data flow has reached a saturation state; when the multi-path data flow has reached a saturation state, the backup path data flow is started for data transmission.
[0035] Furthermore, after processing the original data on one path using a multi-path transmission processor, the data is cross-dispersed to multiple different transmission paths for transmission, and multiple transmission paths are formed using different frequencies, polarization directions or beams, thereby establishing a multi-path data stream.
[0036] Specifically, the multi-path transmission processor performs weighted addition on the original data, or rearranges the transmission order and repeats the processing. The data originally arranged in sequence is processed by the multi-path transmission processor, cross-dispersed to different paths and re-ordered for transmission. At the same time, the positive and negative signs of some data are changed or conjugate operations are performed to form multi-path data; the multi-path data will be transmitted on multiple different paths (different frequencies, polarization directions and beams).
[0037] Furthermore, data transmission is performed through the MPTCP transmission protocol.
[0038] Furthermore, the specific content of data transmission through the MPTCP transmission protocol is: obtaining the path parameter transmission status information of each TCP sub-path in the MPTCP connection; determining whether there is an abnormal transmission status node, and setting the abnormal transmission status node to a standby state.
[0039] Furthermore, the path parameters include the data capacity of the sending window, the actual value of the forward transmission delay, the packet loss rate and the throughput.
[0040] Furthermore, the abnormal transmission status node includes a node that needs maintenance or a node failure.
[0041] Furthermore, whether the saturation state is reached is determined by the working state of the main multipath data flow.
[0042] In a specific embodiment, the transport layer in the MPTCP protocol is located between the application layer and the network layer, and can be divided into two layers: MultiPath TCP and TCP. When working based on MPTCP, multiple TCP sub-paths are opened. The application layer passes the data to MPTCP. MPTCP segments the data, adds a control segment header to each segment, and then passes it to the appropriate TCP sub-path. If MPTCP uses the traditional TCP method to send data, some data packets will be in one sub-path and other data packets will be in another sub-path, causing intermediate devices such as firewalls to receive data packets with TCP sequence number jumps, resulting in problems such as data packet disorder and buffer blockage. Therefore, the present invention discloses a multi-path data transmission method, which includes the following steps:
[0043] (1) establishing a multi-path data stream by acquiring multiple data paths, wherein the multi-path data stream includes a main multi-path data stream and multiple backup path data streams;
[0044] The multi-path transmission processor performs weighted addition on the original data, or rearranges the transmission order and repeats the processing. The data originally arranged in sequence is processed by the multi-path transmission processor, cross-dispersed to different paths and re-ordered for transmission. At the same time, the positive and negative signs of some data are changed or conjugate operations are performed to form multi-path data; the multi-path data will be transmitted on multiple different paths (different frequencies, polarization directions and beams).
[0045] (2) Based on the established multi-path data stream, data transmission is performed through a transmission protocol;
[0046] Obtain the path parameter transmission status information of each TCP subpath in the MPTCP connection; determine whether there is an abnormal transmission status node, and set the abnormal transmission status node to a standby state.
[0047] Path parameters include the data capacity of the sending window, the actual value of the forward transmission delay, the packet loss rate and the throughput.
[0048] The specific contents of judging whether there is an abnormal transmission state node are as follows: obtaining the link utilization in the path, and distinguishing packet loss according to the relationship between the link utilization and the preset link congestion reference threshold;
[0049] Specifically: when the link utilization of the path is not less than the preset link congestion reference threshold, the packet loss is judged to be congestion packet loss; and when the link utilization of the path is less than the preset link congestion reference threshold, by sending a probe for evaluating the reliability of the path, based on whether a reply to the probe is received within a preset time, the packet loss is judged to be random packet loss or packet loss caused by link interruption.
[0050] The NR-SACK mechanism based on packet loss distinction is designed to retransmit the unconfirmed data on the interrupted link.
[0051] (3) Real-time detection of whether the primary multi-path data flow has reached saturation; when the multi-path data flow has reached saturation, the backup path data flow is started for data transmission;
[0052] There are many types of host access to storage servers, and the data transmission volume of different types is also different. For example, in one access operation, the corresponding data transmission volume will not cause the optimized path to reach saturation, that is, the data transmission volume is small; then only the optimized path transmission is needed, and there is no need to start the backup path transmission; in another access operation, the corresponding data transmission volume is large, which will cause the optimized path to reach saturation, that is, the data transmission volume is large; then only using the optimized path transmission will cause the transmission to be too slow, so it is necessary to start the backup path transmission. Whether the saturation state is reached can be determined by the working status of the optimized path.
[0053] and Figure 1 Corresponding to the method described above, the embodiment of the present invention further provides a multi-path data transmission system for Figure 1 The specific implementation of the method is shown in the following diagram: Figure 2 As shown, it specifically includes: an establishment module, a first data transmission module, and a second data transmission module;
[0054] An establishing module, connected to the input end of the first data transmission module, for establishing a multi-path data stream by acquiring a plurality of one-path data, wherein the multi-path data stream includes a main multi-path data stream and a plurality of backup path data streams;
[0055] A first data transmission module, connected to an input end of a second data transmission module, and configured to perform data transmission through a transmission protocol based on the established multipath data stream;
[0056] The second data transmission module is used to detect in real time whether the main multi-path data flow has reached a saturation state; when the multi-path data flow has reached a saturation state, the backup path data flow is started for data transmission.
[0057] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0058] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one 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 invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A multipath data transmission method, characterized in that: The following steps are involved: Establishing a multi-path data stream by acquiring multiple data paths, wherein the multi-path data stream includes a main multi-path data stream and multiple backup path data streams; Based on the established multi-path data stream, data transmission is performed through a transmission protocol; Real-time detection of whether the main multi-path data flow has reached saturation; When the multi-path data flow reaches a saturation state, the backup path data flow is started to perform data transmission.
2. A multi-path data transmission method according to claim 1, characterized in that: After processing the original data on one path using a multi-path transmission processor, the data is cross-dispersed to multiple different transmission paths for transmission. Multiple transmission paths are formed using different frequencies, polarization directions or beams, thereby establishing a multi-path data stream.
3. A multi-path data transmission method according to claim 1, characterized in that: Data is transmitted via the MPTCP transport protocol.
4. A multi-path data transmission method according to claim 3, characterized in that: The specific contents of data transmission through the MPTCP transmission protocol are: obtaining the path parameter transmission status information of each TCP sub-path in the MPTCP connection; determining whether there is an abnormal transmission status node, and setting the abnormal transmission status node to a standby state.
5. A multi-path data transmission method according to claim 4, characterized in that: Path parameters include the data capacity of the sending window, the actual value of the forward transmission delay, the packet loss rate and the throughput.
6. A multi-path data transmission method according to claim 4, characterized in that: Nodes in abnormal transmission status include nodes that require maintenance or have node failures.
7. A multi-path data transmission method according to claim 1, characterized in that: Whether the saturation state is reached is determined by the working state of the main multipath data flow.
8. A multi-path data transmission system, characterized in that: A multipath data transmission method according to any one of claims 1 to 7 is applied, comprising: an establishment module, a first data transmission module, and a second data transmission module; An establishing module, connected to the input end of the first data transmission module, for establishing a multi-path data stream by acquiring a plurality of one-path data, wherein the multi-path data stream includes a main multi-path data stream and a plurality of backup path data streams; A first data transmission module, connected to an input end of a second data transmission module, and configured to perform data transmission through a transmission protocol based on the established multipath data stream; The second data transmission module is used to detect in real time whether the main multi-path data flow has reached a saturation state; When the multi-path data flow reaches a saturation state, the backup path data flow is started to perform data transmission.
Citation Information
Patent Citations
Multi-path data transmission control method and device
CN106254429A
Multipath data transmission method
CN107682886A
On-satellite multi-path data transmission method
CN110429963A
Multi-path data transmission method and device
CN112019443A
Multi-path transmission real-time streaming media path management method based on congestion window
CN115134292A