Search

CN-122027549-A - Data transmission method, device, equipment, storage medium and product

CN122027549ACN 122027549 ACN122027549 ACN 122027549ACN-122027549-A

Abstract

The application provides a data transmission method, a data transmission device, data transmission equipment, a storage medium and a product. The method comprises the steps of obtaining path information of all network paths in a current network, wherein the path information represents network transmission efficiency and quality information corresponding to related network paths, the path information comprises throughput information, selecting the network path with the largest throughput in all network paths as a main path according to the path information, and other network paths as slave paths, determining transmission data quantity corresponding to the main path according to the size of a transmission window of the main path, calculating transmission data quantity corresponding to each slave path according to the path information of each slave path, and carrying out data transmission according to the transmission data quantity corresponding to the main path and the transmission data quantity corresponding to each slave path.

Inventors

  • Dong Linyang
  • YANG JIANQING
  • WANG XU
  • LIN JINGYU
  • WANG PANPAN

Assignees

  • 中移(杭州)信息技术有限公司
  • 中国移动通信集团有限公司

Dates

Publication Date
20260512
Application Date
20241112

Claims (15)

  1. 1. A data transmission method, comprising: Acquiring path information of all network paths in a current network, wherein the path information represents information of network transmission efficiency and quality corresponding to related network paths, and the path information comprises throughput information; according to the path information, selecting a network path with the highest throughput among all network paths as a main path, and other network paths as slave paths; Determining the transmission data quantity corresponding to the main path according to the size of the transmission window of the main path; calculating the corresponding transmission data quantity of each slave path according to the path information of each slave path; And carrying out data transmission through the main path and the auxiliary paths according to the transmission data quantity corresponding to the main path and the transmission data quantity corresponding to each auxiliary path.
  2. 2. The data transmission method according to claim 1, wherein before the obtaining path information of all network paths in the current network, the method further comprises: Determining the data quantity and the test duration of the test data packet; Repeatedly sending the test data packet on all network paths in the current network according to the test duration; and monitoring the transmission process of each test data packet on each network path to obtain path information corresponding to each network path.
  3. 3. The data transmission method according to claim 2, wherein before said repeatedly transmitting said test data packet on all network paths in the current network in accordance with said test duration, said method further comprises: And adjusting the sizes of the sending buffer areas and the receiving buffer areas of all network paths in the current network to be preset values.
  4. 4. The data transmission method according to claim 1, wherein the determining the transmission data amount corresponding to the main path according to the transmission window size of the main path includes: Determining the maximum transmission data quantity corresponding to the transmission window according to the size of the transmission window of the main path; and taking the maximum transmission data amount as the transmission data amount corresponding to the main path.
  5. 5. The data transmission method according to claim 1, wherein the calculating the transmission data amount corresponding to each of the slave paths based on the path information of each of the slave paths includes: Extracting the corresponding time delay and the size of a sending window of the slave path in the path information of each slave path; calculating the ratio of the time delay of each slave path to the time delay of the master path respectively; And respectively calculating the product of the size of the sending window of each slave path and the ratio to obtain the corresponding transmission data quantity of each slave path.
  6. 6. The data transmission method according to claim 1, wherein after the data transmission through the master path and the slave paths in accordance with the transmission data amount corresponding to the master path and the transmission data amount corresponding to the respective slave paths, the method further comprises: acquiring the network state of each slave path in the process of data transmission; under the condition that the network state of the slave path meets the preset increasing condition, updating the corresponding transmission data quantity of the slave path according to a preset increasing strategy; Under the condition that the network state of the slave path meets the preset reduction condition, updating the corresponding transmission data quantity of the slave path according to the preset reduction strategy; And carrying out data transmission according to the updated transmission data quantity of each slave path.
  7. 7. The data transmission method according to claim 6, wherein updating the transmission data amount of the corresponding slave path according to the preset addition policy in the case where the network state of the slave path satisfies the preset addition condition, comprises: Determining the current first transmission data quantity of the slave path under the condition that the network state of the slave path meets a preset increasing condition; calculating the sum of the first transmission data quantity and a preset increased data quantity to obtain a second transmission data quantity; and updating the transmission data quantity of the corresponding slave path according to the second transmission data.
  8. 8. The data transmission method according to claim 6, wherein updating the corresponding transmission data amount of the slave path according to the preset reduction policy in the case where the network state of the slave path satisfies the preset reduction condition, comprises: determining a current third transmission data amount of the slave path under the condition that the network state of the slave path meets a preset reduction condition; calculating the product of the third transmission data amount and a preset reduction ratio to obtain a fourth transmission data amount; Updating the transmission data amount of the corresponding slave path according to the fourth transmission data when the fourth transmission data amount is larger than a preset minimum value; And updating the corresponding transmission data amount of the slave path according to the preset minimum value under the condition that the fourth transmission data amount is smaller than or equal to the preset minimum value.
  9. 9. The data transmission method according to claim 1, wherein the data transmission through the master path and the slave paths according to the transmission data amount corresponding to the master path and the transmission data amount corresponding to the respective slave paths includes: According to the transmission data quantity corresponding to the main path and the transmission data quantity corresponding to each auxiliary path, converting the data to be transmitted into data packets; determining the sending priority of each data packet; distributing data packets to a master path and each slave path according to the transmission delay sizes corresponding to the master path and each slave path according to the transmission priority of each data packet; and transmitting corresponding data packets through the main path and the auxiliary path to carry out data transmission.
  10. 10. The data transmission method according to claim 9, wherein said determining the transmission priority of each of the data packets comprises: determining the sending priority of the retransmission data packet as the highest priority in the case of the retransmission data packet; And determining the transmission priority of other data packets.
  11. 11. The data transmission method according to any one of claims 1 to 10, characterized in that, after the data transmission through the master path and the slave paths in accordance with the transmission data amount corresponding to the master path and the transmission data amount corresponding to the respective slave paths, the method further comprises: in the process of data transmission, acquiring the main path and the network state corresponding to each auxiliary path; determining the throughput of the main path and the throughput of each slave path according to the network state; changing the slave path into a master path under the condition that the throughput of any slave path is higher than the throughput of the master path and the duration exceeds a preset threshold value; and carrying out data transmission through the changed main path and the changed auxiliary path.
  12. 12. A data transmission apparatus, the apparatus comprising: The acquisition module is used for acquiring path information of all network paths in the current network, wherein the path information represents information of network transmission efficiency and quality corresponding to related network paths, and the path information comprises throughput information; The selecting module is used for selecting a network path with the highest throughput in all network paths as a main path and other network paths as slave paths according to the path information; A determining module, configured to determine, according to a size of a transmission window of the main path, a transmission data amount corresponding to the main path; the calculation module is used for calculating the transmission data quantity corresponding to each slave path according to the path information of each slave path; And the transmission module is used for carrying out data transmission through the main path and the auxiliary paths according to the transmission data quantity corresponding to the main path and the transmission data quantity corresponding to each auxiliary path.
  13. 13. A data transmission device comprising a processor and a memory storing computer program instructions, the processor reading and executing the computer program instructions to implement a data transmission method as claimed in any one of claims 1 to 11.
  14. 14. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon computer program instructions, which when executed by a processor, implement a data transmission method according to any of claims 1-11.
  15. 15. A computer program product, characterized in that instructions in the computer program product, when executed by a processor of an electronic device, cause the electronic device to perform the data transmission method according to any of claims 1-11.

Description

Data transmission method, device, equipment, storage medium and product Technical Field The present application relates to the field of network engineering technologies, and in particular, to a data transmission method, apparatus, device, storage medium, and product. Background With the development of network communication, data throughput of a data center is increasing, and currently, the data center generally supports access through multiple paths, such as multiple private lines or public networks, so as to provide higher bandwidth and redundancy. The conventional transmission control protocol/internet protocol (Transmission Control Protocol/Internet Protocol, TCP/IP) protocol only supports single connection and single path data transmission, but cannot fully utilize multipath bandwidth resources, resulting in resource waste. In the prior art, a multipath transmission control protocol (MultiPath TCP, MPTCP) is often used, which is a network transport layer protocol that allows an application to send data simultaneously over multiple network paths to improve throughput and reliability. It extends over the traditional transmission control protocol/internet protocol (TCP/IP), allowing data to be transmitted in parallel over multiple paths. MPTCP aims to maximize resource utilization through resource allocation and traffic scheduling, but in the case of large network fluctuation and large difference between different paths, various problems occur in scheduling of multipath transmission control protocol, and the performance and stability of network transmission are poor. Disclosure of Invention The embodiment of the application provides a data transmission method, a device, equipment, a storage medium and a product, which can improve the performance and stability of network transmission. In a first aspect, the present application provides a data transmission method, including: Acquiring path information of all network paths in a current network, wherein the path information represents information of network transmission efficiency and quality corresponding to related network paths, and the path information comprises throughput information; according to the path information, selecting a network path with the highest throughput among all network paths as a main path, and other network paths as slave paths; Determining the transmission data quantity corresponding to the main path according to the size of the transmission window of the main path; calculating the corresponding transmission data quantity of each slave path according to the path information of each slave path; And carrying out data transmission through the main path and the auxiliary paths according to the transmission data quantity corresponding to the main path and the transmission data quantity corresponding to each auxiliary path. In some possible implementations, before the acquiring path information of all network paths in the current network, the method further includes: Determining the data quantity and the test duration of the test data packet; Repeatedly sending the test data packet on all network paths in the current network according to the test duration; and monitoring the transmission process of each test data packet on each network path to obtain path information corresponding to each network path. In some possible implementations, before the test data packet is repeatedly sent on all network paths in the current network according to the test duration, the method further includes: And adjusting the sizes of the sending buffer areas and the receiving buffer areas of all network paths in the current network to be preset values. In some possible implementations, the determining, according to the size of the transmission window of the main path, the transmission data amount corresponding to the main path includes: Determining the maximum transmission data quantity corresponding to the transmission window according to the size of the transmission window of the main path; and taking the maximum transmission data amount as the transmission data amount corresponding to the main path. In some possible implementations, the calculating, according to the path information of each of the slave paths, the transmission data amount corresponding to each of the slave paths includes: Extracting the corresponding time delay and the size of a sending window of the slave path in the path information of each slave path; calculating the ratio of the time delay of each slave path to the time delay of the master path respectively; And respectively calculating the product of the size of the sending window of each slave path and the ratio to obtain the corresponding transmission data quantity of each slave path. In some possible implementations, after the data transmission is performed through the master path and the slave paths according to the transmission data amount corresponding to the master path and the transmission data amount corresponding to each of the