CN116418891A - Data transmission method, device, medium and computer equipment - Google Patents

Data transmission method, device, medium and computer equipment Download PDF

Info

Publication number
CN116418891A
CN116418891A CN202111679465.0A CN202111679465A CN116418891A CN 116418891 A CN116418891 A CN 116418891A CN 202111679465 A CN202111679465 A CN 202111679465A CN 116418891 A CN116418891 A CN 116418891A
Authority
CN
China
Prior art keywords
network
path
user terminal
information
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111679465.0A
Other languages
Chinese (zh)
Inventor
黄献锟
王后月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guizhou Baishancloud Technology Co Ltd
Original Assignee
Guizhou Baishancloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guizhou Baishancloud Technology Co Ltd filed Critical Guizhou Baishancloud Technology Co Ltd
Priority to CN202111679465.0A priority Critical patent/CN116418891A/en
Publication of CN116418891A publication Critical patent/CN116418891A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0273Traffic management, e.g. flow control or congestion control adapting protocols for flow control or congestion control to wireless environment, e.g. adapting transmission control protocol [TCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application relates to a data transmission method, a data transmission device, a data transmission medium and computer equipment. The data transmission method comprises the following steps: according to the received network traffic to be transmitted, determining target user terminal equipment corresponding to the network traffic; acquiring path information corresponding to at least two transmission paths to be selected between the current user terminal equipment and the target user terminal equipment; determining a target transmission path corresponding to the network flow from at least two transmission paths to be selected according to the network quality parameters; and transmitting the network traffic according to the node information of the network access point through which the target transmission path passes, so as to transmit the network traffic to the target user terminal equipment. Therefore, a path with better network quality can be selected for transmitting network traffic according to the network quality of each transmission path to be selected, so that the communication stability between user terminal devices is ensured.

Description

Data transmission method, device, medium and computer equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data transmission method, apparatus, medium, and computer device.
Background
The SD-WAN (Software Defined Wide Area Network ) is a service formed by applying SDN technology to a wide area network scene, the service is used for connecting enterprise networks, data centers, internet applications and cloud services in a wide geographic range, and the SD-WAN can effectively reduce the expense of the Wide Area Network (WAN) and improve the flexibility of network connection.
When communication is performed between user terminal devices in an SD-WAN, a data transmission path is generally determined between the user terminal devices, and data transmission between the user terminal devices is implemented by using the data transmission path, and once the communication quality of the data transmission path is degraded, normal data transmission between the user terminal devices is affected, resulting in poor communication stability between the user terminal devices.
Disclosure of Invention
In order to overcome the problems in the related art, the application provides a data transmission method, a data transmission device, a data transmission medium and computer equipment.
According to a first aspect of the present application, there is provided a data transmission method applied to a user terminal device, including:
according to the received network traffic to be transmitted, determining target user terminal equipment corresponding to the network traffic;
Obtaining path information corresponding to at least two transmission paths to be selected between the current user terminal equipment and the target user terminal equipment, wherein the path information comprises node information of a network-in point through which the path passes and network quality parameters of the path;
determining a target transmission path corresponding to the network flow from the at least two transmission paths to be selected according to the network quality parameters;
and transmitting the network traffic according to the node information of the network access point through which the target transmission path passes, so as to transmit the network traffic to the target user terminal equipment.
According to a second aspect of the present application, there is provided a data transmission method applied to a management platform, including:
receiving selection information for network quality parameters and/or service types;
generating a path determination strategy corresponding to the selection information according to the selection information, so that the user terminal equipment determines a target transmission path from a plurality of transmission paths to be selected according to network quality parameters and/or service types in the path determination strategy.
According to a third aspect of the present application, there is provided a data transmission apparatus applied to a user terminal device, comprising:
The target user terminal equipment determining module is configured to determine target user terminal equipment corresponding to the network traffic according to the received network traffic to be transmitted;
the path information acquisition module is configured to acquire path information corresponding to at least two transmission paths to be selected between the current user terminal equipment and the target user terminal equipment, wherein the path information comprises node information of a network-in point through which the path passes and network quality parameters of the path;
the target transmission path determining module is configured to determine a target transmission path corresponding to the network traffic from the at least two transmission paths to be selected according to the network quality parameter;
and the network traffic transmission module is configured to transmit the network traffic according to the node information of the network access point through which the target transmission path passes so as to transmit the network traffic to the target user terminal equipment.
In some embodiments of the present application, the data transmission device further includes:
the system comprises a transmission path to be detected determining module, a detection module and a detection module, wherein the transmission path to be detected determining module is configured to determine a plurality of transmission paths to be detected between a current user terminal device and other user terminal devices except the current user terminal device according to network access points corresponding to the user terminal devices, and the transmission paths to be detected comprise node information of the network access points through which the paths pass;
The network quality detection module is configured to detect the network quality of each transmission path to be detected and acquire network quality parameters corresponding to each transmission path to be detected;
and the storage module is configured to store node information of the network point included in the transmission path to be detected and the corresponding network quality parameter as path information.
In some embodiments of the present application, the network quality detection module is configured to:
transmitting detection data packets to other corresponding user terminal devices through the transmission paths to be detected respectively;
receiving response data packets returned by the other user terminal devices through the transmission paths to be detected;
and respectively determining network quality parameters corresponding to the transmission paths to be detected according to the received response data packets.
In some embodiments of the present application, the network quality detection module is configured to:
and transmitting detection data packets to other user terminal equipment corresponding to each transmission path to be detected based on transmission tunnels established between the user terminal equipment and the network access point and between the network access point and the network access point in each transmission path to be detected, wherein the detection data packets comprise at least one of ICMP data packets or TCP data packets.
In some embodiments of the present application, the network quality parameter includes at least one of packet loss information, jitter information, bandwidth information, and time delay information.
In some embodiments of the present application, the target transmission path determination module is configured to:
acquiring a predetermined path determination strategy, wherein the path determination strategy comprises a comprehensive strategy and/or a custom strategy;
when the path determining strategy is an integrated strategy, determining the integrated communication quality of each transmission path to be selected according to various network quality parameters corresponding to each transmission path to be selected;
determining a target transmission path corresponding to the network traffic from the at least two transmission paths to be selected according to the comprehensive communication quality of each transmission path to be selected;
when the path determining strategy is a self-defined strategy, determining a target network quality parameter according to selection information aiming at various network quality parameters in the self-defined strategy;
and comparing the quality parameters of the target network of each of the transmission paths to be selected, and determining the target transmission path corresponding to the network flow from the at least two transmission paths to be selected.
In some embodiments of the present application, the network traffic further includes traffic information; the target transmission path determination module is configured to:
Determining a path determination strategy corresponding to the service information according to the service information corresponding to the network flow;
and determining a target transmission path corresponding to the network traffic from the at least two transmission paths to be selected according to the path determination strategy and the network quality parameter.
In some embodiments of the present application, the network traffic transmission module is configured to:
generating corresponding routing information according to node information of the network access point through which the target transmission path passes;
transmitting the routing information and the network traffic together through the target transmission path, so that each of the point of presence can transmit the network traffic to the target user terminal device based on the routing information.
According to a fourth aspect of the present application, there is provided a data transmission device, applied to a management platform, including:
a selection information receiving module configured to receive selection information for a network quality parameter and/or a traffic type;
and the path determination strategy generation module is configured to generate a path determination strategy corresponding to the selection information according to the selection information, so that the user terminal equipment determines a target transmission path from a plurality of transmission paths to be selected according to network quality parameters and/or service types in the path determination strategy.
According to a fifth aspect of the present application there is provided a computer readable storage medium having stored thereon a computer program which when executed implements the steps of the method as described above.
According to a sixth aspect of the present application there is provided a computer device comprising a processor, a memory and a computer program stored on the memory, the processor implementing the steps of the method as described above when executing the computer program.
In the data transmission method provided by the application, when the user terminal equipment needs to transmit network traffic to other user terminal equipment, at least two transmission paths to be selected between the user terminal equipment are acquired, and one target transmission path is selected from the at least two transmission paths to transmit the network traffic according to the network quality parameters, so that a path with better network quality can be selected to transmit the network traffic according to the network quality of each transmission path to be selected, thereby ensuring the communication quality and efficiency between the user terminal equipment.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application, illustrate and explain the application and are not to be construed as limiting the application. In the drawings:
FIG. 1 is a schematic diagram of a related art network architecture;
FIG. 2 is a schematic diagram of a related art network architecture;
FIG. 3 is a flow chart illustrating a method of data transmission according to an exemplary embodiment;
FIG. 4 is a schematic diagram of a network architecture shown in accordance with an exemplary embodiment;
FIG. 5 is a schematic diagram of a network architecture shown in accordance with an exemplary embodiment;
FIG. 6 is a flow chart illustrating a method of data transmission according to an exemplary embodiment;
fig. 7 is a block diagram of a data transmission apparatus according to an exemplary embodiment;
fig. 8 is a block diagram of a data transmission apparatus according to an exemplary embodiment;
fig. 9 is a block diagram of a data transmission apparatus according to an exemplary embodiment;
FIG. 10 is a block diagram of a computer device, according to an example embodiment.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be arbitrarily combined with each other.
In an embodiment, in the SD-WAN, data transmission is performed between the user terminal devices through a determined tunnel, for example, as shown in fig. 1, a tunnel (1) is established between the user terminal device a and the user terminal device B, and the tunnel (1) is determined as a transmission path between the user terminal device a and the user terminal device B. A tunnel (2) is established between the user terminal A and the user terminal C, the tunnel (2) being defined for the transmission path between the terminal A and the user terminal C. In the subsequent network communication process, when the user terminal equipment A transmits data to the user terminal equipment B, a tunnel (1) is selected, and when the user terminal equipment A transmits data to the user terminal equipment C, a tunnel (2) is selected.
In the above data transmission manner, since the tunnels between the ue devices are all determined, once the communication quality of the tunnels is poor, normal data transmission between the ue devices is affected, and stability of data transmission is affected.
In an embodiment, in the SD-WAN, one user terminal device may generally correspond to multiple point-of-presence, i.e., one user terminal device may access a virtual network (Overlay) via multiple points-of-presence, for example, as shown in fig. 2, user terminal device a corresponds to a point-of-presence group including three point-of-presence points, POP1, POP2, and POP3, respectively. The point of presence POP is used to provide a link to external services. In this way, an internal user may access the virtual network through a point of presence POP. The virtual network (Overlay) is a virtual network built on the existing physical network (Underlay), one or more logical networks are built on the existing physical network through tunneling technology under the condition that the physical network is not modified, and the method can effectively solve the problems of the physical data center, particularly the cloud data center, and achieve automation and intellectualization of the data center. A physical network (underway) consists of physical devices and physical links. Common physical devices are switches, routers, firewalls, load balancing, intrusion detection, behavior management, etc., which are connected by specific links to form a physical network.
In an embodiment, when the ue a needs to perform data transmission to the ue B, path switching is performed by means of the Underlay route, the change of the network is perceived by the route convergence of the conventional routing protocol (BGP/OSPF, etc.), and the quality of each physical path is determined by performing ping and other operations on the physical network by using the ICMP protocol, so as to determine the data transmission path according to the result.
However, in practical application, the core of the SD-WAN technology is an Overlay network, and the routing manner of the Overlay network cannot truly obtain the actual situation of the Overlay network, so that the network data forwarding cannot truly realize link optimization. The network quality detection for the physical network does not actually reflect the actual data transmission situation between the user terminal devices. Therefore, the communication link determined from the network quality detection of the physical network may actually have poor communication quality, thereby affecting the stability of data transmission between the user terminal devices.
Based on this, the present application provides a data transmission method applied to a user terminal device, and fig. 3 is a flowchart of a data transmission method according to an exemplary embodiment, and referring to fig. 3, the data transmission method includes the following steps:
S100, determining target user terminal equipment corresponding to the network flow according to the received network flow to be transmitted.
The ue may be CPE (Customer Premise Equipment), and in an example, a network (e.g., an intranet, etc.) used by a user is first connected to the ue, and then connected to a plurality of mesh points by the ue to transmit network traffic through respective network outlets. In other embodiments, the user terminal device may also be any other electronic device with a data relay function, such as a router, a switch, a server, and so on.
The network traffic may be a stream of information generated by the target terminal for transmission in the network based on user operations, the network traffic may be various forms of information streams, for example, the network traffic may be an access request to a resource, the resource may include, but is not limited to, video, image, audio, or document, etc.; the network traffic may also be an upload request for a certain resource, etc. In other examples, the network traffic may also be an information flow automatically generated by the target terminal based on the traffic needs, which is not particularly limited in this application.
In this step, after the ue receives the network traffic to be transmitted, the ue determines the target ue corresponding to the network traffic, that is, determines to which ue the received network traffic to be transmitted is to be transmitted, and as an example, the network traffic to be transmitted may include identification information, where the identification information is used to identify the target ue (e.g., an IP address or an equipment number of the target ue), and the ue reads the identification information in the network traffic to be transmitted, so that the target ue corresponding to the network traffic may be determined.
S200, obtaining path information corresponding to at least two transmission paths to be selected between the current user terminal equipment and the target user terminal equipment, wherein the path information comprises node information of a network-in point through which the path passes and network quality parameters of the path.
In an exemplary embodiment of the present application, the current ue may correspond to one access point, that is, the current ue may access the virtual network only through one access point, and the current ue may also correspond to a plurality of access points. For example, the current user terminal device may correspond to a set of points of presence, the set of points of presence including a plurality of points of presence. Similarly, the target user terminal device may correspond to one point of presence, or may correspond to a plurality of points of presence. One or more network points may be further provided between the network point corresponding to the current user terminal device and the network point corresponding to the target user terminal device. In this way, multiple transmission paths may be formed between the current ue and the target ue, for example, as shown in fig. 4, the current ue CPE1 corresponds to two network points, POP1 and POP2, respectively, the target ue CPE2 corresponds to two network points, POP3 and POP4, respectively, and four transmission paths may be formed between the current ue CPE1 and the target ue CPE2, respectively:
Path 1: CPE1-POP1-POP3-CPE2;
path 2: CPE1-POP2-POP3-CPE2;
path 3: CPE1-POP1-POP4-CPE2;
path 4: CPE1-POP2-POP4-CPE2.
For another example, as shown in fig. 5, the current ue CPE1 corresponds to a point of presence POP1, the target ue CPE2 corresponds to a point of presence POP2, and two points of presence POP3 and POP4 are provided between the point of presence POP1 and the point of presence POP2, so that two transmission paths may be formed between the current ue CPE1 and the target ue CPE2, where the two paths are:
path 1: CPE1-POP1-POP3-POP2-CPE2;
path 2: CPE1-POP1-POP4-POP2-CPE2.
All transmission paths formed between the current user terminal equipment CPE1 and the target user terminal equipment CPE2 may be used as the transmission paths to be selected, or a part of the transmission paths may be selected as the transmission paths to be selected.
The path information includes node information of the network point through which the path passes, that is, the network point included in the corresponding transmission path to be selected, for example, in fig. 4, the network points through which the path 1 passes are the network point POP1 and the network point POP3, and for another example, in fig. 5, the network points through which the path 1 passes are the network point POP1, the network point POP3 and the network point POP2. The node information of the point of presence includes, for example, IP information of the point of presence, etc.
The path information further includes network quality parameters of the path, which may be one or more, for example, the network quality parameters may include, but are not limited to, at least one of packet loss information, jitter information, bandwidth information, and time delay information of the path.
S300, determining a target transmission path corresponding to the network flow from at least two transmission paths to be selected according to the network quality parameters.
And determining a transmission path suitable for the network traffic to be transmitted from the transmission paths to be selected as a target transmission path according to the network quality parameters. For example, the target transmission path may be determined based on one network quality parameter, or may be determined by integrating a plurality of network quality parameters.
In some embodiments, the target transmission path is determined based on a network quality parameter, i.e. one network quality parameter of each of the candidate transmission paths is compared, and the optimal target transmission path is selected. For example, if the network quality parameter is packet loss information, comparing the sizes of the packet loss information of each transmission path to be selected, and if the packet loss is less, indicating that the network quality of the transmission path to be selected is better; for example, comparing the packet loss rates of the transmission paths to be selected, and selecting the transmission path to be selected with the lowest packet loss rate as a target transmission path; for another example, if the network quality parameter is bandwidth information, bandwidth information of each transmission path to be selected is compared, the transmission path to be selected with the highest bandwidth or the highest unused bandwidth is selected as the target transmission path, and so on.
In other embodiments, multiple network quality parameters are integrated to determine the target transmission path, i.e., the transmission path to be selected with the highest integrated network quality is selected as the target transmission path. For each transmission path to be selected, the normalization processing is performed on the multiple network quality parameters of the transmission path to be selected, the normalized network quality parameters are added to obtain the comprehensive network quality value of the transmission path to be selected, the comprehensive network quality values of the transmission paths to be selected are compared, and the transmission path to be selected with the highest comprehensive network quality value is selected as the target transmission path. Of course, it can be understood that the normalized network quality parameters may be directly added, or weight values may be respectively assigned to each network quality parameter, and after normalization processing is performed on the network quality parameters, the normalized network quality parameters are multiplied by the corresponding weight values, and then added to obtain the comprehensive network quality value. The weight value allocated to each network quality parameter may be a fixed value, or may be adjusted according to the actual service type. It should be noted that, a person skilled in the art may determine a calculation manner of the corresponding comprehensive multiple network quality parameters according to actual needs, or may use other existing calculation manners, which is not limited in this application.
S400, according to the node information of the network access point through which the target transmission path passes, transmitting the network traffic to transmit the network traffic to the target user terminal equipment.
After the target transmission path is determined, the current user terminal equipment can transmit the network traffic to the target user terminal equipment through the determined target transmission path according to the node information of the network access point through which the target transmission path passes.
In the data transmission method provided by the application, when the user terminal equipment needs to transmit network traffic to other user terminal equipment, at least two transmission paths to be selected between the user terminal equipment are acquired, and one target transmission path is selected from the at least two transmission paths to transmit the network traffic according to the network quality parameters, so that a path with better network quality can be selected to transmit the network traffic according to the network quality of each transmission path to be selected, and the communication stability between the user terminal equipment is ensured. The target transmission path is determined according to the network quality parameters of each transmission path to be selected between the current user terminal equipment and the target user terminal equipment, and the network quality parameters can reflect the actual data transmission condition of the transmission paths to be selected more truly, so that the determined target transmission path is more suitable for the transmission of network traffic.
It may be understood that step S200 may be performed after the current ue receives the network traffic to be transmitted, that is, after the current ue receives the network traffic to be transmitted, the current ue obtains the path information corresponding to the selected path, and determines the target transmission path according to the network quality parameter in the path information. Or, the current ue determines the target transmission path between the current ue and the target ue once every a period of time, and when receiving the network traffic to be transmitted, transmits the network traffic with the currently determined target transmission path.
The network quality parameter of the transmission path to be selected can be obtained by detecting each transmission path of the current user terminal equipment. Since one ue generally needs to perform data transmission with a plurality of other ues, each possible transmission path between the ue and each other ue can be detected when the detection is performed. In an embodiment, before step S200, the data transmission method further includes the following steps:
S10, determining a plurality of transmission paths to be detected between the current user terminal equipment and other user terminal equipment except the current user terminal equipment according to the network access points corresponding to the user terminal equipment, wherein the transmission paths to be detected comprise node information of the network access points through which the paths pass.
Taking fig. 4 as an example, according to the network access point corresponding to the user terminal equipment CPE1 and the network access point corresponding to the user terminal equipment CPE2, possible transmission paths between the user terminal equipment CPE1 and the user terminal equipment CPE2 can be determined, and these transmission paths are determined as transmission paths to be detected. The two network points corresponding to the user terminal equipment CPE1 are POP1 and POP2 respectively, and the two network points corresponding to the user terminal equipment CPE2 are POP3 and POP4 respectively. Thus, four possible transmission paths between the ue CPE1 and the ue CPE2 may be provided, which are respectively path 1, path 2, path 3 and path 4, and the four paths are determined to be detected as the transmission paths to be detected. The transmission path to be detected includes node information of the network-in points through which the path passes, for example, IP information of each network-in point.
In this step, the transmission path to be detected between two ue devices may be determined according to the two ue devices, or the transmission path to be detected between the current ue device and each other ue device may be determined according to three or more ue devices, where the target ue device is, of course, included in each other ue device.
And S20, detecting the network quality of each transmission path to be detected, and acquiring network quality parameters corresponding to each transmission path to be detected.
In the step, network quality detection is carried out on each transmission path to be detected, and network quality parameters such as packet loss information, jitter information, bandwidth information, time delay information and the like of each transmission path to be detected can be obtained.
And S30, storing node information of the network access point included in the transmission path to be detected and corresponding network quality parameters as path information.
And storing the node information of the network access point and the network quality parameter as path information, and finishing network quality detection of the transmission path to be detected, so that after the current user terminal equipment receives the network traffic to be transmitted, the target transmission path can be determined according to the detected path information.
In this embodiment, the transmission paths to be detected are determined according to the network access points corresponding to the user terminal devices, so that all possible transmission paths between the user terminal devices can be determined, and an optimal target transmission path can be selected.
It should be noted that, the network quality detection of the transmission path to be detected may be performed after the ue receives the network traffic to be transmitted, or may be performed periodically, for example, step S20 and step S30 are performed every 5S to implement periodic network quality detection of the transmission path to be detected.
Wherein the detection of the network quality may be achieved by sending detection data packets to other user terminal devices, in an exemplary embodiment, the step S20 specifically includes the steps of:
s21, sending detection data packets to other corresponding user terminal devices through each transmission path to be detected.
Illustratively, the probe packets include at least one of ICMP (Internet Control Message Protocol ) packets or TCP (Transmission Control Protocol, transmission control protocol) packets. In step S220, based on the transmission tunnels established between the ue and the access point and between the access point and the access point in each transmission path to be detected, the detection data packet is sent to other ue devices corresponding to each transmission path to be detected, that is, the detection data packet is sent to the corresponding ue device through each transmission tunnel, for example, the detection data packet is sent to other ue devices based on ICMP protocol or TCP protocol.
S22, receiving response data packets returned by other user terminal devices through the transmission paths to be detected;
s23, according to the received response data packets, network quality parameters corresponding to the transmission paths to be detected are respectively determined.
In this embodiment, the network quality of the transmission path to be detected is detected by sending and receiving the data packet, so that the real network quality of the transmission path to be detected can be reflected more accurately, and the accuracy of the selected target transmission path is further ensured.
In some embodiments, the response packet includes at least one of packet loss information, jitter information, bandwidth information, and time delay information. That is, after receiving the probe data packet, the other user terminal device extracts the data information in the probe data packet, determines the network quality parameter corresponding to the probe data packet according to the data information, and generates a response data packet according to the network quality parameter to return to the current user terminal device. The time tag when the probe data packet is sent is set in the probe data packet, and after the other user terminal devices receive the probe data packet, the time delay information can be determined according to the time when the probe data packet is received and the time tag when the probe data packet is sent. And recording and comparing the time delay information of the detection data packet transmitted through the same transmission path to be detected, so as to determine the jitter information. The packet loss information and the like can be determined for the number of the detection data packets sent through the same transmission path to be detected and the number of the detection data packets received by other user terminal equipment.
In some embodiments, each node (such as a network-in point and a user terminal device) through which the transmission path to be detected passes can collect respective bandwidth information, where the bandwidth information includes a difference between a maximum bandwidth that the node can bear and a real-time bandwidth used by the node, and then the maximum bandwidth that the transmission path to be detected can accept is a minimum bandwidth value in all nodes through which the transmission path to be detected passes, and the minimum bandwidth value is determined as the bandwidth information of the transmission path to be detected. The node through which the transmission path to be detected passes includes a node a, a node B, and a node C, where the maximum bandwidth value of the node a is 5M, the maximum bandwidth value of the node B is 10M, and the maximum bandwidth value of the node C is 15M, and the maximum bandwidth value of the node a with the minimum maximum bandwidth value of the three nodes on the transmission path to be detected is determined as the bandwidth information of the transmission path to be detected, that is, the bandwidth information of the transmission path to be detected is 5M.
In other embodiments, the current ue may determine the network quality parameter according to the received response data packet in a similar manner to the manner in which the other ue determines the network quality parameter, which is not described herein.
In determining the target transmission path according to the network quality parameter, the target transmission path may be determined according to a fixed path determination policy, for example, as described above, the target transmission path may be determined according to one network quality parameter, or the target transmission path may be determined by combining multiple network quality parameters, which is not described herein.
In other embodiments, the target transmission path may be determined according to a predetermined path determination policy, and step S300 specifically includes the following steps as an example:
s310, acquiring a predetermined path determination strategy, wherein the path determination strategy comprises a comprehensive strategy and/or a custom strategy.
The user can select a proper path determination strategy according to the actual specific application requirement to determine the target transmission path.
S320, when the path determination strategy is an integrated strategy, determining the integrated communication quality of each candidate transmission path according to various network quality parameters corresponding to each candidate transmission path, and determining a target transmission path corresponding to the network flow from at least two candidate transmission paths according to the integrated communication quality of each candidate transmission path.
The policy is suitable for the service types with comprehensive demands on various network qualities, and can be used as a default policy, namely, when a user does not select the policy, the determination of the target transmission path is performed according to the comprehensive policy by default. The method for determining the target transmission path by integrating the policies, that is, integrating the various network quality parameters, is specifically referred to the foregoing description, and will not be described herein.
It will be appreciated that in this step, the type of network quality parameter may also be predetermined, i.e. the user may pre-select a suitable plurality of network quality parameters, e.g. one or more network quality parameters suitable for the current traffic type may be selected among the four network quality parameters of packet loss information, jitter information, bandwidth information and time delay information.
S330, when the path determining strategy is a self-defined strategy, determining target network quality parameters according to selection information of various network quality parameters in the self-defined strategy, comparing the target network quality parameters of each transmission path to be selected, and determining a target transmission path corresponding to the network flow from at least two transmission paths to be selected.
The strategy is suitable for a service type with higher requirement on a certain network quality parameter, a user can select one network quality parameter from a plurality of network quality parameters as a target network quality parameter according to the actual service type requirement, and when the target transmission path is determined, the target network quality parameter of each transmission path to be selected is only compared, so that the determined target transmission path is more suitable for data transmission of the current service type.
For example, if the current service type has a high requirement on bandwidth, bandwidth information is selected as a target network quality parameter, and when determining a target transmission path, only bandwidth information of each transmission path to be selected is compared, and the transmission path to be selected with the highest bandwidth is determined as the target transmission path.
In this embodiment, a suitable path determining policy is selected in a targeted manner according to specific service type requirements to determine a target transmission path, so that the determined target transmission path is more suitable for data transmission of a current service type, thereby further improving stability of data transmission.
In another embodiment, the network traffic further includes service information, and the step S300 specifically includes the following steps:
s340, determining a path determination strategy corresponding to the service information according to the service information corresponding to the network flow;
s350, determining a target transmission path corresponding to the network traffic from at least two transmission paths to be selected according to the path determination strategy and the network quality parameter.
Different service information also has different requirements on network quality parameters, and in this embodiment, a path determination policy is determined according to the service information, so that the determined target transmission path is more adapted to the current service information.
For example, if the current service information has a comprehensive requirement for a plurality of network quality parameters, the path determination policy is determined as the comprehensive policy. For another example, if the current service information has a high requirement on a certain network quality parameter, for example, a high requirement on bandwidth, the path determining policy is determined to determine the transmission path with the highest bandwidth among the transmission paths to be selected as the target transmission path.
For example, among the four paths shown in fig. 4, the detection results of the respective transmission paths to be selected are shown in the following table 1:
TABLE 1
Figure BDA0003453562150000141
For example, the service information a is a video real-time communication service, is extremely sensitive to delay requirements, and selects the path 4 as a target transmission path according to the detection result; the service information B is a file transmission type service, is insensitive to delay, packet loss rate and the like, but requires a higher available bandwidth, and thus, a target transmission path most suitable for the service information B is path 2 and the like.
In another example, depending on the detection result, the user may also set certain decision conditions, such as switching a better line immediately when the delay is greater than 20ms, etc.
After the target transmission path is determined, the network traffic can be transmitted to the target user terminal device through the target transmission path. In one embodiment, the step S400 specifically includes the following steps:
S410, generating corresponding routing information according to node information of the network access point through which the target transmission path passes;
s420, transmitting the route information and the network traffic together through a target transmission path so that each network access point can transmit the network traffic to the target user terminal equipment based on the route information.
By way of example, routing information, such as IP information of all mesh points traversed by the target transmission path, and network traffic may be packetized into packets. When the data packet is transmitted, when the data packet reaches a certain network access point on the target transmission path, the network access point unpacks the received data packet, extracts the IP information of the next network access point in the data packet, and then, after the data packet is repackaged, the repackaged data packet is sent to the next network access point according to the extracted IP information of the next network access point.
In this embodiment, route information is generated according to node information in path information of a target transmission path, and the route information and network traffic are transmitted together through the target transmission path, so as to ensure that the network traffic is rapidly and accurately transmitted to a target user terminal device through the target transmission path.
The present application further provides a data transmission method applied to a management platform, and fig. 6 is a flowchart of a data transmission method according to an exemplary embodiment, and referring to fig. 6, the data transmission method includes the following steps:
s500, receiving selection information aiming at network quality parameters and/or service types.
And S600, generating a path determination strategy corresponding to the selection information according to the selection information, so that the user terminal equipment determines a target transmission path from a plurality of transmission paths to be selected according to network quality parameters and/or service types in the path determination strategy.
At the management platform, the user may select network quality parameters and/or service types, e.g., the management platform is provided with a selection interface of network quality parameters and service types, on which the user may select. Therefore, the user can select the network quality parameters and the service types according to the actual demands, so that the target transmission path determined by the user terminal equipment is more suitable for the current service types, and the stability of data transmission is further improved.
The network quality parameter may include, but is not limited to, at least one of packet loss information, jitter information, bandwidth information, and time delay information. The user may select one of the plurality of network quality parameters, and the generated path determination policy is the foregoing custom policy, and if the user selects the plurality of network quality parameters, the generated path determination policy is the foregoing integrated policy.
The user can also select the service type in the management platform, and the management platform generates a corresponding path determination strategy according to the service type, so that the target transmission path determined by the user terminal equipment is more suitable for the current service type.
For example, if the current traffic type has a comprehensive requirement for a plurality of network quality parameters, the path determination policy is determined as a comprehensive policy. For another example, if the current service type has a high requirement on a certain network quality parameter, for example, a high requirement on bandwidth, the path determining policy is determined to determine the transmission path with the highest bandwidth among the transmission paths to be selected as the target transmission path.
Fig. 7 is a block diagram of a data transmission apparatus according to an exemplary embodiment, and referring to fig. 7, the data transmission apparatus is applied to a user terminal device, and includes a target user terminal device determining module 10, a path information acquiring module 20, a target transmission path determining module 30, and a network traffic transmitting module 40. The target ue determining module 10 is configured to determine, according to the received network traffic to be transmitted, a target ue corresponding to the network traffic. The path information obtaining module 20 is configured to obtain path information corresponding to at least two transmission paths to be selected between the current ue and the target ue, where the path information includes node information of a mesh point through which the path passes and network quality parameters of the path. The target transmission path determining module 30 is configured to determine a target transmission path corresponding to the network traffic from at least two transmission paths to be selected according to the network quality parameter. The network traffic transmission module 40 is configured to transmit the network traffic to the target user terminal device according to the node information of the access point through which the target transmission path passes.
Fig. 8 is a block diagram of a data transmission apparatus according to an exemplary embodiment, and referring to fig. 8, the data transmission apparatus further includes a transmission path to be detected determining module 50, a network quality detecting module 60, and a storage module 70, where the transmission path to be detected determining module 50 is configured to determine a plurality of transmission paths to be detected between a current user terminal device and other user terminal devices except the current user terminal device according to network entry points corresponding to respective user terminal devices, and the transmission paths to be detected include node information of the network entry points through which the paths pass. The network quality detection module 60 is configured to perform network quality detection on each of the transmission paths to be detected, and obtain network quality parameters corresponding to each of the transmission paths to be detected. The storage module 70 is configured to store node information of the mesh point included in the transmission path to be detected and the corresponding network quality parameter as path information.
Fig. 9 is a block diagram of a data transmission apparatus according to an exemplary embodiment, and referring to fig. 9, the data transmission apparatus is applied to a management platform, and includes a selection information receiving module 101 and a path determination policy generating module 102. Wherein the selection information receiving module 101 is configured for receiving selection information for network quality parameters and/or traffic types. The path determination policy generating module 102 is configured to generate a path determination policy corresponding to the selection information according to the selection information, so that the user terminal device determines a target transmission path from a plurality of transmission paths to be selected according to network quality parameters and/or service types in the path determination policy.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 10 is a block diagram illustrating a computer device 400 for data transmission, according to an example embodiment. For example, computer device 400 may be provided as a server. Referring to fig. 10, the computer apparatus 400 includes a processor 401, and the number of the processors may be set to one or more as needed. Computer device 400 also includes a memory 402 for storing instructions, such as application programs, that are executable by processor 401. The number of the memories can be set to one or more according to the requirement. Which may store one or more applications. The processor 401 is configured to execute instructions to perform the data transmission method described above.
It will be apparent to those skilled in the art that embodiments of the present application may be provided as a method, apparatus (device), or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, including, but not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that an article or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such article or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of additional identical elements in an article or apparatus that comprises the element.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, given that such modifications and variations of the present application are within the scope of the claims and their equivalents, such modifications and variations are intended to be included herein.

Claims (13)

1. A data transmission method applied to a user terminal device, comprising:
according to the received network traffic to be transmitted, determining target user terminal equipment corresponding to the network traffic;
obtaining path information corresponding to at least two transmission paths to be selected between the current user terminal equipment and the target user terminal equipment, wherein the path information comprises node information of a network-in point through which the path passes and network quality parameters of the path;
determining a target transmission path corresponding to the network flow from the at least two transmission paths to be selected according to the network quality parameters;
and transmitting the network traffic according to the node information of the network access point through which the target transmission path passes, so as to transmit the network traffic to the target user terminal equipment.
2. The data transmission method according to claim 1, further comprising, before the obtaining path information corresponding to at least two candidate paths between the current ue device and the target ue device:
Determining a plurality of transmission paths to be detected between the current user terminal equipment and other user terminal equipment except the current user terminal equipment according to network access points corresponding to the user terminal equipment, wherein the transmission paths to be detected comprise node information of the network access points through which the paths pass;
network quality detection is carried out on each transmission path to be detected, and network quality parameters corresponding to each transmission path to be detected are obtained;
and storing node information of the network access point and the corresponding network quality parameter included in the transmission path to be detected as path information.
3. The method of claim 2, wherein the performing network quality detection on each transmission path to be detected to obtain a network quality parameter corresponding to each transmission path to be detected includes:
transmitting detection data packets to other corresponding user terminal devices through the transmission paths to be detected respectively;
receiving response data packets returned by the other user terminal devices through the transmission paths to be detected;
and respectively determining network quality parameters corresponding to the transmission paths to be detected according to the received response data packets.
4. A data transmission method according to claim 3, wherein the sending the probe data packet to the corresponding other ue device through each of the transmission paths to be probed includes:
and transmitting detection data packets to other user terminal equipment corresponding to each transmission path to be detected based on transmission tunnels established between the user terminal equipment and the network access point and between the network access point and the network access point in each transmission path to be detected, wherein the detection data packets comprise at least one of ICMP data packets or TCP data packets.
5. The data transmission method according to any one of claims 1 to 4, wherein the network quality parameter includes at least one of packet loss information, jitter information, bandwidth information, and time delay information.
6. The method for data transmission according to any one of claims 1 to 4, wherein determining, according to the network quality parameter, a target transmission path corresponding to the network traffic from the at least two transmission paths to be selected includes:
acquiring a predetermined path determination strategy, wherein the path determination strategy comprises a comprehensive strategy and/or a custom strategy;
When the path determining strategy is an integrated strategy, determining the integrated communication quality of each transmission path to be selected according to various network quality parameters corresponding to each transmission path to be selected;
determining a target transmission path corresponding to the network traffic from the at least two transmission paths to be selected according to the comprehensive communication quality of each transmission path to be selected;
when the path determining strategy is a self-defined strategy, determining a target network quality parameter according to selection information aiming at various network quality parameters in the self-defined strategy;
and comparing the quality parameters of the target network of each of the transmission paths to be selected, and determining the target transmission path corresponding to the network flow from the at least two transmission paths to be selected.
7. The data transmission method according to any one of claims 1 to 4, wherein the network traffic further includes traffic information;
the determining, according to the network quality parameter, a target transmission path corresponding to the network traffic from the at least two transmission paths to be selected includes:
determining a path determination strategy corresponding to the service information according to the service information corresponding to the network flow;
And determining a target transmission path corresponding to the network traffic from the at least two transmission paths to be selected according to the path determination strategy and the network quality parameter.
8. The data transmission method according to any one of claims 1 to 4, wherein the transmitting the network traffic according to node information of the access point through which the target transmission path passes to transmit the network traffic to the target user terminal device includes:
generating corresponding routing information according to node information of the network access point through which the target transmission path passes;
transmitting the routing information and the network traffic together through the target transmission path, so that each of the point of presence can transmit the network traffic to the target user terminal device based on the routing information.
9. A data transmission method applied to a management platform, comprising:
receiving selection information for network quality parameters and/or service types;
generating a path determination strategy corresponding to the selection information according to the selection information, so that the user terminal equipment determines a target transmission path from a plurality of transmission paths to be selected according to network quality parameters and/or service types in the path determination strategy.
10. A data transmission apparatus applied to a user terminal device, comprising:
the target user terminal equipment determining module is configured to determine target user terminal equipment corresponding to the network traffic according to the received network traffic to be transmitted;
the path information acquisition module is configured to acquire path information corresponding to at least two transmission paths to be selected between the current user terminal equipment and the target user terminal equipment, wherein the path information comprises node information of a network-in point through which the path passes and network quality parameters of the path;
the target transmission path determining module is configured to determine a target transmission path corresponding to the network traffic from the at least two transmission paths to be selected according to the network quality parameter;
and the network traffic transmission module is configured to transmit the network traffic according to the node information of the network access point through which the target transmission path passes so as to transmit the network traffic to the target user terminal equipment.
11. A data transmission device applied to a management platform, comprising:
a selection information receiving module configured to receive selection information for a network quality parameter and/or a traffic type;
And the path determination strategy generation module is configured to generate a path determination strategy corresponding to the selection information according to the selection information, so that the user terminal equipment determines a target transmission path from a plurality of transmission paths to be selected according to network quality parameters and/or service types in the path determination strategy.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed, implements the steps of the method according to any one of claims 1-8, or the steps of the method according to claim 9.
13. Computer device comprising a processor, a memory and a computer program stored on the memory, characterized in that the processor implements the steps of the method according to any of claims 1-8 or the steps of the method according to claim 9 when the computer program is executed by the processor.
CN202111679465.0A 2021-12-31 2021-12-31 Data transmission method, device, medium and computer equipment Pending CN116418891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111679465.0A CN116418891A (en) 2021-12-31 2021-12-31 Data transmission method, device, medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111679465.0A CN116418891A (en) 2021-12-31 2021-12-31 Data transmission method, device, medium and computer equipment

Publications (1)

Publication Number Publication Date
CN116418891A true CN116418891A (en) 2023-07-11

Family

ID=87055234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111679465.0A Pending CN116418891A (en) 2021-12-31 2021-12-31 Data transmission method, device, medium and computer equipment

Country Status (1)

Country Link
CN (1) CN116418891A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117041140A (en) * 2023-10-10 2023-11-10 腾讯科技(深圳)有限公司 Data message transmission method, related device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117041140A (en) * 2023-10-10 2023-11-10 腾讯科技(深圳)有限公司 Data message transmission method, related device, equipment and storage medium
CN117041140B (en) * 2023-10-10 2024-01-30 腾讯科技(深圳)有限公司 Data message transmission method, related device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11431611B2 (en) Computing forwarding paths based on notification packet delays
CN111181849B (en) Return source path determining method, determining device, computer equipment and storage medium
EP3794782A1 (en) Multipath selection system and method for datacenter-centric metro networks
US11743176B2 (en) Packet processing method and system, and device
US20200195553A1 (en) System and method for measuring performance of virtual network functions
CN107078963B (en) Route tracing in virtual extensible local area networks
CN110890994B (en) Method, device and system for determining message forwarding path
US10348632B2 (en) Traffic steering
US20190140949A1 (en) Path determining method, apparatus, and system
CN113132225B (en) Path selection method, path selection device, computer equipment and computer readable medium
CN112104553B (en) Method, device, routing equipment and storage medium for selecting path
CN103888351B (en) The method and device of multiple sessions is managed in the network based on Multi-path route
WO2022121080A1 (en) Network configuration method, controller, and traffic guide system
US11477100B2 (en) Residence time measurement for traffic engineered network
CN109728988B (en) Inter-intranet communication method and device
CN115150305B (en) Carrier network delay link determination system, method, electronic equipment and storage medium
US10666562B2 (en) Network path computation method, apparatus, and system
CN116418891A (en) Data transmission method, device, medium and computer equipment
CN110650092A (en) Data processing method and device
WO2021250374A1 (en) Access traffic management
CN112866013B (en) Network configuration method, device and system
EP4109844A1 (en) A method for use in routing
CN114374649A (en) Hybrid routing method, device and network equipment
Poderys et al. Evaluating application-layer traffic optimization cost metrics for P2P multimedia streaming
US20230379809A1 (en) Methods, systems, and computer readable media for reporting a reserved load to network functions in a communications network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination