CN113489646B - VXLAN-based segmented route transmission method, server, source node and storage medium - Google Patents

VXLAN-based segmented route transmission method, server, source node and storage medium Download PDF

Info

Publication number
CN113489646B
CN113489646B CN202110749196.4A CN202110749196A CN113489646B CN 113489646 B CN113489646 B CN 113489646B CN 202110749196 A CN202110749196 A CN 202110749196A CN 113489646 B CN113489646 B CN 113489646B
Authority
CN
China
Prior art keywords
node
source node
target
transfer
source
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.)
Active
Application number
CN202110749196.4A
Other languages
Chinese (zh)
Other versions
CN113489646A (en
Inventor
余端敏
王林
潘胜
武志鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Netju Yunlian Technology Co.,Ltd.
Original Assignee
Beijing Wangju Yunlian Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Wangju Yunlian Technology Co ltd filed Critical Beijing Wangju Yunlian Technology Co ltd
Priority to CN202110749196.4A priority Critical patent/CN113489646B/en
Publication of CN113489646A publication Critical patent/CN113489646A/en
Application granted granted Critical
Publication of CN113489646B publication Critical patent/CN113489646B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/34Source routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation

Abstract

The embodiment of the application discloses a segment route transmission method, a server, a source node and a storage medium based on VXLAN, which are used for introducing a decreasing label thought of segment route, and the method does not need to query a VXLAN forwarding table, so that the data packet forwarding efficiency is improved. The method comprises the following steps: the method comprises the steps that a server obtains network cards and route detection information of a source node, a target node and a transfer node; the server determines a routing path from the source node to the target node according to the network card of the transfer 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 the decremental identification of the data to the target node.

Description

VXLAN-based segmented route transmission method, server, source node and storage medium
Technical Field
The present disclosure relates to the field of clusters, and in particular, to a VXLAN-based segment route transmission method, a server, a source node, and a storage medium.
Background
The existing VXLAN (Virtual eXtensible Local Area Network, virtual extended local area network) network communication method has the following defects:
in a transit POP (Point-of-Presence), a VXLAN forwarding table needs to be established, when a packet arrives, the VXLAN forwarding table needs to be queried to find the VXLAN network identifier (VXLAN Network Identifier, VNI) of the next POP, and when the number of destination nodes increases, the VXLAN forwarding table of some POPs will greatly increase, and the packet forwarding efficiency will be affected. Network communication interruption can be caused by complex network conditions such as change of source node mapping in enterprise intranet, NAT (Network Address Translation ), change of transit POP public network IP (Internet Protocol, internetworking protocol) and the like.
Disclosure of Invention
The embodiment of the application provides a segment route transmission method, a server, a source node and a storage medium based on VXLAN, which are used for introducing a decremental label thought of segment route, and the VXLAN forwarding table is not required to be inquired, so that the data packet forwarding efficiency is improved.
The first aspect of the present application provides a VXLAN-based segment routing transmission method, which may include:
the method comprises the steps that a server obtains network cards and route detection information of a source node, a target node and a transfer node;
the server determines a routing path from the source node to the target node according to the network card of the transfer 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 the decremental identification of the data to the target node.
Optionally, the network card includes a physical address, a gateway, and a public network protocol.
Optionally, the routing path includes a shortest routing path.
Optionally, the server obtains network card and route detection information of the source node, the target node, and the transit node, including:
the server receives network cards and route detection information sent by a source node, a target node and a transfer node; or alternatively, the first and second heat exchangers may be,
the server sends a report request to the source node, the target node and the transfer node, wherein the report request is used for reporting network card and route detection information by the source node, the target node and the transfer node, and receiving the network card and route detection information sent by the source node, the target node and the transfer node.
A second aspect of the present application provides a VXLAN-based segment routing method, which may include:
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;
and the source node forwards the decremental identification of the data to the target node according to the route 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 target node;
the source node forwards the decremental identification of the data to the target node according to the route path from the source node to the target node, and the method comprises the following steps:
the source node sends a first data packet to the first transfer node, wherein the first data packet comprises a network identifier from the source node to the first transfer node and a network identifier from the first transfer node to the target node;
and the source node sends a second data packet to the target node through the first transfer node, wherein the second data packet removes the network identifier from the source node to the first transfer node for the first transfer node and comprises the data packet from the first transfer node to the network identifier of the target node.
Optionally, the routing path includes a shortest routing path.
A third aspect of the present application provides a server, which may include:
the receiving and transmitting module is used for acquiring network cards and route detection information of the source node, the target node and the transfer 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 transfer 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 a decremental identifier of data from the source node to the target node.
Optionally, the network card includes a physical address, a gateway, and a public network protocol.
Optionally, the routing path includes a shortest routing path.
Optionally, the transceiver module is specifically configured to receive network card and route detection information sent by the source node, the target node, and the transit node; or alternatively, the first and second heat exchangers may be,
the receiving and transmitting module is specifically configured to send a report request to the source node, the target node, and the transit node, where the report request is used for reporting network card and route detection information by the source node, the target node, and the transit node, and receiving the network card and route detection 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 transmitting module is used for receiving network configuration information sent by the server, wherein the network configuration information comprises a routing path from the source node to the target node; and according to the route path from the source node to the target node, forwarding the decremental identification of the data 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 target node;
the receiving and transmitting module is used for sending a first data packet to the first transfer node, wherein the first data packet comprises a network identifier from the source node to the first transfer node and a network identifier from the first transfer node to the target node; and sending a second data packet to the target node through the first transfer node, wherein the second data packet is a data packet which is obtained by removing the network identification from the source node to the first transfer node by the first transfer node and comprises the network identification from the first transfer node to the target node.
Optionally, the routing path includes a 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 to the memory;
the processor invokes 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 present application.
A sixth aspect of the present application provides a source node, which may include:
a memory storing executable program code;
a transceiver coupled to the memory;
the memory is used for storing executable program codes;
the transceiver performs the method as described in the second aspect of the present application.
Yet another aspect of the present application provides a computer readable storage medium comprising instructions which, when run on a processor, cause the processor to perform the method as described in the first aspect of the present application.
In a further aspect, a computer program product is disclosed which, when run on a computer, causes the computer to perform the method according to the first aspect of the present application.
In yet another aspect, the 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 according to the first aspect of the application.
From the above technical solutions, the embodiments of the present application have 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 transfer node; the server determines a routing path from the source node to the target node according to the network card of the transfer 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 the decremental identification of the data to the target node. The descending label thought of the segmented route is introduced, the VXLAN forwarding table is not required 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 description will briefly introduce the drawings that are needed in the embodiments and the description of the prior art, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings.
Fig. 1 is a schematic diagram of a VXLAN network communication method in one implementation;
FIG. 2 is a schematic diagram of the forwarding principle of a segment routing SR;
fig. 3 is a schematic diagram of one embodiment of a VXLAN-based segment route transmission method in an embodiment of the present application;
fig. 4 is a schematic diagram of another embodiment of a VXLAN-based segment route transmission method in an 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 schematic 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 according to an embodiment of the present application;
fig. 8 is a schematic diagram of an embodiment of a source node in an embodiment of the present application.
Detailed Description
The embodiment of the application provides a segment route transmission method, a server, a source node and a storage medium based on VXLAN, which are used for introducing a decremental label thought of segment route, and the VXLAN forwarding table is not required to be inquired, so that the data packet forwarding efficiency is improved.
In order for those skilled in the art to better understand the present application, the following description will describe embodiments of the present application with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. Based on the examples in this application, all shall fall within the scope of protection of this 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 the advantages of high system utilization rate, low manpower/management cost, strong flexibility/expandability and the like. Server virtualization is one of core technologies of cloud computing, and is increasingly widely used. The widespread deployment of server virtualization technology has greatly increased the computational density of data centers. However, conventional VLAN (Virtual Local Area Network ) is currently the mainstream network isolation technology, and there are only 12 bits in the standard definition, so the number of available VLANs is only 4096. For the scenario of tens of thousands or even more tenants, such as public clouds or other large virtualized cloud computing services, the isolation capability of VLANs cannot be met.
VLAN extensions VXLAN (Virtual eXtensible Local Area Network, virtual extended local area network) gradually appear. The VXLAN encapsulates the original message sent by the VM in the same area planned by the administrator into a new UDP (User Datagram Protocol ) message, and uses the IP (Internet Protocol ) and MAC (Medium Access Control, media access control) addresses of the physical network as the outer header, so that the network requirement for the MAC address specification is greatly reduced. In addition, VXLAN introduces a user identifier similar to VLAN ID, called VXLAN network identifier (VXLAN Network Identifier, VNI), which is composed of 24 bits, and supports VXLAN segments up to 16M, so that the problem of isolation of a large number of tenants in cloud computing is effectively solved.
In an existing implementation manner, in the current VXLAN network communication method, a source node transmits a data Packet (Packet), and in the transmission process, the source node needs to query a VXLAN forwarding table in each transit POP, and finally reaches a destination node. Fig. 1 is a schematic diagram of a VXLAN network communication method in one implementation.
Suppose a is a source node, X, Y, Z are destination nodes (in a real scenario, the number of destination nodes is large), and B-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;
examples: the path is: the data plane 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 route forwarding table, finding out vin6 corresponding to vni1, and going to E from the next hop;
step 3: after the data packet reaches E, E queries own VXLAN route forwarding table, finds the label vni11 corresponding to vni5, and the next hop is to POP: g, G;
step 4: after the data packet reaches G, G queries own VXLAN forwarding table, finds the identifier vni14 corresponding to vni11, and the next hop is to the destination node: z;
step 5: and (5) ending.
In another existing implementation manner, a method of differentially combining VXLAN and Segment Routing (SR) is proposed. Aiming at the VXLAN virtual channel at the user edge, the SR decreasing label method is adopted in the intermediate transmission process, but the method has some disadvantages: 1. the network address translation (NAT Network Address Translation) maps address changes, and the public network IP (Internet Protocol ) of the transit POP is often switched, and cannot be supported. 2. The edge node cannot be supported to be placed in the intranet of the local area network. As shown in fig. 2, a schematic diagram of the principle of forwarding by the segment routing SR is shown.
The segment routing SR forwarding principle is as follows:
the basic idea of SR is to divide the network into different segments (segments) and then splice up a label stack (Segment List) for guiding packet (Pkt) forwarding along a specified path, and each time forwarding, the used SID (Segment Identifier, segment identification) is removed from the label stack.
Label stack (Segment List): the label stack is an ordered set of destination address prefix SID (Segment Identifier, segment identification)/node SID and adjacency SID ordered list for identifying a complete LSP (Label Switched Path ). Label stacks are in MPLS (Multi-Protocol Label Switching, multiprotocol label switching) architecture, encapsulated in a header to direct forwarding.
Segment: instructions that the node executes on the ingress message (e.g., forward the message to the destination according to the shortest path, forward the message through a designated interface, or forward the message to a designated application/service instance).
SID (Segment ID, segment identification): segment Routing (Segment Routing) defines destination address prefixes/nodes and adjacencies in the network as individual segments and assigns Segment IDs to these destination address prefixes/nodes and adjacencies. The segment ID corresponds to an MPLS label in conventional MPLS technology, and maps to an MPLS label at the forwarding level.
Aiming at the problems, the application provides a segment route transmission method based on VXLAN. By referring to a Segment Routing (SR) forwarding mechanism (segment decrementing), a controller (controller) of a control plane calculates an optimal routing path (such as shortest RTT (Round Trip Time) and maximum bandwidth redundancy) by collecting network cards and routing information of a transit POP in real Time, and issues network configuration information of the optimal path to a source node, and the source node performs decrementing transmission according to the network configuration information until reaching a destination node. In addition, the whole transmission process is virtualized through VXLAN (the VXLAN virtual channel is adopted from the user end to the receiving end), and the method and the device can support the embodiment of the application and avoid communication interruption caused by various complex conditions aiming at complex network conditions, such as the change of source node mapping in an intranet and NAT and the change of POP public network IP.
In the following, by way of example, the technical solution of the present application is further described, as shown in fig. 3, which is a schematic diagram of an embodiment of a VXLAN-based segment route transmission method in the embodiment of the present application, and may include:
301. the server acquires network cards and route detection information of the source node, the target node and the transfer node.
Optionally, the network card includes a physical address, a gateway, and a public network protocol.
Optionally, the server obtains network card and route detection information of the source node, the target node, and the transit node, which may include:
the server receives network cards and route detection information sent by a source node, a target node and a transfer node; or alternatively, the first and second heat exchangers may be,
the server sends a report request to the source node, the target node and the transfer node, wherein the report request is used for reporting network card and route detection information by the source node, the target node and the transfer node, and receiving the network card and route detection information sent by the source node, the target node and the transfer node.
It is understood that a controller (controller) of a control plane in the server may collect network cards (MAC addresses (Media Access Control Address, physical addresses, also called hardware addresses), gateways, public network IP, etc.) of a source node, a destination node, and a transit node POP, and route probe information 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 transfer node and the routing detection information.
Optionally, the routing path includes a shortest routing path.
It can be understood that a controller (controller) of a control plane in the server calculates according to the acquired network cards of the source node, the destination node and the transit node POP and the route detection information, and at this time, an optimal route path (i.e., a shortest RTT path) from the source node to the destination node is assumed to be 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 the decremental identification of the data to the target node.
The source node receives network configuration information sent by the server, wherein the network configuration information comprises a routing path from the source node to the 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 forwards the decremental identification of the data to the target node according to the route 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 target node; the forwarding the decremental identification of the data to the target node by the source 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 transfer node, wherein the first data packet comprises a network identifier from the source node to the first transfer node and a network identifier from the first transfer node to the target node; and the source node sends a second data packet to the target node through the first transfer node, wherein the second data packet removes the network identifier from the source node to the first transfer node for the first transfer node and comprises the data packet from the first transfer node to the network identifier of 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 data Packet (Packet) to the transit node B through the network identifier 1 (vni 1) 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 illustrating another embodiment of the VXLAN-based segment routing method in the embodiment of the present application.
The invention provides a segment route transmission method based on VXLAN technology. The Controller of the control plane dynamically calculates the optimal route path (such as shortest RTT and maximum bandwidth redundancy) by collecting network cards and route information of all nodes in real time, and issues network configuration information (Segment List) of the optimal route to the source node, and the source node performs decreasing transmission according to the Segment List until reaching the destination node. In addition, the whole transmission process is virtualized through VXLAN, and aiming at complex network conditions, such as the mapping change of a source node in an intranet and NAT, the change of the POP public network IP is transferred, so that the method can support the change of the POP public network IP, and the communication interruption caused by various complex conditions is avoided.
In the embodiment of the application, a server acquires network cards and route detection information of a source node, a target node and a transfer node; the server determines a routing path from the source node to the target node according to the network card of the transfer 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 the decremental identification of the data to the target node. 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; and the source node forwards the decremental identification of the data to the target node according to the route path from the source node to the target node. And fusing the full-course VXLAN virtual channel transmission with the descending label thought of the SR route. The descending label thought of the segmented route is introduced, a VXLAN forwarding table is not required to be queried, the forwarding efficiency of data packet forwarding is improved, the use of vni is reduced, and the risk that the vni is exhausted is reduced. The whole network communication process is a virtualized channel, and network communication interruption caused by network condition change (NAT mapping change and public network IP change transfer in the process of network communication of edge nodes) can be avoided.
As shown in fig. 5, which is a schematic diagram of a server provided in an embodiment of the present application, may include:
the transceiver module 501 is configured to obtain network card and route detection information of a source node, a target node, and a transit node;
the processing module 502 is configured to determine a routing path from the source node to the target node according to the network card and the route detection information of the transit node;
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 the decremental identifier of the data from the source node to the target node.
Optionally, the network card includes a physical address, a gateway, and a public network protocol.
Optionally, the routing path includes a shortest routing path.
Optionally, the transceiver module 501 is specifically configured to receive network card and route detection information sent by the source node, the target node, and the transit node; or alternatively, the first and second heat exchangers may be,
the transceiver module 501 is specifically configured to send a report request to the source node, the target node, and the transit node, where the report request is used for reporting network card and route probe information to the source node, the target node, and the transit node, and receiving 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 an 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 according to the route path from the source node to the target node, forwarding the decremental identification of the data 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 target 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 transfer node, wherein the second data packet is a data packet which is obtained by removing the network identification from the source node to the first transfer node by the first transfer node and comprises the network identification from the first transfer node to the target node.
Optionally, the routing path includes a shortest routing path.
As shown in fig. 7, which is a schematic diagram of another embodiment of the server in the embodiment of the present application, may include:
a memory 701 storing executable program code;
a processor 702 and a transceiver 703 coupled to the memory;
a transceiver 703, configured to obtain network card and route detection information of the source node, the target node, and the transit node;
the processor 702 invokes the executable program code stored in the memory 701, for determining a routing path from the source node to the target node according to the network card and the routing probe information of the transit node;
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 the decremental identifier of the data from the source node to the target node.
Optionally, the network card includes a physical address, a gateway, and a public network protocol.
Optionally, the routing path includes a shortest routing path.
Optionally, the transceiver 703 is specifically configured to receive network card and route detection information sent by the source node, the target node, and the transit node; or alternatively, the first and second heat exchangers may be,
the transceiver 703 is specifically configured to send a report request to the source node, the target node, and the transit node, where the report request is used for reporting network card and route probe information to the source node, the target node, and the transit node, and receiving the network card and route probe information sent by the source node, the target node, and the transit node.
As shown in fig. 8, which is a schematic diagram of an embodiment of a source node in an embodiment of the present application, may include:
a memory 801 storing executable program code;
a transceiver 802 coupled to the memory 801;
the memory 801 is for storing executable program codes;
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 according to the route path from the source node to the target node, forwarding the decremental identification of the data 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 target 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 transfer node, wherein the second data packet is a data packet which is obtained by removing the network identification from the source node to the first transfer node by the first transfer node and comprises the network identification from the first transfer node to the target node.
Optionally, the routing path includes a shortest routing path.
In the above embodiments, it may be implemented in whole or in part 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, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in 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, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are merely for illustrating the technical solution 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (7)

1. A VXLAN-based segment route transmission method, comprising:
the method comprises the steps that a server obtains network cards and route detection information of a source node, a target node and a transfer node;
the server determines a routing path from the source node to the target node according to the network card of the transfer 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 the decremental identification of the data to the target node; fusing the full-course VXLAN virtual channel transmission with the descending label thought of the SR route;
the routing paths include shortest routing paths;
the routing path from the source node to the target node comprises: a routing path from the source node to a first transit node, the first transit node to the target node;
the source node forwards the decremental identification of the data to the target node according to the route path from the source node to the target node, and the method comprises the following steps:
the source node sends a first data packet to the first transfer node, wherein the first data packet comprises a network identifier (VNI) from the source node to the first transfer node and a network identifier (VNI) from the first transfer node to the target node;
and the source node sends a second data packet to the target node through the first transfer node, wherein the second data packet removes the network identifier VNI from the source node to the first transfer node for the first transfer node and comprises the data packet from the first transfer node to the network identifier VNI of the target node.
2. The method of claim 1, wherein the network card comprises a physical address, a gateway, a public network protocol.
3. The method according to claim 1 or 2, wherein the server obtains network card and route probe information of the source node, the target node, and the transit node, including:
the server receives network cards and route detection information sent by a source node, a target node and a transfer node; or alternatively, the first and second heat exchangers may be,
the server sends a report request to the source node, the target node and the transfer node, wherein the report request is used for reporting network card and route detection information by the source node, the target node and the transfer node, and receiving the network card and route detection information sent by the source node, the target node and the transfer node.
4. A VXLAN-based segment route transmission method, comprising:
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;
the source node forwards the decremental identification of the data to the target node according to the route path from the source node to the target node; fusing the full-course VXLAN virtual channel transmission with the descending label thought of the SR route;
the routing paths include shortest routing paths;
the routing path from the source node to the target node comprises: a routing path from the source node to a first transit node, the first transit node to the target node;
the source node forwards the decremental identification of the data to the target node according to the route path from the source node to the target node, and the method comprises the following steps:
the source node sends a first data packet to the first transfer node, wherein the first data packet comprises a network identifier (VNI) from the source node to the first transfer node and a network identifier (VNI) from the first transfer node to the target node;
and the source node sends a second data packet to the target node through the first transfer node, wherein the second data packet removes the network identifier VNI from the source node to the first transfer node for the first transfer node and comprises the data packet from the first transfer node to the network identifier VNI of the target node.
5. A server, comprising:
the receiving and transmitting module is used for acquiring network cards and route detection information of the source node, the target node and the transfer 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 transfer node and the routing detection information;
the receiving and transmitting 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 a decremental identifier of data from the source node to the target node; fusing the full-course VXLAN virtual channel transmission with the descending label thought of the SR route;
the routing paths include shortest routing paths;
the routing path from the source node to the target node comprises: a routing path from the source node to a first transit node, the first transit node to the target node;
the source node forwards the decremental identification of the data to the target node according to the route path from the source node to the target node, and the method comprises the following steps:
the source node sends a first data packet to the first transfer node, wherein the first data packet comprises a network identifier (VNI) from the source node to the first transfer node and a network identifier (VNI) from the first transfer node to the target node;
and the source node sends a second data packet to the target node through the first transfer node, wherein the second data packet removes the network identifier VNI from the source node to the first transfer node for the first transfer node and comprises the data packet from the first transfer node to the network identifier VNI of the target node.
6. A source node, comprising:
the receiving and transmitting module is used for receiving network configuration information sent by the server, wherein the network configuration information comprises a routing path from the source node to the target node; according to the route path from the source node to the target node, forwarding the decremental identification of the data to the target node; fusing the full-course VXLAN virtual channel transmission with the descending label thought of the SR route;
the routing paths include shortest routing paths;
the routing path from the source node to the target node comprises: a routing path from the source node to a first transit node, the first transit node to the target node;
the source node forwards the decremental identification of the data to the target node according to the route path from the source node to the target node, and the method comprises the following steps:
the source node sends a first data packet to the first transfer node, wherein the first data packet comprises a network identifier (VNI) from the source node to the first transfer node and a network identifier (VNI) from the first transfer node to the target node;
and the source node sends a second data packet to the target node through the first transfer node, wherein the second data packet removes the network identifier VNI from the source node to the first transfer node for the first transfer node and comprises the data packet from the first transfer node to the network identifier VNI of the target node.
7. A computer readable storage medium comprising instructions which, when run on a processor, cause the processor to perform the method of any of claims 1-3.
CN202110749196.4A 2021-07-01 2021-07-01 VXLAN-based segmented route transmission method, server, source node and storage medium Active CN113489646B (en)

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 CN113489646A (en) 2021-10-08
CN113489646B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018210094A1 (en) * 2017-05-19 2018-11-22 新华三技术有限公司 Packet transmission method, edge device, and machine readable storage medium
CN113014489A (en) * 2020-12-31 2021-06-22 腾讯科技(深圳)有限公司 Data forwarding method and device, server and storage medium

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9325609B2 (en) * 2013-08-23 2016-04-26 Futurewei Technologies, Inc. Segmented source routing in a network
US10164875B2 (en) * 2016-02-22 2018-12-25 Cisco Technology, Inc. SR app-segment integration with service function chaining (SFC) header metadata
EP3497893B1 (en) * 2016-08-15 2020-11-04 Telefonaktiebolaget LM Ericsson (publ) Segment routing based on maximum segment identifier depth
US10911262B2 (en) * 2017-10-31 2021-02-02 Cisco Technology, Inc. Deterministic forwarding across L2 and L3 networks
CN109962847B (en) * 2017-12-14 2021-07-30 中国电信股份有限公司 Method and device for encapsulating service function chain message and computer readable storage medium
CN110557316B (en) * 2018-05-30 2021-06-04 中国电信股份有限公司 Message transmission method, system, device and computer readable storage medium
US10812377B2 (en) * 2018-10-12 2020-10-20 Cisco Technology, Inc. Methods and apparatus for use in providing transport and data center segmentation in a mobile network
CN109194579B (en) * 2018-11-19 2020-09-04 盛科网络(苏州)有限公司 Method and device for realizing segmented routing by IPv6
CN112217724A (en) * 2019-07-11 2021-01-12 中兴通讯股份有限公司 Route management method, device, network equipment and readable storage medium
CN110545229B (en) * 2019-08-30 2021-09-03 瑞斯康达科技发展股份有限公司 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
CN112910772B (en) * 2019-11-19 2023-01-13 中国移动通信有限公司研究院 Message forwarding method and device based on segmented routing
CN111917625B (en) * 2020-07-17 2021-10-08 中盈优创资讯科技有限公司 Method, device and nodes for realizing difference from VXLAN service to SR domain

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018210094A1 (en) * 2017-05-19 2018-11-22 新华三技术有限公司 Packet transmission method, edge device, and machine readable storage medium
CN113014489A (en) * 2020-12-31 2021-06-22 腾讯科技(深圳)有限公司 Data forwarding method and device, server and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
城域网BRAS向SDN演进的方法及步骤探索;缪伟;黄鹏;;邮电设计技术(第02期);全文 *

Also Published As

Publication number Publication date
CN113489646A (en) 2021-10-08

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
WO2019128950A1 (en) Packet processing method, network node, and system
WO2020001393A1 (en) Method and network node for sending network performance parameter and calculating network performance
US7260648B2 (en) Extension of address resolution protocol (ARP) for internet protocol (IP) virtual networks
EP3958521A1 (en) Method and apparatus for providing service for service flow
US9391886B2 (en) Identification of the paths taken through a network of interconnected devices
CN113489646B (en) VXLAN-based segmented route transmission method, server, source node and storage medium
CN112868214B (en) Coordinated load transfer OAM records within packets
JP2022500915A (en) Communication methods, devices, and systems
CN111835645B (en) Method, system and apparatus for proxy of intra-subnetwork traffic across multiple interfaces within a network
WO2016124049A1 (en) Method and apparatus for obtaining port path
CN112583714B (en) Routing control method and device
CN111988266A (en) Method for processing message
WO2020092389A1 (en) Operations processing of multiple-protocol packets
US11115329B1 (en) Multicast subscription in MLDP network with BIER core
US20240098019A1 (en) Packet Processing Method and Related Device
US20230327983A1 (en) Performance measurement in a segment routing network
CN110838965B (en) Tunnel establishment method and receiving node

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
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.