Data packet transmission link selection method and device, electronic equipment and medium

By building a multi-dimensional link evaluation system, dynamically selecting transmission queues, and giving priority to using links with better network environments to transmit data packets, the problem of high packet loss rate in single path or multi-path polling transmission is solved, and the reliability and efficiency of data transmission is improved.

CN120499077APending Publication Date: 2025-08-15CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510582647.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-07
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

During data transmission, when a single path or multi-path polling transmission is easily affected by the network environment, it leads to high packet loss rate, low retransmission efficiency, lack of intelligent scheduling, neglecting the influence of transmission rate, resulting in poor data transmission effect.

Method used

By monitoring the packet loss rate, transmission rate and network jitter of multiple transmission links, a multi-dimensional link evaluation system is built, a transmission queue is dynamically selected, and a priority is given to the use of links with a better network environment to transmit data packets, ensuring priority transmission of key data packets, and rational use of network resources.

Benefits of technology

It effectively alleviates the problem of high packet loss rate, improves the reliability and efficiency of data transmission, ensures priority transmission of key data packets, makes full use of network bandwidth resources, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120499077A_ABST
    Figure CN120499077A_ABST
Patent Text Reader

Abstract

The invention provides a data packet transmission link selection method and device, electronic equipment and a medium, and relates to the technical field of network security, and the method comprises the steps: determining a target data packet needing to be sent to a receiving end; determining a network environment parameter corresponding to each transmission link according to a plurality of indexes representing the network environment of a plurality of transmission links between the transmission links and the receiving end; sorting the plurality of transmission links according to the network environment parameter corresponding to each transmission link to obtain a transmission queue; and selecting a transmission link from the plurality of transmission links according to the transmission queue, and transmitting the target data packet to the receiving end by using the selected transmission link. According to the embodiment of the invention, the network environment of a plurality of transmission links can be considered, and the transmission link is selected from the plurality of transmission links for data packet transmission, so that the problem of high packet loss caused by single-path transmission or multi-path polling transmission is relieved, and the data transmission effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security technology, and in particular to a method, device, electronic device and medium for selecting a data packet transmission link. Background Art

[0002] During data transmission, a single TCP (Transmission Control Protocol) connection is typically established between the receiver and sender. Data packets are transmitted over a single path between the two. However, when the network environment on this path is poor, packet loss between the client and server can be significant. Alternatively, multiple transmission links are used between the receiver and sender, utilizing a load balancing strategy, known as round-robin scheduling, for packet transmission. The transmission of data packets over this link is affected by the network environment. If the network environment of the transmission link is poor, data packets on that link can be lost, impacting data transmission. Summary of the Invention

[0003] The present invention provides a data packet transmission link selection method, device, electronic device and medium, which can consider the network environment of multiple transmission links and select a transmission link from multiple transmission links for data packet transmission, thereby alleviating the high packet loss problem caused by single-path transmission or multi-path polling transmission and improving data transmission effect.

[0004] In a first aspect, an embodiment of the present invention provides a method for selecting a data packet transmission link, comprising:

[0005] Determine the target data packet that needs to be sent to the receiving end;

[0006] Determining a network environment parameter corresponding to each transmission link based on multiple indicators representing the network environment of multiple transmission links between the receiving end and the receiving end;

[0007] Sort multiple transmission links according to the network environment parameters corresponding to each transmission link to obtain a transmission queue;

[0008] According to the transmission queue, a transmission link is selected from a plurality of transmission links, and the target data packet is transmitted to the receiving end using the selected transmission link.

[0009] The above method can determine the network environment parameters corresponding to each transmission link based on multiple indicators of the network environment of multiple transmission links, and use the network environment parameters of multiple transmission links to select a transmission link from multiple transmission links for data packet transmission, thereby alleviating the high packet loss problem caused by single-path transmission or multi-path polling transmission, and improving data transmission effect.

[0010] In one possible implementation, the multiple indicators of the network environment of each transmission link include: packet loss rate, transmission rate, and network jitter;

[0011] Determining a network environment parameter corresponding to each transmission link based on multiple indicators representing the network environment of multiple transmission links between the receiving end and the receiving end includes:

[0012] The network environment parameters corresponding to each transmission link are determined based on the packet loss rate of each transmission link and the weight corresponding to the packet loss rate, the transmission rate and the weight corresponding to the transmission rate, the network jitter and the weight corresponding to the network jitter.

[0013] The above method can use packet loss rate, transmission rate, and network jitter to determine the network environment of the transmission link. It not only considers the packet loss rate, but also comprehensively considers indicators such as transmission rate and network jitter to build a multi-dimensional link evaluation system to more comprehensively evaluate link quality.

[0014] In one possible implementation, selecting a transmission link from a plurality of transmission links according to the transmission queue, and transmitting the target data packet to the receiving end using the selected transmission link includes:

[0015] selecting a transmission link from a plurality of transmission links according to the order of the transmission queue; transmitting the target data packet to the receiving end by using the selected transmission link;

[0016] When it is determined that the target data packet has not been delivered to the receiving end, further selecting a transmission link from the plurality of transmission links according to the order of the transmission queue;

[0017] If it is determined that the target data packet is delivered to the receiving end, stop selecting the transmission link; or, if a preset number of transmission links have been selected from the transmission queue, stop selecting the transmission link, and predict the reference transmission link of the target data packet based on the historical information of the multiple transmission links, and use the reference transmission link to transmit the target data packet.

[0018] The above method can use the network comprehensive conditions in order from good to bad to transmit the target data packet until the target data packet is transmitted to the receiving end, or use the network comprehensive conditions and historical transmission conditions to comprehensively select the transmission link to transmit the target data packet, thereby ensuring that the target data packet can be successfully transmitted to the receiving end and improving the effect of data packet transmission.

[0019] In one possible implementation, determining a target data packet to be sent to a receiving end includes:

[0020] If data packet loss is detected, the detected data packet is determined to be the target data packet;

[0021] If the untransmitted data packet is a key data packet, the key data packet is determined to be the target data packet.

[0022] The above method can adopt a dynamic transmission scheme for retransmitted data packets or key data packets to ensure that the data packets can be transmitted successfully. Compared with traditional fixed paths or simple load balancing strategies, it can more efficiently utilize network resources and improve the quality and effect of data transmission.

[0023] In one possible implementation, the method further includes:

[0024] When it is determined that the untransmitted data packet is a non-critical data packet, a transmission link is selected from the remaining transmission links in the transmission queue, and the non-critical data packet is transmitted using the selected transmission link; wherein the remaining transmission links are the transmission links in the transmission queue excluding the transmission link that transmits the critical data packet.

[0025] The above method can use the transmission link with better network environment to transmit key data packets and use other transmission links to transmit non-key data packets, which can ensure the transmission effect of key data packets and make full use of bandwidth resources.

[0026] In a possible implementation, the untransmitted data packet is determined to be a critical data packet by:

[0027] If the scenario in which the untransmitted data packet exists is a preset scenario, and / or the data type of the untransmitted data packet is a preset type, the untransmitted data packet is determined to be a key data packet.

[0028] The above method classifies data packets according to whether they are critical or not according to the scenarios and / or data types, so that data packets of special scenarios and / or special data types are transmitted first, thereby improving the user experience.

[0029] In one possible implementation, after sorting multiple transmission links according to the network environment parameter corresponding to each transmission link to obtain a transmission queue, the method further includes:

[0030] If the packet loss rate of the transmission link in the transmission queue exceeds a first threshold, and / or the transmission rate does not exceed a second threshold, the transmission link is deleted from the transmission queue.

[0031] The above method can eliminate transmission links with prominent network problems such as excessively high packet loss rates and / or low transmission rates, preventing them from transmitting data packets, and avoiding transmission failures caused by prominent network problems discovered during transmission.

[0032] In a second aspect, an embodiment of the present invention provides a device for selecting a data packet transmission link, comprising:

[0033] A determination module is used to determine the target data packet that needs to be sent to the receiving end;

[0034] a sorting module, configured to determine a network environment parameter corresponding to each transmission link based on multiple indicators representing the network environment of the multiple transmission links between the receiving end and the receiving end; and sort the multiple transmission links based on the network environment parameter corresponding to each transmission link to obtain a transmission queue;

[0035] The selection module is configured to select a transmission link from a plurality of transmission links according to the transmission queue, and transmit the target data packet to the receiving end by using the selected transmission link.

[0036] In a third aspect, an embodiment of the present invention provides an electronic device, including:

[0037] processor;

[0038] The processor is configured to execute the computer program or instructions in the memory so that the data packet transmission link selection method as described in any one of the first aspects is executed.

[0039] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which, when instructions in the storage medium are executed by a processor, enables the processor to execute the data packet transmission link selection method as described in any one of the first aspects.

[0040] In a fifth aspect, an embodiment of the present invention provides a computer program product, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the data packet transmission link selection method as described in any one of the first aspects.

[0041] In addition, the technical effects brought about by any implementation method in the second to fifth aspects can refer to the technical effects brought about by different implementation methods in the first aspect, and will not be repeated here.

[0042] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 A schematic diagram of a device of a service system provided by an embodiment of the present invention;

[0044] Figure 2 A schematic diagram of data packet transmission provided by an embodiment of the present invention;

[0045] Figure 3 A schematic diagram of a flow chart of a method for selecting a data packet transmission link provided by an embodiment of the present invention;

[0046] Figure 4 A schematic diagram of establishing multiple parallel transmission links between a client and an edge node provided in an embodiment of the present invention;

[0047] Figure 5 A flowchart of a method for transmitting a target data packet according to a transmission queue provided by an embodiment of the present invention;

[0048] Figure 6 A flowchart of another method for transmitting a target data packet according to a transmission queue provided by an embodiment of the present invention;

[0049] Figure 7 A flowchart of a data packet transmission method provided by an embodiment of the present invention;

[0050] Figure 8 A flowchart of another data packet transmission method provided by an embodiment of the present invention;

[0051] Figure 9 A structural diagram of a data packet transmission link selection device provided by an embodiment of the present invention;

[0052] Figure 10 A schematic diagram of a data packet transmission link selection provided by an embodiment of the present invention;

[0053] Figure 11 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0054] To make the objectives, technical solutions, and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings. It is apparent that the embodiments described are only some, not all, of the present invention. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without creative effort are intended to fall within the scope of protection of the present invention.

[0055] In the description of the embodiments of the present application, unless otherwise specified, in the description of the embodiments of the present application, "plurality" refers to two or more than two.

[0056] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0057] Glossary:

[0058] SRV6 TE Policy (Segment Routing IPv6 Traffic Engineering Policy): This is the primary operating mode of SRv6 (Segment Routing IPv6). It encapsulates an ordered list of instructions (path information) at the head node to guide packet flow. It is primarily used to implement traffic engineering, improve network quality, and meet end-to-end service requirements. Combined with SDN, it enables service-driven networking.

[0059] SDN (Software Defined Network) is a way to implement network virtualization. Its core technology separates the control plane from the data plane of network devices, thereby achieving flexible control of network traffic and making the network more intelligent.

[0060] Source node: It is the starting point for sending original data packets in the network and can also serve as the receiving end in two-way communication.

[0061] SC (Service Classifier): Located at the edge of the SRV6 SFC (Software Defined Forwarding Control) service chain network, it is the source node of the service chain path. SC can use different traffic diversion methods to direct service data into the SRV6 TE Policy tunnel for forwarding.

[0062] SPA (Single Packet Authorization): A network security technology used to hide service ports and prevent unauthorized access.

[0063] SD-WAN: Software-defined WAN, which manages WAN connections in a software-defined manner and optimizes network performance.

[0064] QUIC protocol: Quick UDP Internet Connections, a UDP-based transport layer protocol that supports multiplexing and fast retransmission.

[0065] Packet loss rate: The ratio of data packets lost during network transmission to the total number of data packets sent.

[0066] Transmission rate: The amount of data successfully transmitted per unit time, usually measured in Mbps or Gbps, is one of the important indicators for measuring link performance.

[0067] Network jitter refers to the deviation between the time interval between a data packet reaching the receiving end and the expected time interval. This fluctuation can lead to increased latency and packet loss, especially affecting applications with high real-time requirements.

[0068] Combine Figure 1 As shown, an embodiment of the present invention provides a service system, which includes multiple clients 1~n, multiple edge nodes 1~m, and multiple target servers 1~i. The clients 1~n are connected to the edge nodes 1~m respectively, and each edge node is connected to the target server 1~i. The function of the client is to initiate a data transmission request, establish a connection with the edge node, and send a data packet to the edge node. The client can be a personal computer, smart phone, server or other device with network communication capabilities. That is, the client is a terminal used by the user, and the user can make a service request through the client. The client's

[0069] Edge nodes function as relay nodes for data transmission, receiving data packets from clients and forwarding them to the target server. Edge nodes can be routers, switches, or other network devices.

[0070] The function of the target server is a business processing device that receives data packets from edge nodes, processes the business in the data packets, obtains business processing results, and sends the business processing results to the client.

[0071] For example, combined Figure 1 As shown, a user uses client n, which is connected to edge node m. Edge node m is connected to multiple target servers 1-i. The user uploads their service request through client n. After receiving the service request, client n sends it to edge node m. For example, target server 2 is responsible for processing the service type of the service request. Edge node m forwards the service request to target server 2 based on the service type. Target server 2 processes the service request, obtains the service request result, and feeds the service request result back to edge node m. Edge node m sends the service request result to client n, and client n displays the service request result feedback to the user.

[0072] The above system can be applied in many fields such as the Internet, Internet of Things, cloud computing, Internet of Vehicles, AR (Augmented Reality) / VR (Virtual Reality), finance, medical health, etc.

[0073] However, combined Figure 2 As shown, a single TCP connection is established between the client and the edge node, and data packets are transmitted over a single path between the client and the edge node. Alternatively, multiple transmission links are established between the client and the edge node, and a load balancing strategy, namely round-robin scheduling, is used for data packet transmission. However, in a highly loaded network environment, the following problems still exist:

[0074] 1. High packet loss rate: Some links may have a high packet loss rate due to network congestion or other reasons, affecting the reliability of data transmission.

[0075] 2. Low retransmission efficiency: When packet loss occurs, traditional retransmission mechanisms often choose the same link for retransmission, which easily falls into a vicious cycle and further exacerbates the packet loss problem.

[0076] 3. Lack of intelligent scheduling: The transmission strategy cannot be dynamically adjusted according to the real-time link status, resulting in the inability of key data packets to be transmitted preferentially through low-packet-loss links.

[0077] 4. Ignoring the impact of transmission rate: In existing technologies, simply focusing on packet loss rate may lead to ignoring the importance of transmission rate, thereby affecting overall network performance.

[0078] Based on this, an embodiment of the present invention provides a data packet transmission link selection method, device, electronic device and medium, which can consider the network environment of multiple transmission links and select a transmission link from multiple transmission links for data packet transmission, thereby alleviating the high packet loss problem caused by single-path transmission or multi-path polling transmission, and improving data transmission effect.

[0079] The present invention is described in detail below with reference to the accompanying drawings:

[0080] Combine Figure 3 As shown, an embodiment of the present invention provides a method for selecting a data packet transmission link, which is applied to a transmitting end and includes:

[0081] S310: Determine the target data packet to be sent to the receiving end.

[0082] S320: Determine a network environment parameter corresponding to each transmission link based on multiple indicators representing the network environment of multiple transmission links between the receiving end and the receiving end;

[0083] S330: Sort the multiple transmission links according to the network environment parameters corresponding to each transmission link to obtain a transmission queue;

[0084] S340: Select a transmission link from a plurality of transmission links according to the transmission queue, and transmit the target data packet to the receiving end using the selected transmission link.

[0085] Among them, multiple indicators may include packet loss rate, transmission rate, network jitter, etc.

[0086] Shaped like Figure 1As shown, the sending end can be a client and the receiving end can be an edge node. In addition to the above functions, the client and the edge node can establish multiple concurrent QUIC connections and monitor the network status of multiple QUIC links in real time. At the same time, in addition to the above functions, the edge node is also responsible for collecting link status information of multiple QUIC links between the client and the edge node and feeding it back to the client.

[0087] For the packet loss rate, the edge node monitors the number of received data packets and the identification of the received data packets, and transmits the monitored information to the client. The client finds the total number of data packets it has sent based on the identification of the received data packets sent by the edge node, and calculates the quotient of the number of received data packets fed back by the edge node divided by the total number of data packets it has sent to the edge node, which is the packet loss rate.

[0088] For the transmission rate, the edge node monitors the time it takes for the data packet to reach itself and the number of data packets received, and transmits the monitored information to the client. The client determines the total duration of the data packet transmission based on the initial time of the data packet it sends and the time the data packet is received as monitored by the edge node. The transmission rate is determined based on the total duration of the data packet transmission and the number of data packets received as monitored by the edge node.

[0089] To address network jitter, edge nodes monitor the time it takes for data packets to arrive at their own locations and send this monitored information to the client. The client determines the total duration of data packet transmission based on the initial time of the sent data packet and the time it receives the data packet as monitored by the edge node. The deviation between the total data packet transmission duration and the expected time interval is the network jitter.

[0090] It should be noted that the methods for determining the packet loss rate, transmission rate, and network jitter described in the embodiments of the present invention are exemplary only, and the packet loss rate, transmission rate, and network jitter may also be determined through other solutions.

[0091] For example, multiple parallel transmission links based on the QUIC protocol are established between the client n and the edge node m, combined with Figure 4 As shown, five transmission links based on the QUIC protocol are established between the client n and the edge node m, namely the first transmission link LINK_1, the second transmission link LINK_2, the third transmission link LINK_3, the fourth transmission link LINK_4, and the fifth transmission link LINK_5.

[0092] In the present invention, client n determines a target data packet to be sent to a receiving end, determines metrics for the first through fifth transmission links, determines network environment parameters for the first through fifth transmission links based on the metrics for the first through fifth transmission links, and determines transmission queues for the first through fifth transmission links, e.g., the first, third, fifth, second, and fourth transmission links, based on the network environment parameters for the first through fifth transmission links. Client n may select the first transmission link to transmit the target data packet to edge node m.

[0093] The present invention can determine the network environment parameters corresponding to each transmission link based on multiple indicators of the network environment of multiple transmission links, and use the network environment parameters of multiple transmission links to select a transmission link from the multiple transmission links for data packet transmission. Compared with the problem of high packet loss caused by not considering the network environment when transmitting data packets through a single path or multi-path polling, the present invention considers the network environment parameters of multiple transmission links to select a transmission link, thereby improving the data transmission effect.

[0094] In some embodiments, step 320 includes determining the network environment parameters corresponding to each transmission link based on multiple indicators representing the network environment of multiple transmission links between the receiving end and the receiving end. The implementation method includes:

[0095] The network environment parameters corresponding to each transmission link are determined based on the packet loss rate of each transmission link and the weight corresponding to the packet loss rate, the transmission rate and the weight corresponding to the transmission rate, the network jitter and the weight corresponding to the network jitter.

[0096] For example, every second, the client collects the packet loss rate and transmission rate data of each link. The sliding window algorithm is used to smooth the packet loss rate and transmission rate data to obtain the average packet loss rate and average transmission rate of multiple transmission links:

[0097]

[0098] Among them, AverageLossRate(t) and AverageThroughput(t) are the average packet loss rate and average transmission rate at time t, respectively, and w is the sliding window size.

[0099] The network environment parameters of the transmission link are determined by the following formula:

[0100]

[0101] Where w1, w2, and w3 are weight parameters, representing the weights of the packet loss rate, the inverse of the transmission rate, and network jitter, respectively. LossRate(p,t) is the packet loss rate of the p-th transmission link at time t; Throughput(p,t) is the transmission rate of the p-th transmission link at time t; and Jitter(p,t) is the network jitter of the p-th transmission link at time t.

[0102] Q(p,t) is the product of the packet loss rate of the p-th transmission link at time t and the weight corresponding to the packet loss rate, the product of the inverse of the transmission rate of the p-th transmission link at time t and the weight corresponding to the transmission rate, and the product of the network jitter of the p-th transmission link at time t and the weight corresponding to the network jitter. The sum of the above three products serves as the network environment parameter of the p-th transmission link.

[0103] Exemplarily, when there are 5 transmission links between the client and the edge node, the network environment parameters of the first to fifth transmission links are calculated in sequence according to the above formula. When the network environment parameter of the first transmission link < the network environment parameter of the third transmission link < the network environment parameter of the fifth transmission link < the network environment parameter of the second transmission link < the network environment parameter of the fourth transmission link, the first to fifth transmission links are sorted in ascending order of the network environment parameters, and the resulting transmission queues are the first transmission link, the third transmission link, the fifth transmission link, the second transmission link, and the fourth transmission link.

[0104] In some embodiments, if a packet loss rate of a transmission link in the transmission queue exceeds a first threshold and / or a transmission rate does not exceed a second threshold, the transmission link is deleted from the transmission queue.

[0105] Exemplarily, the transmission queues are the first transmission link, the third transmission link, the fifth transmission link, the second transmission link, and the fourth transmission link. When it is detected that the packet loss rate of the fifth transmission link exceeds a first threshold, the fifth transmission link is removed from the transmission queue, and the transmission queue after removal becomes the first transmission link, the third transmission link, the second transmission link, and the fourth transmission link. Alternatively, when it is detected that the transmission rate of the fifth transmission link does not exceed a second threshold, the fifth transmission link is removed from the transmission queue. Alternatively, when it is detected that the transmission rate of the fifth transmission link does not exceed the second threshold and the packet loss rate exceeds the first threshold, the fifth transmission link is removed from the transmission queue.

[0106] In some embodiments, in step 340, selecting a transmission link from a plurality of transmission links according to the transmission queue and transmitting the target data packet to the receiving end using the selected transmission link is implemented as follows:

[0107] Method 1: Select one transmission link from multiple transmission links according to the order of the transmission queue; transmit the target data packet to the receiving end using the selected transmission link;

[0108] When it is determined that the target data packet has not been delivered to the receiving end, another transmission link is selected from the multiple transmission links according to the order of the transmission queue;

[0109] If it is determined that the target data packet is delivered to the receiving end, the selection of the transmission link is stopped.

[0110] In detail, combined Figure 5 Shown, including:

[0111] S510: Selecting a transmission link from unselected transmission links of the plurality of transmission links according to the order of the transmission queue; and transmitting the target data packet to the receiving end using the selected transmission link;

[0112] S520: Determine whether the target data packet is successfully delivered to the receiving end; if yes, end; otherwise, execute S510.

[0113] Specifically, the first transmission link is selected as follows:

[0114]

[0115] Among them, BestPath(t) is the minimum network environment parameter of multiple transmission links.

[0116] For example, if the transmission queues are the first transmission link, the third transmission link, the fifth transmission link, the second transmission link, and the fourth transmission link, and the network environment parameters of the first transmission link are the smallest, the first transmission link is used to transmit the target data packet to the receiving end. If the receiving end receives the target data packet, it will feedback to the client that the target data packet has been received. After receiving this information, the client will determine that the target data packet has been successfully received, indicating that the target data packet has not been lost, and then it can continue to transmit other data packets. If the receiving end does not receive the target data packet, it will feedback to the client that the target data packet has not been received. After receiving this message, the client will determine that the target data packet has been lost, and will continue to select a transmission link from the transmission queue, for example, the third transmission link, and use the third transmission link to transmit the target data packet to the receiving end. If the receiving end receives it, the process ends. If the receiving end does not receive it, the client will continue to select the fifth transmission link according to the order in the transmission queue and use the fifth transmission link to output the target data packet. This process continues in this order until the receiving end receives the target data packet.

[0117] Method 2: Select one transmission link from multiple transmission links according to the order of the transmission queue; transmit the target data packet to the receiving end using the selected transmission link;

[0118] When it is determined that the target data packet has not been delivered to the receiving end, another transmission link is selected from the multiple transmission links according to the order of the transmission queue;

[0119] If a preset number of transmission links have been selected from the transmission queue, the selection of transmission links is stopped, and a reference transmission link of the target data packet is predicted based on historical information of multiple transmission links, and the target data packet is transmitted using the reference transmission link.

[0120] In detail, combined with Figure 6 Shown, including:

[0121] S610: Selecting a transmission link from unselected transmission links of the plurality of transmission links according to the order of the transmission queue; transmitting the target data packet to the receiving end using the selected transmission link;

[0122] S620: Determine whether the target data packet is successfully delivered to the receiving end; if yes, then end; otherwise, execute S630;

[0123] S630: Determine whether the number of selections exceeds a preset number. If yes, execute S640; otherwise, execute S610;

[0124] S640: Predict a reference transmission link for the target data packet based on historical information of the multiple transmission links, and transmit the target data packet using the reference transmission link.

[0125] For example, the transmission queues are the first transmission link, the third transmission link, the fifth transmission link, the second transmission link, and the fourth transmission link. If the network environment parameters of the first transmission link are the smallest, the first transmission link is used to transmit the target data packet to the receiving end. If the receiving end receives the target data packet, it will feedback to the client that the target data packet has been received. After receiving the information, the client determines that the target data packet has been successfully received, indicating that the target data packet has not been lost, and then other data packets can continue to be transmitted. If the receiving end does not receive the target data packet, it will feedback to the client that the target data packet has not been received. After receiving the message, the client determines that the target data packet is lost, and continues to select a transmission link from the transmission queue, for example, the third transmission link, and uses the third transmission link to transmit the target data packet to the receiving end. If the receiving end receives it, it ends. If the receiving end does not receive it, the client continues to select the fifth transmission link according to the order in the transmission queue, and uses the fifth transmission link to output the target data packet. When the preset number is 1, then when the first transmission link fails to transmit the target data packet, there is no need to select a transmission link according to the transmission queue, but determine a reference transmission link, and directly use the reference transmission link to transmit the target data packet; when the preset number is 2, then when the third transmission link fails to transmit the target data packet to the receiving end, there is no need to select the fifth transmission link according to the transmission queue, but determine the parameter transmission link. If the reference transmission link is the second transmission link, then the target data packet is directly transmitted according to the second transmission link.

[0126] A specific implementation of predicting a reference transmission link of a target data packet based on historical information of multiple transmission links includes:

[0127] The time at which the target data packet is located is used to obtain the most transmission links among the transmission links used for successful data packet transmission in the historical time period corresponding to the time period.

[0128] Specifically, each day is divided into multiple time periods, and the transmission links that successfully transmitted packets during each time period are recorded. When calculating the current reference transmission link, the time period in which the data was transmitted is extracted from the recorded information, and the most used transmission link within that time period is found.

[0129] Taking the period from 8:10 to 8:12 in the morning as an example, with a time interval of 1 minute, the record table is as follows:

[0130]

[0131]

[0132] When the time of the current reference transmission link is calculated to be 8:10:30, the time period is 8:10 to 8:11. The transmission link with the most successful times is the fifth transmission link, so the reference transmission link can be the fifth transmission link.

[0133] Another specific implementation of predicting a reference transmission link of a target data packet based on historical information of multiple transmission links includes:

[0134] A feature vector is formed by including some or all of the following features: time, transmission link index, the transmission link with the most successful times in the time period to which the time belongs, and the number of successes. The feature vector is input into the prediction model, and the model outputs the reference transmission link.

[0135] Transmission link indicators include the packet loss rate, transmission rate, and network jitter of the transmission link.

[0136] When using a prediction model, a data set can be used to train the prediction model.

[0137] Specifically, during each training step, a sample from the training set is input into the prediction model to obtain a reference transmission link. The actual reference link corresponding to this sample is then compared with the reference transmission link to modify the prediction model parameters. Each sample in the training set contains a feature vector composed of some or all of the following: time, transmission link indicator, the transmission link with the most successful transmissions during the time period, and the number of successful transmissions.

[0138] In some embodiments, the specific implementation of step 310 of determining the target data packet to be sent to the receiving end is:

[0139] If data packet loss is detected, the detected data packet is determined to be the target data packet;

[0140] If the untransmitted data packet is a key data packet, the key data packet is determined as the target data packet; wherein the key data packet is determined according to the service type of the untransmitted data packet.

[0141] Based on the above, the present invention provides two implementation methods. One is to use existing technology to transmit data packets. When data packet loss is detected, the present invention is used to compensate for packet loss. The other is to determine whether the data packet is a critical data packet. If so, the present invention is used to perform packet loss transmission.

[0142] In detail, combined with Figure 7 As shown, an embodiment of the present invention provides a data packet transmission method, including:

[0143] S710: Determine a transmission link according to the polling logic, and send the data packet to the receiving end using the transmission link;

[0144] Specifically, the transmission link may be determined according to the simple polling logic described above, and the data packet may be sent to the receiving end using the transmission link.

[0145] S720: Determine whether the receiving end successfully receives the data packet. If yes, the process ends. Otherwise, execute S730:

[0146] In detail, when the receiving end successfully receives the data packet, the data packet ends the transmission process. When the receiving end does not successfully receive the data packet, it means that the data packet is lost during the transmission process. Then, the method provided by the present invention can be continued to be used, such as steps 730 to 770 to re-transmit the data packet.

[0147] S730: Determine a network environment parameter corresponding to each transmission link based on multiple indicators of the network environment of the multiple transmission links;

[0148] S740: Sort the multiple transmission links according to the network environment parameters corresponding to each transmission link to obtain a transmission queue;

[0149] S750: Select a transmission link from the multiple transmission links according to the order of the transmission queue; and transmit the data packet to the receiving end using the selected transmission link;

[0150] S760: When it is determined that the data packet has not been delivered to the receiving end, another transmission link is selected from the multiple transmission links according to the order of the transmission queue;

[0151] S770: If it is determined that the data packet is delivered to the receiving end, stop selecting the transmission link.

[0152] For steps 730 to 770, please refer to the introduction of the above content.

[0153] Combine Figure 7 As shown in the figure, multiple concurrent QUIC connections must first be established between the sender and receiver to form multiple transmission links. Metrics of these multiple transmission links, such as packet loss rate, transmission rate, and network jitter, are monitored. When packet loss is detected, the multiple transmission links are sorted according to their metrics to form a transmission queue, and retransmission is performed according to the transmission queue.

[0154] Before retransmission, the packet loss rate and transmission rate of all transmission links need to be monitored. When the packet loss rate of all transmission links exceeds the first threshold and the transmission rate is lower than the second threshold, the backup link is used to retransmit the data packet, or retransmission is performed after the network conditions improve.

[0155] During the retransmission process, if the packet loss rate of the selected transmission link is monitored to exceed the packet loss threshold, the transmission link will be temporarily stopped for data transmission, and the backup link will be tried to retransmit the data packet.

[0156]

[0157] UsePath(p,t) is the usage of the p-th transmission link at time t. If the packet loss rate of the p-th transmission link at time t exceeds T, it is stopped and other transmission links are used to transmit data packets.

[0158] Alternatively, if a preset number of transmission links have been selected from the transmission queue, the selection of transmission links is stopped, and a reference transmission link of the data packet is predicted based on historical information of multiple transmission links, and the data packet is transmitted using the reference transmission link.

[0159] Among them, the data packets are divided into key data packets and non-key data packets. For the key data packets, the scheme provided by the present invention is used to select the transmission link during the transmission process, and the transmission link is used to transmit the key data packets to the receiving end. Figure 8 As shown, an embodiment of the present invention provides another data packet transmission method, including:

[0160] S810: Determine whether the untransmitted data packet is a critical data packet according to the service type of the untransmitted data packet; if so, execute S820; otherwise, execute S870;

[0161] Different service types can be classified, and untransmitted data packets can be identified as critical data packets in the following ways:

[0162] If the scenario in which the untransmitted data packet exists is a preset scenario, and / or the data type of the untransmitted data packet is a preset type, the untransmitted data packet is determined to be a key data packet.

[0163] Specifically, if the scenario of the untransmitted data packet is a preset scenario, the untransmitted data packet is determined to be a critical data packet. Alternatively, if the scenario of the untransmitted data packet is a preset scenario and the data type of the untransmitted data packet is a preset type, the untransmitted data packet is determined to be a critical data packet. Alternatively, if the data type of the untransmitted data packet is a preset type, the untransmitted data packet is determined to be a critical data packet.

[0164] For example, the preset scene is a meeting scene, and the preset type is an audio type. In the meeting scene, audio data packets are more important than video data packets. Therefore, the audio data packets can be divided into key data packets, and the video data packets can be divided into non-key data packets.

[0165] For example, when in a live broadcast scenario and a short message communication scenario, the live broadcast scenario requires higher real-time performance, while the short message application scenario requires lower real-time performance. The data packets of the live broadcast scenario can be determined as key data packets, while the data packets of the short message application scenario are non-key data packets.

[0166] S820: Determine a network environment parameter corresponding to each transmission link based on multiple indicators of the network environment of the multiple transmission links;

[0167] S830: Sort the multiple transmission links according to the network environment parameters corresponding to each transmission link to obtain a transmission queue;

[0168] S840: Selecting a transmission link from the plurality of transmission links according to the order of the transmission queue; and transmitting the key data packet to the receiving end using the selected transmission link;

[0169] S850: When it is determined that the key data packet has not been delivered to the receiving end, another transmission link is selected from the multiple transmission links according to the order of the transmission queue;

[0170] S860: If it is determined that the critical data packet is delivered to the receiving end, stop selecting the transmission link.

[0171] Step 860 can also be implemented in the following manner: if a preset number of transmission links have been selected from the transmission queue, stop selecting the transmission link, and predict the reference transmission link of the data packet based on the historical information of multiple transmission links, and use the reference transmission link to transmit the key data packet.

[0172] For steps 820 to 860, please refer to the introduction of the above content.

[0173] S870: Select a transmission link from the remaining transmission links in the transmission queue, and use the selected transmission link to transmit the non-critical data packet; wherein the remaining transmission links are the transmission links in the transmission queue excluding the transmission link transmitting the critical data packet.

[0174] Specifically, when a data packet is a critical data packet, the optimal transmission link can be used to transmit the critical data packet, and non-critical data packets can be allocated to other transmission links for transmission to fully utilize broadband resources.

[0175] Right now

[0176] Among them, AssignPacket(p k ) is the data packet p k Assign a transmission path, if the data packet p kIf it is critical (critical data packet), the optimal transmission link is used. If it is otherwise, other transmission links (OtherPaths(t)) are allocated for transmission.

[0177] For example, when multiple data packets are received at the same time, the multiple data packets are divided into critical data packets and non-critical data. For example, the transmission queues are the first transmission link, the third transmission link, the fifth transmission link, the second transmission link, and the fourth transmission link. The critical data packets are transmitted using the first transmission link. If unsuccessful, the third transmission link is used to continue to transmit the critical data packets. If the transmission is successful, the fifth transmission link is used to transmit the non-critical data packets.

[0178] The embodiment of the present invention has the following beneficial effects through the above solution:

[0179] Improve data transmission quality and efficiency: By monitoring the packet loss rate and transmission rate of each link in real time, we can promptly identify and address links with high packet loss or low transmission rates, and dynamically adjust transmission links to ensure that critical data packets are preferentially transmitted over links with the best overall performance. This prevents repeated retransmissions over links with high packet loss or low transmission rates.

[0180] Improve retransmission efficiency: Predict transmission links based on historical information of multiple transmission links to further improve the stability and reliability of data transmission.

[0181] Enhance the intelligence level of the system: By combining parameters such as packet loss rate, transmission rate, and network jitter to determine network environment parameters, and using historical information from multiple transmission links to select a transmission link for data packet transmission, the system's intelligence level and adaptability can be further enhanced, making it more stable and reliable in complex network environments.

[0182] Wide applicability: It is applicable to a variety of application scenarios, such as financial transactions, telemedicine, online education, etc., and has a wide range of applicability.

[0183] Easy to integrate and maintain: Based on the existing SD-WAN and QUIC protocols, the present invention can be easily integrated into the existing network architecture without the need for large-scale transformation of existing equipment.

[0184] Through the above technical points and their corresponding beneficial effects, the present invention can significantly improve the quality and efficiency of data transmission in a complex network environment, and has important economic and social value.

[0185] like Figure 9 As shown, the present invention also provides a data packet transmission link selection device, comprising:

[0186] A determination module 910 is used to determine a target data packet to be sent to a receiving end;

[0187] a sorting module 920 configured to determine, based on multiple indicators representing the network environment of multiple transmission links between the receiving end and the receiving end, a network environment parameter corresponding to each transmission link; and sort the multiple transmission links based on the network environment parameter corresponding to each transmission link to obtain a transmission queue;

[0188] The selection module 930 is configured to select a transmission link from a plurality of transmission links according to the transmission queue, and transmit the target data packet to the receiving end by using the selected transmission link.

[0189] Optionally, the multiple indicators of the network environment of each transmission link include: packet loss rate, transmission rate and network jitter;

[0190] The sorting module 920 is specifically configured to:

[0191] The network environment parameters corresponding to each transmission link are determined based on the packet loss rate of each transmission link and the weight corresponding to the packet loss rate, the transmission rate and the weight corresponding to the transmission rate, the network jitter and the weight corresponding to the network jitter.

[0192] Optionally, the selection module 930 is specifically configured to:

[0193] selecting a transmission link from a plurality of transmission links according to the order of the transmission queue; transmitting the target data packet to the receiving end by using the selected transmission link;

[0194] When it is determined that the target data packet has not been delivered to the receiving end, further selecting a transmission link from the plurality of transmission links according to the order of the transmission queue;

[0195] If it is determined that the target data packet is delivered to the receiving end, stop selecting the transmission link; or, if a preset number of transmission links have been selected from the transmission queue, stop selecting the transmission link, and predict the reference transmission link of the target data packet based on the historical information of the multiple transmission links, and use the reference transmission link to transmit the target data packet.

[0196] Optionally, the determination module 910 is specifically configured to:

[0197] If data packet loss is detected, the detected data packet is determined to be the target data packet;

[0198] If the untransmitted data packet is a key data packet, the key data packet is determined to be the target data packet.

[0199] Optionally, the selection module 930 is further configured to:

[0200] When it is determined that the untransmitted data packet is a non-critical data packet, a transmission link is selected from the remaining transmission links in the transmission queue, and the non-critical data packet is transmitted using the selected transmission link; wherein the remaining transmission links are the transmission links in the transmission queue excluding the transmission link that transmits the critical data packet.

[0201] Optionally, the determination module 910 is further configured to:

[0202] If the scenario in which the untransmitted data packet exists is a preset scenario, and / or the data type of the untransmitted data packet is a preset type, the untransmitted data packet is determined to be a key data packet.

[0203] Optionally, the selection module 930 is further configured to:

[0204] If the packet loss rate of the transmission link in the transmission queue exceeds a first threshold, and / or the transmission rate does not exceed a second threshold, the transmission link is deleted from the transmission queue.

[0205] In addition to the embodiment of the present invention Figure 9 In addition to the device modules given, the device can also be divided into different modules. For example, the data packet transmission link selection device includes: a monitoring module and a scheduling module;

[0206] The monitoring module is used to monitor the indicators of multiple transmission links between the receiving end and the sending end in real time, and transmit the indicators of multiple transmission links to the scheduling module. The monitoring module can be integrated in the client or edge node.

[0207] The scheduling module is used to transmit target data packets according to the indicators of multiple transmission links; the specific implementation method is referenced Figures 1 to 9 The packet transmission link selection method shown in FIG. The scheduling module can be integrated in the client or edge node.

[0208] In the process of work, combined Figure 10As shown, the user initiates a data transmission request to client n, and client n (i.e., the sending end) establishes a communication connection with edge node m (i.e., the receiving end) through multiple concurrent QUIC connections. The edge node receives the client request and establishes multiple transmission links through QUIC to support efficient data transmission. The transmission link indicators include packet loss rate, transmission rate, network jitter, etc. The monitoring module 1010 collects the packet loss rate, transmission rate, network jitter and other indicators in real time and sends them to the scheduling module 1020. The scheduling module 1020 receives the indicators of multiple transmission links, selects a transmission link based on the indicators of the multiple transmission links, and notifies the selected transmission link to the client n. The client n uses the transmission link to transmit the data packet. When the data packet is a critical data packet, the client n can use the optimal transmission link to transmit the critical data packet. For non-critical data packets, other transmission links are allocated for transmission to fully utilize broadband resources. The edge node forwards the data packet to the target server and provides real-time feedback of the link status information to the monitoring module 1010. The monitoring module 1010 sends the indicators to the scheduling module 1020. After determining that a preset number of transmission links have been selected, the scheduling module 1020 predicts a reference transmission link for the data packet based on the historical information of the multiple transmission links and uses the reference transmission link to transmit the data packet. Of course, the specific implementation method can refer to the content of the above method.

[0209] In addition, combined Figures 1-10 The data packet transmission link selection method and apparatus described in the embodiments of the present invention may be implemented by an electronic device.

[0210] Electronic devices, including: processors;

[0211] a memory for storing instructions executable by the processor;

[0212] The processor is configured to execute the instructions to implement the data packet transmission link selection method as described in any one of the above descriptions.

[0213] Based on the above introduction, for example, Figure 11 electronic equipment structure.

[0214] The electronic device may include a processor 1110 and a memory 1120 storing computer program instructions.

[0215] Specifically, the processor 1110 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present invention.

[0216] Memory 1120 may include a large capacity memory for data or instructions. By way of example and not limitation, memory 1120 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 1120 may include removable or non-removable (or fixed) media. Where appropriate, memory 1120 may be inside or outside the data processing device. In a specific embodiment, memory 1120 is a non-volatile solid-state memory. In a specific embodiment, memory 1120 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0217] The processor 1110 reads and executes computer program instructions stored in the memory 1120 to implement any one of the methods for performing tasks in the above embodiments.

[0218] In one example, the electronic device may further include a communication interface 1130 and a bus 1140. Figure 11 As shown, the processor 1110 , the memory 1120 , and the communication interface 1130 are connected via a bus 1140 and communicate with each other.

[0219] The communication interface 1130 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present invention.

[0220] Bus 1140 comprises hardware, software or both, couples the parts of electronic equipment to each other.For example, and not limitation, bus can comprise accelerated graphics port (AGP) or other graphics bus, enhanced industry standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industry standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations.In suitable cases, bus 1140 can comprise one or more buses.Although the embodiment of the present invention describes and shows specific bus, the present invention considers any suitable bus or interconnection.

[0221] The electronic device can execute the data packet transmission link selection method in the embodiment of the present invention based on the received task, thereby realizing the combination Figures 1-10 The invention describes a method and device for selecting a data packet transmission link.

[0222] The software architecture of the electronic device provided by the embodiment of the present invention mainly includes the following parts:

[0223] QUIC protocol stack: used to establish multiple concurrent QUIC connections, supporting multiplexing and fast retransmission.

[0224] Monitoring module: responsible for real-time monitoring of the status of each link (such as packet loss rate, delay, jitter, transmission rate, etc.).

[0225] Scheduling module: Dynamically adjusts the data packet transmission path based on link status information and selects the optimal path for retransmission.

[0226] Adaptive packet loss compensation module: predicts a reference transmission link of the target data packet according to historical information of the multiple transmission links, and transmits the target data packet using the reference transmission link.

[0227] In addition, in combination with the electronic device in the above embodiments, an embodiment of the present invention may provide a storage medium, which, when the instructions in the storage medium are executed by the processor of the electronic device, enables the electronic device to execute the data packet transmission link selection method as described in any one of the above items.

[0228] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0229] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0230] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0231] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0232] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.

Claims

1. A method for selecting a data packet transmission link, characterized in that: Applied to the sending end, including: Determine the target data packet that needs to be sent to the receiving end; Determining a network environment parameter corresponding to each transmission link based on multiple indicators representing the network environment of multiple transmission links between the receiving end and the receiving end; Sort multiple transmission links according to the network environment parameters corresponding to each transmission link to obtain a transmission queue; According to the transmission queue, a transmission link is selected from a plurality of transmission links, and the target data packet is transmitted to the receiving end using the selected transmission link.

2. The method for selecting a data packet transmission link according to claim 1, wherein: in, Multiple indicators of the network environment of each transmission link include: packet loss rate, transmission rate and network jitter; Determining a network environment parameter corresponding to each transmission link based on multiple indicators representing the network environment of multiple transmission links between the receiving end and the receiving end includes: The network environment parameters corresponding to each transmission link are determined based on the packet loss rate of each transmission link and the weight corresponding to the packet loss rate, the transmission rate and the weight corresponding to the transmission rate, the network jitter and the weight corresponding to the network jitter.

3. The method for selecting a data packet transmission link according to claim 1, wherein: The method further comprises: selecting a transmission link from a plurality of transmission links according to the transmission queue, and transmitting the target data packet to the receiving end by using the selected transmission link, comprising: selecting a transmission link from a plurality of transmission links according to the order of the transmission queue; transmitting the target data packet to the receiving end by using the selected transmission link; When it is determined that the target data packet has not been delivered to the receiving end, further selecting a transmission link from the plurality of transmission links according to the order of the transmission queue; If it is determined that the target data packet is delivered to the receiving end, stop selecting the transmission link; or, if a preset number of transmission links have been selected from the transmission queue, stop selecting the transmission link, and predict the reference transmission link of the target data packet based on the historical information of the multiple transmission links, and use the reference transmission link to transmit the target data packet.

4. The method for selecting a data packet transmission link according to claim 3, wherein: Determine the target data packet to be sent to the receiving end, including: If data packet loss is detected, the detected data packet is determined to be the target data packet; If the untransmitted data packet is a key data packet, the key data packet is determined to be the target data packet.

5. The method for selecting a data packet transmission link according to claim 4, wherein: The method further comprises: When it is determined that the untransmitted data packet is a non-critical data packet, a transmission link is selected from the remaining transmission links in the transmission queue, and the non-critical data packet is transmitted using the selected transmission link; wherein the remaining transmission links are the transmission links in the transmission queue excluding the transmission link that transmits the critical data packet.

6. The method for selecting a data packet transmission link according to claim 4 or 5, wherein: Untransmitted data packets are identified as critical data packets in the following ways: If the scenario in which the untransmitted data packet exists is a preset scenario, and / or the data type of the untransmitted data packet is a preset type, the untransmitted data packet is determined to be a key data packet.

7. The method for selecting a data packet transmission link according to claim 1, wherein: After sorting the multiple transmission links according to the network environment parameters corresponding to each transmission link to obtain a transmission queue, the method further includes: If the packet loss rate of the transmission link in the transmission queue exceeds a first threshold, and / or the transmission rate does not exceed a second threshold, the transmission link is deleted from the transmission queue.

8. A data packet transmission link selection device, characterized in that: include: A determination module is used to determine the target data packet that needs to be sent to the receiving end; a sorting module, configured to determine a network environment parameter corresponding to each transmission link based on multiple indicators representing the network environment of the multiple transmission links between the receiving end and the receiving end; and sort the multiple transmission links based on the network environment parameter corresponding to each transmission link to obtain a transmission queue; The selection module is configured to select a transmission link from a plurality of transmission links according to the transmission queue, and transmit the target data packet to the receiving end by using the selected transmission link.

9. An electronic device, characterized in that: include: Memory, used to store computer programs or instructions; A processor is configured to execute the computer program or instructions in the memory so that the method for selecting a data packet transmission link according to any one of claims 1 to 7 is executed.

10. A computer-readable storage medium, characterized in that When the instructions in the storage medium are executed by a processor, the processor is enabled to execute the data packet transmission link selection method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Communication path determination method in vehicle V2X scene and electronic equipment

    CN120980479A

  • Data transmission method and apparatus, terminal, and medium

    CN122476397A