Data transmission method, device and WAN port aggregation device

By monitoring the status of communication links between WAN network cards in real time and allocating WAN network cards according to the status, the problem of poor data traffic allocation in the prior art is solved, real-time adaptive switching function between multiple WAN ports is realized, and the data allocation effect is improved.

CN116208549BActive Publication Date: 2025-06-06BAICELLS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111443218.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-30
Publication Date
2025-06-06
Estimated Expiration
2041-11-30

AI Technical Summary

Technical Problem

In the prior art, the data traffic allocation effect is poor and the real-time status of each WAN port cannot be effectively considered.

Method used

By encapsulating the received data into IP packets, and monitoring the communication link status between WAN network cards in real time, the WAN network card is allocated according to the communication status to realize the transmission of data packets.

Benefits of technology

Real-time adaptive switching between multiple WAN ports is realized, which improves the effect of data allocation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116208549B_ABST
    Figure CN116208549B_ABST
Patent Text Reader

Abstract

The present application discloses a data transmission method, device and WAN port aggregation device, which relates to the field of wireless communication technology. The method is applied to a first WAN port aggregation device, and the method includes: encapsulating the received first data into at least one first IP data packet; monitoring the communication status of each communication link between the WAN network card of the first WAN port aggregation device and the WAN network card of the second WAN port aggregation device in real time; and assigning a WAN network card to each of the first IP data packets according to the communication status of each of the communication links, so as to transmit the first IP data packet on the communication link where the WAN network card is located. The scheme of the present application realizes the allocation of data to the WAN port without relying on routing rules or weights, and realizes the allocation of data based on the real-time status of the WAN port, which improves the effect of data allocation on the basis of satisfying the effect of communication bandwidth superposition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a data transmission method, device and WAN port aggregation equipment. Background Art

[0002] Traditional multi-Wide Area Network (WAN) aggregation devices are all implemented by routing technology. Different network cards are set with different routing rules to direct different traffic to different network cards. Or different network cards are set with different weight ratios to distribute traffic according to weights. Or the network cards are polled. Then different Transmission Control Protocol (TCP) connection sessions are assigned to different WAN ports, and multiple TCP sessions are used to transmit data simultaneously. Different sessions are carried on different WAN ports, thereby achieving the effect of total communication bandwidth superposition. However, this data traffic distribution method that relies on routing rules or weights to superimpose bandwidth does not take into account the real-time status of each WAN port, and the distribution effect is not good. Summary of the invention

[0003] The purpose of the present application is to provide a data transmission method, device and WAN port aggregation device, so as to solve the problem of poor data traffic distribution effect in the prior art.

[0004] In order to achieve the above object, the present application provides a data transmission method, which is applied to a first WAN port aggregation device, and the method includes:

[0005] Encapsulating the received first data into at least one first IP data packet;

[0006] Real-time monitoring of the communication status of each communication link between the WAN network card of the first WAN port aggregation device and the WAN network card of the second WAN port aggregation device;

[0007] According to the communication status of each of the communication links, a WAN network card is allocated to each of the first IP data packets, so as to transmit the first IP data packets on the communication link where the WAN network card is located.

[0008] Optionally, the communication status includes at least one of the following:

[0009] Communication quality;

[0010] communication speed;

[0011] Whether the communication is interrupted.

[0012] Optionally, allocating a WAN network card to each of the first IP data packets respectively includes:

[0013] Based on the load balancing technology and the communication status of each of the communication links, the WAN network card is allocated to each of the first IP data packets.

[0014] Optionally, the method further comprises:

[0015] When it is monitored that the communication link to which the WAN network card allocated for the first IP data packet belongs is interrupted, reallocating the WAN network card for the first IP data packet among the WAN network cards on the uninterrupted communication links according to the communication status of each of the communication links;

[0016] The first IP data packet is transmitted on the communication link where the reallocated WAN network card is located.

[0017] Optionally, the method further comprises:

[0018] Within a first time period after transmitting the first IP data packet, receiving a confirmation message sent by the second WAN port aggregation device on the communication link through which the first WAN port aggregation device transmitted the first IP data packet, wherein the confirmation message is used to indicate that the second WAN port aggregation device has successfully received the first IP data packet.

[0019] Optionally, the method further comprises:

[0020] If, within a first time period after transmitting the first IP data packet, no confirmation message is received from the second WAN port aggregation device on the communication link through which the first WAN port aggregation device transmits the first IP data packet, the WAN network card is reallocated for the first IP data packet according to the communication status of each of the communication links, so as to retransmit the first IP data packet on the communication link where the reallocated WAN network card is located.

[0021] Optionally, the method further comprises:

[0022] Sending a second IP data packet to the second WAN port aggregation device, wherein the selection field of the second IP data packet includes an NGMWAN parameter;

[0023] When receiving the third IP data packet fed back by the second WAN port aggregation device, a communication connection based on the NGMWAN virtual network card is established with the second WAN port aggregation device; wherein the selection field of the third IP data packet includes NGMWAN parameters.

[0024] The embodiment of the present application further provides a data transmission device, which is applied to a first WAN port aggregation device, including:

[0025] An encapsulation module, used for encapsulating the received first data into at least one first IP data packet;

[0026] A monitoring module, used for monitoring in real time the communication status of each communication link between the WAN network card of the first WAN port aggregation device and the WAN network card of the second WAN port aggregation device;

[0027] The first allocation module is used to allocate a WAN network card to each of the first IP data packets according to the communication status of each of the communication links, so as to transmit the first IP data packet on the communication link where the WAN network card is located.

[0028] An embodiment of the present application also provides a WAN port aggregation device, including: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements the steps of the data transmission method described above when executed by the processor.

[0029] An embodiment of the present application further provides a readable storage medium, on which a program is stored. When the program is executed by a processor, the steps of the data transmission method described above are implemented.

[0030] The above technical solution of the present application has at least the following beneficial effects:

[0031] The data transmission method applied to the first WAN port aggregation device in the embodiment of the present application firstly encapsulates the received first data into at least one first IP data packet; secondly, monitors the communication status of each communication link between the WAN network card of the first WAN port aggregation device and the WAN network card of the second WAN port aggregation device in real time; finally, allocates a WAN network card to each first IP data packet according to the communication status of each communication link, so as to transmit the first IP data packet on the communication link where the WAN network card is located. In this way, the real-time adaptive switching function between multiple WAN ports is realized, and the effect of data allocation is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A flowchart of a data transmission method embodiment of the present application;

[0033] Figure 2 This is a schematic diagram of the structure of a data transmission device embodiment of the present application;

[0034] Figure 3 This is a schematic diagram of the structure of the WAN port aggregation device of an embodiment of the present application. DETAILED DESCRIPTION

[0035] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0036] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.

[0037] Before describing the embodiments of the present application in detail, the relevant technical points are described here:

[0038] WAN: Wide Area Network, also known as extranet or public network, is a remote network that connects local area networks or metropolitan area networks in different regions. It usually spans a large physical range, ranging from tens of kilometers to thousands of kilometers. It can connect multiple regions, cities and countries, or span several continents and provide long-distance communications, forming an international remote network. Wide Area Network is not the same as the Internet.

[0039] Routing technology: a technology for forwarding and exchanging a large amount of information on the network.

[0040] TCP: Transmission Control Protocol, a connection-oriented, reliable, byte stream-based transport layer communication protocol.

[0041] The data transmission method, apparatus and WAN port aggregation device provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0042] like Figure 1 FIG. 1 is a flow chart of a data transmission method according to an embodiment of the present application. The method is applied to a first WAN port aggregation device, wherein the first WAN port aggregation device includes multiple WAN ports. The method includes:

[0043] Step 101, encapsulating the received first data into at least one first IP data packet;

[0044] Here, it should be noted that the encapsulation process may include adding a protocol identifier, a frame type, a frame length, etc. By encapsulating the first data into one or more first IP data packets, different IP packets can be distinguished during transmission on the communication link.

[0045] It should also be noted here that the first data can be data of any traffic type, such as 4G, 5G, WIFI, etc. That is to say, the WAN port aggregation device applying the method of the embodiment of the present application can support the bandwidth superposition of data of multiple traffic types. In this way, it can provide more advanced traffic aggregation capabilities for a certain type of specific business communication.

[0046] Step 102, monitoring in real time the communication status of each communication link between the WAN network card of the first WAN port aggregation device and the WAN network card of the second WAN port aggregation device;

[0047] Step 103: Allocate a WAN network card to each of the first IP data packets according to the communication status of each of the communication links, so as to transmit the first IP data packets on the communication link where the WAN network card is located.

[0048] Here, it should be noted that the first WAN port aggregation device using the data transmission method of the embodiment of the present application supports the next generation multi-wide area network (NGMWAN) technology, and the underlying multiple actual WAN network cards of the first WAN aggregation device are encapsulated and virtualized into a unified network card, referred to as a virtual network card. The received first data is automatically directed to the virtual network card and intelligently distributed among the underlying multiple WAN network cards through the virtual network card.

[0049] That is to say, after receiving the first data, the virtual network card encapsulates the first data into one or more first IP data packets, and then dynamically and intelligently allocates an actual network card to each first IP data packet according to the communication status of the communication link, rather than allocating them according to a fixed weight ratio or routing rule; for example, the first IP data packet can be allocated according to the current real-time round trip time (RTT) parameter of each WAN, and the first IP data packet is always allocated to the WAN with the current minimum RTT, thereby realizing real-time optimal multi-WAN traffic allocation to maximize the utilization of bandwidth resources of all WANs.

[0050] The data transmission method of the embodiment of the present application firstly encapsulates the received first data into at least one first IP data packet; secondly, monitors the communication status of each communication link between the WAN network card of the first WAN port aggregation device and the WAN network card of the second WAN port aggregation device in real time; finally, according to the communication status of each of the communication links, allocates a WAN network card to each of the first IP data packets, so as to transmit the first IP data packet on the communication link where the WAN network card is located. In this way, the real-time adaptive switching function between multiple WAN ports is realized, and the effect of data allocation is improved.

[0051] As an optional implementation, the communication status includes at least one of the following:

[0052] Communication quality;

[0053] communication speed;

[0054] Whether the communication is interrupted.

[0055] Specifically, communication quality includes communication delay, bandwidth, throughput, etc., but is not limited thereto.

[0056] As an optional implementation, in step 103, allocating a WAN network card to each of the first IP data packets includes:

[0057] Based on the load balancing technology and the communication status of each of the communication links, the WAN network card is allocated to each of the first IP data packets.

[0058] Load balancing is built on the existing network structure. It provides a cheap, effective and transparent method to expand the bandwidth of network devices and servers, increase throughput, enhance network data processing capabilities, and improve network flexibility and availability. Load balancing means that it is distributed to multiple operating units for execution, such as WEB servers, FTP servers, enterprise key application servers and enterprise key mission servers, so as to jointly complete the work tasks.

[0059] That is to say, in this optional implementation, when allocating a WAN network card to each first IP data packet, first, multiple communication links with better communication status are selected, and secondly, load balancing technology is used to allocate different network cards to each first IP data packet in the selected communication link to maximize the utilization of bandwidth resources of all WAN network cards.

[0060] Furthermore, as an optional implementation, the method further includes:

[0061] When it is monitored that the communication link to which the WAN network card allocated for the first IP data packet belongs is interrupted, reallocating the WAN network card for the first IP data packet among the WAN network cards on the uninterrupted communication links according to the communication status of each of the communication links;

[0062] The first IP data packet is transmitted on the communication link where the reallocated WAN network card is located.

[0063] That is to say, the virtual network card in the first WAN port aggregation device will monitor the communication status of each communication link in real time, so that it can promptly discover whether there is a communication interruption in any network card; when it is monitored that the communication link where the WAN network card assigned to the first IP data packet is located is interrupted, the data packet on the communication link is promptly allocated to the communication link where other WAN network cards are located. This data flow distribution and switching function is completely automatic and intelligent monitoring and management by the virtual network card, which has nothing to do with routing rules and does not require changing routing rules. In this way, the problem of frequent changes in routing rules can be effectively solved. On the one hand, it can avoid the problem of a sharp decline in equipment operation stability due to frequent changes in routing rules; on the other hand, it can achieve fast fault switching and millisecond-level switching.

[0064] As an optional implementation, the method further includes:

[0065] Within a first time period after transmitting the first IP data packet, receiving a confirmation message sent by the second WAN port aggregation device on the communication link through which the first WAN port aggregation device transmitted the first IP data packet, wherein the confirmation message is used to indicate that the second WAN port aggregation device has successfully received the first IP data packet.

[0066] Here, it should be noted that the existing WAN port aggregation device only sends the data packet according to the routing rules, and has no idea whether the data packet is received by the other end, and lacks the guarantee of communication quality; while the WAN port aggregation device applying the method of the embodiment of the present application is a bilateral device, which needs to be processed by both the sending end and the receiving end, so that reliable communication can be achieved.

[0067] Specifically, in this optional implementation, after receiving the first IP data packet sent by the first WAN port aggregation device, the receiving end also uses the communication link for sending the first IP data packet to feedback a confirmation message to the first WAN port aggregation device to inform the first WAN port aggregation device that it has successfully received the first IP data packet, thereby improving the reliability of data transmission.

[0068] Similarly, as another optional implementation, the method further includes:

[0069] If, within a first time period after transmitting the first IP data packet, no confirmation message is received from the second WAN port aggregation device on the communication link through which the first WAN port aggregation device transmits the first IP data packet, the WAN network card is reallocated for the first IP data packet according to the communication status of each of the communication links, so as to retransmit the first IP data packet on the communication link where the reallocated WAN network card is located.

[0070] That is to say, if the first WAN port aggregation device does not receive a confirmation message from the other end within the first period of time after sending the first IP data packet, it is considered that the transmission of the first IP data packet has failed and the first IP data packet needs to be retransmitted. In this way, it is necessary to reallocate the communication link for the first IP data packet to minimize the probability of packet loss. The reallocated communication link can be the same as or different from the communication link used to send the first IP data packet previously.

[0071] Furthermore, as an optional implementation, the method further includes:

[0072] Sending a second IP data packet to the second WAN port aggregation device, wherein the selection field of the second IP data packet includes an NGMWAN parameter;

[0073] When receiving the third IP data packet fed back by the second WAN port aggregation device, a communication connection based on the NGMWAN virtual network card is established with the second WAN port aggregation device; wherein the selection field of the third IP data packet includes NGMWAN parameters.

[0074] It should be noted here that since NGMWAN technology is an end-to-end technology, both the sending device (first WAN port aggregation device) and the receiving device (second WAN port aggregation device) are required to have NGMWAN functions. Therefore, before realizing a communication link based on the NGMWAN virtual network card between the sending device and the receiving device, it is necessary to determine whether both have NGMWAN functions. Therefore, first, the sending device sends a second IP data packet to the receiving device, and the option field of the packet header of the IP data packet carries the NGMWAN parameter to inform the receiving device that it has the NGMWAN communication function; after the receiving device receives the second IP data packet, if the receiving device also supports the NGMWAN communication function, the receiving device first checks whether the option field of the IP packet header of the received second IP data packet carries the NGMWAN parameter. If it carries the NGMWAN parameter, it knows that the sending device supports the NGMWAN communication function. At this time, a third IP data packet with the NGMWAN parameter in the option field of the IP packet header is fed back to the sending device to inform the sending device that it supports the NGMWAN communication function. After receiving the third IP data packet, the sending device checks whether the option field of the packet header of the third IP data packet carries the NGMWAN parameter, and establishes a communication connection based on the NGMWAN virtual network card with the receiving device; otherwise, communication is carried out according to the original routing rules without passing through the NGMWAN virtual network card.

[0075] Specifically, when establishing a communication connection based on the NGMWAN virtual network card, it can be determined according to the number of WAN ports of the sending device and the number of WAN ports of the receiving device. For example, if the number of WAN ports of the sending device is A and the number of WAN ports of the receiving device is B, then the number of communication links between the sending device and the receiving device is A×B; after receiving the first data, multiple communication links for transmitting IP data packets encapsulated with the first data can be selected from the A×B communication links based on the data volume of the first data and the communication status of the communication link.

[0076] Furthermore, for the receiving device (the second WAN port aggregation device), after receiving multiple first IP data packets, the NGMWAN virtual network card of the receiving device will perform out-of-order packet processing to ensure that there are no out-of-order packets in the data packets transmitted to the upper layer, and then further unpack the processed first IP data packets to restore the original data (first data) and send them to the upper-layer application.

[0077] It can be seen from this that the upper-layer communication of the WAN port aggregation device is no longer directly associated with the underlying network card, and the upper-layer communication is only associated with a single NGMWAN virtual network card. The upper-layer communication and traffic aggregation are decoupled, and the upper-layer communication does not need to pay attention to the details of traffic aggregation. Traffic aggregation is transparent to the upper-layer communication. Traffic distribution and routing are decoupled, which greatly simplifies the setting of routing rules. In traditional multi-WANs, routing rules for traffic distribution and traffic identification rules for traffic distribution, such as packet filtering firewall (iptables) rules under the Linux platform for traffic identification, are no longer required in NGMWAN, nor do they need to be set up dynamically. When traffic is imported into the NGMWAN virtual network card, the virtual network card will automatically and intelligently distribute it among the multiple underlying WANs, and it will intelligently perform the best real-time distribution based on the real-time status of each WAN, which improves the distribution effect.

[0078] In addition, before implementing the data transmission method of the embodiment of the present application, it is also necessary to modify and adjust some special parameters of the NGMWAN virtual network card in the WAN port aggregation device using the embodiment of the present application, and the standard IP link command cannot modify and adjust these special parameters. Therefore, it is necessary to provide an nw configuration application to execute the nw command to configure and manage the special parameters of the virtual network card. Data exchange is performed between the nw application and the NGMWAN virtual network card through the Linux standard ioctl interface.

[0079] Specifically, these special parameters include at least one of the following, but are not limited to: tunnel type (server or client); network card traffic statistics; ping interval period (the server does not ping the client, but only responds to the client's ping, so this parameter does not need to be set, but the server will check whether the client is idle for a timeout. If no data packet (including ping data packet) from the client is received within the idle timeout period, the client will be considered to have timed out for a long time and the client will be deleted); parameters such as the maximum number of data packets that the virtual network card can process in one batch.

[0080] That is to say, the data transmission method of the embodiment of the present application also includes: configuring parameters for the NGMWAN virtual network card by running the nw configuration application.

[0081] In the data transmission method of this optional embodiment, the multiple actual WAN network cards at the bottom of the WAN port aggregation device are encapsulated through the encapsulation concept of the virtual network card, and virtualized into a unified network card for management, thereby realizing the bandwidth superposition function of a single connection session for any traffic type and the real-time adaptive switching function between multiple WAN ports intelligently according to the real-time status of multiple WANs (communication link status).

[0082] like Figure 2 As shown, the embodiment of the present application also provides a data transmission device, which is applied to a first WAN port aggregation device, including:

[0083] The encapsulation module 201 is used to encapsulate the received first data into at least one first IP data packet;

[0084] A monitoring module 202, used for monitoring in real time the communication status of each communication link between the WAN network card of the first WAN port aggregation device and the WAN network card of the second WAN port aggregation device;

[0085] The first allocation module 203 is used to allocate a WAN network card to each of the first IP data packets according to the communication status of each of the communication links, so as to transmit the first IP data packet on the communication link where the WAN network card is located.

[0086] In the data transmission device of the embodiment of the present application, first, the encapsulation module 201 encapsulates the received first data into at least one first IP data packet; second, the monitoring module 202 monitors in real time the communication status of each communication link between the WAN network card of the first WAN port aggregation device and the WAN network card of the second WAN port aggregation device; finally, the first allocation module 203 allocates a WAN network card to each of the first IP data packets according to the communication status of each of the communication links, so as to transmit the first IP data packet on the communication link where the WAN network card is located. In this way, the real-time adaptive switching function between multiple WAN ports is realized, and the effect of data allocation is improved.

[0087] Optionally, the communication status includes at least one of the following:

[0088] Communication quality;

[0089] communication speed;

[0090] Whether the communication is interrupted.

[0091] Optionally, the first allocation module 202 is specifically configured to:

[0092] Based on the load balancing technology and the communication status of each of the communication links, the WAN network card is allocated to each of the first IP data packets.

[0093] Furthermore, the device also includes:

[0094] A second allocation module is used for reallocating a WAN network card for the first IP data packet among the WAN network cards on the uninterrupted communication links according to the communication status of each of the communication links when it is monitored that the communication link to which the WAN network card allocated for the first IP data packet is located is interrupted;

[0095] The transmission module is used to transmit the first IP data packet on the communication link where the reallocated WAN network card is located.

[0096] Furthermore, the device also includes:

[0097] A receiving module is used to receive a confirmation message sent by a second WAN port aggregation device on the communication link through which the first WAN port aggregation device transmits the first IP data packet within a first time period after transmitting the first IP data packet, wherein the confirmation message is used to indicate that the second WAN port aggregation device has successfully received the first IP data packet.

[0098] Furthermore, the device also includes:

[0099] A third allocation module is used to reallocate a WAN network card for the first IP data packet according to the communication status of each of the communication links, if no confirmation message is received from the second WAN port aggregation device on the communication link over which the first IP data packet is transmitted by the first WAN port aggregation device within a first time period after the transmission of the first IP data packet, so as to retransmit the first IP data packet on the communication link where the reallocated WAN network card is located.

[0100] Furthermore, the device also includes:

[0101] A sending module, configured to send a second IP data packet to the second WAN port aggregation device, wherein the selection field of the second IP data packet includes an NGMWAN parameter;

[0102] A connection establishment module is used to establish a communication connection based on the NGMWAN virtual network card with the second WAN port aggregation device when a third IP data packet fed back by the second WAN port aggregation device is received; wherein the selection field of the third IP data packet includes NGMWAN parameters.

[0103] like Figure 3 As shown, an embodiment of the present application also provides a WAN port aggregation device, including: a processor 300, a memory 320 and a program stored on the memory 320 and executable on the processor 300. When the program is executed by the processor, the various processes of the data transmission method embodiment described above are implemented, and the same technical effect can be achieved. In order to avoid repetition, it will not be repeated here.

[0104] The transceiver 310 is used to receive and send data under the control of the processor 300 .

[0105] Among them, Figure 3300 and memory 320. The bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 300 and memory represented by memory 320. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 310 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices over a transmission medium.

[0106] The processor 300 is responsible for managing the bus architecture and general processing, and the memory 320 can store data used by the processor 300 when performing operations.

[0107] The embodiment of the present application also provides a readable storage medium, on which a program is stored, and when the program is executed by a processor, each process of the data transmission method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0108] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0109] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles described in the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A data transmission method, It is characterized in that A next generation multi-WAN technology NGMWAN virtual network card applied to a first WAN port aggregation device, wherein the virtual network card is a unified network card virtualized after encapsulating multiple WAN network cards, and the method comprises: Sending a second IP data packet to the second WAN port aggregation device, wherein the selection field of the second IP data packet includes an NGMWAN parameter; When receiving the third IP data packet fed back by the second WAN port aggregation device, establish a communication connection based on the NGMWAN virtual network card with the second WAN port aggregation device; wherein the selection field of the third IP data packet includes the NGMWAN parameter; Encapsulate the first data received from the upper layer of the WAN port aggregation device into at least one first IP data packet; Real-time monitoring of the communication status of each communication link between the WAN network card of the first WAN port aggregation device and the WAN network card of the second WAN port aggregation device; According to the communication status of each of the communication links, a WAN network card is allocated to each of the first IP data packets, so as to transmit the first IP data packets on the communication link where the WAN network card is located.

2. The method according to claim 1, It is characterized in that The communication status includes at least one of the following: Communication quality; communication speed; Whether the communication is interrupted.

3. The method according to claim 1, It is characterized in that Allocating a WAN network card to each of the first IP data packets respectively includes: Based on the load balancing technology and the communication status of each of the communication links, the WAN network card is allocated to each of the first IP data packets.

4. The method according to claim 1, It is characterized in that The method further comprises: When it is monitored that the communication link to which the WAN network card allocated for the first IP data packet belongs is interrupted, reallocating the WAN network card for the first IP data packet among the WAN network cards on the uninterrupted communication links according to the communication status of each of the communication links; The first IP data packet is transmitted on the communication link where the reallocated WAN network card is located.

5. The method according to claim 1, It is characterized in that The method further comprises: Within a first time period after transmitting the first IP data packet, receiving a confirmation message sent by the second WAN port aggregation device on the communication link through which the first WAN port aggregation device transmitted the first IP data packet, wherein the confirmation message is used to indicate that the second WAN port aggregation device has successfully received the first IP data packet.

6. The method according to claim 1, It is characterized in that The method further comprises: If, within a first time period after transmitting the first IP data packet, no confirmation message is received from the second WAN port aggregation device on the communication link through which the first WAN port aggregation device transmits the first IP data packet, the WAN network card is reallocated for the first IP data packet according to the communication status of each of the communication links, so as to retransmit the first IP data packet on the communication link where the reallocated WAN network card is located.

7. A data transmission device, It is characterized in that The NGMWAN virtual network card applied to the first WAN port aggregation device is a unified network card virtualized after encapsulation of multiple WAN network cards, including: A sending module, used for sending a second IP data packet to the second WAN port aggregation device, wherein the selection field of the second IP data packet includes an NGMWAN parameter; A connection establishment module, configured to establish a communication connection based on the NGMWAN virtual network card with the second WAN port aggregation device when receiving a third IP data packet fed back by the second WAN port aggregation device; wherein the selection field of the third IP data packet includes an NGMWAN parameter; An encapsulation module, used for encapsulating the received first data into at least one first IP data packet; A monitoring module, used for monitoring in real time the communication status of each communication link between the WAN network card of the first WAN port aggregation device and the WAN network card of the second WAN port aggregation device; The first allocation module is used to allocate a WAN network card to each of the first IP data packets according to the communication status of each of the communication links, so as to transmit the first IP data packet on the communication link where the WAN network card is located.

8. A WAN port aggregation device, It is characterized in that include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the data transmission method according to any one of claims 1 to 6.

9. A readable storage medium, It is characterized in that The readable storage medium stores a program, and when the program is executed by a processor, the steps of the data transmission method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Internet video direct broadcasting method and system

    CN105392020A

  • Link switching method and device, link switching configuration method and device, communication node and medium

    CN111901836A