CN113852548A - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN113852548A
CN113852548A CN202111082987.2A CN202111082987A CN113852548A CN 113852548 A CN113852548 A CN 113852548A CN 202111082987 A CN202111082987 A CN 202111082987A CN 113852548 A CN113852548 A CN 113852548A
Authority
CN
China
Prior art keywords
path
standby
forwarding
forwarding table
message
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.)
Pending
Application number
CN202111082987.2A
Other languages
Chinese (zh)
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.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security Technologies 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 New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202111082987.2A priority Critical patent/CN113852548A/en
Publication of CN113852548A publication Critical patent/CN113852548A/en
Pending legal-status Critical Current

Links

Images

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/22Alternate 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/34Source routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Abstract

The invention provides a message processing method and a message processing device, wherein the message processing method can comprise but is not limited to the following steps. Receiving routing information corresponding to the standby path, and issuing the routing information corresponding to the standby path to a forwarding table to form a forwarding table entry; the forwarding table item comprises standby next hop information and standby output interface information; and if the detection result of the main path is a fault, acquiring standby next hop information and standby output interface information in a manner of reading a forwarding table, and determining a next hop node for message forwarding. The invention can quickly determine the standby next hop information and the standby output interface information through the forwarding table entry in the forwarding table when the transmission path fails, saves a large amount of calculation processes for selecting the optimal transmission path in the prior art, greatly shortens the time for determining a new transmission path, and has excellent user experience.

Description

Message processing method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for processing a packet.
Background
At present, the SRv6 technology has the outstanding advantages of simple deployment, strong expansibility, high intelligent control degree, adaptation to new service requirements such as 5G and the like. The communication network constructed based on the SRv6 technology has the function of bearing all services, including but not limited to internet, private line, voice, etc., and specific services can be correspondingly carried according to different types of VPNs. Among them, there are often multiple transmission paths between different network nodes in a communication network, and an optimal transmission path can be generally selected as needed through a configuration policy.
However, when a transmission path failure occurs, the prior art can determine a new transmission path only by performing a large amount of calculations on network nodes, which not only requires the network nodes to have higher performance to meet the calculation amount, but also causes a long message forwarding time and poor user experience.
Disclosure of Invention
In order to solve the problems of overlong message forwarding time and large amount of calculation required by nodes due to transmission path faults in the prior art, the invention provides a message processing method and a message processing device so as to achieve the purposes of shortening the message forwarding time, reducing the calculation performance requirements on the nodes and the like.
To achieve the above technical object, the present invention provides a message processing method, which specifically includes, but is not limited to, one or more of the following steps.
And receiving the routing information corresponding to the standby path.
Sending the routing information corresponding to the standby path to a forwarding table to form a forwarding table entry; the forwarding table entry includes standby next hop information and standby outgoing interface information.
And if the detection result of the main path is a fault, acquiring standby next hop information and standby output interface information in a manner of reading a forwarding table, and determining a next hop node for message forwarding.
Further, the invention issues the route information corresponding to the backup path to the forwarding table, including: writing the standby path identifier into the forwarding table, and issuing the interior gateway protocol routing information to the forwarding table based on the standby path identifier. The routing information is interior gateway protocol routing information.
Further, the method further comprises: and carrying out bidirectional forwarding detection on the segment identification list corresponding to the main path to obtain a detection result of the main path.
Further, the method further comprises: if the detection result of the main path is recovered to be normal from the fault, setting a path recovery identifier in a forwarding table; and based on the path recovery identifier, forwarding the message by using the main path after the preset waiting recovery time.
Further, the method further comprises: and (3) constructing SRv6 VPN networking environment, and using SRv6-TE path as a main path for message forwarding in the networking environment.
Further, after determining the next hop node for packet forwarding, the method further includes: the SRv6-BE path is used as a backup path for message forwarding.
In order to achieve the above technical object, the present invention may further provide a message processing apparatus, which includes, but is not limited to, a routing information receiving module, a routing information issuing module, and a message forwarding control module.
And the routing information receiving module is used for receiving the routing information corresponding to the standby path.
The routing information issuing module is used for issuing the routing information corresponding to the standby path to a forwarding table to form a forwarding table item; the forwarding table entry includes standby next hop information and standby outgoing interface information.
And the message forwarding control module is used for acquiring the standby next hop information and the standby outgoing interface information in a manner of reading a forwarding table according to the detection result of the main path as a fault, and determining a next hop node for forwarding the message.
Further, the routing information issuing module is used for writing the standby path identifier into the forwarding table and issuing the interior gateway protocol routing information to the forwarding table based on the standby path identifier; the routing information is interior gateway protocol routing information.
Further, the apparatus further comprises: and the path fault detection module is used for carrying out bidirectional forwarding detection on the segment identifier list corresponding to the main path so as to obtain a detection result of the main path.
Further, the apparatus also includes a default path restoration module.
And the default path recovery module is used for recovering the fault to be normal according to the detection result of the main path, setting a path recovery identifier in the forwarding table, and forwarding the message by using the main path after the preset waiting recovery time based on the path recovery identifier.
Further, the device also comprises a networking environment building module.
And the networking environment building module is used for building SRv6 VPN networking environment and using the SRv6-TE path as a main path for message forwarding in the networking environment.
And further, the networking environment building module is used for using the SRv6-BE path as a standby path for message forwarding after determining the next hop node for message forwarding.
To achieve the above technical object, the present invention may further provide an electronic device, which includes a memory and a processor, wherein the memory stores computer readable instructions, and the computer readable instructions, when executed by the processor, cause the processor to execute the steps of the message processing method according to any embodiment of the present invention.
To achieve the above technical objects, the present invention may also provide a storage medium storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to perform the steps of the message processing method according to any one of the embodiments of the present invention.
The invention has the beneficial effects that: the invention can quickly determine the standby next hop information and the standby output interface information through the forwarding table entry in the forwarding table when the transmission path fails, saves a large amount of calculation processes for selecting the optimal transmission path in the prior art, greatly shortens the time for determining a new transmission path, effectively solves at least one problem in the prior art, and has very good user experience. It can BE seen that, when the SRv6 VPN service is carried by SRv6-TE Policy in the embodiment of the present invention, if SRv6-TE Policy fails, the present invention allows SRv6 VPN service to escape through SRv6-BE according to FRR protection relationship that SRv6-BE protection SRv6-TE Policy is generated on forwarding plane, so that the service is switched to SRv6-BE path quickly and smoothly, and the requirement of user for quickly switching SRv6 network is met. A large number of experiments show that the technical scheme of the invention can meet the requirement of fast switching of 50ms when the SRv6-TE path fails, namely, the path can BE switched to the SRv6-BE path within the time length of 50ms to forward the message in time.
Drawings
Fig. 1 is a schematic diagram illustrating a flow of a data packet processing method according to one or more embodiments of the present invention.
FIG. 2 illustrates a schematic diagram of the SRv6-TE path and the SRv6-BE path in an SRv6 VPN networking environment in one or more embodiments of the invention.
FIG. 3 is a schematic diagram illustrating the internal structural components of an electronic device in one or more embodiments of the invention.
Detailed Description
The following explains and explains the message processing method and apparatus provided by the present invention in detail with reference to the drawings of the specification.
As shown in fig. 1, one or more embodiments of the invention can provide a message processing method that can include, but is not limited to, at least one of the following steps.
Step 100, receiving routing information corresponding to the backup path. The message of the embodiment of the invention is a data unit exchanged and transmitted in the network, and the message comprises complete data information to be sent.
As shown in fig. 2, the embodiment of the present invention builds SRv6 VPN networking environment in advance. In the process of SRv6 VPN networking, the SRv6-TE path formed through iteration optimization is used as routing information corresponding to the primary path and the backup path for message forwarding. The embodiment of the invention takes the SRv6-BE path as a standby path for message forwarding; in the embodiment of the invention, the main path is a default path, and the standby path is an escape path.
SRv6 VPN: IPv6 Segment routing virtual Private Network, IPV6 Segment routing virtual Private Network.
VPN: virtual Private Network, Virtual Private Network.
SRv6-TE Policy: segment Routing IPv6 Traffic engineering policy, IPV6 Segment Routing Traffic engineering policy. SRv6-TE Policy is SRv6 forwarding Policy for flexible selection of forwarding paths to meet different forwarding requirements of users. When a plurality of paths exist among different nodes of the segmented routing network, the way of selecting the paths through the strategy is helpful for network management and relieving the forwarding pressure of network equipment.
SRv 6-TE: segment Routing IPv6 Traffic Engineering, IPV6 Segment Routing Traffic Engineering; based on SRv6-TE Policy implementation, an ingress node introduces public network traffic or VPN traffic into a traffic engineering Policy thereof for forwarding through different drainage manners, and a corresponding path is a SRv6-TE path.
SRv 6-BE: segment Routing IPv6 Best Effort, PV6 Segment Routing Best Effort forwarding; and the node in the SRv6 network calculates the path corresponding to the optimal route reaching the positioning network segment according to the shortest path first algorithm to BE the SRv6-BE path.
IPV 6: internet Protocol Version 6, Internet Protocol Version six.
EVPN: ethernet VPN, Ethernet virtual private network.
Specifically, the SRv6 VPN networking environment established by the embodiment of the present invention is as follows: one or more first carrier backbone nodes are connected between the first carrier edge node and the second carrier edge node. One or more second operator backbone nodes are connected between the first operator edge node and the second operator edge node. The first operator edge node is a starting node and can be connected with the first user edge node; the second operator edge node is a destination node and is connectable to a second customer edge node.
Optionally, in one or more embodiments of the present invention, the SRv6-TE path is used as a primary path for packet forwarding from the originating node to the destination node, and the SRv6-BE path is used as a backup path for packet forwarding from the originating node to the destination node.
PE 1: a first operator edge node.
PE 2: a second operator edge node.
P1, P2: a first operator backbone node.
P3, P4: a second operator backbone node.
CE 1: a first customer edge node.
CE 2: a second customer edge node.
MP-BGP: multi Protocol border Gateway Protocol.
The PE node on the network side may be directly connected to the CE node on the user side, and is responsible for VPN service access and routing information processing, etc., the P node in the network is responsible for forwarding data and is not directly connected to the CE node, and the P node may be connected to the PE node and/or other P nodes.
As shown in fig. 2, node PE1 and node PE2 in this embodiment of the present invention exchange respective routes by creating an MP-BGP session, for example, may publish EVPN/L3VPN routes. On this basis, the present invention forms a main path for node PE1 to reach node PE 2: SRv6-TE path through node P1 and node P2. In this embodiment, the EVPN/L3VPN route based on SRv6 may publish the IPv4/IPv6 private network routes of the user sites using the IP prefix route of the EVPN on the IPv6 backbone network through MP-BGP, and use SRv6 paths between different PE nodes to carry private network packets, thereby implementing connection of users belonging to the same VPN and located in different geographical locations through the IPv6 backbone network.
It should be understood that the transmission path involved in the present invention has a network device thereon, which may be, for example, one or more of a PE node, a P node, and a CE node. The network device may be a router or a switch, etc. having a message forwarding function, and may support SRv6 related protocols.
The SRv6-TE Policy in the embodiment of the invention can be identified by three parts of header, Color and Endpoint. An SRv6 TE Policy in this embodiment may contain multiple candidate paths, and a candidate path may contain multiple segment identification lists.
Head end: head-end, SRv 6-node generated by TE Policy; for example, 1: 1.
Color: the attribute, the route carrying the same Color can use the current path; such as 123.
Endpoint: tail end, SRv 6-destination Address of TE Policy; for example, 2001:: 1.
Candidate path: and (6) candidate paths.
Segment List: the segment ID list is, for example, 4::1,3::1,2:: 1.
Prefix: a prefix.
Step 200, issuing the routing information corresponding to the standby path to a forwarding table to form a forwarding table entry; the forwarding table entry includes standby next hop information and standby outgoing interface information.
The embodiment of the present invention can issue the routing information of the backup path to the forwarding table on the node PE1, and may specifically include: writing a standby path identifier into a forwarding table, wherein the standby path identifier may be, for example, a color identifier; and then, based on the standby path identifier, issuing the interior gateway protocol routing information to a forwarding table, where the routing information in this embodiment is the interior gateway protocol routing information. It can be understood that the embodiment of the present invention further includes a step of issuing the border gateway protocol routing information of the primary path to the forwarding table, and the embodiment of the present invention may issue SRv6-TE Policy through the controller and may generate SRv6-TE Policy table entry.
BGP: border Gateway Protocol.
IGRP: internet Gateway Routing Protocol.
The embodiment of the invention carries out fault detection on the main path before forwarding the message from the starting node to the destination node.
The fault detection of the main path according to the present invention may include: and carrying out bidirectional forwarding detection on the segment identification list corresponding to the main path. The detection time can reach millisecond level by a BFD fault detection mode, so that the service switching efficiency when a transmission path has a fault is improved. Of course, the invention can detect the fault of the standby path after switching to the standby path, and detect the SRv6-BE path by detecting SRv6 Locator mode of the VPN SID.
BFD: bidirectional Forwarding Detection.
SID: segment Identifier.
It should be understood that the SID at SRv6 is used to define network functions and represent network instructions in embodiments of the present invention.
SRv6 SID is composed of four parts of Locator, Function, arrows and MBZ in IPv6 address form SID.
A Locator: and identifying the network segment to which the SID belongs, wherein the Locator is unique in the SR domain.
Function: and identifying the local operation instruction bound with the SID, and executing related operation according to a Function field of the SRv6 SID after a specified node in the SR domain receives the flow.
Arguments: and defining information such as the flow and service of the message.
Mbz (best be zero): when the sum of the bits of Locator, Function, and Arguments is less than 128bits, the other bits are padded with 0.
If the detection result of the primary path is normal, the primary path is still used to forward the packet from the start node to the destination node, that is, in general, the VPN packet sent from the node PE1 to the node CE2 is carried by the SRv6-TE path from the node PE1 to the node PE2 in the embodiment of the present invention.
Step 300, if the detection result of the main path is a failure, obtaining the standby next hop information and the standby outgoing interface information by reading the forwarding table, and determining the next hop node for forwarding the message.
And according to the detection result of the main path as a fault, acquiring standby next hop information and standby outgoing interface information in a forwarding table item in a manner of reading a forwarding table, and quickly forwarding a message sent by an initial node by using a node determined by the standby next hop information and the standby outgoing interface information based on the forwarding table item. When the SRv6-TE path fails, FRR (fast reroute) switching is triggered, and a VPN packet sent to the node CE2 on the node PE1 is carried by a SRv6-BE path from the node PE1 to the node PE2, which is formed during networking. The embodiment of the invention determines the node P3 through the standby next hop information and the standby outgoing interface information, and the node PE1 in the SRv6-BE path can use the route issued by the node PE2 as prefix information, for example, 10.1.1/32. It can BE seen that the embodiment of the present invention specifically enables a forwarding plane to have a protection relationship of SRv6-BE path protection SRv6-TE path through protection of fast reroute, so as to quickly and smoothly switch traffic reaching the node PE2 from the node PE1 to the SRv6-BE path when a service fails, however, in the conventional technology, iteration can BE performed on SRv6-BE path from a large number of candidate paths after a large amount of computation and time are required.
Optionally, the message processing method in one or more embodiments of the present invention may further include a back-switching step: if the detection result of the main path is recovered to normal from the fault, a path recovery identifier can be set in the forwarding table, and the path recovery identifier is a new color identifier to replace the original color identifier; and after the preset waiting recovery time, forwarding the message from the starting node to the destination node by using the main path. Of course, based on the disclosure of the present invention, the main path may be used to forward the message immediately when the detection result of the main path is recovered from the failure to the normal state according to the actual situation.
WTR: wait To Restore time.
Optionally, in the specific implementation of the present invention, if the traffic is switched to the backup path at present, the backup path may be used as the main path, and the original main path may be used as the backup path; and switching the flow back to the original main path and restoring the setting of the original main and standby paths until the original main path is restored to a normal state.
Based on the same technical concept as the message processing method, the embodiment of the present invention can also provide a message processing apparatus, which may include, but is not limited to, a routing information receiving module, a routing information issuing module, and a message forwarding control module.
And the routing information receiving module is used for receiving the routing information corresponding to the standby path.
Optionally, the apparatus further comprises a networking environment building module. And the networking environment building module is used for building SRv6 VPN networking environment and using SRv6-TE path as the main path for message forwarding in the networking environment. In an SRv6 VPN networking environment, one or more first operator backbone nodes are connected between a first operator edge node and a second operator edge node, and the method and the device for connecting one or more second operator backbone nodes can be used for connecting between the first operator edge node and the second operator edge node. The first operator edge node is a starting node and is connected with the first user edge node; the second operator edge node is a destination node and is connected with the second user edge node.
The routing information issuing module is used for issuing the routing information corresponding to the standby path to a forwarding table to form a forwarding table item; the forwarding table entry includes standby next hop information and standby outgoing interface information.
Optionally, the routing information issuing module is configured to write a backup path identifier into the forwarding table, and is configured to issue the interior gateway protocol routing information to the forwarding table based on the backup path identifier; the routing information is interior gateway protocol routing information.
The message processing apparatus in the embodiment of the present invention may further include: and the path fault detection module is used for carrying out bidirectional forwarding detection on the segment identifier list corresponding to the main path so as to obtain a detection result of the main path.
Optionally, the path fault detection module in the embodiment of the present invention is specifically configured to perform bidirectional forwarding detection on the segment identifier list corresponding to the primary path.
And the message forwarding control module is used for acquiring the standby next hop information and the standby outgoing interface information in a manner of reading a forwarding table according to the detection result of the main path as a fault, and determining a next hop node for forwarding the message.
The networking environment building module can BE also used for using SRv6-BE path as a standby path for message forwarding after determining the next hop node for message forwarding.
Optionally, the message processing apparatus further includes a default path restoration module.
And the default path recovery module is used for recovering the fault to be normal according to the detection result of the main path, setting a path recovery identifier in the forwarding table, and forwarding the message by using the main path after the preset waiting recovery time based on the path recovery identifier.
The message processing device provided by the invention can obviously reduce the calculation amount, thereby avoiding the problem that the prior art takes up too much resources when the current transmission path fails to inquire a new transmission path, greatly shortening the message forwarding time when the transmission path fails, and improving the user experience and satisfaction.
It should be understood that the above division manner of the message processing apparatus is illustrative, the division of the modules or units may be division of logic functions, and there may be another division or combination manner when the specific implementation is performed, and different division or combination manners do not affect the implementation of the corresponding functions.
As shown in fig. 3, based on the same technical concept as the message processing method in the present invention, the present invention can also provide an electronic device, where the electronic device includes a memory and a processor, and the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the message processing method in any embodiment of the present invention; the detailed steps of the message processing method have been described in detail in this specification, and are not described herein again.
It should be understood that the electronic device in the embodiment of the present invention may be an originating node, i.e., a first operator edge node; alternatively, the electronic device may be the controller shown in fig. 2, so as to achieve the technical object of the present invention.
Based on the same technical concept as the message processing method of the present invention, the present invention may also provide a storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the message processing method according to any embodiment of the present invention. The detailed steps of the related message processing method have been described in detail in this specification, and are not described herein again.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable storage medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable storage medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer cartridge (magnetic device), a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM-Only Memory, or flash Memory), an optical fiber device, and a portable Compact Disc Read-Only Memory (CDROM). Additionally, the computer-readable storage medium may even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic Gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic Gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "the present embodiment," "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise. "and/or" in the present invention is used to describe an association relationship of associated objects, and may indicate that there are three relationships, for example, a and/or B may indicate: the three cases of a alone, B alone, and a and B together exist, and the character "/" is generally used to indicate the relationship of "or".
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and simplifications made in the spirit of the present invention are intended to be included in the scope of the present invention.

Claims (12)

1. A message processing method is characterized by comprising the following steps:
receiving routing information corresponding to the standby path;
sending the routing information corresponding to the standby path to a forwarding table to form a forwarding table entry; the forwarding table entry comprises standby next hop information and standby output interface information;
and if the detection result of the main path is a fault, acquiring the standby next hop information and the standby outgoing interface information in a manner of reading the forwarding table, and determining a next hop node for forwarding the message.
2. The message processing method according to claim 1, wherein the sending the routing information corresponding to the backup path to a forwarding table comprises:
writing a standby path identifier into the forwarding table;
based on the standby path identification, sending the routing information of the interior gateway protocol to the forwarding table;
wherein, the routing information is interior gateway protocol routing information.
3. The message processing method according to claim 1, wherein the method further comprises:
and carrying out bidirectional forwarding detection on the segment identification list corresponding to the main path to obtain a detection result of the main path.
4. The message processing method according to claim 3, wherein the method further comprises:
if the detection result of the main path is recovered to be normal from the fault, setting a path recovery identifier in the forwarding table;
and based on the path recovery identifier, forwarding the message by using the main path after the preset waiting recovery time.
5. The message processing method according to any of claims 1 to 4, wherein the method further comprises:
and (3) constructing SRv6 VPN networking environment, and using SRv6-TE path as the main path for message forwarding in the networking environment.
6. The packet processing method according to claim 5, wherein after determining the next hop node for packet forwarding, the method further comprises:
the SRv6-BE path is used as a backup path for message forwarding.
7. A message processing apparatus, the apparatus comprising:
the routing information receiving module is used for receiving the routing information corresponding to the standby path;
the routing information issuing module is used for issuing the routing information corresponding to the standby path to a forwarding table to form a forwarding table item; the forwarding table entry comprises standby next hop information and standby output interface information;
and the message forwarding control module is used for acquiring the standby next hop information and the standby output interface information in a mode of reading the forwarding table according to the detection result of the main path as a fault, and determining a next hop node for forwarding the message.
8. The message processing apparatus according to claim 7, wherein:
the routing information issuing module is used for writing a standby path identifier into the forwarding table and issuing the interior gateway protocol routing information to the forwarding table based on the standby path identifier;
the routing information is interior gateway protocol routing information.
9. The message processing apparatus according to claim 7, wherein: the device further comprises:
and the path fault detection module is used for performing bidirectional forwarding detection on the segment identifier list corresponding to the main path to obtain a detection result of the main path.
10. The message processing apparatus according to claim 9, wherein: the device further comprises:
and the default path recovery module is used for recovering the failure to be normal according to the detection result of the main path, setting a path recovery identifier in the forwarding table, and forwarding the message by using the main path after the preset waiting recovery time based on the path recovery identifier.
11. The message processing apparatus according to any of claims 7 to 10, wherein: the device further comprises:
and the networking environment building module is used for building SRv6 VPN networking environment and using SRv6-TE path as the main path for message forwarding in the networking environment.
12. The message processing apparatus according to claim 11, wherein:
and the networking environment building module is used for using SRv6-BE paths as standby paths for message forwarding after determining next hop nodes for message forwarding.
CN202111082987.2A 2021-09-15 2021-09-15 Message processing method and device Pending CN113852548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111082987.2A CN113852548A (en) 2021-09-15 2021-09-15 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111082987.2A CN113852548A (en) 2021-09-15 2021-09-15 Message processing method and device

Publications (1)

Publication Number Publication Date
CN113852548A true CN113852548A (en) 2021-12-28

Family

ID=78974196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111082987.2A Pending CN113852548A (en) 2021-09-15 2021-09-15 Message processing method and device

Country Status (1)

Country Link
CN (1) CN113852548A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933448A (en) * 2006-08-17 2007-03-21 华为技术有限公司 Business fast convergent method and network equipment
CN102130826A (en) * 2010-11-25 2011-07-20 华为技术有限公司 Message transmitting method and device
US20150350060A1 (en) * 2014-05-27 2015-12-03 Telefonaktiebolaget L M Ericsson (Publ) Simplified Approach to Verify LFAS in Deployment
CN107347032A (en) * 2016-05-05 2017-11-14 中兴通讯股份有限公司 Message forwarding method and device
CN109787839A (en) * 2019-02-28 2019-05-21 新华三技术有限公司 A kind of message forwarding method and device
CN109873766A (en) * 2019-03-29 2019-06-11 北京华三通信技术有限公司 Message transmitting method and device
CN113315697A (en) * 2020-02-26 2021-08-27 华为技术有限公司 Message processing method, device, network equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1933448A (en) * 2006-08-17 2007-03-21 华为技术有限公司 Business fast convergent method and network equipment
CN102130826A (en) * 2010-11-25 2011-07-20 华为技术有限公司 Message transmitting method and device
US20150350060A1 (en) * 2014-05-27 2015-12-03 Telefonaktiebolaget L M Ericsson (Publ) Simplified Approach to Verify LFAS in Deployment
CN107347032A (en) * 2016-05-05 2017-11-14 中兴通讯股份有限公司 Message forwarding method and device
CN109787839A (en) * 2019-02-28 2019-05-21 新华三技术有限公司 A kind of message forwarding method and device
CN109873766A (en) * 2019-03-29 2019-06-11 北京华三通信技术有限公司 Message transmitting method and device
CN113315697A (en) * 2020-02-26 2021-08-27 华为技术有限公司 Message processing method, device, network equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨雪娇等: "一种基于RSVP-TE的MPLS网络FRR机制", 《无线电工程》 *

Similar Documents

Publication Publication Date Title
EP3836490B1 (en) Vpn cross-domain implementation method, device, and border node
JP7152533B2 (en) Method, apparatus, and system for handling transmission path failures
CN111865796B (en) Path Computation Element Central Controller (PCECC) for network traffic
JP7130784B2 (en) TRANSMISSION PATH FAILURE HANDLING METHOD AND APPARATUS, AND SYSTEM
US7633859B2 (en) Loop prevention technique for MPLS using two labels
US7551551B2 (en) Fast reroute (FRR) protection at the edge of a RFC 2547 network
EP2878100B1 (en) System, method and apparatus for signaling and responding to ero expansion failure in inter domain te lsp
EP1859586B1 (en) Loop prevention technique for mpls using service labels
US8098663B2 (en) Carrier's carrier without customer-edge-to-customer-edge border gateway protocol
US11546246B2 (en) Minimizing or reducing traffic loss when an external border gateway protocol (eBGP) peer goes down
EP1905196B1 (en) Method and apparatus for updating label-switched paths
EP2186270A1 (en) Forwarding data in a data communications network
JP2013541896A (en) Method and apparatus for improving LDP convergence using hierarchical label stacking
US11646960B2 (en) Controller provided protection paths
CN113615132A (en) Fast flooding topology protection
US20210336866A1 (en) Route Advertisement Method, Device, and System
CN111224870B (en) Fault repairing method, equipment and storage medium in SR-MPLS Anycast scene
US8644315B2 (en) Label distribution protocol label filtering
US7864708B1 (en) Method and apparatus for forwarding a tunneled packet in a data communications network
CN113852548A (en) Message processing method and device
CN115460107A (en) Route detection method, device, system and storage medium
CN115622915A (en) Fault detection method, device and system
CN113872843A (en) Route generation method, route processing method and device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211228