Traffic processing method and routing equipment
By using QoS policy and QUIC connection to optimize traffic transmission in CPE devices of the SDWAN protocol, the problems of packet loss, delay and jitter on MPLS or IP networks are solved, and high-quality data transmission in unstable networks are achieved.
Patent Information
- Application Number
- CN202510708306.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-29
- Publication Date
- 2025-08-22
AI Technical Summary
In an unstable WAN environment, when SDWAN tunnel is established on MPLS or IP network, it faces transmission quality problems such as packet loss, delay and jitter, resulting in a decline in service experience such as video conferencing lag and slow cloud application response.
By using QoS policy to match the traffic to be forwarded in the CPE device of the SDWAN protocol, it is determined whether the link indicator reaches the preset threshold. If it is reached, a QUIC connection is established and the QUIC header and SDWAN header are encapsulated. The traffic is forwarded through the SDWAN tunnel to ensure that important traffic can still maintain high-quality transmission when the link quality is poor.
In the SDWAN network, by dynamically establishing QUIC connections, the transmission quality of important traffic is improved, resource waste is avoided when the link is normal, and data is always transmitted with high quality.
Smart Images

Figure CN120528862A_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of communication technology, and in particular to a method for processing traffic and a routing device. Background Art
[0002] SDWAN (Software Defined Wide Area Network) is a VPN technology that applies SDN technology to wide area networks. The control plane uses SSL / MP-BGP to advertise TTE (Transport Tunnel Endpoint) information to establish SDWAN tunnels between sites. It also uses MP-BGP to distribute private network routes between sites. The data plane uses UDP encapsulation to forward data packets, ensuring secure data transmission through security mechanisms such as IPsec. This provides secure and reliable interconnection services for enterprise networks and data centers across a wide geographical area.
[0003] CPE (Customer Provided Edge): The edge device of the user network.
[0004] RR (Route Reflector): used to reflect TTE information and private network routes between CPEs.
[0005] WAAS: Wide Area Application Services, Wide Area Application Services is a network optimization technology designed to improve user experience by accelerating application performance on wide area networks (WANs). WAAS reduces the amount of transmitted data and reduces latency through a variety of optimization technologies (such as data compression, data deduplication, protocol optimization, and caching), thereby significantly improving application response speed. It is particularly suitable for cross-regional enterprise networks and can effectively solve bandwidth limitations and high latency problems while reducing network operating costs. WAAS also supports priority management of critical business applications (such as ERP, CRM, and video conferencing) to ensure their stable and reliable performance. By deploying WAAS, enterprises can achieve LAN-like performance on a wide area network, improving productivity and business efficiency.
[0006] QoS policy: is a network management technology used to optimize and control network resource allocation to ensure stable and reliable performance of critical applications and services. Through QoS policy, network administrators can prioritize specific types of data traffic (such as voice, video, or critical business applications) while limiting or delaying non-critical traffic (such as file downloads or web browsing). QoS technology typically includes mechanisms such as traffic classification, marking, queuing, congestion management, and bandwidth allocation, which can effectively reduce network latency, packet loss, and jitter, and improve user experience. QoS policy is particularly important in complex network environments, especially in situations of limited bandwidth or network congestion, to ensure the efficient operation of critical services and improve the overall utilization and reliability of the network.
[0007] In unstable wide area network (WAN) environments, enterprises deploying SD-WAN often face transmission quality issues such as packet loss, latency, and jitter due to reliance on internet links (such as MPLS or IP networks). These issues can directly lead to poor service experience, such as video conferencing lag and slow cloud application response times. One of the core demands of enterprise customers adopting SD-WAN is how to improve traffic transmission quality after switching from dedicated lines to internet links, achieving stability and performance close to that of dedicated lines. However, the inherent flaws of internet lines (such as high packet loss, latency, and jitter) make this goal more challenging. Summary of the Invention
[0008] To overcome the problems existing in the related art, this specification provides a method for processing traffic and a routing device.
[0009] According to a first aspect of an embodiment of this specification, a method for processing traffic is provided, the method being applied to a CPE device enabling a software-defined wide area network (SDWAN) protocol, the method comprising:
[0010] Obtaining the traffic to be forwarded, and matching the information of the traffic to be forwarded with a preset QoS policy to obtain a matching result;
[0011] If the result is a match, determine whether the link indicator for forwarding the traffic to be forwarded reaches a preset threshold;
[0012] If the preset threshold is reached, a QUIC connection is established and the traffic to be forwarded is sent.
[0013] The obtaining of the traffic to be forwarded includes:
[0014] Obtain traffic to be forwarded through the SDWAN tunnel interface.
[0015] Wherein, the information of the traffic to be forwarded is matched with a preset QoS policy to obtain a matching result. When the result is no match, the method includes:
[0016] Encapsulate the traffic to be forwarded with an SDWAN header, and send the traffic to be forwarded with the SDWAN header encapsulated through SDWAN.
[0017] The step of determining whether a link indicator for forwarding the traffic to be forwarded reaches a preset threshold includes:
[0018] Redirecting the traffic to be forwarded to the WAAS instance;
[0019] WAAS detects through the iNQA module whether the link indicator for forwarding the traffic to be forwarded reaches a preset threshold;
[0020] If the preset threshold is reached, a QUIC connection is established and the traffic to be forwarded is sent, including:
[0021] WAAS notifies SDWAN to establish a QUIC connection.
[0022] The step of establishing a QUIC connection and sending the traffic to be forwarded includes:
[0023] Encapsulate the QUIC header and SDWAN header for the traffic to be forwarded, and forward the traffic to be forwarded encapsulated with the QUIC header and SDWAN header through the SDWAN tunnel.
[0024] Before obtaining the traffic to be forwarded, the method further includes:
[0025] A first route is sent to the peer device of the CPE, where the first route includes: site ID, device ID, interface ID, TTE connection ID, and identification information for enabling the QUIC function of SDWAN.
[0026] Through the above embodiments, it can be seen that when it is judged that the link indicator reaches the preset threshold (indicating that the link performance is poor), a QUIC connection can be established to ensure the forwarding of traffic, ensuring that data always maintains high-quality transmission in the SDWAN network. On the other hand, since the QUIC connection is only established when the link indicator reaches the preset threshold, and there is no need to establish a QUIC connection when it does not reach the preset threshold, it can avoid the waste of resources caused by establishing a QUIC connection when the link is normal.
[0027] According to a second aspect of an embodiment of this specification, a routing device is provided, the routing device including:
[0028] An acquisition module is used to obtain the traffic to be forwarded, and match the information of the traffic to be forwarded with a preset QoS policy to obtain a matching result;
[0029] A judgment module, used to judge whether the link indicator for forwarding the traffic to be forwarded reaches a preset threshold;
[0030] The processing module is used to establish a QUIC connection and send the traffic to be forwarded when it is determined that a preset threshold is reached.
[0031] The acquisition module is used to obtain the traffic to be forwarded through the SDWAN tunnel interface.
[0032] Among them, the judgment module is used to redirect the traffic to be forwarded to the WAAS instance. WAAS detects through the iNQA module whether the link indicator for forwarding the traffic to be forwarded reaches a preset threshold, and if the preset threshold is reached, WAAS notifies SDWAN to establish a QUIC connection.
[0033] The processing module is used to encapsulate the QUIC header and SDWAN header for the traffic to be forwarded, and forward the traffic to be forwarded encapsulated with the QUIC header and SDWAN header through the SDWAN tunnel.
[0034] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and, together with the description, serve to explain the principles of the specification.
[0036] Figure 1 This is a flow chart of a method for processing traffic according to an exemplary embodiment of the present specification.
[0037] Figure 2 This is a flow chart of optimizing wide area network traffic forwarding based on WAAS and QUIC according to an exemplary embodiment of this specification. DETAILED DESCRIPTION
[0038] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with this specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of this specification, as detailed in the appended claims.
[0039] The terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit this specification. As used in this specification and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0040] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, such information should not be limited to these terms. These terms are merely used to distinguish information of the same type from one another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information without departing from the scope of this specification. Depending on the context, the term "if" as used herein may be interpreted as "when," "when," or "in response to determining."
[0041] In order to solve the technical problem that in a wide area network, SDWAN tunnels are established on MPLS or IP networks, and the transmission uncertainty of MPLS and IP networks leads to transmission quality problems such as packet loss, delay and jitter, which cannot meet the transmission quality requirements of enterprise users, the embodiments of the present disclosure provide a method for processing traffic, which is applied to CPE devices that enable the software-defined wide area network SDWAN protocol, such as Figure 1 As shown, the method includes:
[0042] S101 obtains the traffic to be forwarded, and matches the information of the traffic to be forwarded with a preset QoS policy to obtain a matching result;
[0043] S102: When the result is a match, determining whether the link indicator for forwarding the traffic to be forwarded reaches a preset threshold;
[0044] If the preset threshold is reached in S103, a QUIC connection is established and the traffic to be forwarded is sent.
[0045] In step S101, the information of the traffic to be forwarded may include: attribute information of the traffic to be forwarded, such as port information, address information, traffic category information, etc., which may be defined according to business requirements in a specific implementation.
[0046] In this embodiment, the administrator can preset a QoS policy and filter out important traffic, such as video traffic, traffic from important customers, etc., through the preset QoS policy.
[0047] In step S101, if the information of the traffic to be forwarded is matched with the preset QoS policy and the matching result is a mismatch, it means that the traffic to be forwarded is not important traffic and can tolerate problems such as packet loss, delay, and jitter. In this case, the traffic to be forwarded can be directly encapsulated with an SDWAN header and the traffic to be forwarded with the encapsulated SDWAN header can be sent through the SDWAN tunnel.
[0048] If the information of the traffic to be forwarded is matched with the preset QoS policy, and the matching result is a match, it means that the traffic to be forwarded is important traffic, and step S102 can be further executed.
[0049] In step S102, the traffic to be forwarded can be redirected to the WAAS instance. WAAS monitors the key indicators of the SDWAN tunnel (packet loss rate, delay, and jitter) through the iNQA module. If the iNQA module monitors that the key indicators of the SDWAN tunnel do not reach the preset threshold, it can be determined that the SDWAN tunnel meets customer needs. The SDWAN header can be directly encapsulated for the traffic to be forwarded, and the traffic to be forwarded with the encapsulated SDWAN header can be sent through SDWAN.
[0050] In another case, if the iNQA module monitors and detects that the key indicators of the SDWAN tunnel reach the preset threshold, it can be determined that the SDWAN tunnel does not meet customer needs. At this time, WAAS can notify SDWAN to establish a QUIC connection.
[0051] Among them, QUIC (Quick UDP Internet Connections) is a modern network transmission protocol based on UDP (User Datagram Protocol). The design goal of QUIC is to improve the Internet communication experience by optimizing transmission efficiency, reducing latency and enhancing security. It integrates the reliability of TCP (Transmission Control Protocol) and the encryption function of TLS (Transport Layer Security), while avoiding the head-of-line blocking problem of TCP, and supports multiplexing technology, allowing multiple data streams to be transmitted in parallel on a single connection. In addition, QUIC significantly reduces the time to establish a connection by reducing the number of handshakes (such as merging the TLS handshake with connection establishment), which is particularly suitable for high-latency or unstable network environments (such as mobile networks). The flexibility and efficiency of QUIC make it the basis of the HTTP / 3 protocol, which is gradually changing the transmission architecture of the Internet.
[0052] In this embodiment, after WAAS notifies SDWAN to establish a QUIC connection, it encapsulates the QUIC header and SDWAN header for the traffic to be forwarded, and forwards the traffic to be forwarded encapsulated with the QUIC header and SDWAN header through the SDWAN tunnel, thereby improving the data transmission quality through QUIC and ensuring that data always maintains high-quality transmission in the SDWAN network.
[0053] It can be seen from the above embodiments that for important traffic (traffic matching the QoS policy), the transmission quality of the traffic can be guaranteed by establishing QUIC when SDWAN does not meet user needs. At the same time, since establishing QUIC requires additional resources, in the present application, QUIC is established only when it is determined that the link indicator of SDWAN reaches the preset threshold. Therefore, it is possible to avoid the waste of resources caused by establishing QUIC when the link indicator of SDWAN meets customer needs.
[0054] In this embodiment, a new type of route may be added, for example, the type value is 6. The route includes the following information:
[0055] 6: Indicates the WAAS transport tunnel endpoint.
[0056] SiteID: Site ID
[0057] DeviceID: device ID
[0058] InterfaceID: Interface ID
[0059] LinkID: ID of the TTE connection
[0060] Waas TTE info: WAAS TTE information, currently indicating whether the route sender has enabled the QUIC function of SDWAN.
[0061] After the device joins the network, it can send the above route to determine whether each device in the network can enable QUIC. When it is determined that the devices at both ends of the SDWAN tunnel have enabled the SDWAN QUIC function, the device will automatically establish a QUIC connection for the SDWAN tunnel when it detects that the SDWAN tunnel link quality has deteriorated, so as to improve the transmission quality.
[0062] Based on the above embodiments, the present disclosure provides an example, as shown in Figure 2, which illustrates a technical solution for SDWAN to optimize WAN traffic forwarding based on WAAS and QUIC:
[0063] (1) Traffic classification and redirection
[0064] The CPE device uses predefined QoS policies (such as application type and DSCP marking) to identify traffic that requires WAAS optimization (such as real-time video and database synchronization traffic) and redirects it to the WAAS instance so that WAAS can optimize traffic forwarding.
[0065] (2) Dynamic link quality perception and QUIC connection establishment
[0066] WAAS monitors key SDWAN tunnel metrics (packet loss rate, latency, and jitter) through the iNQA module. When link quality deteriorates and iNQA detects a metric exceeding a preset threshold, WAAS immediately notifies SDWAN to establish a QUIC connection, essentially a QUIC connection over the SDWAN tunnel.
[0067] (3) Data encapsulation and forwarding
[0068] After the QUIC connection is established, the CPE will add QUIC encapsulation to the traffic matching the QoS policy, then add the SDWAN header and forward the QUIC message through the SDWAN tunnel. In this way, QUIC can improve the quality of data transmission on the SDWAN tunnel.
[0069] (4) Dynamic fallback and resource release
[0070] When the link quality of the SDWAN tunnel returns to normal, iNQA detects that all link indicators are lower than the preset threshold. WAAS then notifies SDWAN to disconnect the QUIC connection, and the service traffic returns to being directly forwarded by adding the SDWAN header, releasing the computing and bandwidth resources occupied by QUIC and achieving on-demand optimized resource scheduling.
[0071] From the above example, we can further see that when the link quality deteriorates, QUIC can improve the data transmission quality, ensuring that data always maintains high-quality transmission in the SDWAN network.
[0072] Based on the above method embodiments, an embodiment of the present disclosure further provides a routing device, the routing device comprising:
[0073] An acquisition module is used to obtain the traffic to be forwarded, and match the information of the traffic to be forwarded with a preset QoS policy to obtain a matching result;
[0074] A judgment module, used to judge whether the link indicator for forwarding the traffic to be forwarded reaches a preset threshold;
[0075] The processing module is used to establish a QUIC connection and send the traffic to be forwarded when it is determined that a preset threshold is reached.
[0076] The acquisition module is used to obtain the traffic to be forwarded through the SDWAN tunnel interface.
[0077] Among them, the judgment module is used to redirect the traffic to be forwarded to the WAAS instance. WAAS detects through the iNQA module whether the link indicator for forwarding the traffic to be forwarded reaches a preset threshold, and if the preset threshold is reached, WAAS notifies SDWAN to establish a QUIC connection.
[0078] The processing module is used to encapsulate the QUIC header and SDWAN header for the traffic to be forwarded, and forward the traffic to be forwarded encapsulated with the QUIC header and SDWAN header through the SDWAN tunnel.
[0079] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial description of the method embodiments. The device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this specification. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0080] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0081] Other embodiments of the present invention will readily occur to those skilled in the art upon consideration of the present invention and practice of the invention claimed herein. This specification is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of this specification and include common knowledge or customary techniques in the art not claimed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present invention being indicated by the following claims.
[0082] It should be understood that the present description is not limited to the exact structure that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
[0083] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.
Claims
1. A method for processing traffic, characterized in that: The method is applied to a CPE device that enables a software-defined wide area network (SDWAN) protocol, and the method includes: Obtaining the traffic to be forwarded, and matching the information of the traffic to be forwarded with a preset QoS policy to obtain a matching result; If the result is a match, determine whether the link indicator for forwarding the traffic to be forwarded reaches a preset threshold; If the preset threshold is reached, a QUIC connection is established and the traffic to be forwarded is sent.
2. The method according to claim 1, characterized in that The obtaining of the traffic to be forwarded includes: Obtain traffic to be forwarded through the SDWAN tunnel interface.
3. The method according to claim 1, characterized in that The method includes matching the information of the traffic to be forwarded with a preset QoS policy to obtain a matching result. When the result is no match, the method includes: Encapsulate the traffic to be forwarded with an SDWAN header, and send the traffic to be forwarded with the SDWAN header encapsulated through SDWAN.
4. The method according to claim 1, wherein Determining whether a link indicator for forwarding the traffic to be forwarded reaches a preset threshold includes: Redirecting the traffic to be forwarded to the WAAS instance; WAAS detects through the iNQA module whether the link indicator for forwarding the traffic to be forwarded reaches a preset threshold; If the preset threshold is reached, a QUIC connection is established and the traffic to be forwarded is sent, including: WAAS notifies SDWAN to establish a QUIC connection.
5. The method according to claim 1, wherein Establishing a QUIC connection and sending the traffic to be forwarded includes: Encapsulate the QUIC header and SDWAN header for the traffic to be forwarded, and forward the traffic to be forwarded encapsulated with the QUIC header and SDWAN header through the SDWAN tunnel.
6. The method according to claim 1, characterized in that Before obtaining the traffic to be forwarded, the method further includes: A first route is sent to the peer device of the CPE, where the first route includes: site ID, device ID, interface ID, TTE connection ID, and identification information for enabling the QUIC function of SDWAN.
7. A routing device, characterized in that: The routing device includes: An acquisition module is used to obtain the traffic to be forwarded, and match the information of the traffic to be forwarded with a preset QoS policy to obtain a matching result; A judgment module, used to judge whether the link indicator for forwarding the traffic to be forwarded reaches a preset threshold; The processing module is used to establish a QUIC connection and send the traffic to be forwarded when it is determined that a preset threshold is reached.
8. The routing device according to claim 7, wherein: The acquisition module is used to obtain the traffic to be forwarded through the SDWAN tunnel interface.
9. The routing device according to claim 7, wherein: The judgment module is used to redirect the traffic to be forwarded to the WAAS instance. WAAS detects through the iNQA module whether the link indicator for forwarding the traffic to be forwarded reaches a preset threshold. If the preset threshold is reached, WAAS notifies SDWAN to establish a QUIC connection.
10. The routing device according to claim 7, wherein: The processing module is used to encapsulate the QUIC header and SDWAN header for the traffic to be forwarded, and forward the traffic to be forwarded encapsulated with the QUIC header and SDWAN header through the SDWAN tunnel.