Data traffic processing method, apparatus, device, medium, and product

By deploying BGP neighbors and designated routes in the cloud network, the problem of dedicated line congestion between regions was solved, and data traffic transmission was accelerated.

CN117240768BActive Publication Date: 2026-11-20TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210645431.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-08
Publication Date
2026-11-20
Estimated Expiration
2042-06-08

AI Technical Summary

Technical Problem

In cloud networks, the traffic of dedicated network equipment between regions is huge, which can easily cause congestion on dedicated lines and affect traffic transmission efficiency.

Method used

By deploying BGP configurations at the gateways of the origin and destination domains, establishing BGP neighbors, and instructing the next hop of the specified route to be the routing device in the destination domain, congested leased lines can be bypassed, and network resources can be used to accelerate data traffic transmission.

Benefits of technology

It enables precise scheduling of specified data traffic, bypassing congested dedicated lines, making full use of network resources, and improving the transmission efficiency of data traffic.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117240768B_ABST
    Figure CN117240768B_ABST
Patent Text Reader

Abstract

This application discloses a data traffic processing method, apparatus, device, medium, and product. The method includes: sending a first BGP configuration to an originating gateway and a destination gateway respectively, so that the originating gateway and the destination gateway create a first BGP neighbor based on the first BGP configuration; sending a specified route containing a destination IP to the destination gateway, and indicating that the next hop of the specified route is a destination routing device deployed in the destination domain, so that the destination gateway advertises the specified route based on the created first BGP neighbor, and the originating gateway learns the specified route; transmitting data traffic from the originating gateway to the destination gateway, so that the destination gateway forwards the data traffic to the destination routing device, and the destination routing device transmits the data traffic to the destination IP. The technical solution of this application embodiment can perform fine-grained scheduling of specified data traffic, making full use of network resources to achieve accelerated data traffic transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of computer and communication technology, and more specifically, to a data traffic processing method, a data traffic processing device, an electronic device, a computer-readable storage medium, and a computer program product. Background Technology

[0002] In cloud networks, traffic exchange between two regions typically uses traditional dedicated network equipment. Traffic is sent to the other region through a dedicated line connection between the dedicated network equipment in the two regions. However, due to the huge traffic volume of the dedicated network equipment between regions, the dedicated line between the dedicated network equipment is prone to congestion, which affects the traffic transmission between regions. Summary of the Invention

[0003] The embodiments of this application provide a data traffic processing method, a data traffic processing device, an electronic device, a computer-readable storage medium, and a computer program product, which can perform fine-grained scheduling of data traffic and make full use of network resources to accelerate data traffic transmission.

[0004] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.

[0005] In a first aspect, embodiments of this application provide a data traffic processing method, comprising: sending a first Border Gateway Protocol (BGP) configuration to an originating gateway deployed in an originating region covered by a cloud network and a destination gateway deployed in a destination region, respectively, so that the originating gateway and the destination gateway create a first BGP neighbor based on the first BGP configuration; sending a specified route containing a target IP to the destination gateway, and instructing the next hop of the specified route to be a destination routing device deployed in the destination region, so that the destination gateway advertises the specified route based on the created first BGP neighbor, and the originating gateway learns the specified route; transmitting data traffic from the originating gateway to the destination gateway, so that the destination gateway forwards the data traffic to the destination routing device, and the destination routing device transmits the data traffic to the target IP.

[0006] Secondly, embodiments of this application also provide a data traffic processing method applied to a destination gateway deployed in a destination domain covered by a cloud network, comprising: receiving a first Border Gateway Protocol (BGP) configuration to create a first BGP neighbor based on the first BGP configuration and an initial gateway deployed in the initial domain covered by the cloud network; receiving a specified route containing a destination IP and an indication that the next hop of the specified route is a destination routing device deployed in the destination domain; advertising the specified route based on the created first BGP neighbor so that the initial gateway learns the specified route; receiving data traffic transmitted by the initial gateway and forwarding the data traffic to the destination routing device so that the data traffic is transmitted to the destination IP through the destination routing device.

[0007] Thirdly, this application also provides a data traffic processing method applied to an initial gateway deployed in the initial region covered by a cloud network. The method includes: receiving a first Border Gateway Protocol (BGP) configuration to create a first BGP neighbor based on the first BGP configuration and a destination gateway deployed in the destination region covered by the cloud network; learning a specified route containing a target IP advertised by the destination gateway based on the created first BGP neighbor; and transmitting data traffic to the destination gateway so that the destination gateway forwards the data traffic to the destination routing device, and the data traffic is transmitted to the target IP through the destination routing device.

[0008] Fourthly, this application also provides a data traffic processing device deployed in a cloud network, comprising: a sending module, configured to send a first Border Gateway Protocol (BGP) configuration to an originating gateway deployed in an originating region covered by the cloud network and a destination gateway deployed in a destination region, respectively, so that the originating gateway and the destination gateway create a first BGP neighbor based on the first BGP configuration; the sending module is further configured to send a specified route containing a target IP to the destination gateway, and instruct the next hop of the specified route to be a destination routing device deployed in the destination region, so that the destination gateway advertises the specified route based on the created first BGP neighbor, and the originating gateway learns the specified route; and a transmission module, configured to transmit data traffic from the originating gateway to the destination gateway, so that the destination gateway forwards the data traffic to the destination routing device, and the destination routing device transmits the data traffic to the target IP.

[0009] Fifthly, embodiments of this application also provide a data traffic processing apparatus, which is deployed in a destination gateway deployed in a destination domain covered by a cloud network. The apparatus includes: a receiving module, configured to receive a first Border Gateway Protocol (BGP) configuration to create a first BGP neighbor with an initial gateway deployed in the initial domain covered by the cloud network based on the first BGP configuration; the receiving module is further configured to receive a specified route containing a target IP address, and an indication that the next hop of the specified route is a destination routing device deployed in the destination domain; an advertising module, configured to advertise the specified route based on the created first BGP neighbor, so that the initial gateway learns the specified route; the receiving module is further configured to receive data traffic transmitted by the initial gateway and forward the data traffic to the destination routing device, so that the data traffic is transmitted to the target IP address through the destination routing device.

[0010] Sixthly, embodiments of this application also provide a data traffic processing apparatus, which is deployed in an initial gateway in the initial region covered by a cloud network. The apparatus includes: a receiving module, configured to receive a first Border Gateway Protocol (BGP) configuration to create a first BGP neighbor with a destination gateway deployed in the destination region covered by the cloud network based on the first BGP configuration; a learning module, configured to learn a specified route containing a target IP advertised by the destination gateway based on the created first BGP neighbor; and a forwarding module, configured to transmit data traffic to the destination gateway, so that the destination gateway forwards the data traffic to the destination routing device, and the destination routing device transmits the data traffic to the target IP.

[0011] In a seventh aspect, embodiments of this application provide an electronic device, including one or more processors; and a storage device for storing one or more computer programs, wherein when the one or more computer programs are executed by the one or more processors, the electronic device enables the data traffic processing method described above.

[0012] Eighthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor of an electronic device, causes the electronic device to perform the data traffic processing method described above.

[0013] Ninthly, embodiments of this application provide a computer program product, including a computer program, wherein a processor of an electronic device reads from and executes the computer program from the computer-readable storage medium, causing the electronic device to perform the data traffic processing method as described above.

[0014] In the technical solution provided by the embodiments of this application, by sending a first BGP configuration, the starting gateway deployed in the starting region and the destination gateway deployed in the destination region create a first BGP neighbor. By issuing a specified route, both the starting gateway and the destination gateway become aware of the specified route, and then the data traffic is transmitted from the starting gateway to the destination gateway, and finally to the target IP. It can be seen that the embodiments of this application control gateways deployed in different regions to achieve fine scheduling of specified data traffic. Specifically, the transmission of specified data traffic is achieved through the starting gateway and the destination gateway, bypassing the congested dedicated lines between private network devices, and making full use of network resources to achieve accelerated transmission of data traffic.

[0015] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0016] Figure 1 This is a schematic diagram of one implementation environment involved in this application;

[0017] Figure 2 This is a schematic diagram of another implementation environment involved in this application;

[0018] Figure 3 This is a flowchart illustrating a data traffic processing method in an exemplary embodiment of this application;

[0019] Figure 4 This is a flowchart illustrating another data traffic processing method as shown in an exemplary embodiment of this application;

[0020] Figure 5 This is a flowchart illustrating another data traffic processing method as shown in an exemplary embodiment of this application;

[0021] Figure 6 This is a flowchart illustrating another data traffic processing method as shown in an exemplary embodiment of this application;

[0022] Figure 7 This is a flowchart illustrating another data traffic processing method as shown in an exemplary embodiment of this application;

[0023] Figure 8 This is a schematic diagram illustrating gateway deployment in a geographical area, as shown in an exemplary embodiment of this application;

[0024] Figure 9 This is a flowchart illustrating another data traffic processing method as shown in an exemplary embodiment of this application;

[0025] Figure 10 This is a flowchart illustrating a data traffic processing method in another exemplary embodiment of this application;

[0026] Figure 11 This is a flowchart illustrating a data traffic processing method in another exemplary embodiment of this application;

[0027] Figure 12 This is a flowchart illustrating another data traffic processing method in another exemplary embodiment of this application;

[0028] Figure 13 This is a flowchart illustrating another data traffic processing method in another exemplary embodiment of this application;

[0029] Figure 14 This is a flowchart illustrating another data traffic processing method in another exemplary embodiment of this application;

[0030] Figure 15 This is a flowchart illustrating another data traffic processing method in another exemplary embodiment of this application;

[0031] Figure 16 This is a flowchart illustrating another data traffic processing method in another exemplary embodiment of this application;

[0032] Figure 17 This is a structural block diagram of a data traffic processing apparatus shown in an exemplary embodiment of this application;

[0033] Figure 18 This is a structural block diagram of another data traffic processing apparatus illustrated in an exemplary embodiment of this application;

[0034] Figure 19 This is a structural block diagram of another data traffic processing apparatus shown in an exemplary embodiment of this application;

[0035] Figure 20 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown. Detailed Implementation

[0036] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0037] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0038] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0039] It should also be noted that "multiple" as mentioned in this application refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0040] The technical solutions of this application embodiment can be applied to the field of cloud technology. Before introducing the technical solutions of this application embodiment, cloud technology will be briefly introduced. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or local area network to realize the computation, storage, processing, and sharing of data.

[0041] Cloud computing is a computing model that distributes computing tasks across a large pool of computers, enabling various application systems to access computing power, storage space, and information services as needed. The network providing these resources is called the "cloud." From the user's perspective, resources in the "cloud" appear infinitely scalable, readily available, on-demand, and expandable, with payment based on usage.

[0042] As a provider of fundamental cloud computing capabilities, a cloud resource pool (referred to as a cloud platform, generally called an IaaS (Infrastructure as a Service) platform) is established. Various types of virtual resources are deployed in the resource pool for external customers to choose from. The cloud resource pool mainly includes: computing devices (virtualized machines containing operating systems), storage devices, and network devices.

[0043] The controller, gateway, and routing device of the data traffic processing method provided in this application embodiment can be computing devices, network devices, etc. in a cloud computing resource pool.

[0044] The technical solutions of the embodiments of this application will be described in detail below in conjunction with the implementation environment:

[0045] Please see Figure 1 and Figure 2 , Figure 1 and Figure 2 This is a schematic diagram of an implementation environment involved in this application. The implementation environment includes a controller in a cloud network, at least two regions covered by the cloud network (two regions are shown in the figure, starting region A and destination region B), BR (Backbone Router) 1 and BR2, DR1 (Data Center Router) and DR2 are deployed in starting region A and destination region B respectively, and GW (Gateway) 1 and GW2 are also deployed alongside DR, where the region is the geographical location of the physical data center where the cloud server is located.

[0046] The BR and DR establish a communication connection via the network in advance, enabling them to communicate with each other. Similarly, the DR and GW establish a communication connection via the network in advance, allowing them to communicate with each other. The controller and GW also establish a communication connection via the network in advance, enabling them to communicate with each other. The network can be either a wired or wireless network, and this is not a limitation.

[0047] It should be noted that BRs in two regions can be connected via leased lines; GWs in two regions can be connected via tunnels. Leased line connection refers to connecting the network using fiber optic cables, electrical cables, or wireless communication methods such as satellite or microwave, or by leasing telephone lines or *N leased lines. Tunnel connection refers to building a tunnel between the two ends through a protocol, enabling the two ends to connect.

[0048] In cloud networks, data traffic between two regions is typically scheduled by the Base Transport (BR). See also... Figure 1 In this process, data traffic within the starting region A enters through DR1, then transfers to BR1, and is then sent to BR2 of the destination region B via a dedicated line between the starting region A and the destination region B. Finally, the data traffic is transferred out from DR2 of the destination region B, thus achieving traffic interconnection between regions.

[0049] When the data traffic between two regions' Gateways (BRs) is often enormous, the network quality between the two regions is affected by the quality of the leased lines between them. If network jitter occurs on the leased lines, it will affect the transmission of all data traffic between the regions. In this situation, the Gateway (GW) can be controlled by a controller to finely schedule specific data traffic (such as data traffic on abnormal or congested leased lines), forwarding it through other lines to bypass abnormal or congested leased lines, thereby fully utilizing network resources to accelerate data traffic.

[0050] Please see Figure 2 As shown, the controller sends commands to GW1 in originating region A and GW2 in destination region B. These commands carry Border Gateway Protocol (BGP) configuration, enabling GW1 and GW2 to establish a BGP neighbor relationship. The controller then sends a specified route containing the target IP address to GW2, indicating that the next hop of the specified route is DR2 deployed in destination region B. GW2 then advertises the specified route, GW1 learns it, and subsequently passes the specified route to DR1. When data traffic originating from region A to the target IP address enters through DR1, DR1 forwards the data traffic to GW1 according to the specified route, and GW1 forwards the data traffic to GW2 through the tunnel connection between GW1 and GW2 according to the specified route. GW2 then sends the data traffic to DR2, from where it exits, thus bypassing congestion anomalies and congested dedicated lines, and accelerating data traffic.

[0051] Optionally, terminal devices in the region may request traffic acceleration from the controller, which in turn sends a specified route to GW2.

[0052] In some embodiments of this application, the GW in a region is only connected to the DR of the region. Therefore, after GW1 and GW2 establish a BGP neighbor relationship, when the data traffic of the starting region A needs to be accelerated to the destination region B, it can be transmitted through GW1-GW2-DR2 without the controller sending a specified route including the target IP. Of course, the data traffic of the starting region A can only be transmitted through GW1-GW2-DR2 after the controller agrees.

[0053] The aforementioned terminal devices can be any electronic device that requires data traffic, such as smartphones, tablets, laptops, computers, smart voice interaction devices, smart home appliances, and in-vehicle terminals.

[0054] The controller can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. This document does not impose any restrictions on this.

[0055] The gateway is a customizable virtualized gateway. Preferably, the gateway is a virtualized gateway built on NFV (Network Functions Virtualization).

[0056] In cloud networks, network connections between regions typically use traditional dedicated network equipment. These devices, implemented by various specialized telecommunications vendors on different operating systems with different software, offer a wide range of functions. Routers, switches, firewalls, load balancers, and other similar devices each have their own independent hardware and software systems. In contrast, NFV networks utilize an x86 server architecture. This architecture encapsulates the different network functions—such as routers, switches, firewalls, and load balancers—into independent modular software. By running different modular software on hardware devices, diverse network functions can be implemented on a single hardware device.

[0057] The NFV architecture consists of three parts: basic network function virtualization architecture, virtual network functions, management automation, and network orchestration.

[0058] The basic network function virtualization infrastructure (NFVI) is like an operating system launched by various terminal manufacturers. It provides hardware devices with basic components and supports the software or container management platform required by network applications.

[0059] Virtual Network Functions (VNFs) are software applications that implement network functions (forwarding services, IP configuration, etc.), much like apps on a terminal. In the NFV architecture, various VNFs are implemented on top of NFVI. Because NFVI is a standardized architecture, different VNFs gain universality and no longer depend on the original black-box devices.

[0060] Management Automation and Network Orchestration (MANO) is a unified framework for managing various VNFs and NFVIs, facilitating service orchestration and device management for operations and maintenance personnel.

[0061] Compared to traditional physical network devices, NFV has many advantages, as shown in Table 1 below:

[0062]

[0063]

[0064] Table 1

[0065] Therefore, this application leverages the NFV concept to add a customizable gateway (GW) to a traditional network and controls it through a network controller. This allows for the issuance of more precise network commands, wider application, and the fulfillment of various application scenarios.

[0066] In this embodiment, the gateway is controlled by a controller, and the specified data traffic is finely scheduled to make full use of network resources to achieve acceleration.

[0067] It should be noted that in the specific implementation of this application, if the amount of data transmitted involves objects, when the embodiments of this application are applied to specific products or technologies, permission or consent from the objects is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0068] The following details the various implementation details of the technical solutions in the embodiments of this application:

[0069] like Figure 3 As shown, Figure 3 This is a flowchart illustrating a data traffic processing method according to an embodiment of this application. This method can be applied to... Figure 1 or Figure 2 In the implementation environment shown, this method can be executed by a data traffic processing device deployed in a cloud network. The data traffic processing method may include steps S310 to S330, which are described in detail below:

[0070] S310. Send the first Border Gateway Protocol (BGP) configuration to the starting gateway deployed in the starting region covered by the cloud network and the destination gateway deployed in the destination region, respectively, so that the starting gateway and the destination gateway can create a first BGP neighbor based on the first BGP configuration.

[0071] In this embodiment, the data traffic processing device can send a first BGP (Border Gateway Protocol) configuration to gateways in each region, so that gateways in any two regions can create a first BGP neighbor based on the first BGP configuration; for example, if the cloud network covers regions C, D and E, the first BGP configuration is sent to the gateways deployed in each region C, D and E, so that the gateways in regions C and D establish a first BGP neighbor, the gateways in regions D and E establish a first BGP neighbor, and the gateways in regions C and E establish a first BGP neighbor.

[0072] In this embodiment of the application, for ease of distinction, the two regions are designated as the originating region and the destination region, respectively. The gateway in the originating region is the originating gateway, and the gateway in the destination region is the destination gateway. Data traffic in the originating region needs to be transmitted to the destination region through the originating gateway and the destination gateway.

[0073] BGP is a core decentralized autonomous routing protocol on the Internet. It achieves reachability between Autonomous Systems (AS) by maintaining IP routing tables or prefix tables and is a vector routing protocol. The aforementioned first BGP configuration includes the BGP protocol and peer objects that establish neighbor relationships; these peer objects are gateways deployed in the peer region.

[0074] The process of the starting gateway and the destination gateway establishing the first BGP neighbor through the first BGP configuration includes:

[0075] The loopback interface (a purely software-based virtual interface) is used to send TCP (Transmission Control Protocol) messages and establish the first BGP neighbor relationship with peers. BGP completes neighbor establishment, route update and other operations through message exchange. There are five message types: Open, Update, Notification, Keepalive and Route-refresh.

[0076] The Open message is the first message sent after a TCP connection is established, used to establish the connection relationship between BGP neighbors. After receiving the Open message from the originating gateway and successfully negotiating, the destination gateway will send a Keepalive message to acknowledge and maintain the connection's validity. Following acknowledgment, the originating and destination gateways can exchange Update, Notification, Keepalive, and Route-refresh messages.

[0077] Update messages are used to exchange routing information between BGP neighbors. An Update message can advertise multiple reachable routes with the same attributes, or it can withdraw multiple unreachable routes. A single Update message can advertise multiple reachable routes with the same routing attributes, and these routes can share a set of routing attributes. All routing attributes included in a given Update message apply to all destinations (indicated by IP prefixes) in the NLRI (Network Layer Reachability Information) field of that Update message; a single Update message can withdraw multiple unreachable routes. Each route, by its destination (indicated by IP prefixes), clearly defines the previously advertised routes between BGP routers. An Update message can be used only to withdraw routes, thus eliminating the need to include path attributes or NLRIs. Conversely, it can be used only to advertise reachable routes, without carrying route withdrawal information.

[0078] Notification message: When the originating or destination gateway detects an error state, it sends a Notification message to the neighbor, after which the BGP connection is immediately terminated.

[0079] Keepalive messages: The originating or destination gateway periodically sends Keepalive messages to its neighbors to maintain the validity of the connection.

[0080] Route-refresh message: Used to request peers (originating gateway or destination gateway) to resend routing information after a change in routing policy. Only gateways that support route-refresh capabilities will send and respond to this message.

[0081] Optionally, the controller deployed in the cloud network sends the first BGP to the gateways in each region; for example, the controller controls the controller, which then sends the first BGP configuration to the origin gateway in the origin region and the destination gateway in the destination region.

[0082] Optionally, in this embodiment, the data traffic processing device deployed in the cloud network may send the first BGP configuration to the gateways in any two regions through the controller during initialization; or the controller may send the first BGP configuration to the starting gateway in the starting region and the destination gateway in the destination region corresponding to the service request after receiving the service request.

[0083] It is understandable that once the originating gateway and the destination gateway have created the first BGP neighbor, there is no need to create another first BGP neighbor if subsequent data traffic from the originating region to the destination region needs to be accelerated.

[0084] It is worth noting that the gateways deployed in the region are virtualized gateways, such as the aforementioned gateways built on NFV.

[0085] S320. Send the specified route containing the target IP to the destination gateway and instruct the next hop of the specified route to be the destination routing device deployed in the destination domain, so that the destination gateway advertises the specified route based on the first BGP neighbor created, and the starting gateway learns the specified route.

[0086] In this embodiment, the data traffic processing device sends a specified route to the destination gateway. This specified route includes the target IP located within the destination domain and points the next hop to the destination routing device in the destination domain, thereby informing the destination gateway that the next hop to the target IP needs to be transmitted is the destination route. The destination routing device can be a data center routing device, i.e., a destination DR.

[0087] Optionally, the data traffic processing device sends the specified route to the destination gateway through the controller. As mentioned above, the originating gateway and the destination gateway have created a first BGP neighbor. Then, the destination gateway performs route advertisement based on the created first BGP neighbor. For example, the destination gateway sends an Update message to the originating gateway. The Update message carries the relevant information of the specified route. The originating gateway learns the specified route in the Update message, and then the originating gateway knows that the next routing device that needs to be transmitted to the target IP is the destination routing device.

[0088] In one example of this application, when an anomaly is detected in the leased line between BRs, the controller may send a specified route to the destination gateway, wherein the anomaly includes, but is not limited to, leased line congestion, leased line disconnection, etc.

[0089] In another example of this application, the controller may route the instruction to the destination gateway when the data traffic processing device receives the instruction.

[0090] S330: Transmit data traffic from the originating gateway to the destination gateway, so that the destination gateway forwards the data traffic to the destination routing device, and the destination routing device transmits the data traffic to the target IP.

[0091] In this embodiment, since the starting gateway and the destination gateway have established a first BGP neighbor relationship, a new data traffic transmission line is formed through the starting gateway and the destination gateway. Therefore, when the starting gateway has data traffic that needs to be sent to the target IP, the data traffic can be transmitted from the starting gateway to the destination gateway. Then, the destination gateway forwards the data traffic to the destination routing device according to the next hop instruction of the specified route, and then forwards it from the destination routing device to the target IP.

[0092] In this embodiment, by controlling the gateway, the specified data traffic is finely scheduled. The specified data traffic is transmitted through the starting gateway and the destination gateway, bypassing the dedicated lines between congested private network devices, thereby making full use of network resources to accelerate data traffic transmission.

[0093] Another data traffic processing method is also provided in one embodiment of this application, which can be applied to Figure 1 or Figure 2 The implementation environment shown indicates that this method can be executed by a traffic data processing device deployed in a cloud network, such as... Figure 4 As shown, this data traffic processing method is in Figure 3 Based on the example shown, step S410 is added before step S320.

[0094] Step S410 is described in detail below:

[0095] S410. After receiving a traffic configuration request from a terminal device within the originating region, generate a specified route based on the target IP and the region information to which the target IP belongs, as contained in the traffic configuration request.

[0096] In one example of an embodiment of this application, the data traffic processing device generates a specified route when it obtains a traffic acceleration service. When a terminal device in the starting region needs the traffic acceleration service, it applies for it through a traffic configuration request. The traffic configuration request carries information about the target IP and the region to which the target IP belongs. The information about the region to which the target IP belongs includes which region the target IP belongs to. The traffic configuration request is used to indicate that the specified data traffic needs to be accelerated. Then, upon receiving a traffic configuration request triggered by a terminal device in the starting region, the device generates a specified route based on the traffic configuration request.

[0097] In another example of the embodiments of this application, the data traffic processing device displays a page that includes a traffic acceleration service control. When an object in the starting region acts on the traffic acceleration service control, a traffic configuration request is received from the starting region.

[0098] Optionally, after the controller receives a traffic configuration request from a terminal device within the originating region, the data traffic processing device generates a specified route based on the target IP and the region to which the target IP belongs, as contained in the traffic configuration request.

[0099] For example, when the gateways in each region establish the first BGP neighbor, after the controller receives a traffic acceleration request from region C, the controller generates a specified route including IP1 based on the IP1 of the traffic acceleration request and the region E to which IP1 belongs. It also learns that the data traffic needs to be sent to IP1 in region E. After generating the specified route, the controller sends the specified route to the gateway in region E. Region C is the originating region and region E is the destination region.

[0100] In some embodiments of this application, steps S310 to S330 may be executed after step S410. That is, after the controller receives the traffic configuration request from the terminal device in the starting region, the controller generates a specified route, and then obtains the target IP and the destination domain to which the target IP belongs according to the traffic configuration request. The controller then sends the first BGP configuration to the starting gateway deployed in the starting region and the destination gateway deployed in the destination domain. At the same time, the controller sends the specified route to the destination gateway to achieve accelerated data traffic transmission.

[0101] It should be noted that, Figure 4 For further details on steps S310 to S330 shown, please refer to [link to relevant documentation]. Figure 3 Steps S310 to S330 shown in the diagram will not be repeated here.

[0102] In this embodiment of the application, after receiving the traffic configuration request from the terminal device, the specified route in the traffic configuration request is used to meet the needs of the terminal device and to achieve fine scheduling of the data traffic specified by the terminal device.

[0103] It should be noted that this application also provides another data traffic processing method, which can be applied to... Figure 1 or Figure 2 The implementation environment shown indicates that this method can be executed by a data traffic processing device deployed in a cloud network, such as... Figure 5 As shown, this data traffic processing method is in Figure 3 Based on the example shown, step S510 is added before step S310.

[0104] Step S510 is described in detail below:

[0105] S510: Send a second BGP configuration to the gateways deployed in each region, so that the gateways deployed in each region can create second BGP neighbors based on the second BGP configuration and the routing devices deployed in their respective regions.

[0106] The data traffic processing device sends a second BGP configuration to the gateways deployed in each region. The second BGP configuration includes the BGP protocol and peers for establishing neighbor relationships. These peers are routing devices deployed in the region. Then, the gateways deployed in each region create second BGP neighbors based on the second BGP configuration and the routing devices deployed in their respective regions. The process of creating second BGP neighbors is similar to the process of creating first BGP neighbors between gateways, and will not be described in detail here.

[0107] Optionally, a second BGP configuration can be sent from the controller to the gateways deployed in each region. For example, the controller can control the gateways, which in turn can send the second BGP configuration to the gateways deployed in each region.

[0108] For example, if the cloud network covers regions C, D, and E, the controller sends a second BGP configuration to the gateways deployed in each of regions C, D, and E, enabling the gateways deployed in region C and the routing devices deployed in region C to establish second BGP neighbors, the gateways deployed in region D and the routing devices deployed in region D to establish second BGP neighbors, and the gateways deployed in region E and the routing devices deployed in region E to establish second BGP neighbors.

[0109] Optionally, in the embodiments of this application, the second BGP configuration may be sent by the controller to the gateways deployed in each region during the initialization of the data traffic processing device; or the second BGP configuration may be sent by the controller to the destination gateway of the destination domain of the target IP contained in the traffic configuration request after the controller receives the service requirement, such as a traffic configuration request.

[0110] After a gateway deployed in each region creates a second BGP neighbor with a routing device deployed in the same region, the subsequent destination gateway can forward data traffic to the destination routing device.

[0111] It should be noted that, Figure 5 For a detailed description of steps S310 to S330 shown, please refer to [link to relevant documentation]. Figure 3 Steps S310 to S330 shown in the diagram will not be repeated here.

[0112] In this embodiment of the application, by sending a second BGP configuration, the gateway and routing device in each region establish a second BGP neighbor, which facilitates the subsequent transmission of data traffic between the gateway and the routing device.

[0113] This application also provides another data traffic processing method. It should be noted that this application also provides another data traffic processing method, which can be applied to… Figure 1 or Figure 2The implementation environment shown indicates that this method can be executed by a traffic data processing device deployed in a cloud network, such as... Figure 6 As shown, this data traffic processing method is in Figure 5 Based on what is shown, Figure 5 The step S330 shown is extended to step S610.

[0114] Step S610 is described in detail below:

[0115] S610 After the starting gateway specifies the route based on the second BGP neighbor advertisement and the starting routing device in the starting area learns the specified route, the data traffic from the starting routing device is transmitted to the starting gateway so that the data traffic can be transmitted to the destination gateway through the starting gateway.

[0116] In this embodiment of the application, after the starting gateway and the starting routing device establish a second BGP neighbor in the starting region, the starting gateway learns the specified route from the destination gateway. The starting gateway can then advertise the specified route based on the second BGP neighbor. For example, the starting gateway sends an Update message to the starting routing device. The Update message carries relevant information about the specified route. The starting routing device learns the specified route from the Update message, and thus the starting routing device knows that the next routing device that needs to be transmitted to the target IP is the destination routing device.

[0117] After the starting routing device learns the specified route, when data traffic reaches the starting routing device, it can transmit the data traffic from the starting routing device to the starting gateway, and then through the starting gateway to the destination gateway. That is, when there is data traffic sent from the starting routing device to the target IP, the data traffic is transmitted through the line formed by starting routing device-starting gateway-destination gateway-destination routing device.

[0118] It should be noted that, Figure 6 For further details on steps S310-S320 and S510 shown, please refer to [link / reference]. Figure 5 Steps S310 to S320 and S510 shown in the diagram will not be repeated here.

[0119] In this embodiment of the application, after the starting gateway announces a designated route and the starting routing device learns the designated route, it transmits the data traffic of the starting routing device to the destination gateway through the starting gateway, so as to realize the data traffic transmission between the starting routing device in the starting region and the destination routing device in the destination region.

[0120] It is worth noting that, in one embodiment of this application, another data traffic processing method is also provided, which can be applied to... Figure 1 or Figure 2The implementation environment shown indicates that this method can be executed by a traffic data processing device deployed in a cloud network, such as... Figure 7 As shown, this data traffic processing method is in Figures 3-6 Based on any one of the above, step S310 is extended to S710, wherein at least two starting gateways are deployed in the starting region and at least two destination gateways are deployed in the destination region.

[0121] Step S710 is described in detail below:

[0122] S710. Send the network layer security tunnel protocol IPSEC configuration and the first BGP configuration to each gateway deployed in each region, so that each starting gateway and each destination gateway establishes an IPSEC tunnel based on the IPSEC configuration, and establishes a first BGP neighbor on the IPSEC tunnel based on the first BGP configuration.

[0123] In this embodiment, the data traffic processing device sends IPSEC configuration and first BGP configuration to each gateway deployed in each region. This can be done through a controller. Alternatively, the IPSEC configuration can be sent first, and after IPSEC tunnels are established between each originating gateway and each destination gateway, the first BGP configuration can be sent to each gateway. Another option is to send both the IPSEC configuration and the first BGP configuration to each gateway simultaneously.

[0124] The IPSEC configuration includes the IPSEC (Internet Protocol Security) protocol, an open standard security framework based on network layer tunneling protocols such as AH and ESP. IPSEC enables the establishment of confidential and secure tunnels over Internet Protocol (IP) networks, providing security functions such as authentication, data integrity checks, and confidentiality. Each originating gateway and each destination gateway negotiates based on the IPSEC configuration to establish a Security Association (SA), creating a secure channel for data transmission—the IPSEC tunnel. The negotiation method can be manual configuration or the representation of an IKE (Internet Key Exchange).

[0125] Each starting gateway and each destination gateway then establishes a first BGP neighbor on the IPSEC tunnel based on the first BGP configuration.

[0126] like Figure 8As shown, the starting region A has two gateways, 1 and 3, and the destination region B has two gateways, 2 and 4. The gateways between the starting region A and the destination region B establish four IPSEC tunnels in a full mesh configuration based on IPSEC. Here, full mesh is a network connection form, that is, all nodes are directly connected to each other. The first BGP neighbor relationship between the gateways between the starting region A and the destination region B is also implemented over the IPSEC tunnels.

[0127] Of course, in the embodiments of this application, when only one gateway is deployed in each region, an IPSEC tunnel can be established between the gateways deployed in two regions first, and then the first BGP neighbor can be established in the IPSEC tunnel.

[0128] It should be noted that, Figure 7 For further details on steps S320 and S330 shown, please refer to [link / reference]. Figure 3 Steps S320 and S330 shown will not be described again here.

[0129] In this embodiment, multiple IPSEC configurations are established through at least two starting gateways and at least two destination gateways, thereby enabling BGP over IPSEC configurations. This ensures the security of data traffic during transmission and avoids transmission failures caused by gateway failures in a particular region, thus guaranteeing the reliability of data transmission.

[0130] It is worth noting that, in one embodiment of this application, another data traffic processing method is provided, which can be applied to... Figure 1 or Figure 2 The implementation environment shown indicates that this method can be executed by a traffic data processing device deployed in a cloud network, such as... Figure 9 As shown, this data traffic processing method is in Figure 7 Based on the above, step S330 is extended to S910, wherein the IPSEC tunnel is also established through the Equal-Cost Multi-Path (ECMP) routing protocol configuration. This ECMP configuration includes the ECMP protocol, which means that if there are multiple different routing paths with equal cost values ​​to reach the same destination IP or destination network segment, the ECMP protocol can use multiple links simultaneously in this network environment.

[0131] Step S910 is described in detail below:

[0132] S910: Transmits data traffic from the originating gateway to the destination gateway based on multiple equivalent IPsec tunnels between at least two originating gateways and at least two destination gateways.

[0133] In this embodiment, multiple equivalent IPsec tunnels are established between at least two originating gateways and at least two destination gateways; that is, there are multiple different IPsec tunnels from the originating gateway to the destination gateway, and the cost value of each IPsec tunnel is equal. For example, as... Figure 8 In this context, there are IPSEC tunnels 1, 2, 3, and 4 between the gateway of the originating region A and the gateway of the destination region.

[0134] This can be achieved by the controller sending ECMP configuration and IPSEC configuration to at least two originating gateways and / or at least two destination gateways respectively, thereby enabling at least two originating gateways and at least two destination gateways to establish multiple equivalent IPSEC tunnels based on the ECMP configuration and IPSEC configuration.

[0135] In one example of an embodiment of this application, data traffic is transmitted from the originating gateway to the destination gateway based on multiple equivalent IPsec tunnels between at least two originating gateways and at least two destination gateways to achieve data traffic load balancing; wherein, data traffic can be transmitted from the originating gateway to the destination gateway simultaneously through multiple equivalent IPsec tunnels; such as Figure 8 As shown, for example, there is an IPSEC tunnel 1 between gateway 1 and gateway 2 and an IPSEC tunnel 4 between gateway 1 and gateway 4 between originating region A and destination region B. The data traffic is divided into two parts, and one part of the data traffic is transmitted based on each PSEC tunnel. The data traffic is transmitted to gateway 2 and gateway 4 respectively. Then, gateway 2 and gateway 4 forward the received data traffic to the next hop, so as to aggregate the data traffic forwarded by gateway 2 and gateway 4 through the next hop.

[0136] In another example of the embodiments of this application, data traffic can also be randomly allocated to multiple equivalent IPSEC tunnels for transmission; alternatively, some IPSEC tunnels can be selected from multiple equivalent IPSEC tunnels and data traffic can be transmitted through these partial IPSEC tunnels.

[0137] It is worth noting that, based on multiple equivalent IPSEC tunnels between at least two originating gateways and at least two destination gateways, when the originating gateway (or the destination gateway) in the originating region fails and the link becomes unavailable, the data traffic can be switched to another originating gateway (or another destination gateway) for transmission. For example, as shown in Figure 8, if gateway 1 in originating region A fails, data traffic cannot be transmitted through IPSEC tunnel 1 and IPSEC tunnel 4. In this case, the data traffic can be switched to gateway 3 in originating region A, and transmitted through IPSEC tunnel 3 between gateway 3 and gateway 2, and IPSEC tunnel 2 between gateway 3 and gateway 4.

[0138] Data traffic is transmitted through multiple equivalent IPSEC tunnels between at least two originating gateways and at least two destination gateways. If one IPSEC tunnel fails, regardless of whether the problem is with the originating gateway or the destination gateway, data traffic can be switched to another IPSEC tunnel between another originating gateway and another destination gateway. For example, as shown in Figure 8, if IPSEC tunnel 1 between gateway 1 in originating region A and gateway 2 in destination region B fails, data traffic can be switched to at least IPSEC tunnel 2 between gateway 3 in originating region A and gateway 4 in destination region B to achieve line backup.

[0139] It should be noted that, Figure 9 For further details on steps S710 and S320 shown, please refer to [link / reference]. Figure 7 Steps S710 and S320 shown will not be repeated here.

[0140] In this embodiment, the IPSEC tunnel is also established through ECMP configuration, and then data traffic is transmitted from the starting gateway to the destination gateway through multiple IPSEC tunnels, thereby achieving load balancing of data traffic and ensuring the reliability of data traffic transmission.

[0141] The following section elaborates on the implementation details of various data traffic processing methods from the perspective of the destination gateway deployed within the destination domain covered by the cloud gateway:

[0142] like Figure 10 As shown, Figure 10 This is a flowchart illustrating a data traffic processing method according to an embodiment of this application. This method can be applied to... Figure 1 or Figure 2 In the implementation environment shown, this method can be executed by a data traffic processing device deployed in the destination gateway. The data traffic processing method may include steps S1010 to S1040, which are described in detail below:

[0143] S1010: Receive the first border gateway protocol (BGP) configuration and create a first BGP neighbor based on the first BGP configuration and the starting gateway deployed in the starting region covered by the cloud network.

[0144] In this embodiment, a first BGP configuration is received. The first BGP configuration includes the BGP protocol and a peer object for establishing a neighbor relationship. The peer object is a gateway deployed in the peer region, such as the starting gateway deployed in the starting region covered by the cloud gateway. Then, the data traffic processing device deployed in the destination gateway can create a first BGP neighbor with the starting gateway based on the first BGP configuration, for example, by creating a first BGP neighbor with the starting gateway through the Open message of the BGP protocol.

[0145] Of course, based on this first BGP configuration, you can also create first BGP neighbors with gateways deployed in other regions covered by the cloud network.

[0146] It should be understood that after receiving the first BGP configuration, it is also possible to check whether a first BGP neighbor has been created with the starting gateway. If a first BGP neighbor has not been created with the starting gateway, then a first BGP neighbor will be created with the starting gateway; if a first BGP neighbor has already been created with the starting gateway, then the first BGP configuration can be ignored.

[0147] Optionally, the destination gateway may be the first BGP configuration sent by the controller deployed in the cloud network.

[0148] It is worth noting that the gateways deployed in the region are virtualized gateways, such as gateways built with NFV. For example, the destination gateway and the origin gateway are gateways built with NFV.

[0149] S1020: Receive a specified route containing the destination IP, and an indication that the next hop of the specified route is a destination routing device deployed in the destination domain.

[0150] In this embodiment of the application, a specified route is received, which includes a target IP address located in the destination domain to which the destination gateway belongs; an indication is also received, which is used to direct the next hop to a destination routing device in the destination domain, wherein the destination routing device may be a data center routing device, i.e., a destination DR, thereby revealing that the data traffic sent to the target IP address is directed to the destination routing device.

[0151] Optionally, the destination gateway may be a specified route containing the destination IP sent by the receiving controller, and an indication sent by the receiving controller to indicate that the next hop of the specified route is a destination routing device deployed in the destination domain.

[0152] S1030. Based on the first BGP neighbor advertisement created, specify the route so that the starting gateway can learn the specified route.

[0153] In this embodiment, a first BGP neighbor has been created with the destination gateway. The destination gateway then advertises routes based on the created first BGP neighbor. At this time, the specified route can be advertised to the starting gateway, for example, by advertising the specified route to the starting gateway through the BGP protocol's Update message. The starting gateway learns the specified route in the Update message, and thus the starting gateway knows that the next routing device that needs to be transmitted to the target IP is the destination routing device.

[0154] S1040: Receive data traffic transmitted from the originating gateway and forward the data traffic to the destination routing device so that the data traffic can be transmitted to the target IP through the destination routing device.

[0155] In this embodiment of the application, since a first BGP neighbor relationship has been established with the starting gateway, a new data traffic transmission line is formed through the starting gateway and the destination gateway. Therefore, when the starting gateway has data traffic that needs to be sent to the target IP, it receives the data traffic transmitted by the starting gateway, and then forwards it to the destination routing device according to the next hop instruction of the specified route, and then forwards it from the destination routing device to the target IP.

[0156] In this embodiment, a first BGP neighbor is established with the starting gateway, a specified route is received, and the specified route is advertised, so that both the starting gateway and the destination gateway are aware of the specified route. Through the connection with the starting gateway, the data traffic is forwarded to the target IP, thereby realizing the transmission of the specified data traffic, bypassing the congested dedicated lines between private network devices, and achieving the purpose of making full use of network resources to accelerate the transmission of data traffic.

[0157] Another data traffic processing method is also provided in one embodiment of this application, which can be applied to Figure 1 or Figure 2 In the implementation environment shown, this method can be executed by a traffic data processing device deployed in the destination gateway, such as... Figure 11 As shown, this data traffic processing method is in Figure 10 Based on the example shown, step S1110 is added before step S1010.

[0158] Step S1110 is described in detail below:

[0159] S1110. Based on the second BGP configuration, establish a second BGP neighbor with the destination routing device.

[0160] In this embodiment of the application, a second BGP configuration sent by the controller is received. The second BGP configuration includes the BGP protocol and also includes peers for establishing neighbor relationships. The peers are routing devices deployed in the region. Then, based on the second BGP configuration sent by the controller, a second BGP neighbor is established with the destination routing device.

[0161] After establishing a second BGP neighbor with the destination routing device, the specified route can also be advertised to the destination routing device to inform it that data traffic needs to be routed from the destination routing device to the target IP. At the same time, since a second BGP neighbor has been established with the destination routing device, a line has been formed with the destination routing device, which facilitates the subsequent forwarding of data traffic to the destination routing device.

[0162] It should be noted that, Figure 11 For a detailed description of steps S1010 to S1040 shown, please refer to [link to relevant documentation]. Figure 10Steps S1010 to S1040 shown will not be repeated here.

[0163] The following section elaborates on the implementation details of various data traffic processing methods from the perspective of the destination gateway deployed in the starting region covered by the cloud gateway:

[0164] Another data traffic processing method is also provided in one embodiment of this application, which can be applied to Figure 1 or Figure 2 In the implementation environment shown, this method can be executed by a traffic data processing device deployed at the starting gateway in the starting region, such as... Figure 12 As shown, the data traffic processing method may include steps S1210 to S1230, which are described in detail below:

[0165] S1210: Receive the first border gateway protocol (BGP) configuration and create a first BGP neighbor based on the first BGP configuration and the destination gateway deployed in the destination domain covered by the cloud network.

[0166] In this embodiment, a first BGP configuration is received. The first BGP configuration includes the BGP protocol and a peer object for establishing a neighbor relationship. The peer object is a gateway deployed in the peer region, such as the starting gateway deployed in the destination region covered by the cloud gateway. The data traffic processing device deployed in the starting gateway can create a first BGP neighbor with the destination gateway based on the first BGP configuration, for example, by creating a first BGP neighbor with the destination gateway through the Open message of the BGP protocol.

[0167] Of course, based on this first BGP configuration, you can also create first BGP neighbors with gateways deployed in other regions covered by the cloud network.

[0168] It should be understood that after receiving the first BGP configuration, the first BGP neighbor will only be created with the destination gateway if no first BGP neighbor has been created with the destination gateway; if a first BGP neighbor has already been created with the destination gateway, the first BGP configuration can be ignored.

[0169] Optionally, the starting gateway can be the first BGP configuration sent by the controller deployed in the cloud network.

[0170] S1220, The destination gateway learns the specified route containing the target IP based on the first BGP neighbor advertisement created.

[0171] In this embodiment of the application, after the first BGP neighbor is created with the destination gateway and the destination gateway announces a specified route containing the target IP, the destination gateway can learn the specified route containing the target IP announced by the destination gateway, and thus know that the next routing device that needs to be transmitted to the target IP is the destination routing device.

[0172] S1230: Transmit the data traffic to the destination gateway so that the destination gateway forwards the data traffic to the destination routing device, and the destination routing device transmits the data traffic to the target IP.

[0173] When there is data traffic that needs to be sent to the target IP, a new data traffic transmission line is formed through the originating gateway and the destination gateway. The data traffic is transmitted to the destination gateway, and then the destination gateway forwards it to the destination routing device according to the next hop instruction of the specified route. From the destination routing device, it is forwarded to the target IP.

[0174] In this embodiment, a first BGP neighbor is established with the destination gateway, and the specified route advertised by the destination gateway is learned to obtain the route. Subsequently, through the connection with the destination gateway, the data traffic is forwarded to the target IP, thereby realizing the transmission of the specified data traffic, bypassing the congested leased lines between dedicated network devices, and realizing accelerated data traffic transmission.

[0175] Another data traffic processing method is also provided in one embodiment of this application, which can be applied to Figure 1 or Figure 2 In the implementation environment shown, this method can be executed by a traffic data processing device deployed in the starting gateway, such as... Figure 13 As shown, this data traffic processing method is in Figure 12 Based on the example shown, step S1310 is added before step S1210.

[0176] Step S1310 is described in detail below:

[0177] S1310, Based on the second BGP configuration, create a second BGP neighbor with the initial routing device in the initial region deployment.

[0178] In this embodiment, a second BGP configuration sent by the controller is received. The second BGP configuration includes the BGP protocol and a peer object for establishing a neighbor relationship. The peer object is a routing device deployed in the region. Then, based on the second BGP configuration sent by the controller, a second BGP neighbor is created with the starting routing device deployed in the starting region. By creating a second BGP neighbor with the starting routing device, subsequent interaction with the starting routing device can be facilitated.

[0179] It should be noted that, Figure 13 For a detailed description of steps S1210 to S1230 shown, please refer to [link to relevant documentation]. Figure 12 Steps S1210 to S1230 shown will not be repeated here.

[0180] Another data traffic processing method is also provided in one embodiment of this application, which can be applied to Figure 1 or Figure 2 In the implementation environment shown, this method can be executed by a traffic data processing device deployed in the starting gateway, such as... Figure 14 As shown, this data traffic processing method is in Figure 13 Based on the example shown, step S1410 is added before step S1230, and step S1230 is extended to S1420.

[0181] Steps S1410 to S1420 are described in detail below:

[0182] S1410. Announce the specified route based on the second BGP neighbor created with the initial routing device deployed in the same region, so that the initial routing device can learn the specified route.

[0183] In this embodiment of the application, after learning the specified route from the destination gateway, the data traffic processing device deployed in the starting gateway can advertise the specified route to the second BGP neighbor, for example, by advertising the specified route through an Update message, so that the starting routing device knows that the next routing device that needs to be transmitted to the target IP is the destination routing device.

[0184] S1420: Transmit the data traffic from the originating routing device to the destination gateway.

[0185] Since the starting routing device has learned the specified route, when data traffic originating from the starting routing device arrives at the destination IP, the starting routing device transmits the data traffic to the data traffic processing device deployed in the starting gateway according to the specified route, and then transmits the data traffic from the starting routing device to the destination gateway.

[0186] It should be noted that, Figure 14 For a detailed description of steps S1310, S1210 to S1220 shown in the diagram, please refer to [link to relevant documentation]. Figure 13 Steps S1310, S1210 to S1220 shown will not be repeated here.

[0187] In this embodiment of the application, after creating a second BGP neighbor with the starting routing device, a designated route is advertised so that when the starting routing device has data traffic destined for the target IP, the data traffic is forwarded to the target IP through the starting gateway and the destination gateway, bypassing the congested leased line, so as to realize the data traffic transmission between the routing device in the starting region and the routing device in the destination region.

[0188] For ease of understanding, this application also provides a data traffic processing method, which can be applied to... Figure 1 or Figure 2 The implementation environment shown is illustrated with an example of multi-terminal interaction.

[0189] First, deploy one NFV-built gateway (GW) in each of the two regions covered by the cloud network, namely GW1 in the starting region and GW2 in the destination region. Deploy the controller in the cloud network and establish a connection with the GW in each region.

[0190] like Figure 15 As shown, Figure 15 The data traffic processing method provided in the embodiments of this application includes:

[0191] S1510. During initialization, the controller creates BGP neighbors between the respective DR and GW in two regions.

[0192] The controller issues a command to establish a BGP neighbor between DR1 and GW1, and a BGP neighbor between DR2 and GW2. This command can be a second BGP configuration.

[0193] S1520: The terminal device sends a configuration IP address xx.xx.xx.xx to the controller to accelerate the journey from originating region A to destination region B.

[0194] When a terminal device has an acceleration requirement and wants to specify that the destination IP xx.xx.xx.xx should take a faster route from the originating region A to the destination region B, it sends a configuration request (the aforementioned traffic configuration request) to the controller through the front-end page to configure the IP xx.xx.xx.xx to accelerate from the originating region A to the destination region B.

[0195] S1530: The controller sends BGP configurations to the GWs in the two regions respectively.

[0196] When creating an acceleration configuration for the first time between two regions, it is necessary to create a BGP neighbor with the GW at both ends through the controller. After successful creation, no additional acceleration configurations need to be created between the two regions.

[0197] This could be achieved during initialization, where the controller sends the first BGP configuration to GW1 in the starting region and GW2 in the destination region, respectively.

[0198] S1540, the two regional GWs establish BGP neighbors based on BGP configuration.

[0199] Create BGP neighbors between GW1 in the originating region and GW2 in the destination region.

[0200] When GW1 and GW2 create BGP neighbors, they can first establish a connection through an IPSEC tunnel, with BGP over the IPSEC tunnel.

[0201] S1550: The controller sends the IP address xx.xx.xx.xx to GW2 in the destination domain, with the next hop being DR2, thus pointing the next hop to DR2 in that domain.

[0202] The controller sends a route containing the IP address xx.xx.xx.xx to GW2 and points the next hop to DR2 in that region.

[0203] S1560, the destination domain's GW2 advertisement contains IP routes, and GW1 learns the IP xx.xx.xx.xx routes through BGP neighbors.

[0204] The two regional gateways will pass the route of the IP to each other via the BGP protocol, so that GW1 knows the detailed route through the IP.

[0205] S1570, the GW1 advertisement in the starting area contains IP routes. DR1 learns the routes of IP xx.xx.xx.xx through BGP neighbors and updates the learned routes to the routing table.

[0206] S1580 When there is data traffic destined for IP, DR1 forwards it to DR2 in the destination domain via GW1 and GW2 according to the route containing IP.

[0207] When data traffic from DR1 arrives at IP xx.xx.xx.xx, DR1 queries its routing table and finds a route pointing to GW1. It then forwards the traffic to the destination domain via GW1-GW2, thus bypassing congested dedicated lines and accelerating services.

[0208] The underlying network between gateways can be implemented by each cloud vendor according to their own situation, choosing to build their own backup leased lines or purchase or lease third-party leased lines; when data traffic is carried on a third-party public network leased line, a backup line can be built, deploying two gateways in the originating region, namely GW1 and GW3, and deploying two gateways in the destination region, namely GW2 and GW4.

[0209] like Figure 16 As shown, Figure 16 Another data traffic processing method provided in the embodiments of this application includes:

[0210] S1610. During initialization, the controller creates BGP neighbors between the respective DR and GW in two regions.

[0211] That is, DR1 creates BGP neighbors with GW1 and GW3 respectively, and DR2 creates BGP neighbors with GW2 and GW4 respectively.

[0212] S1620. During initialization, the controller sends IPSEC configuration, ECMP configuration, and BGP configuration to each GW deployed in each region.

[0213] S1630. Two GWs between two regions establish four equivalent IPSEC tunnels via a full mesh and create BGP neighbors on the IPSEC tunnels.

[0214] S1640, The terminal device sends a routing acceleration configuration containing the IP address to the controller.

[0215] S1650: The controller sends a route containing the IP address to the GW of the destination domain and points the next hop to DR2 of that domain.

[0216] Send routes containing IP addresses to GW2 and GW4 in the destination domain.

[0217] S1660, the GW of the destination region advertises routes containing IP, and the GW of the origin region learns routes containing IP through BGP neighbors.

[0218] The destination domain's GW2 and / or GW4 advertise routes containing IP, while the origin domain's GW1 and GW3 learn routes containing IP.

[0219] S1670, the GW advertisement of the starting region contains IP routes, and DR1 learns the IP routes through BGP neighbors.

[0220] This could be a route that includes IP addresses advertised by GW1 or / and GW3 in the originating region.

[0221] S1680 When there is data traffic destined for IP, DR1 forwards the data traffic to DR2 in the destination domain through four equivalent IPsec tunnels between the two gateways in the originating region and the two gateways in the destination region, based on the route containing IP.

[0222] S1690. When a gateway in any region fails, data traffic is forwarded to DR2 of the destination region through two IPSEC tunnels corresponding to another gateway in that region.

[0223] Specifically, the controller can switch gateways, and then forward data traffic to DR2 in the destination domain through two IPSEC tunnels corresponding to another gateway in the region. If GW1 fails, data traffic is sent to GW2 and GW4 through two IPSEC tunnels corresponding to GW3, and then forwarded to DR2 for convergence.

[0224] This application proposes a gateway designed with NFV, which accelerates the data traffic of terminal devices when traditional leased lines fail or become congested by issuing routes and BGP configurations through the controller. At the same time, it also proposes that when building a backup link on a third-party leased line, reliability and security can be guaranteed by using IPSEC tunnel encryption and deploying two dual-master GW devices in ECMP.

[0225] This application describes an apparatus embodiment that can be used to execute the data traffic processing method described above in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the data traffic processing method described above in this application.

[0226] like Figure 17 As shown in the figure, this application embodiment provides a data traffic processing device, which is deployed in a cloud network and includes:

[0227] The sending module 1710 is used to send the first Border Gateway Protocol (BGP) configuration to the starting gateway deployed in the starting region covered by the cloud network and the destination gateway deployed in the destination region, respectively, so that the starting gateway and the destination gateway can create a first BGP neighbor based on the first BGP configuration.

[0228] The sending module 1710 is also configured to send a specified route containing the target IP to the destination gateway and instruct the next hop of the specified route to be the destination routing device deployed in the destination domain, so that the destination gateway advertises the specified route based on the first BGP neighbor created and the starting gateway learns the specified route.

[0229] The transmission module 1720 is used to transmit data traffic from the originating gateway to the destination gateway, so that the destination gateway forwards the data traffic to the destination routing device, and the destination routing device transmits the data traffic to the target IP.

[0230] In one embodiment of this application, based on the foregoing scheme, the device further includes a generation module, which is used to generate a specified route based on the target IP and the information of the region to which the target IP belongs, after receiving a traffic configuration request from a terminal device in the starting region.

[0231] In one embodiment of this application, based on the foregoing scheme, the sending module 1710 is further configured to send a second BGP configuration to the gateways deployed in each region, so that the gateways deployed in each region can create a second BGP neighbor based on the second BGP configuration and the routing devices deployed in their respective regions.

[0232] In one embodiment of this application, based on the foregoing scheme, the transmission module 1720 is further configured to transmit data traffic from the starting routing device to the starting gateway after the starting gateway specifies the route based on the second BGP neighbor advertisement and the starting routing device in the starting area learns the specified route, so as to transmit the data traffic to the destination gateway through the starting gateway.

[0233] In one embodiment of this application, based on the aforementioned scheme, at least two starting gateways are deployed in the starting region and at least two destination gateways are deployed in the destination region; the sending module 1710 is further configured to send the network layer security tunnel protocol IPSEC configuration and the first BGP configuration to each gateway deployed in each region, so that each starting gateway and each destination gateway establishes an IPSEC tunnel based on the IPSEC configuration and establishes a first BGP neighbor on the IPSEC tunnel based on the first BGP configuration.

[0234] In one embodiment of this application, based on the aforementioned scheme, the IPSEC tunnel is further established through the Equal Cost Multipath Routing Protocol (ECMP); the transmission module 1720 is further used to transmit data traffic from the starting gateway to the destination gateway based on multiple equivalent IPSEC tunnels between at least two starting gateways and at least two destination gateways.

[0235] like Figure 18 As shown, this application embodiment provides a data traffic processing device, which is deployed in a destination gateway deployed in a destination domain covered by a cloud network, and includes:

[0236] The receiving module 1810 is used to receive the first border gateway protocol BGP configuration sent by the controller deployed in the cloud network, so as to create a first BGP neighbor based on the first BGP configuration and the starting gateway deployed in the starting region covered by the cloud network.

[0237] The receiving module 1810 is also configured to receive a specified route containing the destination IP sent by the controller, and an indication that the next hop of the specified route is a destination routing device deployed in the destination domain;

[0238] The announcement module 1820 is used to announce a specified route based on the first BGP neighbor created, so that the starting gateway can learn the specified route;

[0239] The receiving module 1810 is also used to receive data traffic transmitted by the originating gateway and forward the data traffic to the destination routing device so as to transmit the data traffic to the target IP through the destination routing device.

[0240] In one embodiment of this application, based on the aforementioned scheme, the receiving module 1810 is further configured to establish a second BGP neighbor with the destination routing device based on the second BGP configuration.

[0241] like Figure 19 As shown in the figure, this application embodiment provides a data traffic processing device, which is deployed in an initial gateway deployed in the initial region covered by the cloud network, including:

[0242] The receiving module 1910 is used to receive the first border gateway protocol (BGP) configuration, and to create a first BGP neighbor based on the first BGP configuration and the destination gateway deployed in the destination domain covered by the cloud network.

[0243] Learning module 1920 is used to learn the specified route containing the target IP from the first BGP neighbor advertisement created by the destination gateway.

[0244] Forwarding module 1930 is used to transmit data traffic to the destination gateway, so that the destination gateway forwards the data traffic to the destination routing device, and the destination routing device transmits the data traffic to the target IP.

[0245] In one embodiment of this application, based on the foregoing scheme, the receiving module 1910 is further configured to create a second BGP neighbor with the initial routing device in the initial region deployment based on the second BGP configuration.

[0246] In one embodiment of this application, based on the foregoing scheme, the apparatus further includes an announcement module, which is used to announce a specified route based on a second BGP neighbor created with a routing device deployed in the region, so that the starting routing device can learn the specified route; at this time, the forwarding module 1930 is further used to transmit the data traffic from the starting routing device to the destination gateway.

[0247] It should be noted that the apparatus provided in the above embodiments and the method provided in the above embodiments belong to the same concept, and the specific way in which each module and unit performs operations has been described in detail in the method embodiments, and will not be repeated here.

[0248] The apparatus provided in the above embodiments can enable the starting gateway deployed in the starting region and the destination gateway deployed in the destination region to create a first BGP neighbor through the controller, and issue a specified route through the controller so that both the starting gateway and the destination gateway know the specified route, thereby transmitting data traffic from the starting gateway to the destination gateway, and finally to the target IP. The technical solution provided by the embodiments of this application realizes the control of the gateway through the controller, performs fine scheduling of the specified data traffic, realizes the transmission of the specified data traffic through the starting gateway and the destination gateway, bypasses the dedicated line between congested private network devices, and makes full use of network resources to realize the accelerated transmission of data traffic.

[0249] Embodiments of this application also provide an electronic device, including one or more processors and a storage device, wherein the storage device is used to store one or more computer programs, which, when executed by one or more processors, cause the electronic device to implement the data traffic processing method described above.

[0250] Figure 20 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown.

[0251] It should be noted that, Figure 20 The computer system 2000 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0252] like Figure 20 As shown, the computer system 2000 includes a central processing unit (CPU) 2001, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on a program stored in read-only memory (ROM) 2002 or a program loaded from storage portion 2008 into random access memory (RAM) 2003. The RAM 2003 also stores various programs and data required for system operation. The CPU 2001, ROM 2002, and RAM 2003 are interconnected via a bus 2004. An input / output (I / O) interface 2005 is also connected to the bus 2004.

[0253] In some embodiments, the following components are connected to the I / O interface 2005: an input section 2006 including a keyboard, mouse, etc.; an output section 2007 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 2008 including a hard disk, etc.; and a communication section 2009 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 2009 performs communication processing via a network such as the Internet. A drive 2010 is also connected to the I / O interface 2005 as needed. A removable medium 2011, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 2010 as needed so that computer programs read from it can be installed into the storage section 2008 as needed.

[0254] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 2009, and / or installed from removable medium 2011. When the computer program is executed by processor (CPU) 2001, it performs various functions defined in the system of this application.

[0255] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory, flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0256] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and a computer program.

[0257] The units or modules described in the embodiments of this application can be implemented in software or hardware, and can also be located in a processor. The names of these units or modules do not necessarily limit the specific unit or module itself.

[0258] Another aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the aforementioned data flow processing method. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not incorporated into the electronic device.

[0259] Another aspect of this application provides a computer program product comprising a computer program stored in a computer-readable storage medium. A processor of an electronic device reads the computer program from the computer-readable storage medium and executes the computer program, causing the electronic device to perform the data traffic processing method described above in the various embodiments.

[0260] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0261] Other embodiments of this application will readily conceive of by considering the specification and practicing the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.

[0262] The above content is merely a preferred exemplary embodiment of this application and is not intended to limit the implementation of this application. Those skilled in the art can easily make corresponding modifications or alterations based on the main concept and spirit of this application. Therefore, the scope of protection of this application should be determined by the scope of protection claimed in the claims.

Claims

1. A data traffic processing method, characterized in that, The method includes deploying at least two starting gateways in the starting region covered by the cloud network and at least two destination gateways in the destination region covered by the cloud network. Send the network layer security tunnel protocol IPSEC configuration and the first border gateway protocol BGP configuration to each starting gateway deployed in the starting region and each destination gateway deployed in the destination region, respectively, so that each starting gateway and each destination gateway establishes an IPSEC tunnel based on the IPSEC configuration and establishes a first BGP neighbor on the IPSEC tunnel based on the first BGP configuration. The specified route containing the target IP is sent to the destination gateway, and the next hop of the specified route is indicated to be the destination routing device deployed in the destination domain, so that the destination gateway advertises the specified route based on the created first BGP neighbor, and the starting gateway learns the specified route; Data traffic matching the specified route is transmitted from the originating gateway to the destination gateway, so that the destination gateway forwards the data traffic to the destination routing device, and the destination routing device transmits the data traffic to the target IP.

2. The method according to claim 1, characterized in that, Before sending the specified route containing the target IP to the destination gateway, the method further includes: Upon receiving a traffic configuration request from a terminal device within the starting region, the specified route is generated based on the target IP and the region to which the target IP belongs, as contained in the traffic configuration request.

3. The method according to claim 1, characterized in that, Before sending the IPSEC network layer security tunneling protocol configuration and the BGP first border gateway protocol configuration to each starting gateway deployed in the starting region and each destination gateway deployed in the destination region, the method further includes: Send a second BGP configuration to the gateways deployed in each region, so that each gateway can create a second BGP neighbor based on the second BGP configuration and the routing devices deployed in its region.

4. The method according to claim 3, characterized in that, The step of transmitting data traffic matching a specified route from the originating gateway to the destination gateway includes: After the starting gateway announces the designated route based on the second BGP neighbor and the starting routing device in the starting region learns the designated route, the data traffic from the starting routing device is transmitted to the starting gateway, so that the data traffic can be transmitted to the destination gateway through the starting gateway.

5. The method according to claim 1, characterized in that, The IPSEC tunnel is also established via the Equal Cost Multipath (ECMP) routing protocol; the transmission of data traffic matching the specified route from the originating gateway to the destination gateway includes: The data traffic is transmitted from the originating gateway to the destination gateway based on multiple equivalent IPsec tunnels between the at least two originating gateways and the at least two destination gateways.

6. A data traffic processing method, characterized in that, The method involves applying one of at least two destination gateways deployed in a destination domain covered by a cloud network, wherein at least two starting gateways are deployed in the starting domain covered by the cloud network, the method comprising: Receive network layer security tunnel protocol IPSEC configuration and first border gateway protocol BGP configuration, so as to establish IPSEC tunnel with each starting gateway in the starting region based on the IPSEC configuration, and create a first BGP neighbor with the starting gateway on the IPSEC tunnel based on the first BGP configuration; Receive a specified route containing the destination IP, and an indication that the next hop of the specified route is a destination routing device deployed in the destination domain; The specified route is advertised based on the first BGP neighbor created, so that the starting gateway learns the specified route; Receive data traffic matching a specified route transmitted by the originating gateway, and forward the data traffic to the destination routing device so that the data traffic can be transmitted to the target IP through the destination routing device.

7. A data traffic processing method, characterized in that, The method includes applying one of at least two starting gateways deployed in the starting region of the cloud network coverage, wherein at least two destination gateways are deployed in the destination region of the cloud network coverage. Receive network layer security tunneling protocol IPSEC configuration and first border gateway protocol BGP configuration, so as to establish IPSEC tunnels with each destination gateway in the destination domain based on the IPSEC configuration, and create a first BGP neighbor with the destination gateway on the IPSEC tunnel based on the first BGP configuration; The destination gateway learns a specified route containing the target IP based on the first BGP neighbor advertisement created, where the next hop of the specified route is the destination routing device deployed in the destination domain; Data traffic matching the specified route is transmitted to the destination gateway, so that the destination gateway forwards the data traffic to the destination routing device, and the destination routing device transmits the data traffic to the target IP.

8. The method according to claim 7, characterized in that, Before transmitting data traffic matching the specified route to the destination gateway, the method further includes: The specified route is advertised based on a second BGP neighbor created with the initial routing device deployed in the same region, so that the initial routing device can learn the specified route; Transmit data traffic matching the specified route to the target gateway, including: Transmit data traffic from the starting routing device to the destination gateway.

9. A data traffic processing device, characterized in that, The data traffic processing device is deployed in a cloud network. At least two starting gateways are deployed in the starting region covered by the cloud network, and at least two destination gateways are deployed in the destination region covered by the cloud network. The device includes: The sending module is used to send the IPSEC network layer security tunneling protocol configuration and the BGP first border gateway protocol configuration to each starting gateway deployed in the starting region and each destination gateway deployed in the destination region, respectively, so that each starting gateway and each destination gateway establishes an IPSEC tunnel based on the IPSEC configuration and establishes a first BGP neighbor on the IPSEC tunnel based on the first BGP configuration. The sending module is further configured to send a specified route containing the target IP to the destination gateway, and instruct the next hop of the specified route to be the destination routing device deployed in the destination domain, so that the destination gateway advertises the specified route based on the created first BGP neighbor, and the starting gateway learns the specified route; The transmission module is used to transmit data traffic matching a specified route from the originating gateway to the destination gateway, so that the destination gateway forwards the data traffic to the destination routing device, and the destination routing device transmits the data traffic to the target IP.

10. A data traffic processing device, characterized in that, The data traffic processing device is deployed in one of at least two destination gateways deployed in the destination domain covered by the cloud network, including: The receiving module is used to receive the network layer security tunnel protocol IPSEC configuration and the first border gateway protocol BGP configuration, so as to establish IPSEC tunnels with each starting gateway in the starting region covered by the cloud network based on the IPSEC configuration, and to create a first BGP neighbor with the starting gateway on the IPSEC tunnel based on the first BGP configuration. The receiving module is further configured to receive a specified route containing a target IP, and an indication that the next hop of the specified route is a destination routing device deployed in the destination domain; The announcement module is used to announce the specified route based on the created first BGP neighbor, so that the starting gateway can learn the specified route; The receiving module is further configured to receive data traffic matching a specified route transmitted by the starting gateway, and forward the data traffic to the destination routing device so as to transmit the data traffic to the target IP through the destination routing device.

11. A data traffic processing device, characterized in that, The data traffic processing device is deployed in one of at least two starting gateways in the starting region covered by the cloud network, and at least two destination gateways are deployed in the destination region covered by the cloud network, including: The receiving module is used to receive the network layer security tunneling protocol IPSEC configuration and the first border gateway protocol BGP configuration, so as to establish IPSEC tunnels with each destination gateway in the destination domain based on the IPSEC configuration, and to create a first BGP neighbor with the destination gateway on the IPSEC tunnel based on the first BGP configuration. The learning module is used to learn the specified route containing the target IP from the first BGP neighbor advertisement created by the destination gateway, wherein the next hop of the specified route is the destination routing device deployed in the destination domain; The forwarding module is used to transmit data traffic matching a specified route to the destination gateway, so that the destination gateway forwards the data traffic to the destination routing device, and the destination routing device transmits the data traffic to the target IP.

12. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to perform the method of any one of claims 1 to 5, or the method of claim 6, or the method of any one of claims 7 to 8.

13. A computer-readable storage medium, characterized in that, It stores a computer program that, when executed by the processor of the electronic device, causes the electronic device to perform the method of any one of claims 1 to 5, or the method of claim 6, or the method of any one of claims 7 to 8.

14. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Route processing method and device

    CN108768856A

  • Tunnel fault detection method and device, electronic equipment and storage medium

    CN113726593A

  • Data transmission method and device, electronic equipment and computer storage medium

    CN114598698A

  • Isolation and Segmentation in Multi-Cloud Interconnects

    US20210218598A1