CN113489646A - Segmented routing transmission method based on VXLAN, server, source node and storage medium - Google Patents
Segmented routing transmission method based on VXLAN, server, source node and storage medium Download PDFInfo
- Publication number
- CN113489646A CN113489646A CN202110749196.4A CN202110749196A CN113489646A CN 113489646 A CN113489646 A CN 113489646A CN 202110749196 A CN202110749196 A CN 202110749196A CN 113489646 A CN113489646 A CN 113489646A
- Authority
- CN
- China
- Prior art keywords
- node
- source node
- transit
- network
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000005540 biological transmission Effects 0.000 title claims abstract description 23
- 238000001514 detection method Methods 0.000 claims abstract description 30
- 239000000523 sample Substances 0.000 claims description 13
- 230000003247 decreasing effect Effects 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 16
- 230000006854 communication Effects 0.000 description 13
- 238000004891 communication Methods 0.000 description 12
- 230000008859 change Effects 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 5
- 238000013507 mapping Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000002955 isolation Methods 0.000 description 3
- 238000013519 translation Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000002957 persistent organic pollutant Substances 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 235000012779 flatbread Nutrition 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/34—Source routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the application discloses a VXLAN-based segmented routing transmission method, a server, a source node and a storage medium, which are used for introducing a descending label thought of segmented routing without inquiring a VXLAN forwarding table, so that the forwarding efficiency of a data packet is improved. The method in the embodiment of the application comprises the following steps: the server acquires network cards and route detection information of a source node, a target node and a transit node; the server determines a routing path from the source node to the target node according to the network card of the transit node and the routing detection information; the server sends network configuration information to the source node, wherein the network configuration information comprises a routing path from the source node to the target node, and the routing path from the source node to the target node is used for the source node to forward data to the target node by descending identification.
Description
Technical Field
The present application relates to the field of clustering, and in particular, to a VXLAN-based segment routing transmission method, a server, a source node, and a storage medium.
Background
The existing VXLAN (Virtual eXtensible Local Area Network) Network communication method has the following defects:
a VXLAN forwarding table needs to be established at a transit POP (Point-of-Presence, a Point of Presence), when a data packet arrives, the VXLAN forwarding table needs to be queried to find a VXLAN Network Identifier (VNI) of a next POP, and when the number of destination nodes increases, VXLAN forwarding tables of some POPs will increase greatly, which will affect the forwarding efficiency of the data packet. Network communication interruption is caused by complex Network conditions such as a source node mapping change in an intranet, a Network Address Translation (NAT) change, a transit POP public Network Internet Protocol (IP) change, and the like.
Disclosure of Invention
The embodiment of the application provides a VXLAN-based segmented routing transmission method, a server, a source node and a storage medium, which are used for introducing a descending label thought of segmented routing without inquiring a VXLAN forwarding table, so that the forwarding efficiency of a data packet is improved.
A first aspect of the present application provides a VXLAN-based segment routing transmission method, which may include:
the server acquires network cards and route detection information of a source node, a target node and a transit node;
the server determines a routing path from the source node to the target node according to the network card of the transit node and the routing detection information;
the server sends network configuration information to the source node, wherein the network configuration information comprises a routing path from the source node to the target node, and the routing path from the source node to the target node is used for the source node to forward data to the target node by descending identification.
Optionally, the network card includes a physical address, a gateway, and a public network protocol.
Optionally, the routing path comprises the shortest routing path.
Optionally, the obtaining, by the server, network cards and route detection information of the source node, the target node, and the transit node includes:
the server receives network card and route detection information sent by a source node, a target node and a transit node; or the like, or, alternatively,
the server sends a reporting request to the source node, the target node and the transit node, wherein the reporting request is used for the source node, the target node and the transit node to report network cards and routing detection information, and receives the network cards and the routing detection information sent by the source node, the target node and the transit node.
A second aspect of the present application provides a VXLAN-based segment routing transmission method, which may include:
a source node receives network configuration information sent by a server, wherein the network configuration information comprises a routing path from the source node to a target node;
and the source node performs the decreasing identification forwarding of the data to the target node according to the routing path from the source node to the target node.
Optionally, the routing path from the source node to the target node includes: a routing path from the source node to a first transit node, the first transit node to the destination node;
the source node performs decremental identification forwarding of data to the target node according to the routing path from the source node to the target node, including:
the source node sends a first data packet to the first transit node, wherein the first data packet comprises a network identifier from the source node to the first transit node and a network identifier from the first transit node to the target node;
and the source node sends a second data packet to the target node through the first transit node, wherein the second data packet is a data packet obtained by removing the network identifier from the source node to the first transit node by the first transit node and including the network identifier from the first transit node to the target node.
Optionally, the routing path comprises the shortest routing path.
A third aspect of the present application provides a server, which may include:
the receiving and sending module is used for acquiring network cards and routing detection information of the source node, the target node and the transit node;
the processing module is used for determining a routing path from the source node to the target node according to the network card of the transit node and the routing detection information;
the transceiver module is further configured to send network configuration information to the source node, where the network configuration information includes a routing path from the source node to the target node, and the routing path from the source node to the target node is used for forwarding, by the source node, data to the target node by using a decremental identifier.
Optionally, the network card includes a physical address, a gateway, and a public network protocol.
Optionally, the routing path comprises the shortest routing path.
Optionally, the transceiver module is specifically configured to receive network card and route detection information sent by a source node, a target node, and a transit node; or the like, or, alternatively,
the transceiver module is specifically configured to send a reporting request to the source node, the target node, and the transit node, where the reporting request is used for the source node, the target node, and the transit node to report network card and route probe information, and receive the network card and route probe information sent by the source node, the target node, and the transit node.
A fourth aspect of the present application provides a source node, which may include:
the receiving and sending module is used for receiving network configuration information sent by a server, and the network configuration information comprises a routing path from the source node to a target node; and performing decrement identification forwarding of data to the target node according to the routing path from the source node to the target node.
Optionally, the routing path from the source node to the target node includes: a routing path from the source node to a first transit node, the first transit node to the destination node;
a transceiver module, configured to send a first data packet to the first transit node, where the first data packet includes a network identifier from the source node to the first transit node and a network identifier from the first transit node to the target node; and sending a second data packet to the target node through the first transit node, wherein the second data packet is a data packet obtained by removing the network identifier from the source node to the first transit node and including the network identifier from the first transit node to the target node.
Optionally, the routing path comprises the shortest routing path.
A fifth aspect of the present application provides a server, which may include:
a memory storing executable program code;
a processor and transceiver coupled with the memory;
the processor calls the executable program code stored in the memory for the processor and the transceiver to perform the method according to the first aspect of the application.
A sixth aspect of the present application provides a source node, which may include:
a memory storing executable program code;
a transceiver coupled with the memory;
the memory is used for storing executable program codes;
the transceiver performs a method as described in the second aspect of the application.
A further aspect of the application provides a computer readable storage medium comprising instructions which, when executed on a processor, cause the processor to perform the method according to the first aspect of the application.
In a further aspect of the invention, a computer program product is disclosed, which when run on a computer causes the computer to perform the method of the first aspect of the application.
In a further aspect, the present invention discloses an application publishing platform for publishing a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform the method of the first aspect of the present application.
According to the technical scheme, the embodiment of the application has the following advantages:
in the embodiment of the application, a server acquires network cards and route detection information of a source node, a target node and a transit node; the server determines a routing path from the source node to the target node according to the network card of the transit node and the routing detection information; the server sends network configuration information to the source node, wherein the network configuration information comprises a routing path from the source node to the target node, and the routing path from the source node to the target node is used for the source node to forward data to the target node by descending identification. And a descending label thought of the segmented routing is introduced, a VXLAN forwarding table does not need to be inquired, and the forwarding efficiency of the data packet is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the embodiments and the drawings used in the description of the prior art, and obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained according to the drawings.
Fig. 1 is a schematic diagram of a VXLAN network communication method in one implementation;
fig. 2 is a schematic diagram of a segment routing SR forwarding principle;
fig. 3 is a schematic diagram of an embodiment of a VXLAN-based segment routing transmission method in an embodiment of the present application;
fig. 4 is a schematic diagram of another embodiment of a VXLAN-based segment routing transmission method in the embodiment of the present application;
fig. 5 is a schematic diagram of a server provided in an embodiment of the present application;
FIG. 6 is a diagram of a source node provided in an embodiment of the present application;
FIG. 7 is a schematic diagram of another embodiment of a server in the embodiment of the present application;
fig. 8 is a schematic diagram of an embodiment of a source node in the embodiment of the present application.
Detailed Description
The embodiment of the application provides a VXLAN-based segmented routing transmission method, a server, a source node and a storage medium, which are used for introducing a descending label thought of segmented routing without inquiring a VXLAN forwarding table, so that the forwarding efficiency of a data packet is improved.
For a person skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. The embodiments in the present application shall fall within the protection scope of the present application.
With the development of network communication Technology, cloud computing has become a new trend of enterprise IT (Information Technology) construction at present by virtue of ITs advantages of high system utilization rate, low manpower/management cost, strong flexibility/extensibility, and the like. Server virtualization is one of the core technologies of cloud computing, and is applied more and more widely. The wide deployment of server virtualization technologies has greatly increased the computational density of data centers. However, as a currently mainstream Network isolation technology, a conventional VLAN (Virtual Local Area Network) has only 12 bits in a standard definition, and thus the number of available VLANs is only 4096. For a scenario of tens of thousands or even more tenants, such as a public cloud or other large virtualized cloud computing service, the isolation capability of the VLAN cannot be satisfied.
A VLAN expansion scheme VXLAN (Virtual eXtensible Local Area Network) is gradually emerging. VXLAN encapsulates an original message sent by a VM in the same area planned by an administrator into a new UDP (User Datagram Protocol) message, and uses an IP (Internet Protocol) and a MAC (media Access Control) address of a physical network as an outer header, thereby greatly reducing the requirement of the network on the MAC address specification. In addition, the VXLAN introduces a user Identifier similar to a VLAN ID, which is called VXLAN Network Identifier (VNI), and is composed of 24 bits, and supports up to 16M VXLAN segments, thereby effectively solving the problem of isolation of mass tenants in cloud computing.
In an existing implementation manner, in a current VXLAN network communication method, a source node transmits a data Packet (Packet), and in a transmission process, a VXLAN forwarding table needs to be queried in each transit POP, and finally, a destination node is reached. Fig. 1 is a schematic diagram of a VXLAN network communication method in an implementation manner.
Suppose that a is a source end node, X, Y, and Z are destination nodes (in a real scene, the number of destination nodes is large), and B to G are transit POPs. The packet sending paths are respectively as follows: a- > B- > E- > G- > Z, A- > B- > D- > F- > Y, A- > B- > C- > E- > X;
example (c): the path is as follows: the data flat bread forwarding process of A- > B- > E- > G- > Z is as follows:
step 1: the source end node A sends a packet to the source end node B through a network identifier vni1 corresponding to the current user;
step 2: b, inquiring a VXLAN routing forwarding table, finding a vin6 corresponding to vni1, and enabling a next hop to be E;
and step 3: after the data packet reaches E, E queries a VXLAN routing forwarding table of the E to find an identifier vni11 corresponding to vni5, and the next hop is to POP: g;
and 4, step 4: after the data packet reaches G, G queries a VXLAN forwarding table of the G to find an identifier vni14 corresponding to vni11, and the next hop is the destination node: z;
and 5: and (6) ending.
In another implementation of the prior art, a method for differentially combining VXLAN and Segment Routing (SR) is proposed. Aiming at the situation that the user edge end is a VXLAN virtual channel, the intermediate transmission process adopts an SR label descending method, but the method has some defects: 1. the Network Address Translation (NAT) cannot be supported when a NAT (Network Address Translation) mapping Address changes and a public Network IP (Internet Protocol) for transferring POP is frequently switched. 2. The edge node can not be supported to be placed in the local area network. As shown in fig. 2, a schematic diagram of the segment routing SR forwarding principle is shown.
The segmented routing SR forwarding principle is as follows:
the basic idea of SR is to divide the network into different segments (segments), and then to splice up a Segment List (Segment List) for guiding packet forwarding according to a specified path, and to remove the used SID (Segment Identifier) from the Segment stack every time packet forwarding is performed.
Label stack (Segment List): the Label stack is an ordered set of destination address prefix (SID)/node (SID) and adjacent SID ordered lists, and is used to identify a complete LSP (Label Switched Path). In an MPLS (Multi-Protocol Label Switching) architecture, a Label stack is encapsulated in a packet header to direct forwarding.
Segment: the node is used for executing the instruction of the inlet message (such as forwarding the message to the destination according to the shortest path, or forwarding the message through a specified interface, or forwarding the message to a specified application/service instance).
SID (Segment ID), Segment identification: segment Routing (Segment Routing) defines destination address prefixes/nodes and adjacencies in a network as individual segments and assigns Segment IDs to these destination address prefixes/nodes and adjacencies. The segment ID is equivalent to an MPLS label in the conventional MPLS technology and is mapped to an MPLS label at the forwarding plane.
In order to solve the above problems, the present application provides a VXLAN-based segment routing transmission method. By using a Segment Routing (SR) forwarding mechanism (segment decrementing), a controller (controller) of a control plane calculates an optimal routing path (e.g., shortest Round-Trip Time (RTT) and maximum bandwidth redundancy) by acquiring network card and routing information of a transit POP in real Time, and sends network configuration information of the optimal path to a source node, and the source node performs decremental transmission according to the network configuration information until reaching a destination node. In addition, the invention virtualizes the whole transmission process through VXLAN (VXLAN virtual channels are adopted from the user side to the receiving end), aiming at complex network conditions, such as the change of the source node in the intranet and NAT mapping and the change of the transit POP public network IP, the embodiment of the invention can support the complex network conditions, and avoids the communication interruption caused by various complex conditions.
The following further describes the technical solution of the present application by way of an embodiment, as shown in fig. 3, which is a schematic diagram of an embodiment of a VXLAN-based segment routing transmission method in the embodiment of the present application, and the method may include:
301. the server acquires network cards and route detection information of a source node, a target node and a transit node.
Optionally, the network card includes a physical address, a gateway, and a public network protocol.
Optionally, the obtaining, by the server, network cards and route detection information of the source node, the target node, and the transit node may include:
the server receives network card and route detection information sent by a source node, a target node and a transit node; or the like, or, alternatively,
the server sends a reporting request to the source node, the target node and the transit node, wherein the reporting request is used for the source node, the target node and the transit node to report network cards and routing detection information, and receives the network cards and the routing detection information sent by the source node, the target node and the transit node.
It can be understood that a controller (controller) of a Control plane in the server may collect network cards (MAC addresses, physical addresses, which may also be referred to as hardware addresses), gateways, public network IP, and the like) and routing probe information of a source node, a destination node, and a transit node POP in real time.
302. And the server determines a routing path from the source node to the target node according to the network card of the transit node and the routing detection information.
Optionally, the routing path comprises the shortest routing path.
It can be understood that a controller (controller) of a control plane in the server calculates according to the collected network cards of the source node, the destination node, and the transit node POP and the route probe information, and at this time, an optimal route path (i.e., a shortest RTT path) from the source node to the destination node assumes that the optimal route path is a- > B- > E- > G- > Z.
303. The server sends network configuration information to the source node, wherein the network configuration information comprises a routing path from the source node to the target node, and the routing path from the source node to the target node is used for the source node to forward data to the target node by descending identification.
The method comprises the steps that a source node receives network configuration information sent by a server, wherein the network configuration information comprises a routing path from the source node to a target node.
It can be understood that a controller (controller) of the control plane in the server issues network configuration information (Segment List) of the optimal routing path to the source node.
304. And the source node performs the decreasing identification forwarding of the data to the target node according to the routing path from the source node to the target node.
Optionally, the routing path from the source node to the target node includes: a routing path from the source node to a first transit node, the first transit node to the destination node; the performing, by the source node, decremental identifier forwarding of data to the target node according to the routing path from the source node to the target node may include:
the source node sends a first data packet to the first transit node, wherein the first data packet comprises a network identifier from the source node to the first transit node and a network identifier from the first transit node to the target node; and the source node sends a second data packet to the target node through the first transit node, wherein the second data packet is a data packet obtained by removing the network identifier from the source node to the first transit node by the first transit node and including the network identifier from the first transit node to the target node.
It will be appreciated that the network identification may be carried in the header of the data packet.
Illustratively, the source node sends a Packet (Packet) to the transit node B through the network identifier 1(vni1) according to the Segment List; after receiving the Packet, the transit node B removes vni1 in the Segment List, and forwards the Packet to the transit node E through vni 2; after receiving the Packet, the transit node E removes vni2 of the Segment List, and forwards the Packet to the transit node G through vni 3; after receiving the Packet, the transit node G removes vni3 of the Segment List, and forwards the Packet to the target node Z through vni 4. Fig. 4 is a schematic diagram of another embodiment of a VXLAN-based segment routing transmission method in the embodiment of the present application.
The invention provides a segmented routing transmission method based on VXLAN technology. The Controller of the control plane dynamically calculates the optimal routing path (such as the shortest RTT and the largest bandwidth redundancy) by acquiring the network cards and routing information of all nodes in real time, sends network configuration information (Segment List) of the optimal path to the source node, and the source node performs decremental transmission according to the Segment List until reaching the destination node. In addition, the invention virtualizes the whole transmission process through VXLAN, aiming at complex network conditions, such as the change of source node in intranet and NAT mapping and the change of transit POP public network IP, the method can support, and avoids communication interruption caused by various complex conditions.
In the embodiment of the application, a server acquires network cards and route detection information of a source node, a target node and a transit node; the server determines a routing path from the source node to the target node according to the network card of the transit node and the routing detection information; the server sends network configuration information to the source node, wherein the network configuration information comprises a routing path from the source node to the target node, and the routing path from the source node to the target node is used for the source node to forward data to the target node by descending identification. A source node receives network configuration information sent by a server, wherein the network configuration information comprises a routing path from the source node to a target node; and the source node performs the decreasing identification forwarding of the data to the target node according to the routing path from the source node to the target node. The whole-course VXLAN virtual channel transmission is fused with the degressive label thought of the SR route. The descending label thought of the segmented routing is introduced, a VXLAN forwarding table does not need to be inquired, the forwarding efficiency of the data packet is improved, the use of vni is reduced, and the risk that vni is exhausted is reduced. The whole network communication process is a virtualization channel, and network communication interruption caused by network condition change (NAT mapping change and transit public network IP change in the processes of intranet and network communication of edge nodes) can be avoided.
As shown in fig. 5, a schematic diagram of a server provided in an embodiment of the present application may include:
a transceiver module 501, configured to acquire network cards and route detection information of a source node, a target node, and a transit node;
a processing module 502, configured to determine a routing path from the source node to the target node according to the network card of the transit node and the routing probe information;
the transceiver module 501 is further configured to send network configuration information to the source node, where the network configuration information includes a routing path from the source node to the target node, and the routing path from the source node to the target node is used for forwarding, by the source node, data to the target node by using a decremental identifier.
Optionally, the network card includes a physical address, a gateway, and a public network protocol.
Optionally, the routing path comprises the shortest routing path.
Optionally, the transceiver module 501 is specifically configured to receive network card and route detection information sent by a source node, a target node, and a transit node; or the like, or, alternatively,
the transceiver module 501 is specifically configured to send a reporting request to the source node, the target node, and the transit node, where the reporting request is used for the source node, the target node, and the transit node to report network card and route probe information, and receive the network card and route probe information sent by the source node, the target node, and the transit node.
As shown in fig. 6, a schematic diagram of a source node provided in the embodiment of the present application may include:
a transceiver module 601, configured to receive network configuration information sent by a server, where the network configuration information includes a routing path from the source node to a target node; and performing decrement identification forwarding of data to the target node according to the routing path from the source node to the target node.
Optionally, the routing path from the source node to the target node includes: a routing path from the source node to a first transit node, the first transit node to the destination node;
a transceiver module 601, configured to send a first data packet to the first transit node, where the first data packet includes a network identifier from the source node to the first transit node and a network identifier from the first transit node to the target node; and sending a second data packet to the target node through the first transit node, wherein the second data packet is a data packet obtained by removing the network identifier from the source node to the first transit node and including the network identifier from the first transit node to the target node.
Optionally, the routing path comprises the shortest routing path.
As shown in fig. 7, a schematic diagram of another embodiment of the server in the embodiment of the present application may include:
a memory 701 in which executable program code is stored;
a processor 702 and a transceiver 703 coupled to the memory;
the transceiver 703 is configured to acquire network cards and route probe information of a source node, a target node, and a transit node;
the processor 702 calls the executable program code stored in the memory 701, and is configured to determine a routing path from the source node to the target node according to the network card of the transit node and the routing probe information;
the transceiver 703 is further configured to send network configuration information to the source node, where the network configuration information includes a routing path from the source node to the target node, and the routing path from the source node to the target node is used for forwarding, by the source node, data to the target node with a decremental identifier.
Optionally, the network card includes a physical address, a gateway, and a public network protocol.
Optionally, the routing path comprises the shortest routing path.
Optionally, the transceiver 703 is specifically configured to receive network card and route probe information sent by the source node, the target node, and the transit node; or the like, or, alternatively,
the transceiver 703 is specifically configured to send a reporting request to the source node, the target node, and the transit node, where the reporting request is used for the source node, the target node, and the transit node to report network card and route probe information, and receive the network card and route probe information sent by the source node, the target node, and the transit node.
As shown in fig. 8, a schematic diagram of an embodiment of a source node in the embodiment of the present application may include:
a memory 801 in which executable program code is stored;
a transceiver 802 coupled with the memory 801;
the memory 801 is used to store executable program code;
the transceiver 802 is configured to receive network configuration information sent by a server, where the network configuration information includes a routing path from the source node to a target node; and performing decrement identification forwarding of data to the target node according to the routing path from the source node to the target node.
Optionally, the routing path from the source node to the target node includes: a routing path from the source node to a first transit node, the first transit node to the destination node;
a transceiver 802, configured to send a first data packet to the first transit node, where the first data packet includes a network identifier from the source node to the first transit node and a network identifier from the first transit node to the target node; and sending a second data packet to the target node through the first transit node, wherein the second data packet is a data packet obtained by removing the network identifier from the source node to the first transit node and including the network identifier from the first transit node to the target node.
Optionally, the routing path comprises the shortest routing path.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (10)
1. A segmented routing transmission method based on VXLAN is characterized by comprising the following steps:
the server acquires network cards and route detection information of a source node, a target node and a transit node;
the server determines a routing path from the source node to the target node according to the network card of the transit node and the routing detection information;
the server sends network configuration information to the source node, wherein the network configuration information comprises a routing path from the source node to the target node, and the routing path from the source node to the target node is used for the source node to forward data to the target node by descending identification.
2. The method of claim 1, wherein the network card comprises a physical address, a gateway, and a public network protocol.
3. The method of claim 1 or 2, wherein the routing path comprises the shortest routing path.
4. The method according to claim 1 or 2, wherein the server obtains the network card and the route probe information of the source node, the target node, and the transit node, and comprises:
the server receives network card and route detection information sent by a source node, a target node and a transit node; or the like, or, alternatively,
the server sends a reporting request to the source node, the target node and the transit node, wherein the reporting request is used for the source node, the target node and the transit node to report network cards and routing detection information, and receives the network cards and the routing detection information sent by the source node, the target node and the transit node.
5. A segmented routing transmission method based on VXLAN is characterized by comprising the following steps:
a source node receives network configuration information sent by a server, wherein the network configuration information comprises a routing path from the source node to a target node;
and the source node performs the decreasing identification forwarding of the data to the target node according to the routing path from the source node to the target node.
6. The method of claim 5, wherein the routing path from the source node to the destination node comprises: a routing path from the source node to a first transit node, the first transit node to the destination node;
the source node performs decremental identification forwarding of data to the target node according to the routing path from the source node to the target node, including:
the source node sends a first data packet to the first transit node, wherein the first data packet comprises a network identifier from the source node to the first transit node and a network identifier from the first transit node to the target node;
and the source node sends a second data packet to the target node through the first transit node, wherein the second data packet is a data packet obtained by removing the network identifier from the source node to the first transit node by the first transit node and including the network identifier from the first transit node to the target node.
7. The method of claim 5 or 6, wherein the routing path comprises the shortest routing path.
8. A server, comprising:
the receiving and sending module is used for acquiring network cards and routing detection information of the source node, the target node and the transit node;
the processing module is used for determining a routing path from the source node to the target node according to the network card of the transit node and the routing detection information;
the transceiver module is further configured to send network configuration information to the source node, where the network configuration information includes a routing path from the source node to the target node, and the routing path from the source node to the target node is used for forwarding, by the source node, data to the target node by using a decremental identifier.
9. A source node, comprising:
the receiving and sending module is used for receiving network configuration information sent by a server, and the network configuration information comprises a routing path from the source node to a target node; and performing decrement identification forwarding of data to the target node according to the routing path from the source node to the target node.
10. A computer-readable storage medium comprising instructions that, when executed on a processor, cause the processor to perform the method of any of claims 1-4, or any of claims 5-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110749196.4A CN113489646B (en) | 2021-07-01 | 2021-07-01 | VXLAN-based segmented route transmission method, server, source node and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110749196.4A CN113489646B (en) | 2021-07-01 | 2021-07-01 | VXLAN-based segmented route transmission method, server, source node and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113489646A true CN113489646A (en) | 2021-10-08 |
CN113489646B CN113489646B (en) | 2023-07-25 |
Family
ID=77939364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110749196.4A Active CN113489646B (en) | 2021-07-01 | 2021-07-01 | VXLAN-based segmented route transmission method, server, source node and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113489646B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114900756A (en) * | 2022-05-10 | 2022-08-12 | 中国联合网络通信集团有限公司 | Data transmission method and device and computer readable storage medium |
CN115037690A (en) * | 2022-06-21 | 2022-09-09 | 阿里巴巴(中国)有限公司 | Traffic scheduling method and device, electronic equipment and storage medium |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170244631A1 (en) * | 2016-02-22 | 2017-08-24 | Cisco Technology, Inc. | Sr app-segment integration with service function chaining (sfc) header metadata |
WO2018210094A1 (en) * | 2017-05-19 | 2018-11-22 | 新华三技术有限公司 | Packet transmission method, edge device, and machine readable storage medium |
CN109194579A (en) * | 2018-11-19 | 2019-01-11 | 盛科网络(苏州)有限公司 | A kind of IPv6 realizes the method and device of Segment routing |
US20190132150A1 (en) * | 2017-10-31 | 2019-05-02 | Cisco Technology, Inc. | Deterministic forwarding across l2 and l3 networks |
CN109863725A (en) * | 2016-08-15 | 2019-06-07 | 瑞典爱立信有限公司 | Segment routing based on maximum segment identifier depth |
CN109962847A (en) * | 2017-12-14 | 2019-07-02 | 中国电信股份有限公司 | The packaging method and device and computer readable storage medium of business function chain message |
CN110545229A (en) * | 2019-08-30 | 2019-12-06 | 瑞斯康达科技发展股份有限公司 | Message sending method and device in VXLAN axis networking mode |
CN110557316A (en) * | 2018-05-30 | 2019-12-10 | 中国电信股份有限公司 | Message transmission method, system, device and computer readable storage medium |
CN110677341A (en) * | 2019-09-09 | 2020-01-10 | 锐捷网络股份有限公司 | Data forwarding method and device, electronic equipment and storage medium |
CN110943924A (en) * | 2013-08-23 | 2020-03-31 | 华为技术有限公司 | Method for segmenting source routing in a network and storage medium |
US20200120022A1 (en) * | 2018-10-12 | 2020-04-16 | Cisco Technology, Inc. | Methods and apparatus for use in providing transport and data center segmentation in a mobile network |
CN111917625A (en) * | 2020-07-17 | 2020-11-10 | 中盈优创资讯科技有限公司 | Method, device and nodes for realizing difference from VXLAN service to SR domain |
CN112217724A (en) * | 2019-07-11 | 2021-01-12 | 中兴通讯股份有限公司 | Route management method, device, network equipment and readable storage medium |
CN112910772A (en) * | 2019-11-19 | 2021-06-04 | 中国移动通信有限公司研究院 | Message forwarding method and device based on segmented routing |
CN113014489A (en) * | 2020-12-31 | 2021-06-22 | 腾讯科技(深圳)有限公司 | Data forwarding method and device, server and storage medium |
-
2021
- 2021-07-01 CN CN202110749196.4A patent/CN113489646B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110943924A (en) * | 2013-08-23 | 2020-03-31 | 华为技术有限公司 | Method for segmenting source routing in a network and storage medium |
US20170244631A1 (en) * | 2016-02-22 | 2017-08-24 | Cisco Technology, Inc. | Sr app-segment integration with service function chaining (sfc) header metadata |
CN109863725A (en) * | 2016-08-15 | 2019-06-07 | 瑞典爱立信有限公司 | Segment routing based on maximum segment identifier depth |
WO2018210094A1 (en) * | 2017-05-19 | 2018-11-22 | 新华三技术有限公司 | Packet transmission method, edge device, and machine readable storage medium |
US20190132150A1 (en) * | 2017-10-31 | 2019-05-02 | Cisco Technology, Inc. | Deterministic forwarding across l2 and l3 networks |
CN109962847A (en) * | 2017-12-14 | 2019-07-02 | 中国电信股份有限公司 | The packaging method and device and computer readable storage medium of business function chain message |
CN110557316A (en) * | 2018-05-30 | 2019-12-10 | 中国电信股份有限公司 | Message transmission method, system, device and computer readable storage medium |
US20200120022A1 (en) * | 2018-10-12 | 2020-04-16 | Cisco Technology, Inc. | Methods and apparatus for use in providing transport and data center segmentation in a mobile network |
CN109194579A (en) * | 2018-11-19 | 2019-01-11 | 盛科网络(苏州)有限公司 | A kind of IPv6 realizes the method and device of Segment routing |
CN112217724A (en) * | 2019-07-11 | 2021-01-12 | 中兴通讯股份有限公司 | Route management method, device, network equipment and readable storage medium |
CN110545229A (en) * | 2019-08-30 | 2019-12-06 | 瑞斯康达科技发展股份有限公司 | Message sending method and device in VXLAN axis networking mode |
CN110677341A (en) * | 2019-09-09 | 2020-01-10 | 锐捷网络股份有限公司 | Data forwarding method and device, electronic equipment and storage medium |
CN112910772A (en) * | 2019-11-19 | 2021-06-04 | 中国移动通信有限公司研究院 | Message forwarding method and device based on segmented routing |
CN111917625A (en) * | 2020-07-17 | 2020-11-10 | 中盈优创资讯科技有限公司 | Method, device and nodes for realizing difference from VXLAN service to SR domain |
CN113014489A (en) * | 2020-12-31 | 2021-06-22 | 腾讯科技(深圳)有限公司 | Data forwarding method and device, server and storage medium |
Non-Patent Citations (1)
Title |
---|
缪伟;黄鹏;: "城域网BRAS向SDN演进的方法及步骤探索", 邮电设计技术, no. 02 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114900756A (en) * | 2022-05-10 | 2022-08-12 | 中国联合网络通信集团有限公司 | Data transmission method and device and computer readable storage medium |
CN114900756B (en) * | 2022-05-10 | 2024-04-09 | 中国联合网络通信集团有限公司 | Data transmission method and device and computer readable storage medium |
CN115037690A (en) * | 2022-06-21 | 2022-09-09 | 阿里巴巴(中国)有限公司 | Traffic scheduling method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113489646B (en) | 2023-07-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11863625B2 (en) | Routing messages between cloud service providers | |
US10164838B2 (en) | Seamless segment routing | |
CN108574616B (en) | Method, equipment and system for processing route | |
WO2020001393A1 (en) | Method and network node for sending network performance parameter and calculating network performance | |
CN113904983A (en) | Message processing method, network node and system | |
CN107113241B (en) | Route determining method, network configuration method and related device | |
US10257086B2 (en) | Source imposition of network routes in computing networks | |
JP2020520612A (en) | Packet transmission method, edge device, and machine-readable storage medium | |
JP7053901B2 (en) | Loop avoidance communication method, loop avoidance communication device and loop avoidance communication system | |
CN113489646B (en) | VXLAN-based segmented route transmission method, server, source node and storage medium | |
CN113438329A (en) | MAC address sending method, device and system | |
EP4336781A1 (en) | Message processing method and related device | |
US11929851B2 (en) | Gateway selection method, device, and system | |
EP4020904B1 (en) | Packet transmission method, device, and system | |
CN110380966B (en) | Method for discovering forwarding path and related equipment thereof | |
JP2024504466A (en) | Packet forwarding methods, packet processing methods, and devices | |
US20230006917A1 (en) | Route Determining Method and Apparatus and Network Device | |
WO2022246693A1 (en) | Method and apparatus for path switchover management | |
US10965589B2 (en) | Fast receive re-convergence of multi-pod multi-destination traffic in response to local disruptions | |
US20150063163A1 (en) | Multicast Router Topology Discovery |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231229 Address after: 518000, B-1503, Zhongdian Changcheng Building, No.3 Kefa Road, Science and Technology Park Community, Yuehai Street, Nanshan District, Shenzhen, Guangdong Province Patentee after: Shenzhen Netju Yunlian Technology Co.,Ltd. Address before: 101199 3091, floor 3, No. 64, Xinhua South Road, Tongzhou District, Beijing Patentee before: Beijing Wangju Yunlian Technology Co.,Ltd. |
|
TR01 | Transfer of patent right |