WO2023050313A1 - 一种报文处理方法、装置、网络设备及介质 - Google Patents
一种报文处理方法、装置、网络设备及介质 Download PDFInfo
- Publication number
- WO2023050313A1 WO2023050313A1 PCT/CN2021/122183 CN2021122183W WO2023050313A1 WO 2023050313 A1 WO2023050313 A1 WO 2023050313A1 CN 2021122183 W CN2021122183 W CN 2021122183W WO 2023050313 A1 WO2023050313 A1 WO 2023050313A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- segment
- srv6
- slice
- address
- oam 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/34—Source routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
- H04L45/026—Details of "hello" or keep-alive messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/72—Routing based on the source address
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/76—Routing in software-defined topologies, e.g. routing between virtual machines
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/80—Ingress point selection by the source endpoint, e.g. selection of ISP or POP
Definitions
- the present application relates to the technical field of communications, and in particular to a message processing method, device, network equipment and media.
- Network slicing is an on-demand networking method that can separate multiple virtual end-to-end networks on the same network.
- the network topology can be divided into multiple topologies, and the resources in the topology can be further sliced through the controller to reserve bandwidth resources for each slice.
- Different service level agreement (service level agreement, SLA) guarantees can be provided for different services through network slicing.
- slices can be associated with pre-allocated hardware queues to reserve specified bandwidth resources for the slices.
- IPv6 Segment Routing Segment Routing IPv6, SRv6
- the head node in the bearer network performs IPv6 encapsulation on the original packet to obtain the encapsulated packet.
- Protocol version 6, IPv6 IPv6
- the lower N bits of the address carry the slice ID.
- the intermediate node in the bearer network can associate with the pre-allocated hardware queue based on the slice ID carried in the encapsulated message, and use the bandwidth resources corresponding to the hardware queue to forward the encapsulated message.
- the slice network segment of the slice domain is 2001:2002:2003:2004::/64
- the slice network segment configured for the head node in the slice domain is 2001:2002:2003:2004:nodeid::/96
- the nodeid is The node ID of the head node.
- the slice ID can be carried by the host bit of the slice network segment.
- OAM Operations, Administration, and Maintenance
- the node receiving the OAM message will exchange the source IPv6 address and the destination IPv6 address of the OAM message to generate a response message of the OAM message, and send the response message to the head node. That is to say, the destination IPv6 address in the response message is the address carrying the slice ID: 2001:2002:2003:2004:0000:0002::1, which is inconsistent with the host address of the head node. In the case of a large number of slices, there will be a large number of destination addresses for response messages. After the head node receives these response messages, how to make these response messages be correctly sent to the control plane is an urgent problem to be solved. question.
- the purpose of the embodiment of the present application is to provide a message processing method, device, network device and medium, so as to solve the problem that the response message of the OAM message cannot be sent to the control plane.
- the specific technical scheme is as follows:
- the embodiment of the present application provides a message processing method, the method is applied to the head node in the SRv6 network, and the method includes:
- the source address of the first SRv6 OAM message includes a network segment, a host segment, and a slice segment, and the slice segment includes a slice identifier;
- the loopback address of the head node includes a network segment, a host segment, and a slice segment with a slice bit of 0, and the host segment included in the loopback address includes the node identifier of the master node;
- Generate the first SRv6 OAM message including:
- the method before generating the first SRv6 OAM message, the method further includes:
- the route advertisement message includes the loopback address
- the embodiment of the present application provides a message processing method, the method is applied to a destination node in an SRv6 network, and the method includes:
- the source address of the first SRv6 OAM message includes a network segment, a host segment and a slice segment, and the slice segment includes a slice identifier;
- the slice segment in the source address is cleared, and the slice segment is cleared
- the source address after is used as the destination address of the second SRv6 OAM message
- the clearing the segment in the source address includes:
- the slice segment of the source address is cleared.
- the method before receiving the first SRv6 OAM message from the head node, the method further includes:
- the route notification report includes the loopback address of the head node, the loopback address includes a network segment, a host segment, and a slice segment with a slice bit of 0, and the loopback address includes The host segment includes the node identifier of the master node;
- a forwarding entry is generated according to the loopback address.
- an embodiment of the present application provides a message processing device, the device is applied to a head node in an SRv6 network, and the device includes:
- the source address of the first SRv6 OAM message includes a network segment, a host segment and a slice segment, and the slice segment includes a slice identifier;
- a sending module configured to send the first SRv6 OAM message to a destination node, so that after the destination node receives the first SRv6 OAM message, if it is determined according to the network segment and the host segment
- the source address in the first SRv6 OAM message belongs to the specified slice network segment, then the slice segment in the source address is cleared, and the source address whose slice segment is cleared is used as the destination address of the second SRv6 OAM message, and sending the second SRv6 OAM message to the head node;
- a receiving module configured to receive the second SRv6 OAM message, where the second SRv6 OAM message includes a destination address
- a sending module configured to send the second SRv6 OAM message to the control plane if the destination address is the same as the host address of the head node.
- the loopback address of the head node includes a network segment, a host segment, and a slice segment with a slice bit of 0, and the host segment included in the loopback address includes the node identifier of the master node;
- the generating module is further configured to generate a route advertisement message, where the route advertisement message includes the loopback address;
- the sending module is further configured to send the route advertisement message to other nodes in the SRv6 network except the head node, so that the node that receives the route advertisement message generates an address based on the loopback address. Forward entry.
- an embodiment of the present application provides a message processing device, the device is applied to a destination node in an SRv6 network, and the device includes:
- a receiving module configured to receive the first SRv6 OAM message from the head node, the source address of the first SRv6 OAM message includes a network segment, a host segment and a slice segment, and the slice segment includes a slice identifier;
- a matching module configured to match the source address of the first SRv6 OAM message with the specified slice network segment according to the network segment and the host segment;
- An encapsulation module configured to, if it is determined according to the network segment and the host segment that the source address of the first SRv6 OAM message belongs to the specified segment network segment, clear the segment in the source address, and set The source address after the segment is cleared is used as the destination address of the second SRv6 OAM message;
- a sending module configured to send the second SRv6 OAM message to the head node.
- the encapsulation module is specifically configured to clear the slice segment of the source address to zero based on the pre-configured slice bit length information.
- the device further includes a generating module
- the receiving module is further configured to receive a route notification message sent by the head node, the route notification report includes the loopback address of the head node, and the loopback address includes a network segment, a host segment, and a slice bit of 0 Slicing segment, the host segment included in the loopback address includes the node identifier of the master node;
- the generating module is configured to generate a forwarding entry according to the loopback address.
- the embodiment of the present application further provides a network device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete mutual communication through the communication bus;
- the processor is configured to implement the steps of the message processing method described in the first aspect or the second aspect when executing the program stored in the memory.
- the embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program in the first aspect or the second aspect is implemented.
- a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program in the first aspect or the second aspect is implemented.
- the embodiment of the present application further provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute the message processing method described in the first aspect or the second aspect.
- the source address of the first SRv6 OAM message generated by the head node includes the network segment, the host segment and the slice segment, after the destination node receives the first SRv6 OAM message, if according to the network segment and the host segment It is determined that the source address belongs to the specified slice network segment, then the slice segment of the source address can be cleared, and the source address whose slice segment is cleared is used as the destination address of the second SRv6 OAM message.
- the host address of the head node is usually composed of the network segment and the host segment, after clearing the segments in the above source address, the host address of the head node is obtained, that is to say, the second SRv6 OAM received by the head node
- the destination address of the message is its own host address, and then the forwarding plane of the head node can correctly send the second SRv6 OAM message to the control plane.
- FIG. 1 is an architecture diagram of an SRv6 network provided by an embodiment of the present application
- FIG. 2 is a schematic diagram of a segmented structure of a source address in the related art
- FIG. 3 is a schematic diagram of a segmented structure of a source address provided by an embodiment of the present application.
- FIG. 4 is a flow chart of a message processing method provided in an embodiment of the present application.
- FIG. 5 is a flow chart of another message processing method provided by the embodiment of the present application.
- FIG. 6 is a flowchart of another message processing method provided by the embodiment of the present application.
- FIG. 7 is a schematic structural diagram of a message processing device provided in an embodiment of the present application.
- FIG. 8 is a schematic structural diagram of another message processing device provided in an embodiment of the present application.
- FIG. 9 is a schematic structural diagram of a network device provided by an embodiment of the present application.
- the embodiment of the present application can be applied in the SRv6 network.
- the SRv6 network is a sliced network.
- the SRv6 network includes four nodes, respectively P1 , P2, P3 and P4, where P1 is the head node and P4 is the tail node.
- the P1 node can perform IPv6 encapsulation for the original message.
- it can carry the slice ID (Slice ID) in the source address of the IPv6 header.
- the encapsulated original message includes a destination address (Destination Address, DA), a source address (Source Address, SA) carrying a slice ID, a segment routing extension header (Segment Routing Header, SRH) and the original message.
- the packet carrying the slice identifier is transmitted between P1 and P2, and the packet carrying the slice identifier is also transmitted between P2 and P3.
- the P4 node will receive the encapsulated packet Perform decapsulation to restore the original message, and forward the original message according to the destination address of the original message.
- the slice prefix is 32 bits
- the node ID (node id) is 16 bits
- the slice ID is 32 bits.
- the source address includes a network segment and a host segment.
- the host segment carries the slice identifier.
- Table 1 shows two source addresses carrying slice identifiers.
- the source address A slice segment is added to the address, that is, the source address can be divided into 3 segments, namely the network segment, the host segment and the segment segment, and the segment identifier is carried by the segment segment.
- the source address has a total of 128 bits
- the network segment can be 80 bits
- the host segment can be 16 bits
- the slice segment can be 32 bits
- the network segment is 64 bits
- both the host segment and the slice segment are 32 bits.
- the lengths of the network segment, the host segment and the slice segment can be configured according to actual requirements, which is not limited in this embodiment of the present application.
- the network segment is 64 bits, and the slice segment and host segment are both 32 bits. Still using the network segment 2001:2002:2003:2004::/64 as an example, the final presentation of the source address is still as shown in Table 1 above. source address form, but the segmentation method has changed.
- nodes in the embodiments of the present application may also be referred to as node devices, and the node devices may be routers, switches, and the like.
- the embodiment of the present application provides a message processing method, the method is applied to the head node in the SRv6 network, as shown in Figure 4, the method includes:
- S401 Generate a first SRv6 OAM message, where the source address of the first SRv6 OAM message includes a network segment, a host segment, and a slice segment, and the slice segment includes a slice identifier.
- the first SRv6 OAM message is used to detect the connectivity of the SRv6 path and locate the faulty node in the SRv6 path.
- the first SRv6 OAM message may be a ping message, a traceroute message, Bidirectional Forwarding Detection (Bidirectional Forwarding Detection, BFD), etc.
- the ping message is used to detect whether the nodes in the slice are reachable in the slice domain
- the traceroute message is used to detect whether the nodes in the slice are reachable, and can also be used to analyze which node fails.
- the destination node is other nodes belonging to the same SRv6 network as the head node.
- the destination node can be the P2 node, P3 node or P4 node in FIG. 1 .
- the specified slice network segment can be "2001:2002:2003:2004:nodeid::", the nodeid is the node ID of the head node .
- the source address in the first SRv6 OAM message is 2001:2002:2003:2004:0000:0002::1, and the source address "2001:2002:2003:2004:” belongs to the network segment, "0000:0002:” belongs to the host segment, and "0000:0001” belongs to the slice segment.
- the source address belongs to the specified slice network segment 2001:2002:2003:2004:0000:0002::, so the destination node can clear the slices included in the source address to get 2001:2002:2003:2004:0000: 0002::, and then use 2001:2002:2003:2004:0000:0002:: as the destination address of the second SRv6 OAM message, and use the destination address included in the first SRv6 OAM message as the destination address of the second SRv6 OAM message source address.
- the second SRv6 OAM message is a response message of the ping message.
- the second SRv6 OAM message is an Internet Control Message Protocol (Internet Control Message Protocol, ICMP) timeout message.
- Internet Control Message Protocol Internet Control Message Protocol, ICMP
- the second SRv6 OAM packet is a BFD response packet.
- the second SRv6 OAM message includes a destination address, and the destination address is 2001:2002:2003:2004:0000:0002::.
- the forwarding plane of the head node can obtain the destination address 2001:2002:2003:2004:0000:0002:: of the second SRv6 OAM message, because the purpose The address does not carry the slice ID, and is the same as the host address of the head node, so the second SRv6 OAM message can be sent to the control plane.
- the source address of the first SRv6 OAM message generated by the head node includes a network segment, a host segment, and a slice segment
- the destination node receives the first SRv6 OAM message
- the slice segment of the source address can be cleared, and the source address whose slice segment is cleared can be used as the destination address of the second SRv6 OAM message.
- the host address of the head node is usually composed of the network segment and the host segment, after clearing the segments in the above source address, the host address of the head node is obtained, that is to say, the second SRv6 OAM received by the head node
- the destination address of the message is its own host address, and then the forwarding plane of the head node can correctly send the second SRv6 OAM message to the control plane.
- a loopback (loopback) address may be pre-configured for the head node, and the loopback address may be configured as the source address of the slice.
- the loopback address includes a network segment, a host segment, and a slice segment whose slice bit is 0, and the host segment included in the loopback address includes a node identifier of the head node.
- the head node uses the loopback address as its own host address.
- the loopback address is 2001:2002:2003:2004:nodeid::/128.
- the process that the head node generates the first SRv6 OAM message includes:
- the slice bits in the segment of the loopback address are all 0, and when the segment identifier needs to be carried in the message, the slice identifier to be carried can be directly filled in the segment of the loopback address, so that the obtained address can be used as The source address of the packet.
- the slice identifiers of the slices to which the head node and the destination node belong can be directly filled in the slice segment of the loopback address, thereby using the obtained address as the source address of the first SRv6 OAM message.
- the loopback address is 2001:2002:2003:2004:0000:0005::/128, and if the slice ID of the slice to which the head node and the destination node belong is 3, the slice The identifier 3 is filled into the slice segment of the loopback address, and the source address 2001:2002:2003:2004:0000:0005::3 is obtained.
- the source address when generating the first SRv6 OAM message, the source address can be generated simply by filling the required slice identifier into the slice segment of the loopback address of the head node.
- the host segment of the source address and the slice segment are set independently in the embodiment of the present application, after the destination node receives the first SRv6 OAM message, if it is determined that the first SRv6 OAM belongs to the specified slice segment, the segment segment In this way, the host address of the outgoing node can be restored, and then the host address can be used as the destination address of the second SRv6 OAM message.
- the master node does not need additional matching operations, and can naturally support the sending of the second SRv6 OAM message. control surface.
- the slice identifier is carried in the host segment, and the destination node cannot delete the slice identifier in the host segment.
- the control plane of the master node can send all addresses with slice identifiers as host addresses to the forwarding plane. In this way, if the purpose of the message received by the forwarding plane is The address carries the slice identifier, and the forwarding plane can also send the packet to the control plane.
- the network segment of the slice is very large, and correspondingly there are many addresses carrying the slice identifier, and the control plane will take up a lot of resources to deliver the addresses carrying the slice identifier to the forwarding plane one by one.
- the destination node can restore the host address of the head node that does not carry the slice identifier, and the destination address of the second SRv6 OAM message returned by the destination node to the head node does not carry the slice identifier, so in the embodiment of the application, the host The control plane of the node only needs to send the local address to the forwarding plane, and then the second SRv6 OAM message can be sent to the control plane. There is no need to issue addresses carrying slice identifiers one by one, which can reduce the occupation of resources.
- the method before the process shown in FIG. 4, the method further includes:
- Generate a route advertisement message which includes a loopback address, and send a route advertisement message to other nodes in the SRv6 network except the head node, so that the node that receives the route advertisement message generates a forwarding table based on the loopback address item.
- the head node sends a route advertisement message to the above destination node, and after the destination node receives the route advertisement message, the next hop of the generated forwarding entry is the loopback address carried in the route advertisement message.
- the next hop is the address of the physical interface of the device connected to the destination node among the devices included in the path from the destination node to the head node.
- the next hop of the forwarding entry generated by the destination node is: the physical address of the interface connected to the destination node on the head node.
- the head node is node 1
- physical interface A of node 1 is connected to node 2
- physical interface B of node 2 is connected to node 3
- the next hop in the forwarding entry generated by node 2 is the physical interface of physical interface A.
- the next hop in the forwarding entry generated by node 3 is the physical address of physical interface B.
- node that receives the route advertisement message can also generate forwarding entries in the same way.
- the head node advertises the loopback address as a common host address.
- other nodes can generate a forwarding entry based on the loopback address, so that the head node can send The second SRv6 OAM packet identified.
- the network segment that needs special maintenance for the head node is simplified to the host address of the head node, so that there is no need for special maintenance of the network segment. It is closer to the processing of the head node itself, which simplifies the processing of the head node.
- the embodiment of the present application also provides a message processing device, the device is applied to the destination node in the SRv6 network, as shown in Figure 6, the method includes:
- the host segment includes the node identifier of the head node.
- the source address in the first SRv6 OAM message is 2001:2002:2003:2004:0000:0002::1, the "2001:2002:2003:2004:” belongs to the network segment, and "0000:0002:” It belongs to the host segment. It can be seen that the source address belongs to the specified slice network segment 2001:2002:2003:2004:0000:0002::.
- each node in the SRv6 network is configured with the specified slice network segment and slice bit length information.
- the destination node receives the first SRv6 OAM message, if it is determined that the source address of the first SRv6 OAM message belongs to the specified slice network segment, it can be determined that the source address carries the slice identifier, and then it can be based on the pre-configured slice bit length information , to clear the slices included in the source address to obtain the host address of the head node.
- the destination node may clear the lower 16 bits of the source address to zero.
- the destination node may clear the lower 32 bits of the source address to zero.
- the source address of the first SRv6 OAM packet received by the destination node includes the network segment, the host segment and the slice segment, so the destination node can directly send The segment segment of the source address is cleared, and the source address whose segment segment is cleared is used as the destination address of the second SRv6 OAM message. Because the host address of the head node is usually composed of the network segment and the host segment, after clearing the segments in the above source address, the host address of the head node is obtained, that is to say, the second SRv6 OAM received by the head node The destination address of the message is its own host address, and then the forwarding plane of the head node can correctly send the second SRv6 OAM message to the control plane.
- the method further includes:
- the routing notification report includes the loopback address of the head node.
- the loopback address includes the network segment, the host segment, and the slice segment with a slice bit of 0.
- the host segment included in the loopback address includes the node identifier of the master node.
- the next hop of the generated forwarding entry is the loopback address carried in the route advertisement message.
- the next hop is the address of the physical interface of the device connected to the destination node among the devices included in the path from the destination node to the head node.
- the destination node may send the second SRv6 OAM message to the head node based on the above forwarding entry.
- each node in the SRv6 network generates a forwarding entry according to the loopback entry, and then sends a second SRv6 OAM message that does not carry a slice identifier to the head node according to the forwarding entry, so that the forwarding plane of the head node can use the
- the second SRv6 OAM message is sent to the control plane without configuring a complex matching mechanism for the head node, which can avoid the situation that the second SRv6 OAM message cannot be sent to the control plane.
- the embodiment of the present application also provides a packet processing device, which is applied to the head node in the SRv6 network, as shown in Figure 7, the device includes:
- Generating module 701 for generating the first SRv6 OAM message, the source address of the first SRv6 OAM message includes network segment, host segment and slice segment, and slice segment includes slice identifier;
- the sending module 702 is configured to send the first SRv6 OAM message to the destination node, so that after the destination node receives the first SRv6 OAM message, if it is determined according to the network segment and the host segment that the source address in the first SRv6 OAM message belongs to Specify the slice network segment, then clear the slice segment in the source address, use the cleared source address of the slice segment as the destination address of the second SRv6 OAM message, and send the second SRv6 OAM message to the head node;
- a receiving module 703, configured to receive a second SRv6 OAM message, where the second SRv6 OAM message includes a destination address;
- the sending module 704 is configured to send the second SRv6 OAM message to the control plane if the destination address is the same as the host address of the head node.
- the loopback address of the head node includes a network segment, a host segment, and a slice segment whose slice bit is 0, and the host segment included in the loopback address includes a node identifier of the master node.
- the generation module 701 is specifically used for:
- the source address is obtained by filling the slice identifier in the segment of the loopback address, and generating the first SRv6 OAM message.
- the generation module 701 is further configured to generate a route notification message, where the route notification message includes a loopback address;
- the sending module 702 is further configured to send a route advertisement message to other nodes in the SRv6 network except the head node, so that the node receiving the route advertisement message generates a forwarding entry based on the loopback address.
- the embodiment of the present application also provides another packet processing device, the device is applied to the destination node in the SRv6 network, as shown in Figure 8, the device includes:
- the receiving module 801 is configured to receive the first SRv6 OAM message from the head node, the source address of the first SRv6 OAM message includes a network segment, a host segment and a slice segment, and the slice segment includes a slice identifier;
- the matching module 802 is used to match the source address of the first SRv6 OAM message with the specified slice network segment according to the network segment and the host segment;
- the encapsulation module 803 is used to determine the source address of the first SRv6 OAM message according to the network segment and the host segment to belong to the specified slice network segment, then clear the slice segment in the source address, and the source address after the slice segment is cleared As the destination address of the second SRv6 OAM message;
- a sending module 804 configured to send the second SRv6 OAM message to the head node.
- the encapsulation module 803 is specifically configured to clear the slice segment of the source address to zero based on the pre-configured slice bit length information.
- the device further includes a generating module
- the receiving module 801 is also used to receive the routing notification message sent by the head node.
- the routing notification report includes the loopback address of the head node.
- the loopback address includes a network segment, a host segment, and a segment with a slice bit of 0.
- the loopback address includes a host segment Including the node identification of the master node;
- the generation module is used to generate forwarding entries according to the loopback address.
- the embodiment of the present application also provides a network device.
- the network device can be the head node in the above embodiment or the destination node, as shown in FIG. 9 , including a processor 901, a communication interface 902, a memory 903 and a communication A bus 904, wherein, the processor 901, the communication interface 902, and the memory 903 complete mutual communication through the communication bus 904,
- Memory 903 used to store computer programs
- the processor 901 is configured to implement the method steps in the foregoing method embodiments when executing the program stored in the memory 903 .
- the communication bus mentioned in the aforementioned network device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus or the like.
- PCI Peripheral Component Interconnect
- EISA Extended Industry Standard Architecture
- the communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
- the communication interface is used for communication between the above-mentioned network device and other devices.
- the memory may include a random access memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk memory.
- RAM Random Access Memory
- NVM non-Volatile Memory
- the memory may also be at least one storage device located far away from the aforementioned processor.
- the above-mentioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (Digital Signal Processor, DSP), a dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
- CPU Central Processing Unit
- NP Network Processor
- DSP Digital Signal Processor
- ASIC Application Specific Integrated Circuit
- FPGA Field-Programmable Gate Array
- a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any message processing described above is implemented. method steps.
- a computer program product including instructions is also provided, which, when run on a computer, causes the computer to execute any packet processing method in the foregoing embodiments.
- all or part of them may be implemented by software, hardware, firmware or any combination thereof.
- software When implemented using software, it 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 the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
- the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
- the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
- the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
- the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
- each embodiment in this specification is described in a related manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments.
- the description is relatively simple, and for relevant parts, please refer to part of the description of the method embodiment.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
| 切片标识 | 节点标识 | 源地址 |
| 1 | 2 | 2001:2002:2003:2004:0000:0002::1 |
| 5 | 8 | 2001:2002:2003:2004:0000:0008::5 |
Claims (14)
- 一种报文处理方法,其特征在于,所述方法应用于SRv6网络内的头节点,所述方法包括:生成第一SRv6 OAM报文,所述第一SRv6 OAM报文的源地址包括网络段、主机段和切片段,所述切片段包括切片标识;向目的节点发送所述第一SRv6 OAM报文,以使得所述目的节点接收到所述第一SRv6 OAM报文后,若根据所述网络段和所述主机段确定所述第一SRv6 OAM报文中的源地址属于指定切片网段,则将所述源地址中的切片段清零,将切片段被清零的源地址作为第二SRv6 OAM报文的目的地址,并向所述头节点发送所述第二SRv6 OAM报文;接收所述第二SRv6 OAM报文,所述第二SRv6 OAM报文包括目的地址;若所述目的地址与所述头节点的主机地址相同,则向控制面上送所述第二SRv6 OAM报文。
- 根据权利要求1所述的方法,其特征在于,所述头节点的回环地址包括网络段、主机段和切片位为0的切片段,所述回环地址包括的主机段包括所述主节点的节点标识;所述生成第一SRv6 OAM报文,包括:获取所述头节点与所述目的节点所属切片的切片标识,所述切片标识属于所述指定切片网段;在所述回环地址的切片段填充所述切片标识得到源地址,生成所述第一SRv6 OAM报文。
- 根据权利要求2所述的方法,其特征在于,在所述生成第一SRv6 OAM报文之前,所述方法还包括:生成路由通告报文,所述路由通告报文包括所述回环地址;向所述SRv6网络内除所述头节点之外的其他节点发送所述路由通告报文,以使得接收到所述路由通告报文的节点基于所述回环地址生成转发表项。
- 一种报文处理方法,其特征在于,所述方法应用于SRv6网络内的目的节点,所述方法包括:接收来自头节点的第一SRv6 OAM报文,所述第一SRv6 OAM报文的源地址包括网络段、主机段和切片段,所述切片段包括切片标识;根据所述网络段和所述主机段将所述第一SRv6 OAM报文的源地址与指定切片网段进行匹配;若根据所述网络段和所述主机段确定所述第一SRv6 OAM报文的源地址属于所述指定切片网段,则将所述源地址中的切片段清零,将切片段被清零后的所述源地址作为第二SRv6 OAM报文的目的地址;向所述头节点发送所述第二SRv6 OAM报文。
- 根据权利要求4所述的方法,其特征在于,所述将所述源地址中的切片段清零,包括:基于预先配置的切片位长度信息,将所述源地址的切片段清零。
- 根据权利要求4或5所述的方法,其特征在于,在所述接收来自头节点的第一SRv6 OAM报文之前,所述方法还包括:接收所述头节点发送的路由通告报文,所述路由通告报包括所述头节点的回环地址,所述回环地址包括网络段、主机段和切片位为0的切片段,所述回环地址包括的主机段包括所述主节点的节点标识;根据所述回环地址生成转发表项。
- 一种报文处理装置,其特征在于,所述装置应用于SRv6网络内的头节点,所述装置包括:生成模块,用于生成第一SRv6 OAM报文,所述第一SRv6 OAM报文的源地址包括网络段、主机段和切片段,所述切片段包括切片标识;发送模块,用于向目的节点发送所述第一SRv6 OAM报文,以使得所述目的节点接收到所述第一SRv6 OAM报文后,若根据所述网络段和所述主机段确定所述第一SRv6 OAM报文中的源地址属于指定切片网段,则将所述源地址中的切片段清零,将切片段被清零的源地址作为第二SRv6 OAM报文的目的地址,并向所述头节点发送所述第二SRv6 OAM报文;接收模块,用于接收所述第二SRv6 OAM报文,所述第二SRv6 OAM报文包括目的地址;上送模块,用于若所述目的地址与所述头节点的主机地址相同,则向控制面上送所述第二SRv6 OAM报文。
- 根据权利要求7所述的装置,其特征在于,所述头节点的回环地址包 括网络段、主机段和切片位为0的切片段,所述回环地址包括的主机段包括所述主节点的节点标识;所述生成模块,具体用于:获取所述头节点与所述目的节点所属切片的切片标识,所述切片标识属于所述指定切片网段;在所述回环地址的切片段填充所述切片标识得到源地址,生成所述第一SRv6 OAM报文。
- 根据权利要求8所述的装置,其特征在于,所述生成模块,还用于生成路由通告报文,所述路由通告报文包括所述回环地址;所述发送模块,还用于向所述SRv6网络内除所述头节点之外的其他节点发送所述路由通告报文,以使得接收到所述路由通告报文的节点基于所述回环地址生成转发表项。
- 一种报文处理装置,其特征在于,所述装置应用于SRv6网络内的目的节点,所述装置包括:接收模块,用于接收来自头节点的第一SRv6 OAM报文,所述第一SRv6 OAM报文的源地址包括网络段、主机段和切片段,所述切片段包括切片标识;匹配模块,用于根据所述网络段和所述主机段将所述第一SRv6 OAM报文的源地址与指定切片网段进行匹配;封装模块,用于若根据所述网络段和所述主机段确定所述第一SRv6 OAM报文的源地址属于所述指定切片网段,则将所述源地址中的切片段清零,将切片段被清零后的所述源地址作为第二SRv6 OAM报文的目的地址;发送模块,用于向所述头节点发送所述第二SRv6 OAM报文。
- 根据权利要求10所述的装置,其特征在于,所述封装模块,具体用于基于预先配置的切片位长度信息,将所述源地址的切片段清零。
- 根据权利要求10或11所述的装置,其特征在于,所述装置还包括生成模块;所述接收模块,还用于接收所述头节点发送的路由通告报文,所述路由通告报包括所述头节点的回环地址,所述回环地址包括网络段、主机段和切 片位为0的切片段,所述回环地址包括的主机段包括所述主节点的节点标识;所述生成模块,用于根据所述回环地址生成转发表项。
- 一种网络设备,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;存储器,用于存放计算机程序;处理器,用于执行存储器上所存放的程序时,实现权利要求1-3或4-6任一所述的方法步骤。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-3或4-6任一所述的方法步骤。
Priority Applications (6)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023572012A JP7685076B2 (ja) | 2021-09-30 | 2021-09-30 | メッセージ処理方法、装置、ネットワークデバイス及び媒体 |
| US18/563,785 US20240283733A1 (en) | 2021-09-30 | 2021-09-30 | Packet processing method and apparatus, and network device and medium |
| CN202180002802.4A CN117280671A (zh) | 2021-09-30 | 2021-09-30 | 一种报文处理方法、装置、网络设备及介质 |
| EP21958885.2A EP4412181A4 (en) | 2021-09-30 | 2021-09-30 | MESSAGE PROCESSING METHOD AND APPARATUS, AND NETWORK DEVICE AND MEDIUM |
| KR1020237038000A KR102912343B1 (ko) | 2021-09-30 | 2021-09-30 | 메시지 처리 방법, 디바이스, 네트워크 기기 및 매체 |
| PCT/CN2021/122183 WO2023050313A1 (zh) | 2021-09-30 | 2021-09-30 | 一种报文处理方法、装置、网络设备及介质 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2021/122183 WO2023050313A1 (zh) | 2021-09-30 | 2021-09-30 | 一种报文处理方法、装置、网络设备及介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023050313A1 true WO2023050313A1 (zh) | 2023-04-06 |
Family
ID=85781142
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/122183 Ceased WO2023050313A1 (zh) | 2021-09-30 | 2021-09-30 | 一种报文处理方法、装置、网络设备及介质 |
Country Status (6)
| Country | Link |
|---|---|
| US (1) | US20240283733A1 (zh) |
| EP (1) | EP4412181A4 (zh) |
| JP (1) | JP7685076B2 (zh) |
| KR (1) | KR102912343B1 (zh) |
| CN (1) | CN117280671A (zh) |
| WO (1) | WO2023050313A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116633873A (zh) * | 2023-05-24 | 2023-08-22 | 阿里云计算有限公司 | 硬件卸载虚拟交换机装置和相关设备及报文转发方法 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117097633A (zh) * | 2022-05-12 | 2023-11-21 | 华为技术有限公司 | 报文传输方法、传输控制方法、装置及系统 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110266594A (zh) * | 2019-06-28 | 2019-09-20 | Ut斯达康通讯有限公司 | 跨网络切片的分段路由转发方法及装置 |
| WO2021008515A1 (zh) * | 2019-07-18 | 2021-01-21 | 华为技术有限公司 | 网络切片架构下的数据传输的方法和装置 |
| US20210075697A1 (en) * | 2018-05-28 | 2021-03-11 | Greenwave Systems Pte. Ltd. | Self-balancing network |
| CN112770196A (zh) * | 2019-10-21 | 2021-05-07 | 中兴通讯股份有限公司 | 一种虚拟化方法及装置 |
| CN112817688A (zh) * | 2019-11-15 | 2021-05-18 | 大唐移动通信设备有限公司 | 一种网络切片模板生成方法及装置 |
| CN112910773A (zh) * | 2019-11-19 | 2021-06-04 | 华为技术有限公司 | 下发oam配置信息的方法及控制节点 |
Family Cites Families (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101442442B (zh) * | 2008-12-17 | 2011-01-19 | 华为技术有限公司 | 管理装置、控制装置、管理控制装置及路由器系统 |
| CN107231384B (zh) * | 2017-08-10 | 2020-11-17 | 北京科技大学 | 一种面向5g网络切片的DDoS攻击检测防御方法及系统 |
| US10469367B2 (en) * | 2017-10-04 | 2019-11-05 | Cisco Technology, Inc. | Segment routing network processing of packets including operations signaling and processing of packets in manners providing processing and/or memory efficiencies |
| CN110535766B (zh) * | 2018-05-25 | 2021-10-22 | 华为技术有限公司 | 一种生成路由的方法和设备 |
| US10904152B2 (en) * | 2018-12-17 | 2021-01-26 | Cisco Technology, Inc. | Hardware-friendly mechanisms for in-band OAM processing |
| CN110324681B (zh) * | 2019-07-08 | 2021-05-25 | 广州酷狗计算机科技有限公司 | 多媒体数据的切片方法、装置、存储介质及传输系统 |
| CN113300949B (zh) * | 2020-02-24 | 2022-12-06 | 华为技术有限公司 | 转发报文的方法、发布路由信息的方法、装置及系统 |
| CN113315697B (zh) * | 2020-02-26 | 2022-11-11 | 华为技术有限公司 | 报文处理方法、装置、网络设备及存储介质 |
| CN116684920A (zh) | 2020-03-17 | 2023-09-01 | 华为技术有限公司 | 报文处理方法、装置、设备及存储介质 |
| CN111865785B (zh) * | 2020-06-28 | 2022-04-29 | 烽火通信科技股份有限公司 | Sr-tp隧道信号传递方法、装置、服务器及存储介质 |
-
2021
- 2021-09-30 JP JP2023572012A patent/JP7685076B2/ja active Active
- 2021-09-30 US US18/563,785 patent/US20240283733A1/en active Pending
- 2021-09-30 CN CN202180002802.4A patent/CN117280671A/zh active Pending
- 2021-09-30 EP EP21958885.2A patent/EP4412181A4/en active Pending
- 2021-09-30 WO PCT/CN2021/122183 patent/WO2023050313A1/zh not_active Ceased
- 2021-09-30 KR KR1020237038000A patent/KR102912343B1/ko active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20210075697A1 (en) * | 2018-05-28 | 2021-03-11 | Greenwave Systems Pte. Ltd. | Self-balancing network |
| CN110266594A (zh) * | 2019-06-28 | 2019-09-20 | Ut斯达康通讯有限公司 | 跨网络切片的分段路由转发方法及装置 |
| WO2021008515A1 (zh) * | 2019-07-18 | 2021-01-21 | 华为技术有限公司 | 网络切片架构下的数据传输的方法和装置 |
| CN112770196A (zh) * | 2019-10-21 | 2021-05-07 | 中兴通讯股份有限公司 | 一种虚拟化方法及装置 |
| CN112817688A (zh) * | 2019-11-15 | 2021-05-18 | 大唐移动通信设备有限公司 | 一种网络切片模板生成方法及装置 |
| CN112910773A (zh) * | 2019-11-19 | 2021-06-04 | 华为技术有限公司 | 下发oam配置信息的方法及控制节点 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4412181A4 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116633873A (zh) * | 2023-05-24 | 2023-08-22 | 阿里云计算有限公司 | 硬件卸载虚拟交换机装置和相关设备及报文转发方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP7685076B2 (ja) | 2025-05-28 |
| KR102912343B1 (ko) | 2026-01-14 |
| EP4412181A4 (en) | 2024-10-30 |
| US20240283733A1 (en) | 2024-08-22 |
| CN117280671A (zh) | 2023-12-22 |
| JP2024524833A (ja) | 2024-07-09 |
| KR20240022456A (ko) | 2024-02-20 |
| EP4412181A1 (en) | 2024-08-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102823205B (zh) | 聚合来自接入域的数据业务 | |
| CN108574639B (zh) | Evpn报文处理方法、设备及系统 | |
| CN108574630B (zh) | Evpn报文处理方法、设备及系统 | |
| US20210014158A1 (en) | Network Device Management Method and Apparatus, and System | |
| CN108964940B (zh) | 消息发送方法及装置、存储介质 | |
| US9641420B1 (en) | Methods and apparatus for assessing the quality of a data path including both layer-2 and layer-3 devices | |
| CN109218456B (zh) | Mac地址表的老化时间的处理方法及装置 | |
| CN111614505B (zh) | 报文处理的方法和网关设备 | |
| WO2023116457A1 (zh) | 报文处理方法及装置、通信系统 | |
| WO2022121638A1 (zh) | 一种报文处理方法及装置 | |
| CN108512755A (zh) | 一种路由信息的学习方法及装置 | |
| WO2023050313A1 (zh) | 一种报文处理方法、装置、网络设备及介质 | |
| US10531168B2 (en) | Low-latency data switching device and method | |
| CN109951371B (zh) | 数据转发方法及装置 | |
| CN115242699A (zh) | 报文传输方法、切片生成方法、装置及系统 | |
| CN111600798A (zh) | 一种发送和获取断言报文的方法和网络节点 | |
| JP2019117972A (ja) | ネットワーク管理装置、ネットワークシステム、方法、及びプログラム | |
| CN103873339A (zh) | 一种虚拟网关路由器的分配方法和装置 | |
| CN101102231B (zh) | 一种ppp链路路由设备的自动发现方法和装置 | |
| CN111404816B (zh) | 一种跨网络发送组播报文的方法、装置、系统及存储介质 | |
| WO2015024523A1 (zh) | 确定ip承载网故障的方法和系统 | |
| CN114765589A (zh) | 网络测试方法、装置及存储介质 | |
| US12526211B2 (en) | Message processing method for in-situ flow detection, and network device | |
| CN104660446B (zh) | N:1保护场景下dhcp中继实现系统及方法 | |
| CN102904776B (zh) | 一种虚拟局域网中的探测方法、装置和设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21958885 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2023572012 Country of ref document: JP Kind code of ref document: A |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202327079095 Country of ref document: IN |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 11202308851P Country of ref document: SG |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2021958885 Country of ref document: EP Effective date: 20240430 |