Distributed system and transmission scheduling method

Through distributed systems and transmission scheduling methods, commercial routers are decoupled to achieve high-performance routing and forwarding and flexible transmission scheduling in cloud networks, solving the cost and scalability issues of existing routers in cloud scenarios.

WO2024217184A1PCT designated stage expired Publication Date: 2024-10-24TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/081138
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-20
Filing Date
2024-03-12
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

Existing commercial routers cannot meet the needs in cloud scenarios. They are high in price, have poor function scalability, slow iteration speed, high operating costs, and cannot effectively decouple large routers, resulting in the inability to meet the transmission scheduling needs of cloud networks.

Method used

Using a distributed system, through the first routing node device, the second routing node device and the global routing service node device, combined with common service components and common switching components, commercial routers are decoupled, a transmission scheduling method based on mapping relationships is established, and cloud control is realized. High-performance scheduling of business packets in the network.

Benefits of technology

It reduces operating costs, improves the scalability and flexibility of the system, achieves high-performance routing and forwarding and flexible transmission scheduling, meets the transmission scheduling needs of the cloud network, and reduces routing and forwarding pressure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024081138_24102024_PF_FP_ABST
    Figure CN2024081138_24102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present application are a distributed system and a transmission scheduling method. The distributed system is applied to a cloud network, wherein the architecture of the cloud network comprises an access network, a backbone network, and a data center network. The distributed system comprises a first routing node device, a second routing node device, and a global routing service node device, wherein each node device is connected to the backbone network; the first routing node device is arranged in the access network and comprises a general-purpose service component and a first general-purpose switching component; the second routing node device is arranged in the data center network and comprises a second general-purpose switching component; the global routing service node device is independent of the access network and the data center network; and a mapping relationship between a peer-to-peer connection and a scheduling identifier is transmitted between the node devices, and the node devices perform transmission scheduling on a service message in the cloud network on the basis of the mapping relationship. By means of the embodiments of the present application, a commercial router can be decoupled, and the embodiments of the present application can be applied to a cloud network, thereby meeting the transmission scheduling requirements of the cloud network.
Need to check novelty before this filing date? Find Prior Art

Description

A distributed system and a transmission scheduling method

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 20, 2023, with application number 202310439284.3 and application name “A distributed system and a transmission scheduling method”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of Internet technology, and in particular to a distributed system and a transmission scheduling method. Background Art

[0003] Currently, network devices, such as commercial edge routers (ERs), can be deployed at the edge of Internet Service Provider (ISP) networks, and within data center networks, such as commercial internal routers (IRs). This deployment enables interconnection between data center networks and ISP networks, providing network (Internet) services to a vast number of entities. However, due to the large routing specifications of the entire Internet (typically in the millions), commercial routers offer a limited selection and are unable to meet the actual needs of cloud scenarios due to their high price, poor scalability, slow iteration speed, and high operating costs.

[0004] Summary of the Invention

[0005] The embodiments of the present application provide a distributed system and a transmission scheduling method, which can decouple commercial routers and can be applied in cloud networks to meet the transmission scheduling requirements of cloud networks.

[0006] In one aspect, an embodiment of the present application provides a distributed system, which is applied to a cloud network. The cloud network architecture includes an access network, a backbone network, and a data center network. The distributed system includes a first routing node device, a second routing node device, and a global routing service node device. The first routing node device, the second routing node device, and the global routing service node device are all connected to the backbone network.

[0007] The first routing node device is distributed in the access network and is used to access one or more ISP networks; the first routing node device includes a general service component and a first general switching component; the second routing node device is distributed in the data center network and is used to provide data connections between network modules within the data center network; the second routing node device includes a second general switching component; the global routing service node device is set outside the access network and the data center network;

[0008] A mapping relationship between peer connections and scheduling identifiers is maintained in the distributed system. The mapping relationship is transmitted between each node device in the distributed system. Each node device in the distributed system schedules the transmission of service messages in the cloud network based on the mapping relationship.

[0009] In one aspect, an embodiment of the present application provides a transmission scheduling method, which is applied to the above-mentioned distributed system; the method includes:

[0010] Obtaining a mapping relationship between peer connections and scheduling identifiers;

[0011] Transmitting mapping relationships between node devices in a distributed system; and,

[0012] The service messages in the cloud network are scheduled for transmission based on the mapping relationship.

[0013] The distributed system of the embodiment of the present application includes a first routing node device, a second routing node device and a global routing service node device; the first routing node device includes a universal service component and a first universal switching component; the second routing node device includes a second universal switching component. It can be seen that the present application uses low-cost universal components to replace commercial routers to build a distributed system, which can decouple large commercial routers, greatly simplify operations and reduce operating costs, and improve the scalability and flexibility of the distributed system. In addition, the distributed system can be applied to a cloud network, the architecture of which may include an access network, a backbone network and a data center network, and the first routing node device, the second routing node device and the global routing service node device are all connected to the backbone network. In this way, the access network and the backbone network can be interconnected through the first routing node device, and the data center network and the backbone network can be interconnected through the second routing node device. In this way, the architecture of the cloud network is opened up through the distributed system, so that each network in the cloud network architecture can be interconnected. The first routing node device is distributed in the access network and is used to access one or more ISP networks; the second routing node device is distributed in the data center network and is used to provide data connections between network modules within the data center network; the global routing service node device is set outside the access network and the data center network; a mapping relationship between peer (peer connection) and label (scheduling identifier) ​​is maintained in the distributed system, and the mapping relationship is transmitted between each node device in the distributed system, so that each node device in the distributed system can obtain the mapping relationship and can schedule the transmission of service messages in the cloud network based on the mapping relationship; since transmission scheduling is implemented based on the mapping relationship, and the mapping relationship refers to the relationship between peer and label, the distributed system implements peer-level scheduling, and the number of peers is relatively limited, which can effectively reduce the routing forwarding pressure in the distributed system, achieve high-performance routing forwarding and flexible transmission scheduling, and meet the transmission scheduling requirements of the cloud network. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] FIG1 is a schematic diagram of the architecture of a distributed system provided by an exemplary embodiment of the present application;

[0015] FIG2 is a schematic flow chart of a transmission scheduling method provided by an exemplary embodiment of the present application;

[0016] FIG3 is a schematic diagram of routing information transmission in a routing system provided by an exemplary embodiment of the present application;

[0017] FIG4 is a schematic diagram of synchronous forwarding information provided by an exemplary embodiment of the present application;

[0018] FIG5 is a schematic diagram of a process for scheduling transmission of outbound service messages in a cloud network, provided by an exemplary embodiment of the present application;

[0019] FIG6a is a schematic diagram of a process for scheduling transmission of outbound service packets in a cloud network, provided by another exemplary embodiment of the present application;

[0020] FIG6 b is a schematic diagram of a process for scheduling transmission of outbound service packets in a cloud network, provided by another exemplary embodiment of the present application;

[0021] FIG7 is a schematic diagram of a refined scheduling provided by an exemplary embodiment of the present application;

[0022] FIG8a is a schematic diagram of a process for scheduling transmission of inbound service packets in a cloud network, provided by an exemplary embodiment of the present application;

[0023] FIG8b is a schematic diagram of a process for scheduling transmission of inbound service packets in a cloud network, provided by another exemplary embodiment of the present application;

[0024] FIG9 is a schematic diagram of a process for performing transmission scheduling on inbound attack traffic in a cloud network, provided by an exemplary embodiment of the present application;

[0025] FIG10 is a flow chart of a transmission scheduling method provided by another exemplary embodiment of the present application;

[0026] FIG11 is a flow chart of a transmission scheduling method provided by another exemplary embodiment of the present application;

[0027] FIG12 is a flow chart of a transmission scheduling method provided by another exemplary embodiment of the present application. DETAILED DESCRIPTION

[0028] 1. Cloud Network

[0029] A cloud network refers to a network that processes services based on cloud technology. This embodiment of the present application provides a cloud network architecture. As shown in Figure 1 , the architecture of cloud network 101 may include access network 102, backbone network 103, and data center network 104. The following describes the relevant concepts of each network in the cloud network.

[0030] (1) Access network

[0031] The access network is used to connect to one or more ISP (Internet Service Provider) networks. An ISP is a carrier that provides Internet services to a target. These services may include, but are not limited to, Internet access, information services, and value-added services. The target here refers to the service requester who requests Internet services from the ISP. The ISP network, also known as a public network or carrier network, serves as the target's gateway to the Internet. Different ISP networks (for example, ISP Network 1, ISP Network 2, ISP Network 3, and ISP Network 4 in Figure 1) are provided by different ISPs.

[0032] The access network is a network used to establish connections between the ISP network and the data center network. The access network can include multiple POPs (Point-Of-Presence). POP is also called a network service provider point or a local terminal. It is usually located at the edge of the cloud network. As an access point for the ISP network, it is used to help the data center network access the ISP network and enjoy Internet services. Different POPs can be in the same or different regions, and each POP is used to provide services for a specific region. For example, as shown in Figure 1, the access network 102 includes POP1 and POP2. POP1 can be located in city A and is used to provide services for city A. POP2 can be located in city B and is used to provide services for city B. It should be noted that the region where the POP is located can be the same as or different from the region it serves. For example, in the above example, POP1 can be located in city A, but it can be used to provide services for city C.

[0033] (2) Data Center Network

[0034] A data center network, also known as an intranet network, is a network built by a specific enterprise or organization that can provide network services such as storage, computing, or resources, and is only open to personnel and equipment within the specific enterprise or organization. A data center network can include multiple AZs (Availability Zones). Here, AZ refers to one or more discrete physical data centers with independent infrastructure such as power and network in the same region. An AZ can contain one or more network modules (nets). A network module refers to an internal network in the AZ that can provide network services to a certain area. For example, as shown in Figure 1, the data center network 104 can include AZ1 and AZ2; AZ1 can include net1 and net2.

[0035] (3) Backbone network

[0036] The backbone network is used as a communication hub between different networks in the cloud network and interconnects different data center networks. Therefore, the backbone network can also be called a DCI (Data Center Interconnection) network.

[0037] In the cloud network architecture shown in Figure 1, access network 102 is connected to one or more ISP networks, which in turn are connected to backbone network 103. Data center network 104 is also connected to backbone network 103. The cloud network is connected to one or more ISP networks, and the networks within the cloud network are interconnected, providing Internet services to a large number of users (exceeding a preset threshold).

[0038] 3. Border Gateway Protocol (BGP)

[0039] BGP is used to exchange routing information between different autonomous systems (AS). An AS is a collection of devices that use the same policies and are managed by the same organization. In other words, different devices in a network can be divided into different autonomous systems (ASs), or all of them can be divided into a single AS. In this case, these devices in an AS use the same routing protocol and are managed by the same organization. In this case, communication between different ASs is achieved through BGP. In this embodiment of the present application, an ISP network can be an AS.

[0040] 4. Routing and forwarding information

[0041] Routing information is used to determine the transmission path of a packet and is generated based on a routing algorithm. A piece of routing information consists of three elements: the destination address, the mask, and the next hop. The destination address is the address of the network to which the packet is ultimately destined. For example, the destination address could be the address of the ISP network or the address of a network module. The mask is a bit mask that specifies which bits in a network address identify the subnet of the device and which bits identify the device. The next hop is the next hop along the route of a service packet. If a packet fails to reach the destination, the next hop is used to forward the packet until it reaches the destination. Routing information can be stored in a routing table. Any piece of routing information in a routing table is called a routing table entry. Forwarding information is used to specify the specific port to which a packet is destined, i.e., the port from which the packet should be forwarded. Forwarding information is generated based on routing information. Specifically, a piece of forwarding information is generated based on the routing information in the routing table and other information (such as network interface card and port information). Forwarding information can be stored in a forwarding table. Any piece of forwarding information in the forwarding table is called a forwarding table entry.

[0042] In the embodiments of the present application, the routing information in the ISP network is referred to as public network routing information, and the specifications of the public network routing information can generally reach the million level. The routing information in the data center network can be referred to as intranet routing information. The specifications of the intranet routing information are generally only in the hundreds of KB level (i.e., hundreds of thousands level). The specifications here refer to the amount of routing information. Since the public network routing information will be provided to the cloud network by the ISP network after it is connected to the cloud network, the full routing information of the cloud network in the subsequent embodiments of the present application includes the public network routing information and the intranet routing information.

[0043] 5. Peer Connection

[0044] A peer connection, or peer, refers to a connection between two devices that establish a communication connection without distinguishing between the service requester and the service provider. The two devices that establish a peer connection can achieve equal and equal communication. In an embodiment of the present application, a peer refers to a communication connection established between the first universal switching component in the access network (such as an EAS (Edge Access Switch)) and any ISP network it is connected to. A peer is assigned a mapped scheduling identifier (label), which can be used for transmission scheduling of service messages.

[0045] 6. Cloud Technology

[0046] Cloud technology refers to a hosting technology that unifies hardware, software, and network resources within a wide area network or local area network to enable data computing, storage, processing, and sharing. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It can form a resource pool that can be used on demand and is flexible and convenient. Among them, the backend services of technical network systems require a large amount of computing and storage resources, such as video websites, image websites, and more portals. With the rapid development and application of the Internet industry, every item may have its own identification mark in the future, and all of them will need to be transmitted to the backend system for logical processing. Data of different levels will be processed separately. All types of industry data require strong system support, which can only be achieved through cloud computing. Therefore, cloud computing technology will become an important support.

[0047] 7. Cloud Computing

[0048] Cloud computing refers to the delivery and usage model of IT infrastructure, enabling on-demand, scalable access to resources over the internet. Broadly speaking, cloud computing refers to the delivery and usage model of services, enabling on-demand, scalable access to services over the internet. These services can be IT-related, software-related, internet-related, or other services. Cloud computing is the product of the convergence of traditional computer and network technologies, including grid computing, distributed computing, parallel computing, utility computing, network storage technologies, virtualization, and load balancing. Driven by the growth of the internet, real-time data streams, and the diversification of connected devices, as well as the demand for search services, social networking, mobile commerce, and open collaboration, cloud computing has rapidly developed. Unlike previous parallel and distributed computing approaches, the emergence of cloud computing will fundamentally revolutionize the entire internet model and enterprise management model.

[0049] Next, a description is given of a distributed system provided in an embodiment of the present application.

[0050] Please refer to Figure 1, which is a schematic diagram of the architecture of a distributed system for an exemplary embodiment of the present application. The distributed system can be applied to a cloud network 101, and the distributed system can include a first routing node device, a second routing node device, and a global routing service node device. Among them:

[0051] ① The first routing node device can be distributed in access network 102 to access one or more ISP networks. The first routing node device is connected to the backbone network, thereby interconnecting access network 102 and backbone network 103. In one embodiment, the first routing node device may include a first universal switching component and a universal service component.

[0052] In one embodiment, the access network 102 includes multiple pops. The first routing node devices are distributed in the access network, which means that at least one first routing node device is provided in each pop. A first routing node device is composed of a first universal switching component and a universal service component, and the first universal switching component and the universal service component are both connected to the backbone network. As shown in Figure 1, a first routing node device is provided in pop1 and pop2 respectively. The first routing node device in pop1 can include a first universal switching component 1011 and a universal service component 1012, and the first universal switching component 1011 and the universal service component 1012 are both connected to the backbone network 103; the first routing node device in pop2 can include a first universal switching component 1013 and a universal service component 1014, and the first universal switching component 1013 and the universal service component 1014 are both connected to the backbone network 103.

[0053] The first universal switching component can be used to connect to one or more ISP networks and establish peers with each connected ISP network via BGP. A mapped label is assigned to each peer, with one peer being mapped to one label (i.e., a mapping relationship exists between one peer and one label). For example, if the first universal switching component 1011 is connected to ISP network 1 and ISP network 2, the first universal switching component 1011 establishes a peer (denoted as peer 1-1) with ISP network 1 and assigns the mapped label 1-1 to peer 1-1. Similarly, the first universal switching component 1011 establishes a peer (denoted as peer 1-2) with ISP network 2 and assigns the mapped label 1-2 to peer 1-2. For another example, if the first universal switching component 1013 is connected to ISP network 3 and ISP network 4, respectively, then the first universal switching component 1013 establishes a peer (denoted as peer2-1) with ISP network 3 and assigns a mapped label2-1 to peer2-1. Similarly, the first universal switching component 1013 establishes a peer (denoted as peer2-2) with ISP network 4 and assigns a mapped label2-2 to peer2-2. The first universal switching component and the ISP network that have established peers can communicate in an equal and peer-to-peer manner. Illustratively, the first universal switching component can include an EAS (Edge Access Switch), which can be a low-cost programmable switch, such as a P4 switch.

[0054] The general service component may include an EPP (Elastic Packet Processing) server. The EPP server may be a general server. The general service component may be used to perform refined transmission scheduling of business messages in the cloud network. The so-called refined transmission scheduling refers to the ability to flexibly and customise the transmission scheduling of business messages in the cloud network. Among them, the general server may be an independent physical server, or a server cluster 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 communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0055] ② The second routing node device can be distributed in the data center network 104 to provide data connection between network modules within the data center network 104, so that data interaction can be carried out between the network modules within the data center network 104.

[0056] The data center network 104 includes one or more AZs, each of which includes one or more nets. The second routing node devices are distributed in the data center network, which means that at least one second routing node device is provided in each AZ, and a second routing node device includes at least one second universal switching component, which is connected to the backbone network. The second universal switching component is connected to each net belonging to the same AZ, thereby providing data connection between each net in the same AZ. For example, the data center network shown in Figure 1 includes AZ1 and AZ2, AZ1 includes net1 and net2, and AZ2 includes net3 and net4. A second routing node device is provided in each of AZ1 and AZ2, and the second routing node device in AZ1 includes a second universal switching component 1021, which is connected to net1 and net2 respectively; the second routing node device in AZ2 includes a second universal switching component 1022, which is connected to net3 and net4 respectively.

[0057] The second universal switching component may include an IAS (Internal Aggregate Switch), which may be a low-cost programmable switch. For example, the IAS may be a P4 switch, etc.

[0058] ③ Global routing service node device 1023 is located outside access network 102 and data center network 104 and is connected to backbone network 103. Global routing service node device 1023 may include an ERS (Elastic Routing Service) server, in which a global routing service program is deployed. The global routing service program in the ERS server is deployed physically or virtually. In one implementation, physical deployment means that the global routing service program can be deployed in the ERS server via physical hardware. In another implementation, virtual deployment means that the global routing service program can be deployed in the ERS server via virtual software.

[0059] The networks in a cloud network architecture have a hierarchical structure, with the backbone network at the bottom layer and the access and data center networks above it. The upper layers (i.e., the access and data center networks) connect to each other through the underlying backbone network. Forwarding and routing systems within a distributed system can also be built on top of the underlying backbone network.

[0060] ④ The routing system 105 in the distributed system is the routing plane in the entire distributed system. The so-called routing plane refers to the functional module responsible for routing management and control. The routing plane determines the transmission path of the message in the network and how to forward it. Schematically, the routing system 105 can be called a TVPN (Tencent Virtual Private Network) system. The routing system can be composed of a global routing service node device and a routing service instance deployed in the distributed system. The routing service instance can be an instance generated using virtual private network technology. The routing service instance can be called a TVPN instance. The routing service instance is used to provide routing services for the component; schematically, the routing service instance can be understood as a routing table. In one embodiment, the routing service instance can be deployed in the general service component, the first general switching component, and the second general switching component. The routing system is composed of the routing service instance deployed on the general service component, the routing service instance deployed on the first general switching component, the routing service instance on the second general switching component, and the global routing service node device. Then, these components deployed with routing service instances (including the general service component, the first general switching component and the second general switching component) are all components in the routing system; components deployed with routing service instances can obtain and store routing information transmitted by the global routing service node device.

[0061] The routing system can exchange routing information based on the mapping relationship between peers and labels. Specifically, each node device in the distributed system (including the first routing node device, the second routing node device, and the global routing node device) can exchange cloud network routing information in the routing system, which includes the mapping relationship between peers and labels.

[0062] Each component in the routing system has its own routing plane, which determines the transmission path of packets at each component and how to forward them. The routing plane of each component in the routing system is deployed and runs in the CPU subsystem of each component. For example, the routing plane of EAS is deployed and runs in the CPU subsystem of EAS; the routing plane of IAS is deployed and runs in the CPU subsystem of IAS. Each component in the routing system obtains routing information transmitted by global routing service node devices through its own routing plane, which then stores the full routing information of the cloud network.

[0063] ⑤ The forwarding system 106 is the forwarding fabric in the entire distributed system. The so-called forwarding fabric refers to the functional module responsible for executing forwarding decisions to perform actual packet forwarding. Schematically, the forwarding system 106 can be referred to as a TEPE (Tencent Egress Peering Engineering) system. The forwarding system can be composed of the forwarding plane of the general service component, the forwarding plane of the first general switching component, and the forwarding plane of the second general switching component. In this case, the general service component, the first general switching component, and the second general switching component are all components of the forwarding system. The forwarding plane of each component in the forwarding system is used to execute the forwarding decisions of each component in the forwarding system on the packet, so as to actually forward the packet at each component in the forwarding system. The forwarding plane of each component in the forwarding system is generally deployed and runs in the ASIC (Application Specific Integrated Circuit) subsystem of each component in the forwarding system. For example, the forwarding plane of the EAS is deployed and runs in the ASIC subsystem of the EAS; the forwarding plane of the IAS is deployed and runs in the ASIC subsystem of the IAS. Schematically, the ASIC subsystem can be an ASIC chip. A mapping relationship between peers and labels is maintained in the distributed system. Each node device in the distributed system can schedule the transmission of service messages based on the mapping relationship in the forwarding system. Transmission scheduling here specifically refers to forwarding service messages according to routing information.

[0064] Each component in the forwarding system maintains its own local forwarding table. Based on its stored full cloud network routing information, each component synchronizes forwarding information within its forwarding plane. This synchronized forwarding information is stored in its own local forwarding table, which also contains labels. When service packet transmission scheduling is required, each component in the forwarding system schedules service packets within the cloud network based on the labels in its local forwarding table.

[0065] Based on the interaction between the node devices in the distributed system shown in Figure 1, the transmission scheduling method provided in the embodiment of the present application can be implemented. Please refer to Figure 2, which is a flow chart of a transmission scheduling method provided in an exemplary embodiment of the present application. The transmission scheduling method includes the following steps S201-S203:

[0066] S201. Obtain the mapping relationship between peer and label.

[0067] In one embodiment, when a first universal switching component connects to one or more ISP networks, it can establish peers with each connected ISP network using the BGP protocol and assign a mapped label to each peer. A peer is a communication connection established between the first universal switching component and one of its connected ISP networks, and a peer is mapped to a label.

[0068] For example, see Figure 3, which is a schematic diagram of routing information transmission in a routing system according to an exemplary embodiment of the present application. A first universal switching component 1 is connected to two ISP networks, namely ISP Network 1 and ISP Network 2. The first universal switching component 1 can establish peer 1 with ISP Network 1 via BGP and assign a mapped label 1 to peer 1. The first universal switching component 1 can establish peer 2 with ISP Network 2 via BGP and assign a mapped label 2 to peer 2.

[0069] Furthermore, the first universal switching component can store the mapping relationship between peer and label. In the example shown in Figure 3, the first universal switching component 1 can store the mapping relationship between peer1 and label1, and store the mapping relationship between peer2 and label2. In one implementation, the first universal switching component can locally send the mapping relationship between peer and label. The so-called local sending refers to sending the mapping relationship between peer and label to the forwarding plane of the first universal switching component, so that in the subsequent transmission scheduling process, the first universal switching component can directly perform transmission scheduling (such as forwarding processing) on ​​the service message based on the mapping relationship in the forwarding plane.

[0070] It should be understood that when the first universal switching component connects to N ISP networks, it will establish N peers and therefore distribute N mapping relationships locally. For example, in the example above, if the first universal switching component establishes peer1 and peer2, it will distribute the mapping relationships corresponding to these two peers locally, namely, the mapping relationship between peer1 and label1 and the mapping relationship between peer2 and label2.

[0071] S202: Transmit the mapping relationship between the node devices in the distributed system.

[0072] In one embodiment, each node device in a distributed system exchanges cloud network routing information within the routing system. This routing information includes mappings between peers and labels. Specifically, a global routing service node device in the routing system is responsible for collecting cloud network routing information and transmitting it to each component in the routing system. In one implementation, the global routing service node device includes an ERS server. The ERS server can transmit cloud network routing information to each component in the routing system where a routing service instance is deployed, using a global routing service program.

[0073] The global routing service node device in the routing system is responsible for collecting routing information of the cloud network and transmitting the routing information of the cloud network to each component in the routing system. This can include the following two situations: ① Each component in the routing system can send routing information to the global routing service node device. After receiving the routing information sent by each component in the routing system, the global routing service node device can summarize it and transmit all the summarized routing information to each component in the routing system. ② After receiving the routing information sent by any component in the routing system, the global routing service node device transmits the received routing information sent by any component to other components in the routing system.

[0074] The routing information associated with a peer includes the label mapped to the peer. For example, if peer1 is mapped to label1, the routing information associated with peer1 will include label1. Because routing information includes three elements: destination address, mask, and next hop, the routing information associated with a peer can be understood as follows: the destination address is the device address corresponding to the peer (such as the address of the first universal switching component or the address of the ISP network); or, the next hop is the device address corresponding to the peer; or, the mask is the mask of the device corresponding to the peer.

[0075] In one embodiment, when the first universal switching component sends routing information of each ISP network connected to the first universal switching component to the global routing service node device, it can determine the peer associated with each ISP network and encapsulate the label mapped to the peer in the routing information of each ISP network. The first universal switching component sends the routing information of each ISP network encapsulated with a label to the global routing service node device. For example, peer1 is established between the first universal switching component and ISP network 1, and peer2 is established between the first universal switching component and ISP network 2. Then, the first universal switching component encapsulates label1 mapped to peer1 in the routing information of ISP network 1, and encapsulates label2 mapped to peer2 in the routing information of ISP network 2, and sends the routing information of ISP network 1 encapsulated with label1 and the routing information of ISP network 2 encapsulated with label2 to the global routing service node device.

[0076] It should be understood that when the global routing service node device receives the routing information of each ISP network encapsulated with a label sent by the first universal switching component, it can transmit the routing information of each ISP network encapsulated with a label to each component in the routing system, so that each component in the routing system stores the routing information encapsulated with the label.

[0077] When the routing information of the cloud network is updated, the global routing service node device can transmit the updated routing information to each component in the routing system. The update of the routing information of the cloud network may include: changes in the routing information related to each component in the routing system, or routing changes caused by the components in the routing system accessing a new network, etc. For example, when the first universal switching component receives a routing update message from the connected ISP network, it means that the routing information of the cloud network is updated. The routing update message contains the updated routing information. The first universal switching component can add a label mapped to the peer related to the ISP network in the routing update message, and send the routing update message with the label to the global routing service node device. The global routing service node device can transmit the routing update message with the label to each component in the routing system, so that each component in the routing system updates the routing information based on the routing update message with the label.

[0078] Optionally, the route update message is a BGP message, and a prefix and a community attribute value may be added to the BGP message. The community attribute value is used to identify routes with the same characteristics, and this attribute is optional.

[0079] The first universal switching component receiving a routing update message from the ISP network may include at least one of the following situations: ① The first universal switching component receives a routing update message from the ISP network when the first universal switching component is newly connected to the ISP network. ② When the ISP network connected to the first universal switching component changes, the first universal switching component receives a routing update message from the ISP network.

[0080] For ease of understanding, FIG3 is used as an example to specifically illustrate the process of transmitting routing information related to the ISP network among various components in the routing system. The transmission process may include: (1) When the first universal switching component 1 accesses the ISP network 1, it establishes a peer (denoted as peer1) with the ISP network 1 and assigns a mapped label1 to the peer1. (2) The ISP network 1 sends a routing update message to the first universal switching component, and the routing update message includes updated routing information. (3) When the first universal switching component 1 receives the routing update message, it can add label1 to the routing update message and send the routing update message with label1 added to the global routing service node device through the deployed routing service instance.

[0081] (4) The global routing service node device can transmit the routing update message with label 1 added to each component in the routing system where the routing service instance is deployed. As shown in Figure 3, the global service node device can transmit the routing update message with label 1 added to the general service component 1, general service component 2, first general switching component 2, second general switching component 1, and second general switching component 2 in the routing system through the routing service instance. After receiving the routing update message with label 1 added, each component in the routing system can store the updated routing information and label 1 included in the routing update message with label 1.

[0082] It should be understood that, through the transmission of the routing system, the global routing service node device and each component in the routing system all store the full routing information of the cloud network. In some embodiments, the full routing information of the cloud network stored by each component in the routing system can be stored in the respective routing planes of each component in the routing system.

[0083] Furthermore, each component in the routing system can synchronize forwarding information in its respective forwarding plane based on the full routing information of the cloud network stored in each component. There are certain differences in the forwarding information synchronized by the forwarding planes of different components, as shown in FIG4 , which is a schematic diagram of the synchronization of forwarding information by each component provided by an exemplary embodiment of the present application. For general service components: the general service component can synchronize the full forwarding information of the cloud network in its forwarding plane based on the full routing information stored in itself. The full forwarding information of the cloud network synchronized in the forwarding plane of the general service component will be stored in the local forwarding table of the general service component. In other words, the routing plane of the general service component will store the full routing information, and the forwarding plane of the general service component will also store the full forwarding information. By storing the full forwarding information in the forwarding plane of the general service component, it can be used for subsequent precise scheduling and transmission of service packets. The full forwarding information can include forwarding information related to the ISP network and forwarding information related to the network module within the data center network, etc. The full forwarding information includes a label mapped to the peer. Since forwarding information is generated based on routing information, forwarding information related to the ISP network can be understood as being generated based on routing information related to the ISP network. Routing information includes three elements: destination address, mask, and next hop. Therefore, routing information related to the ISP network can be understood as: the destination address is the address of the ISP network; or the next hop is the address of the ISP network; or the mask is the mask of the ISP network.

[0084] For the first universal switching component and the second universal switching component: in their respective forwarding planes, the full forwarding information will not be synchronized, but the forwarding information of the cloud network will be synchronized on demand. The first universal switching component and the second universal switching component synchronize the forwarding information of the cloud network on demand for the following two reasons: ① Since the amount of public network routing information is in the millions, the first universal switching component will establish a peer and assign a mapped label when accessing the ISP network. The mapping relationship between the label and the peer is stored on the first universal switching component, and the number of peers is only in the hundreds; therefore, when the first universal switching component forwards the business message, it only needs to forward the business message to the corresponding peer according to the label carried in the business message, realizing peer-granularity scheduling, so the first universal switching component does not need to synchronize the full forwarding information. In the embodiment of the present application, the mapping relationship between a label and a peer can be called a TEPE table entry. ② The intranet routing information belongs to the internal network planning of the data center network. Therefore, the amount of intranet routing information is less than the amount of public network routing information, and can be directly sent to the forwarding plane of the first universal switching component and the second universal switching component.

[0085] Based on the two aforementioned reasons, the first universal switching component can synchronize the first component forwarding information of the cloud network on demand within its forwarding plane based on its stored full routing information. The first component forwarding information includes forwarding information related to the ISP network connected to the first universal switching component. This forwarding information related to the ISP network connected to the first universal switching component includes TEPE table entries. In one embodiment, the first component forwarding information also includes forwarding information related to the network module.

[0086] Synchronizing the first component forwarding information of the cloud network on demand in the forwarding plane of the first universal switching component may include: the first universal switching component determining the ISP network connected to the first universal switching component, generating the first component forwarding information based on routing information associated with the ISP network connected to the first universal switching component, and synchronizing the first component forwarding information in the forwarding plane of the first universal switching component. The routing information associated with the ISP network connected to the first universal switching component includes a label mapped to a peer associated with the ISP network. In some embodiments, the synchronized first component forwarding information of the cloud network is stored in a local forwarding table of the first universal switching component.

[0087] It should be understood that the first component forwarding information includes all TEPE table entries. That is, if the first universal switching component establishes peers with 10 ISP networks, then the number of mapping relationships between peers and labels is 10, and 10 TEPE table entries will be included in the first component forwarding information. By synchronizing the first component forwarding information in the forwarding plane of the first universal switching component, the first universal switching component can forward the service message to the corresponding peer only according to the label carried in the service message when forwarding the service message, thereby realizing peer-level scheduling, and no longer needing to forward according to the million-level public network route. In the embodiment of the present application, the forwarding mode corresponding to the peer level can be called TEPE forwarding.

[0088] The second universal switching component, based on its stored full routing information, synchronizes second component forwarding information of the cloud network on demand at its forwarding plane. The second component forwarding information includes forwarding information related to nets in the same AZ as the second universal switching component. Synchronizing the second component forwarding information of the cloud network on demand at the forwarding plane of the second universal switching component may involve: the second universal switching component determining nets in the same AZ as the second universal switching component, generating forwarding information related to the nets in the same AZ based on its stored full routing information, generating second component forwarding information based on the forwarding information related to the nets in the same AZ, and synchronizing the second component forwarding information in the forwarding plane of the second universal switching component. The synchronized second component forwarding information of the cloud network is stored in the local forwarding table of the second universal switching component.

[0089] In some embodiments, the second component forwarding information also includes forwarding information related to the ISP network. Specifically, the second universal switching component synchronizes the forwarding information related to the ISP network on demand. This can reduce or share the pressure on the universal service component's outbound network traffic in scenarios with significant traffic flows or where refined scheduling of service packets is not required. A significant traffic flow refers to the process of continuously transmitting a large number of ordinary service packets during network transmission.

[0090] By synchronizing the full forwarding information in the universal service component and synchronizing the forwarding information on demand in the first universal switching component and the second universal switching component, a large number (e.g., millions) of public network forwarding table entries can be compressed into a smaller number (e.g., hundreds of TEPE table entries), thereby achieving millions of public network routing forwarding in the limited table entry storage space of the above-mentioned ASIC subsystem (e.g., ASIC chip). The table entry storage space refers to the storage space used to store forwarding table entries.

[0091] S203: Schedule transmission of service messages in the cloud network based on the mapping relationship.

[0092] The forwarding system in the distributed system can schedule the transmission of service messages in the cloud network based on the mapping relationship. Specifically, each node device in the distributed system schedules the transmission of service messages in the cloud network based on the mapping relationship in the forwarding system. In one implementation, the components contained in each node device schedule the transmission of service messages in the cloud network based on the forwarding information in their respective local forwarding tables. When a service message in the cloud network reaches any component in the forwarding system, the component queries the forwarding information required for transmission from its own local forwarding table; if the query is successful, the component encapsulates the label related to the transmission in the service message based on the queried forwarding information, and forwards the service message according to the instructions of the queried forwarding information; if the query fails, the component sends the service message to the default next hop, and the component pointed to by the default next hop schedules the transmission of the service message.

[0093] Service packets may include inbound service packets and outbound service packets. Inbound service packets refer to service packets transmitted from the ISP network to the data center network. Outbound service packets refer to service packets transmitted from the data center network to the ISP network. The process of scheduling the transmission of service packets in the cloud network by each component in the forwarding system based on the forwarding information in its local forwarding table will be described in detail in subsequent embodiments and will not be repeated here.

[0094] In summary, the distributed system in the embodiment of the present application includes a first routing node device, a second routing node device and a global routing service node device; the first routing node device includes a universal service component and a first universal switching component; the second routing node device includes a second universal switching component. It can be seen that the present application uses low-cost universal components to replace commercial routers to build a distributed system, which can decouple large commercial routers, greatly simplify operations and reduce operating costs, and improve the scalability and flexibility of the distributed system. The routing system provides labels for each component in the forwarding system by transmitting the mapping relationship between labels and peers. The transmission scheduling method implemented on the basis of this distributed system can solve the problem of insufficient forwarding table entries stored in general switching components due to limited storage space in public network scenarios. While supporting T-level forwarding specifications (T-level forwarding specifications refer to the forwarding bandwidth size, 1T=1024G, which means that it can support 1024G forwarding bandwidth), it can also reduce routing specifications, and realize the processing of millions of routing forwardings on a 100K-level switching chip (that is, the number of routing forwardings that the switching chip can handle is at the 100K level), achieving high-performance routing forwarding and flexible transmission scheduling, and meeting the transmission scheduling needs of cloud networks.

[0095] Next, we will explain the process of how each component in the forwarding system schedules the transmission of service messages in the cloud network based on the forwarding information in its local forwarding table, starting from inbound and outbound service messages.

[0096] Please refer to Figure 5, which is a schematic diagram of a process for scheduling transmission of outbound service messages in a cloud network according to an exemplary embodiment of the present application. The process for scheduling transmission of outbound service messages in a cloud network includes the following steps: s11-s19.

[0097] s11. The second universal switching component receives an outbound service message from the data center network. The outbound service message includes the address of the ISP network to be delivered.

[0098] In one embodiment, the second universal switching component may receive an outbound service message sent by a net connected to the second universal switching component in the data center network, obtain the address of the ISP network to be delivered from the received outbound service message, and execute step s12. For example, the second universal switching component is connected to net1 in the data center network. The second universal switching component may receive an outbound service message sent by net1 and obtain the address of the ISP network to be delivered from the outbound service message. The outbound service message may include a response made by the net in the data center network to a service request sent by a receiving object. For example, if the service request is a data query, the outbound service message may include the query result returned for the data query.

[0099] S12. Based on the address of the ISP network to be delivered, the second universal switching component searches its local forwarding table for forwarding information related to the ISP network to be delivered. If the query is successful, it indicates that the local forwarding table of the second universal switching component contains clear forwarding information for the outgoing service packet, and steps S13-S14 can be executed. If the query fails, it indicates that the local forwarding table of the second universal switching component does not contain clear forwarding information for the outgoing service packet, and the service packet needs to be forwarded to the component that stores the full forwarding information, that is, steps S15-S18 can be executed.

[0100] The local forwarding table of the second universal switching component records the second component forwarding information of the cloud network, which is synchronized on demand by the second universal switching component. Forwarding information related to the ISP network to be delivered may include the address of the ISP network to be delivered, the next hop, the next hop port, the label, and so on. For example, the local forwarding table of the second universal switching component is shown in Table 1. The address of the ISP network to be delivered is xxx.xxx.xxx.xxx. The second universal component can query Table 1 based on xxx.xxx.xxx.xxx to obtain forwarding information. This forwarding information includes "next hop: first universal service component 1, next hop port: port A of first universal service component 1, label 1."

[0101] Table 1

[0102] s13. If the query is successful, the second general switching component encapsulates the label related to the ISP network to be delivered in the outgoing service message.

[0103] s14. The second universal switching component forwards the encapsulated outbound service message to the corresponding first universal switching component according to the instruction of the queried forwarding information, and enters step s19.

[0104] s15. If the query fails, the second universal switching component sends the outgoing service message to the default next hop, which points to the universal service component.

[0105] Specifically, the second universal switching component can encapsulate the outgoing service message to point to the address of the default next hop, and then forward the encapsulated outgoing service message to the default next hop. The local forwarding table of the universal service component records the full forwarding information of the cloud network.

[0106] s16. Based on the address of the ISP network to be delivered, the general service component searches the local forwarding table of the general service component for forwarding information related to the ISP network to be delivered.

[0107] In one embodiment, the local forwarding table of the universal service component records the full forwarding information of the cloud network. After receiving the outgoing service message sent by the second universal switching component, the universal service component can obtain the address of the ISP network to be delivered from the outgoing service message, and based on the address of the ISP network to be delivered, successfully query the local forwarding table of the universal service component for forwarding information related to the ISP network to be delivered, and execute step s17.

[0108] s17. The general service component encapsulates the label related to the ISP network to be delivered in the outgoing service message.

[0109] s18. The universal service component forwards the encapsulated outbound service message to the corresponding first universal switching component according to the instruction of the forwarding information found, and then proceeds to s19.

[0110] s19. The first universal switching component decapsulates the encapsulated outbound service message to obtain the outbound service message, and maps the outbound service message to the ISP network to be delivered based on the mapping relationship between the peer and the label.

[0111] In one embodiment, after receiving the encapsulated outbound service message, the first universal switching component can decapsulate the encapsulated outbound service message to obtain the outbound service message and the label, and based on the mapping relationship between the peer and the label stored on the forwarding plane, determine the peer mapped to the decapsulated label, and directly map the outbound service message to the ISP network to be delivered through the peer. Through the mapping relationship between the peer and the label, the first universal switching component does not need to query the local routing table.

[0112] To facilitate understanding, the entire outbound service message transmission scheduling process is described below using two specific examples.

[0113] (1) Transmit outbound service packets from net1 in the data center network to ISP network 1.

[0114] Figure 6a is a schematic diagram of a process for transmission scheduling of outbound business messages in a cloud network provided by another exemplary embodiment of the present application. The transmission scheduling process of the outbound business message includes: ① The second universal switching component 1 receives the outbound business message from net1 in the data network center, and the outbound business message includes the address of ISP1 to be sent. ② The second universal switching component 1 can query the forwarding information related to ISP network 1 in its own local forwarding table based on the address of ISP network 1. At this time, the forwarding information related to ISP network 1 is successfully queried in the local forwarding table. For example, the forwarding information related to ISP network 1 found in the query includes: label1 related to ISP network 1, the next hop points to the first universal switching component 1, etc. The second universal switching component encapsulates label1 in the outbound business message to obtain the encapsulated outbound business message. ③ The second universal switching component forwards the encapsulated outbound business message to the corresponding first universal switching component 1 according to the instructions of the queried forwarding information. ④ After receiving the encapsulated outbound service message, first universal switching component 1 can decapsulate the encapsulated outbound service message to obtain the outbound service message and label 1. Based on the mapping relationship between labels and peers, first universal switching component 1 can determine the peer mapped to label 1. ⑤ Based on the peer mapped to label 1, first universal switching component 1 can forward the outbound service message to the egress of ISP network 1.

[0115] (2) Transmit outbound service packets from net3 in the data center network to ISP network 3.

[0116] Figure 6b is a schematic diagram of a process for transmission scheduling of outbound business messages in a cloud network provided by another exemplary embodiment of the present application. The transmission scheduling process of the outbound business message includes: ① The second general switching component 2 receives an outbound business message from net3 in the data network center, and the outbound business message includes the address of the ISP network 3 to be sent. ② The second general switching component 2 can query the forwarding information related to the ISP network 3 in its own local forwarding table based on the address of the ISP network 3. ③ If the query for the forwarding information related to the ISP network 3 in the second general switching component 2 fails, the second general switching component 2 can send the outbound business message to the default next hop, which points to the general service component 2. ④ After receiving the outbound business message, the general service component 2 queries the forwarding information related to the ISP network 3 in the local forwarding table of the general service component 2 based on the address of the ISP network 3. The forwarding information related to the ISP network 3 queried includes: the address of the forwarding information related to the ISP network 3, the next hop (pointing to the first general switching component 2), and label3. ⑤ Universal service component 2 encapsulates label 3 in the outbound service message, obtains the encapsulated outbound service message, and forwards the encapsulated outbound service message to the corresponding first universal switching component 2 according to the instructions of the queried forwarding information. ⑥ After receiving the encapsulated outbound service message, the first universal switching component 2 can decapsulate the encapsulated outbound service message to obtain the outbound service message and label 3. Then, based on the stored mapping relationship between label and peer, it determines the peer mapped to label 3, and directly forwards the outbound service message to the egress of ISP network 3 based on the peer mapped to label 3.

[0117] As mentioned above, when forwarding outgoing business messages, the outgoing business messages are forwarded based on the label, so that when the first general switching component forwards the outgoing business messages, it only needs to forward the outgoing business messages to the corresponding peer according to the label carried in the outgoing business messages, thereby realizing peer-level scheduling, and no longer needs to be forwarded according to the million-level public network routing (that is, there is no need to perform routing forwarding based on the million-level public network routing information).

[0118] In addition, the embodiments of the present application can perform refined scheduling for service messages (such as outbound service messages). At this time, in addition to storing full routing information and full forwarding information, the general service component in the forwarding system can also configure flow classification rules and scheduling tables on demand. Among them, the flow classification rules define the classification rules for service messages. A scheduling table is used to record the transmission information of a category of service messages. For example, Figure 7 is a schematic diagram of a refined scheduling provided by an exemplary embodiment of the present application. In Figure 7, the classification rules for service messages defined by the flow classification rules can be: defining service messages containing voice content as ordinary service categories, defining service messages containing video as premium service categories, and defining service messages containing text as default service categories. The premium service category corresponds to scheduling table 1, which records the transmission information of service messages of the premium service category, the ordinary service category corresponds to scheduling table 2, which records the transmission information of service messages of the ordinary service category, and the default service category corresponds to scheduling table 3, which records the transmission information of service messages of the default service category. For another example, the classification rule for service packets defined by the flow classification rule may be: service packets with higher real-time requirements are defined as real-time service categories, and service packets with lower real-time requirements are defined as non-real-time service categories.

[0119] The transmission information in a scheduling table may include path information and egress information for transmitting service packets of a certain category. The transmission information in a scheduling table may be determined based on the service packet category, the transmission quality of different egresses, and the transmission cost. For example, for premium service packets, which require high egress transmission quality and high egress transmission cost, the full set of routing information can be integrated in the distributed system to find path information with high egress transmission quality and high transmission cost, thereby obtaining the path information and egress information for transmitting service packets of the premium service category. For example, the path information may be: first universal switching component -> China Telecom's ISP network, and the egress information may be "China Telecom's ISP network." For another example, for default service packets, which require low egress transmission quality and low egress transmission cost, the full set of routing information can be integrated in the distributed system to find path information with low egress transmission quality and low transmission cost, thereby obtaining the path information and egress information for transmitting service packets of the default service category. For example, the path information may be: first universal switching component -> China Unicom's ISP network, and the egress information may be "China Unicom's ISP network."

[0120] At this time, the transmission scheduling of the business messages in the cloud network may also include: the general service component classifies the business messages in the cloud network according to the flow classification rules to obtain the category to which the business messages belong; and, according to the transmission information recorded in the scheduling table corresponding to the category to which the business messages belong, the business messages are scheduled for transmission. In one implementation, the general service component is deployed with a diverter, and the general service component calls the diverter to classify the business messages in the cloud network according to the flow classification rules to obtain the category to which the business messages belong. For example, in Figure 7, the diverter is called to classify the business messages in the cloud network according to the flow classification rules, and the category to which the business messages belong is the premium business category. Then, the general service component determines the scheduling table 1 corresponding to the premium business category, and schedules the business messages for transmission according to the transmission information recorded in the scheduling table 1.

[0121] It should be understood that the service message includes an outbound service message, and the general service component can receive the outbound service message from the second general switching component, and choose to schedule the transmission of the outbound service message according to the local forwarding table according to the needs, or schedule the transmission of the outbound service message through a refined scheduling method. The embodiments of this application do not limit this. Through the above-mentioned methods, the needs of flexible scheduling based on service and flow refinement and customization in the cloud network can be met, and the flexibility of service message transmission scheduling in the entire cloud network is improved, with obvious advantages in multiple dimensions such as cost, performance, and flexibility.

[0122] Describes the process of scheduling the transmission of incoming service messages in a cloud network.

[0123] Please refer to Figure 8a, which is a schematic diagram of a process for scheduling the transmission of inbound service packets in a cloud network provided by an exemplary embodiment of the present application. The process for scheduling the transmission of inbound service packets in a cloud network includes the following steps s21-s25:

[0124] s21. The first universal switching component receives an inbound service message from the ISP network. The inbound service message includes the address of the net in the data center network to be delivered.

[0125] s22. The first universal switching component searches for forwarding information related to the net to be delivered in the local forwarding table of the first universal switching component based on the address of the net to be delivered; the local forwarding table of the first universal switching component records the first component forwarding information of the on-demand synchronization cloud network of the first universal switching component.

[0126] In one implementation, the forwarding of inbound service packets relies on intranet forwarding information. The amount of intranet routing information is very small relative to the amount of public network routing information, i.e., the amount of public network routing information is only in the hundreds of thousands. Therefore, when performing on-demand synchronization, the forwarding plane of the first universal switching component and the forwarding plane of the second universal switching component synchronize forwarding information related to all nets in the data center network. Therefore, the first component forwarding information recorded in the local forwarding table of the first universal switching component includes forwarding information related to the net to be delivered. The first universal switching component can obtain the address of the net to be delivered from the inbound service packet, and based on the address of the net to be delivered, the forwarding information related to the net to be delivered can be successfully queried in the local forwarding table of the first universal switching component, and then step s23 is executed. The queried forwarding information related to the net to be delivered may include: the address of the net to be delivered, the next hop, the next hop port, the label, etc.

[0127] s23. The first universal switching component encapsulates the label related to the ISP network (ie, the label mapped to the peer related to the ISP network) in the incoming service message according to the instruction of the forwarding information found.

[0128] s24. The first universal switching component forwards the encapsulated inbound service message to the corresponding second universal switching component.

[0129] s25. The second universal switching component decapsulates the encapsulated inbound service message to obtain an inbound service message, and transmits the inbound service message to the net to be delivered.

[0130] In one implementation, after receiving the encapsulated inbound business message forwarded by the first general switching component, the second general switching component can decapsulate the encapsulated inbound business message to obtain the inbound business message and the address of the net to be delivered, and then transmit the inbound business message to the net to be delivered based on the address of the net to be delivered.

[0131] For ease of understanding, the entire transmission scheduling process of the inbound business message is explained below with a specific example. Figure 8b is a flow chart of a process for transmission scheduling of inbound business messages in a cloud network provided by an exemplary embodiment of the present application. The transmission scheduling process of the inbound business message includes: ① The first general switching component 1 receives the inbound business message from the ISP network 1, and the inbound business message includes the address of net1 in the data center network to be delivered. ② Based on the address of net1, the first general switching component 1 queries the local forwarding table of the first general switching component 1 for forwarding information related to net1. The queried forwarding information related to net1 includes label1 related to the ISP network 1, and the next hop points to the second general switching component 1. ③ The first general switching component 1 encapsulates label1 in the inbound business message according to the instructions of the queried forwarding information, and forwards the encapsulated inbound business message to the corresponding second general switching component 1. ④ The second universal switching component 1 can decapsulate the encapsulated inbound service message to obtain the inbound service message and the address of net1, and transmit the inbound service message to net1 based on the address of net1.

[0132] As can be seen from Figure 8b, the transmission scheduling of inbound business messages is directly processed by the first universal switching component and the second universal switching component, and will not be processed by the universal service component (such as the epp server). Therefore, Figure 9 is a flow chart of the transmission scheduling of inbound attack traffic provided by an exemplary embodiment of the present application. When the first universal switching component receives inbound attack traffic from the network, the inbound attack traffic refers to the traffic used to attack the services provided by the data center network. Since all inbound business messages pass through the first universal switching component (that is, processed by hardware), the inbound attack traffic will also be processed by the first universal switching component and will not cause any risk to the universal service component. To a certain extent, the security of the universal service component is protected. The inbound attack traffic can be a distributed denial of service attack (DDos, Distributed denial of service attack).

[0133] In summary, from the perspective of each component in the forwarding system performing transmission scheduling for incoming service messages and outgoing service messages in the cloud network based on the forwarding information in its own local forwarding table, the first general switching component and the second general switching component adopt differentiated treatment and asymmetric processing for outgoing service messages and incoming service messages. Asymmetric processing can enable TEPE forwarding of outgoing service messages, thereby solving the problem of insufficient forwarding table entries stored in the general switching component due to limited storage space in the public network scenario. While supporting T-level forwarding specifications, it can also reduce routing specifications, and realize processing of millions of routing forwardings on hundreds of K-level switching chips, realizing high-performance routing forwarding and flexible transmission scheduling, and meeting the transmission scheduling requirements of the cloud network.

[0134] Next, the transmission scheduling method provided in the embodiment of the present application is described from the perspectives of the first universal switching component, the second universal switching component, and the universal service component.

[0135] Please refer to FIG. 10 , which is a flow chart of a transmission scheduling method provided by an exemplary embodiment of the present application. The method may be executed by a first universal switching component in a distributed system. The transmission scheduling method includes the following steps S1001-S1003:

[0136] S1001. Obtain the mapping relationship between peer and label.

[0137] In one embodiment, the first universal switching component can be used to access one or more ISP networks. The first universal switching component can establish peers with each accessed ISP network through BGP, assign a mapped label to each peer, and store the mapping relationship between each peer and the label.

[0138] S1002: Schedule the transmission of service messages in the cloud network based on the mapping relationship between peers and labels, wherein the service messages include outbound service messages and inbound messages.

[0139] (1) The service message includes an outbound service message, and the service message in the cloud network is scheduled for transmission based on the mapping relationship between the peer and the label, including: ① receiving the encapsulated outbound service message sent by the second general switching component, where the encapsulated outbound service message is obtained by the second general switching component encapsulating the outbound service message with a label related to the ISP network to be delivered after receiving the outbound service message from the data center network; ② decapsulating the encapsulated outbound service message to obtain the outbound service message, and mapping the outbound service message to the ISP network to be delivered based on the mapping relationship between the peer and the label.

[0140] (2) The service message includes an outbound service message, and the service message in the cloud network is scheduled for transmission based on the mapping relationship between peers and labels, including: ① receiving the encapsulated outbound service message forwarded by the general service component, where the encapsulated outbound service message is obtained by the general service component encapsulating the outbound service message with a label related to the ISP network to be delivered after receiving the outbound service message from the second general switching component; ② decapsulating the encapsulated outbound service message to obtain the outbound service message, and mapping the outbound service message to the ISP network to be delivered based on the mapping relationship between peers and labels.

[0141] (3) The service message includes an inbound service message, and the service message in the cloud network is scheduled for transmission based on the mapping relationship between the peer and the label, including: ① receiving an inbound service message from the ISP network, the inbound service message includes the address of the network module in the data center network to be delivered. ② based on the address of the network module to be delivered, querying the forwarding information related to the network module to be delivered in the local forwarding table of the first universal switching component; the local forwarding table of the first universal switching component records the first component forwarding information of the cloud network synchronized on demand by the first universal switching component. ③ encapsulating the label related to the ISP network in the inbound service message according to the instructions of the queried forwarding information, and forwarding the encapsulated inbound service message to the corresponding second universal switching component, so that the second universal switching component decapsulates the encapsulated inbound service message to obtain the inbound service message, and transmits the inbound service message to the network module to be delivered.

[0142] In one embodiment, the transmission scheduling method further includes the following steps S1003: receiving a routing update message sent by an ISP network connected to the first universal switching component, adding a label to the routing update message, and sending the routing update message with the label to a global routing service node device, so that the global routing service node device transmits the routing update message with the label to the routing system in the distributed system.

[0143] In an embodiment of the present application, the first general switching component performs transmission scheduling on the service messages in the cloud network based on the mapping relationship between peer and label, and can implement peer-level scheduling without the need for routing forwarding based on the million-level public network, thereby achieving high-performance routing forwarding and flexible transmission scheduling, meeting the transmission scheduling requirements of the cloud network.

[0144] Please refer to FIG11 , which is a flow chart of a transmission scheduling method provided by another exemplary embodiment of the present application. The method may be performed by a second universal switching component in a distributed system. The transmission scheduling method includes the following steps S1101-S1102:

[0145] S1101. Obtain a mapping relationship between peers and labels.

[0146] In a specific implementation, the second general switching component may obtain the transmitted routing information from the routing system, where the routing information includes a mapping relationship between peers and labels.

[0147] S1102: Schedule the transmission of service messages in the cloud network based on the mapping relationship between peers and labels. Service messages include outbound service messages and inbound messages.

[0148] (1) The service message includes an outbound service message, which refers to a service message transmitted from the data center network to the ISP network; based on the mapping relationship between the peer and the label, the service message in the cloud network is scheduled for transmission, including: ① receiving the outbound service message from the data center network, the outbound service message includes the address of the ISP network to be delivered. ② querying the local forwarding table of the second universal switching component for forwarding information related to the ISP network to be delivered. The local forwarding table of the second universal switching component records the second component forwarding information of the cloud network synchronized on demand by the second universal switching component. ③ If the query is successful, the second universal switching component encapsulates the label related to the ISP network to be delivered in the outbound service message, and forwards the encapsulated outbound service message to the corresponding first universal switching component according to the instructions of the forwarding information retrieved, so that the first universal switching component decapsulates the encapsulated outbound service message to obtain the outbound service message, and maps the outbound service message to the ISP network to be delivered based on the mapping relationship between the peer and the label. ④ If the query fails, the outgoing service message is sent to the default next hop according to the local forwarding table. The default next hop points to the universal service component, so that the universal service component encapsulates the outgoing service message based on the address of the ISP network to be delivered and the local forwarding table of the universal service component, and forwards the encapsulated outgoing service message to the corresponding first universal switching component.

[0149] (2) The service message includes an inbound service message, and the service message in the cloud network is scheduled for transmission based on the mapping relationship between the peer and the label, including: ① receiving the encapsulated inbound service message sent by the second general switching component, the encapsulated inbound service message is obtained by the first general switching component encapsulating the label related to the ISP network in the inbound service message; the inbound service message includes the address of the net in the data center network to be delivered; ② decapsulating the encapsulated inbound service message to obtain the inbound service message, and based on the address of the net in the data center network to be delivered, transmitting the inbound service message to the net to be delivered.

[0150] In an embodiment of the present application, the second general switching component performs transmission scheduling on the service messages in the cloud network based on the mapping relationship between peer and label, and can implement peer-level scheduling without the need for routing forwarding based on a million-level public network, thereby achieving high-performance routing forwarding and flexible transmission scheduling, meeting the transmission scheduling requirements of the cloud network.

[0151] Please refer to FIG. 12 , which is a flow chart of a transmission scheduling method provided by another exemplary embodiment of the present application. The transmission scheduling method may be executed by a general service component in a distributed system. The transmission scheduling method includes the following steps S1201-S1203:

[0152] S1201. Receive an outbound service message sent by a second universal switching component. The outbound service message refers to a service message transmitted from a data center network to an ISP network. The outbound service message includes the address of the ISP network to be delivered.

[0153] S1202. Based on the address of the ISP network to be delivered, query the local forwarding table of the universal service component for forwarding information related to the ISP network to be delivered; the local forwarding table of the universal service component records the full forwarding information of the cloud network.

[0154] S1203. Encapsulate a label related to the ISP network to be delivered in the outbound service message, and forward the encapsulated outbound service message to the corresponding first universal switching component according to the instructions of the queried forwarding information, so that the first universal switching component decapsulates the encapsulated outbound service message to obtain the outbound service message, and maps the outbound service message to the ISP network to be delivered.

[0155] Optionally, the general service component is configured with flow classification rules and a scheduling table, the flow classification rules define the classification rules for business messages; a scheduling table is used to record the transmission information of a category of business messages; the transmission scheduling method may also include the following steps S1024: classify the business messages in the cloud network according to the flow classification rules to obtain the category to which the business messages belong; and, according to the transmission information recorded in the scheduling table corresponding to the category, schedule the transmission of the business messages, and the business messages may include outgoing business messages.

[0156] In an embodiment of the present application, the general service component schedules the transmission of service messages in the cloud network based on the mapping relationship between peers and labels. This can achieve peer-level scheduling without the need for forwarding based on million-level public network routing, significantly reducing Internet routing specifications, achieving high-performance routing forwarding and flexible transmission scheduling, and meeting the transmission scheduling requirements of the cloud network. At the same time, by deploying flow classification rules and scheduling tables on the general service component, refined scheduling based on objects and services can be achieved.

[0157] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a computer program. The program can be stored in a computer-readable storage medium, and when executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0158] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A distributed system, It is characterized in that The distributed system is applied to a cloud network, the architecture of which includes an access network, a backbone network and a data center network; the distributed system includes a first routing node device, a second routing node device and a global routing service node device; the first routing node device, the second routing node device and the global routing service node device are all connected to the backbone network; The first routing node device is distributed in the access network and is used to access one or more Internet service provider networks; the first routing node device includes a general service component and a first general switching component; the second routing node device is distributed in the data center network and is used to provide data connection between network modules within the data center network, and the second routing node device includes a second general switching component; the global routing service node device is set outside the access network and the data center network; The distributed system maintains a mapping relationship between peer connections and scheduling identifiers, the mapping relationship is transmitted between node devices of the distributed system, and each node device of the distributed system performs transmission scheduling of service messages in the cloud network based on the mapping relationship.

2. The distributed system according to claim 1, It is characterized in that The access network includes a plurality of access points, each of which is provided with at least one of the first routing node devices; one of the first routing node devices is composed of a first universal switching component and a universal service component, and both the first universal switching component and the universal service component are connected to the backbone network; The first universal switching component is used to access one or more Internet service provider networks, and establish peer-to-peer connections with each of the accessed Internet service provider networks through a network boundary protocol, and allocate a mapped scheduling identifier to each of the peer-to-peer connections; The general service component is used to schedule and process the service messages in the cloud network based on the mapping relationship; Among them, the peer connection refers to the communication connection established between the first universal switching component and any Internet service provider network to which it is connected; the peer connection is mapped to a corresponding scheduling identifier; the first universal switching component includes an external access switch; and the universal service component includes an elastic packet processing unit server.

3. A distributed system as claimed in claim 1 or 2, It is characterized in that The data center network includes multiple available partitions, each of which includes one or more network modules, and each of which is provided with at least one second routing node device; one of the second routing node devices includes at least one second universal switching component, and the second universal switching component is connected to the backbone network; The second universal switching component is respectively connected to each network module belonging to the same available partition, and is used to provide data connection between each network module in the same available partition; Wherein, the second universal switching component includes an internal access switch.

4. A distributed system according to any one of claims 1 to 3, It is characterized in that The global routing service node device comprises an elastic routing service unit server, in which a global routing service program is deployed; The global routing service program in the elastic routing service unit server is deployed in a physical or virtual manner.

5. A distributed system according to any one of claims 1 to 4, It is characterized in that Routing service instances are deployed in the general service component, the first general switching component, and the second general switching component; The distributed system includes a routing system, which is composed of the global routing service node device and the routing service instance deployed in the distributed system; Each node device of the distributed system exchanges routing information of the cloud network in the routing system; The routing information includes the mapping relationship.

6. A distributed system according to any one of claims 1 to 5, It is characterized in that The global routing service node device in the routing system collects routing information of the cloud network and transmits the routing information of the cloud network to each component in the routing system; the component in the routing system refers to the component in which the routing service instance is deployed in the distributed system; When the routing information of the cloud network is updated, the global routing service node device transmits the updated routing information to each component in the routing system; Based on the transmission, the global routing service node device and each component in the routing system store the full routing information of the cloud network; wherein the routing information related to the peer connection includes a scheduling identifier mapped to the peer connection.

7. A distributed system according to any one of claims 1 to 6, It is characterized in that The distributed system includes a forwarding system, which is composed of a forwarding plane of the universal service component, a forwarding plane of the first universal switching component, and a forwarding plane of the second universal switching component; the universal service component, the first universal switching component, and the second universal switching component are all components in the forwarding system; Each node device of the distributed system performs transmission scheduling on the service messages in the cloud network based on the mapping relationship in the forwarding system.

8. A distributed system according to any one of claims 1 to 7, It is characterized in that The universal service component, the first universal switching component, and the second universal switching component all store the full routing information of the cloud network; the routing information related to the peer connection includes a scheduling identifier mapped to the peer connection; The universal service component synchronizes the full forwarding information of the cloud network on the forwarding plane of the universal service component based on the full routing information; The first universal switching component synchronizes the first component forwarding information of the cloud network on demand at a forwarding plane of the first universal switching component based on the full routing information; The second universal switching component receives the full routing information, and synchronizes the second component forwarding information of the cloud network on demand at the forwarding plane of the second universal switching component; The first component forwarding information includes forwarding information related to an Internet service provider network connected to the first universal switching component; the second component forwarding information includes forwarding information related to a network module in the same available partition as the second universal switching component.

9. A distributed system according to any one of claims 1 to 8, It is characterized in that The full forwarding information of the cloud network synchronized by the universal service component is stored in the local forwarding table of the universal service component; The first component forwarding information of the cloud network synchronized on demand by the first universal switching component is stored in a local forwarding table of the first universal switching component; The second component forwarding information of the cloud network synchronized on demand by the second universal switching component is stored in a local forwarding table of the second universal switching component; Each component in the forwarding system performs transmission scheduling for service messages in the cloud network based on the forwarding information in its own local forwarding table.

10. A distributed system according to any one of claims 1 to 9, It is characterized in that The transmission scheduling includes: When a service message in the cloud network reaches any component in the forwarding system, the component queries its local forwarding table for forwarding information required for transmission; If the query is successful, any one of the components encapsulates a scheduling identifier related to transmission in the service message based on the queried forwarding information, and forwards the service message according to the instruction of the queried forwarding information; If the query fails, any of the components sends the service message to the default next hop, and the component pointed to by the default next hop schedules the transmission of the service message.

11. A distributed system according to any one of claims 1 to 10, It is characterized in that The general service component is configured with a flow classification rule and a scheduling table, wherein the flow classification rule defines a classification rule for service messages; a scheduling table is used to record transmission information of a category of service messages; The transmission scheduling includes: The general service component classifies the service messages in the cloud network according to the flow classification rule to obtain the category to which the service messages belong; And, the service message is scheduled for transmission according to the transmission information recorded in the scheduling table corresponding to the category to which the service message belongs.

12. A transmission scheduling method, It is characterized in that The transmission scheduling method is applied to the distributed system according to any one of claims 1 to 11; the method comprises: Obtaining a mapping relationship between a peer connection and a scheduling identifier; transmitting the mapping relationship between node devices in the distributed system; and, The service messages in the cloud network are scheduled for transmission based on the mapping relationship.

13. The method according to claim 12, It is characterized in that The service message in the cloud network includes an outbound service message, and the outbound service message refers to a service message transmitted from the data center network to the Internet service provider network; and the transmission scheduling of the service message in the cloud network based on the mapping relationship includes: The second universal switching component receives an outbound service message from the data center network, wherein the outbound service message includes an address of an Internet service provider network to be delivered; The second universal switching component searches a local forwarding table of the second universal switching component for forwarding information related to the Internet service provider network to be delivered based on the address of the Internet service provider network to be delivered; the local forwarding table of the second universal switching component records the second component forwarding information of the cloud network synchronized on demand by the second universal switching component; If the query is successful, the second universal switching component encapsulates the dispatch identifier related to the Internet service provider network to be delivered in the outbound service message, and forwards the encapsulated outbound service message to the corresponding first universal switching component according to the instruction of the queried forwarding information; The first universal switching component decapsulates the encapsulated outbound service message to obtain the outbound service message, and maps the outbound service message to the Internet service provider network to be delivered based on the mapping relationship between the peer connection and the scheduling identifier.

14. The method according to claim 12 or 13, It is characterized in that The method further comprises: If the query fails, the second universal switching component sends the outgoing service message to a default next hop, where the default next hop points to the universal service component; The universal service component searches for forwarding information related to the Internet service provider network to be delivered in the local forwarding table of the universal service component based on the address of the Internet service provider network to be delivered; the local forwarding table of the universal service component records the full forwarding information of the cloud network; The general service component encapsulates the dispatch identifier related to the Internet service provider network to be delivered in the outbound service message, and forwards the encapsulated outbound service message to the corresponding first general switching component according to the instruction of the queried forwarding information; The first universal switching component decapsulates the encapsulated outbound service message to obtain the outbound service message, and maps the outbound service message to the Internet service provider network to be delivered based on the mapping relationship between the peer connection and the scheduling identifier.

15. The method according to any one of claims 12 to 14, It is characterized in that The service message in the cloud network includes an inbound service message, and the inbound service message refers to a service message transmitted from the Internet service provider network to the data center network; and the transmission scheduling of the service message in the cloud network based on the mapping relationship includes: The first universal switching component receives an inbound service message from the Internet service provider network, wherein the inbound service message includes an address of a network module in a data center network to be delivered; The first universal switching component searches for forwarding information related to the network module to be delivered in a local forwarding table of the first universal switching component based on the address of the network module to be delivered; the local forwarding table of the first universal switching component records the first component forwarding information of the cloud network synchronized on demand by the first universal switching component; The first universal switching component encapsulates a dispatch identifier related to the Internet service provider network in the inbound service message according to the instruction of the queried forwarding information, and forwards the encapsulated inbound service message to the corresponding second universal switching component; The second universal switching component decapsulates the encapsulated inbound service message to obtain the inbound service message, and transmits the inbound service message to the network module to be delivered.

16. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed, it executes the transmission scheduling method according to any one of claims 12 to 15.

Citation Information

Patent Citations

  • Distributed system and transmission scheduling method

    CN118827662A

  • Interconnection platform for real-time configuration and management of a cloud-based services exchange

    CN106464736A

  • Data forwarding method and related device

    CN115225631A

  • Systems and methods related to executing transactions in a hybrid cloud environment

    US10938924B1

  • Cloud-to-cloud interface

    US11588731B1