WO2023045394A1 - 一种组播报文的处理方法、相关装置及设备 - Google Patents

一种组播报文的处理方法、相关装置及设备 Download PDF

Info

Publication number
WO2023045394A1
WO2023045394A1 PCT/CN2022/096544 CN2022096544W WO2023045394A1 WO 2023045394 A1 WO2023045394 A1 WO 2023045394A1 CN 2022096544 W CN2022096544 W CN 2022096544W WO 2023045394 A1 WO2023045394 A1 WO 2023045394A1
Authority
WO
WIPO (PCT)
Prior art keywords
destination information
multicast
identifier
node
message
Prior art date
Application number
PCT/CN2022/096544
Other languages
English (en)
French (fr)
Inventor
耿雪松
李振斌
谢经荣
Original Assignee
华为技术有限公司
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
Priority claimed from CN202111223552.5A external-priority patent/CN115883445A/zh
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023045394A1 publication Critical patent/WO2023045394A1/zh

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/16Multipoint routing

Definitions

  • the embodiments of the present application relate to the communication field, and in particular to a method for processing multicast packets, related devices and equipment.
  • the multicast technology is a point-to-multipoint transmission technology, and the intermediate node will copy the message according to the destination node the message will reach.
  • Multicast technology solves the problem of low efficiency of unicast and broadcast methods, and has been widely used in the communication field.
  • the replication and forwarding relationship between parent and child nodes is defined in the message header.
  • the parent node can determine the number of child nodes and the number of child nodes by reading the information in the message header. The location of the message, that is, to determine the number of messages to be copied and the next hop node of each message after copying, so as to realize the transmission of multicast messages.
  • each upper-hop node will randomly select a link to transmit messages to the next-hop node.
  • the link for transmitting multicast messages is randomly determined. of.
  • the embodiment of the present application provides a multicast message processing method, device and equipment. Through the destination information of the multicast message, it not only indicates the forwarding and copying operation of the first multicast message, but also indicates the destination information of the multicast message after copying. The link of each multicast packet.
  • the first aspect of the embodiment of the present application provides a method for processing a multicast packet, the method is applied to a first node, and the method includes:
  • the first node is a communication node in the multicast system, and may be a network device, such as a router, a host, and other devices capable of processing multicast packets.
  • the first node processes the first multicast packet according to the destination information of the first multicast packet.
  • the destination information of the first multicast packet includes a first identifier, a second identifier, and a third identifier, wherein the first identifier is used to indicate link information, and the second identifier is used to indicate copy and forward operations, that is, to indicate The type of the message is a multicast message, and the third identifier is used to index the destination information corresponding to the second node.
  • the first node can obtain the second multicast message, and the destination information of the second multicast message is the destination information corresponding to the second node. Then, based on the link indicated by the first identifier, the second multicast packet is sent to the second node.
  • the first node can obtain the third multicast message, and the destination information of the third multicast message is the destination information corresponding to the third node.
  • the destination information of the third node is determined according to the destination information index corresponding to the copied multicast message.
  • the copied message refers to the message obtained by copying the first multicast message according to the second identifier. Then, based on the destination information of the multicast message copied from the first multicast message, the third multicast message is sent to the third node.
  • the destination information of the first multicast packet specifies the way to process the first multicast packet, that is to say, it not only indicates the forwarding and copying operation of the first multicast packet, but also indicates the Link for multicast packets.
  • the destination information of the first multicast packet further includes a fourth identifier, and the fourth identifier is used to indicate the number of times of duplication, or to indicate the number of times obtained after duplication.
  • the number of multicast packets Exemplarily, in the case where the fourth identifier indicates the number of times of replication, if the value of the fourth identifier is 2, then the first node will perform 2 replication operations on the first multicast message to obtain 2 replicated Multicast packets, that is, the total number of packets obtained after copying is 3.
  • the second identifier in addition to being used to indicate the copy and forward operation, may also be used to indicate the number of times of copying. Specifically, it is determined whether the first multicast packet needs to be copied according to different values of the second identifier.
  • the second identifier has multiple meanings, and can be applied to different messages, which improves the usability of the technical solution.
  • the destination information can be stored in the destination information table , the third identifier is the serial number of the destination information corresponding to the second node, based on the serial number, the destination information corresponding to the second node can be indexed in the destination information table.
  • the first node acquires the The process specifically includes: searching in the destination information table according to the third identifier, and obtaining the destination information corresponding to the second node from the destination information table, and the destination information corresponding to the second node is the destination information corresponding to the third identifier. destination information. Then replace the destination information of the first multicast packet with the corresponding destination information of the second node to obtain the second multicast packet.
  • the destination information corresponding to the second node can at least process the second multicast packet by the second node, including copying and/or forwarding the second multicast packet, and transmitting the processed multicast packet links etc.
  • the third identification reflects the relationship between the destination information corresponding to different nodes, and the destination information table can be searched through the third identification to determine the destination information corresponding to the next node, which is simple and fast, and saves computing resources.
  • the first node acquires the The process specifically includes: the first node copies the first multicast message according to the second identifier, and obtains the copied multicast message.
  • the destination information table the destination information included in the next entry of the entry matching the destination information of the first multicast message is the destination information corresponding to the copied multicast message. That is to say, in the destination information table, the destination information of the first multicast message and the corresponding destination information of the multicast message copied from the first multicast message are arranged together.
  • the destination information table is indexed to obtain the destination information corresponding to the third node.
  • the destination information corresponding to the multicast message copied from the first multicast message is replaced with the destination information corresponding to the third node to obtain the third multicast message.
  • the destination information corresponding to the first multicast message and the destination information obtained after copying the first multicast message are arranged together, so that the first node processes the group In the process of broadcasting the message, the corresponding destination information can be located according to the third identifier, which is more friendly to the forwarding plane and improves the processing efficiency.
  • the first node may be the head of the multicast system Nodes, the first node may receive a fourth multicast message from a multicast source, where the fourth multicast message includes a payload that needs to be transmitted in the multicast system. Based on the destination information and the fourth multicast packet, the destination information corresponding to the first node is acquired, and the destination information corresponding to the first node includes the destination information included in the first entry in the destination information table. Then, the destination information of the fourth multicast message is determined as the destination information corresponding to the first node to obtain the first multicast message.
  • the first node can process the fourth multicast message from the multicast source to obtain the first multicast message that needs to be processed in the multicast system, and pass the destination corresponding to the first node Information processing of the first multicast message ensures the smooth progress of the multicast service.
  • the first multicast message may also include a plurality of sequentially arranged destinations included in the destination information table. local information. That is to say, in the case that the first node is the head node, the first node may also encapsulate multiple pieces of sequentially arranged destination information into the fourth multicast packet to obtain the first multicast node.
  • the destination information table includes multiple sequentially arranged destinations
  • the information may also be stored locally on the first node.
  • the destination information table includes multiple pieces of sequentially arranged destination information, which can be stored in different locations. If stored in the first multicast message, it will make the transmission of the multicast message easier; if stored Locally on the node, the overhead of the packet header in the multicast packet can be reduced, and the data volume transmitted by the multicast packet can be increased.
  • the destination information table is the segment identifier included in the first multicast message List (segment identifier list, SID list), or the SID list configured by the first node, or the destination information table is a correspondence table configured by the first node, which reflects the relationship between the various identifiers included in the destination information corresponding relationship.
  • the first multicast message is the first For version 6 segment routing (segment routing for IPv6, SRv6) packets
  • the first identifier is included in the locator field of the SRv6 packet
  • the second identifier is included in the function field of the SRv6 packet
  • the third identifier Included in the argument (argument) field of the SRv6 packet.
  • the first multicast message is the sixth version of the Internet Protocol For a segment routing (segment routing for IPv6, SRv6) packet, the first identifier is included in the locator field of the SRv6 packet, the second identifier is included in the function field of the SRv6 packet, and the third and fourth identifiers are included in the SRv6 The variable argument field of the packet.
  • segment routing for IPv6, SRv6
  • the first identifier is included in the locator field of the SRv6 packet
  • the second identifier is included in the function field of the SRv6 packet
  • the third and fourth identifiers are included in the SRv6 The variable argument field of the packet.
  • the fields contained in each identifier corresponding to the multicast message have various situations, which can be selected according to the needs of practical applications, further improving the flexibility of the technical solution .
  • the second aspect of the embodiment of the present application provides a method for processing multicast packets, the method is applied to a management node, and the method includes:
  • the destination information table includes destination information corresponding to the first multicast packet, and the destination information of the first multicast packet includes a first identifier for indicating link information and a second identifier for indicating copy and forward operations and the third identifier used to index the destination information corresponding to the second node.
  • the destination information included in the first multicast message specifies the way to process the first multicast message, that is to say, it not only indicates the forwarding and copying operation of the first multicast message, It also indicates the communication link of each multicast message after copying.
  • the management node may send the destination information table to the head node in the multicast system after determining the destination information table.
  • a node in the multicast system refers to a node that can copy and forward multicast packets and is on a multicast tree.
  • the transmission requirements of the multicast message include the transmission delay requirement of the multicast message, the transmission bandwidth requirement, and the requirements set from the multicast source (such as passing through a certain node/link, Exclude at least one item of a certain node/link, etc.).
  • the attribute information of each link includes information reflecting network performance indicators such as delay and bandwidth of each link, which is not specifically limited here.
  • the management node may also execute the method in the first aspect above, which will not be repeated here.
  • a third aspect of the embodiments of the present application provides a device for processing multicast packets, including an acquiring unit and a sending unit.
  • the destination information of the first multicast packet includes a first identifier, a second identifier and a third identifier, the first identifier is used to indicate the link information, and the second identifier is used to indicate the copy and forward operation , the third identifier is used to index the destination information corresponding to the second node.
  • the second multicast message is acquired, and the destination information of the second multicast message is the destination information corresponding to the second node.
  • the destination information of the third multicast message is the destination information index corresponding to the multicast message copied from the first multicast message Destination information corresponding to the determined third node.
  • the sending unit is configured to send the second multicast message to the second node based on the link indicated by the first identifier; based on the link indicated by the destination information of the multicast message obtained after the first multicast message is copied, Send the third multicast packet to the third node.
  • the device for processing multicast packets is configured to execute the method in the first aspect above, which will not be repeated here.
  • the fourth aspect of the embodiment of the present application provides a device for processing multicast packets, including:
  • the acquiring unit is configured to acquire the transmission requirement of the first multicast message and attribute information of each communication link in the multicast system.
  • processing unit for:
  • the transmission link information of the first multicast message is determined, and the transmission link information indicates the set of links used when the first multicast message is transmitted in the multicast system.
  • the destination information table includes destination information corresponding to the first multicast packet, and the destination information of the first multicast packet includes a first identifier for indicating link information and a second identifier for indicating copy and forward operations and the third identifier used to index the destination information corresponding to the second node.
  • the device for processing multicast packets is configured to execute the method in the second aspect above, which will not be repeated here.
  • a fifth aspect of the embodiment of the present application provides a network device, including a processor, a memory, and a communication interface, the processor, the memory, and the communication interface are connected, and the processor is configured to execute the method of the foregoing first aspect or the second aspect.
  • the sixth aspect of the embodiment of the present application provides a computer-readable storage medium, in which a program is stored, and when the computer executes the program, the method of the first aspect or the second aspect is executed.
  • a seventh aspect of the embodiments of the present application provides a computer program product, which is characterized in that, when the computer program product is executed on a computer, the computer executes the method of the first aspect or the second aspect.
  • Fig. 1 is a schematic diagram of an application architecture of a method for transmitting a multicast message provided by an embodiment of the present application
  • FIG. 2 is a schematic flow diagram of a method for transmitting a multicast message provided in an embodiment of the present application
  • FIG. 3A is a schematic diagram of a format of an SRv6 message provided by an embodiment of the present application.
  • FIG. 3B is a schematic diagram of a format of a multicast message provided by the embodiment of the present application.
  • Fig. 4 is a schematic diagram of the multicast tree provided by the embodiment of the present application.
  • FIG. 5 is a schematic diagram of a destination information table provided by an embodiment of the present application.
  • FIG. 6 is another schematic diagram of the destination information table provided by the embodiment of the present application.
  • FIG. 7 is a schematic diagram of the mapping relationship between destination information and leaf node addresses provided by the embodiment of the present application.
  • FIG. 8 is another schematic diagram of the multicast tree provided by the embodiment of the present application.
  • FIG. 9 is another schematic diagram of the destination information table provided by the embodiment of the present application.
  • FIG. 10 is another schematic diagram of the destination information table provided by the embodiment of the present application.
  • FIG. 11 is another schematic diagram of the mapping relationship between destination information and leaf node addresses provided by the embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a device for processing multicast packets provided by an embodiment of the present application.
  • FIG. 13 is another schematic structural diagram of a device for processing multicast packets provided by an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a network device provided by an embodiment of the present application.
  • the embodiment of the present application provides a multicast message processing method, related devices and equipment. Through the destination information of the multicast message, it not only indicates the forwarding and copying operation of the first multicast message, but also indicates the copying operation. The link of each subsequent multicast packet.
  • Fig. 1 is a schematic diagram of an application architecture of the transmission method of the multicast message provided by the embodiment of the present application.
  • the multicast system includes nodes 1 to 8, and the structure formed by the connection of nodes 1 to 8 shown in Figure 1 can be regarded as a multicast tree, which reflects the multicast message Nodes and links passed through in the multicast system.
  • the head node in the multicast tree may also be called an entry node or a source node, such as node 1 in FIG. 1 .
  • the egress nodes in the multicast tree may also be called leaf nodes, such as nodes 4 to 8 .
  • the intermediate nodes in the multicast tree copy and forward the multicast packets, and transmit the multicast packets from the ingress nodes to the leaf nodes.
  • nodes 2 and 3 in FIG. 1 are intermediate nodes.
  • node 2 is taken as an example to illustrate the process of copying and forwarding multicast packets.
  • node 2 receives the multicast message from node 1, after querying the destination information of the multicast message, it will copy the multicast message into three copies, and send the multicast message to nodes 4 to Node 6 respectively sends a multicast message.
  • nodes 1 to 8 can be network devices, and there are many types of network devices, which can be hosts, routers, or other devices capable of processing multicast packets , not limited here.
  • the head node and the leaf node may also be network edge nodes.
  • node 1 as the source node in the multicast system undertakes the path calculation function, then node 1 can obtain the transmission requirements of multicast packets and the attribute information of each link in the multicast system, and then according to the multicast Requirements and attribute information to determine the multicast tree that meets the multicast requirements.
  • the application architecture can also include a management node, and the management node can obtain multicast requirements, that is, the transmission requirements of multicast packets, and the attribute information of each link in the multicast system, and then According to the multicast requirement and attribute information, a multicast tree meeting the multicast requirement is determined. Then encode the multicast tree according to the encoding method defined by the multicast message, and insert the encoding result into the message header of the multicast message, so that the network nodes forward the multicast message according to the determined multicast tree , to achieve the purpose of explicitly specifying the multicast packet link.
  • multicast requirements that is, the transmission requirements of multicast packets, and the attribute information of each link in the multicast system
  • Fig. 2 is a schematic flow chart of the transmission method of the multicast message provided by the embodiment of the present application, the method is applied to the first node, and the method includes:
  • the destination information of the first multicast message includes a first identifier, a second identifier and a third identifier, the first identifier is used to indicate link information, and the second identifier is used to indicate copy
  • the third identifier is used to index destination information corresponding to the second node.
  • the first node when the first node is a head node in the multicast tree, the first node may receive the first multicast packet sent from other nodes outside the multicast tree. Alternatively, the first node may obtain the first multicast message according to the destination information table and the fourth multicast message from the multicast source. Specifically, the first node may obtain the destination information corresponding to the first node from the destination information table, where the destination information corresponding to the first node includes the destination information included in the first entry in the destination information table . Then insert the destination information corresponding to the first node into the fourth message to obtain the first multicast message.
  • the first node can process the fourth multicast message from the multicast source to obtain the first multicast message that needs to be processed in the multicast system, and pass the destination corresponding to the first node Information processing of the first multicast message ensures the smooth progress of the multicast service.
  • the first node may receive the first multicast message from the parent node of the intermediate node in the multicast tree.
  • the first multicast message further includes multiple pieces of sequentially arranged destination information included in the destination information table. Storing multiple pieces of sequentially arranged destination information in the destination information table in the first multicast message will make the transmission of the multicast message easier.
  • the destination information table may also be stored locally on the first node, so as to reduce the packet header overhead of the multicast packet. The storage method of the destination information table is determined according to the needs of practical applications, and is not specifically limited here.
  • the first node can obtain the second multicast packet.
  • the third identifier may be a serial number of the destination information corresponding to the second node, and the serial number is used for indexing in the destination information table.
  • the first node searches the destination information table according to the third identifier, and obtains the destination information corresponding to the second node.
  • the destination information table includes a plurality of destination information arranged in sequence, and in the destination information table, the destination information corresponding to the third identifier is the destination information corresponding to the second node.
  • the first node After obtaining the destination information of the second node, the first node replaces the destination information corresponding to the second node with the destination information of the first multicast packet, and obtains the second multicast packet. That is to say, the payload (payload) of the first multicast packet is the same as the payload of the second multicast packet, but the destination information is different. It can be understood that, similar to the destination information of the first multicast packet, the destination information corresponding to the second node may also include three identifiers, which are respectively used to indicate link information, used to indicate copy and forward operations, and used to indicate The destination information corresponding to the next hop node of the second node is indexed, which will not be repeated here.
  • the third identification reflects the relationship between the destination information corresponding to different nodes, and the destination information table can be searched through the third identification to determine the destination information corresponding to the next node, which is simple and fast, and saves computing resources.
  • the second identifier may also indicate the number of times the multicast packet is copied.
  • the first node performs copy processing on the first multicast message according to the second identifier to obtain the copied multicast message.
  • the destination information of the first multicast message also includes a fourth identifier, and the fourth identifier is used to indicate the number of times the multicast message is copied, or the number of copies of the multicast message after copying .
  • the first node will copy the first multicast packet according to the second identifier and the fourth identifier, and obtain the copied multicast packet.
  • the fourth multicast identifier indicates the number of copies of the multicast message
  • the value of the fourth identifier is 3, it means that the first multicast message will be copied 3 times to obtain 3 copies After multicast packets, that is, the total number of packets obtained after copying is 4.
  • the fourth multicast identifier indicates the number of copies of the multicast message
  • the first node may also process the copied multicast message according to the destination information table to obtain a third multicast message. If the number of copied multicast packets is one, then the first node will obtain the destination included in the next entry of the entry matching the destination information of the first multicast packet from the destination information table information.
  • the destination information corresponding to the copied multicast message is the destination information included in the next entry.
  • the destination information included in the next entry is similar to the first multicast destination information, and also includes an identifier for indicating link information, an identifier for indicating copy and forward operations, and an identifier for indexing The identifier of the destination information corresponding to the second node.
  • the destination information included in the next entry may also include an identifier for indicating the number of times of replication or the number of multicast packets obtained after replication, I won't repeat them here. Therefore, the first node can index to the destination information corresponding to the third node according to the destination information included in the next entry. The destination information of the copied multicast message is replaced with the destination information corresponding to the third node, so as to obtain the third multicast message.
  • the first node will obtain a table matching the destination information of the first multicast packet from the destination information table Destination information included in the next N entries of the item.
  • the destination information corresponding to multiple nodes is indexed according to the destination information included in the next N entries respectively.
  • the destination information of each copied multicast message is replaced with the destination information corresponding to one of the multiple nodes to obtain N multicast messages with different destination information.
  • the destination information is a multicast packet of destination information corresponding to the third node, that is, the third multicast packet.
  • the destination information table includes multiple pieces of destination information arranged in sequence, similar to the destination information of the first multicast message, and each piece of destination information in the destination information table can include An identifier of the link information, an identifier used to indicate the copy and forward operation, and an identifier used to index the destination information corresponding to the next-hop node.
  • each piece of destination information in the destination information table may further include an identifier for indicating the number of times of duplication or the number of multicast packets obtained after duplication. I won't repeat them here.
  • a plurality of destination information corresponding to the same node are arranged together.
  • the first node After acquiring the second multicast message, the first node sends the second multicast message to the second node based on the link indicated by the first identifier.
  • the link indicated by the first identifier is a link connecting the first node and the second node.
  • the first node After obtaining the third multicast message, the first node sends the third multicast message to the third node based on the link indicated by the destination information of the multicast message obtained after copying the first multicast message.
  • the destination information table is the SID list included in the first multicast message, or the SID list configured by the first node, or the corresponding relationship table configured for the first node.
  • the first multicast packet is an SRv6 packet
  • the first identifier is included in the locator field of the SRv6 packet
  • the second identifier is included in the function field of the SRv6 packet
  • the third identifier includes In the argument field of SRv6 packets.
  • the first multicast packet is an SRv6 packet
  • the first identifier is included in the locator field of the SRv6 packet
  • the second identifier is included in the function field of the SRv6 packet
  • the third identifier and The fourth identifier is included in the argument field of the SRv6 packet.
  • the transmission method of the multicast message provided by the embodiment of the present application is not limited to be applied in the sixth version of the Internet protocol (internet protocol version 6, IPv6) network, and can also be applied to other methods such as IP layer, application layer, or transport layer. in the network.
  • IPv6 Internet protocol version 6
  • the format of the multicast message is not limited to the SRv6 message, and may be a message of other formats in other networks, which is not specifically limited here.
  • the embodiment of the present application also provides a method for processing a multicast message applied to a management node, the method comprising:
  • the destination information table includes destination information corresponding to the first multicast packet, and the destination information of the first multicast packet includes a first identifier for indicating link information and a second identifier for indicating copy and forward operations and the third identifier used to index the destination information corresponding to the second node.
  • the management node may send the destination information table to the head node in the multicast system after determining the destination information table.
  • a node in the multicast system refers to a node that can copy and forward multicast packets and is on a multicast tree.
  • the transmission requirements of the multicast message include the transmission delay requirement of the multicast message, the transmission bandwidth requirement, and the requirements set from the multicast source (such as passing through a certain node/link, Exclude at least one item of a certain node/link, etc.).
  • the attribute information of each link includes information reflecting network performance indicators such as delay and bandwidth of each link, which is not specifically limited here.
  • the management node may also execute the method in the first aspect above, which will not be repeated here.
  • FIG. 3A is a schematic diagram of a format of an SRv6 packet provided by an embodiment of the present application
  • FIG. 3B is a schematic diagram of a format of a multicast packet provided by an embodiment of this application.
  • the method for processing the multicast message provided by the embodiment of the present application retains the basic format of the SRv6 message, that is, the multicast message still includes an IPv6 message header, an extension header and a payload (payload).
  • the SRv6 multicast message provided by the embodiment of the present application has a new definition of the extended header (segment routing header, SRH) of the SRv6 message, which is called the multicast routing extended header (multicast routing header, MRH). That is to say, in the embodiment of the present application, the packet header of the multicast packet includes the IPv6 packet header and the MRH.
  • MRH is similar to SRH, and MRH can also hit the segment identifier (segment identifier, SID) corresponding to a segment in the segment list through the value of SL (segment left).
  • SID segment identifier
  • a segment list is placed in the "Type-specific Data" shown in Figure 3B, and each segment is used to represent a communication link (adjacency) or a node (node) on the explicit path.
  • segment list can be called a SID list
  • each SID in the SID list represents a 128bits IPv6 address
  • the SID list represents a set of ordered IPv6 address lists inserted in the MRH. That is, the destination information table provided in the embodiment of this application.
  • the destination information in the IPv6 packet header is stored in the Destination Address field, which corresponds to an item in the destination information table.
  • SID flooding will be performed on the control plane, and the network nodes in the IPv6-based multicast source routing (multicast source routing over IPv6, MSR) link, through the interior gateway protocol (interior gateway protocol, IGP) protocol or other
  • IGP interior gateway protocol
  • the SID corresponding to the protocol flooding multicast message, the SID includes the locator field, function field and argument field, by defining each field to realize the replication and forwarding of the multicast message.
  • the management node or the head node responsible for the path calculation function can obtain the transmission requirements of multicast packets and the attribute information of each communication link in the multicast system, and determine the transmission requirements that meet the transmission requirements and attribute information according to the transmission requirements and attribute information.
  • Required transmission link information that is, a multicast tree
  • the transmission link information includes a set of links used when the first multicast message is transmitted in the multicast system.
  • the transmission link information is encoded into the SID list of the message header to obtain the MRH, so that each link indicated in the multicast explicit path uses the corresponding segment, and is copied by the segment
  • the value of the argument corresponding to the segment is determined by the number of packets and the position of the associated sub-segment.
  • the head of the management node and the head node can also perform the above process in a divided manner.
  • the management node determines the multicast tree and sends the multicast tree to the head node, and the head node encodes the multicast tree into the packet header In the SID list, they jointly complete the mapping from the multicast tree to the SID list.
  • the management node can also realize the whole encoding process, and then send the encoded MRH to the head node, and the head node does not need to calculate the multicast tree, so as to save the computing resources of the head node. Specifically, it may be determined according to actual application requirements, and is not limited here.
  • the head node On the data plane, after the head node obtains the MRH, it will encapsulate the MRH into the packet header.
  • the head node and the intermediate node process the multicast message according to the destination information indicated by the MRH. After the leaf node obtains the multicast packet, it decapsulates or sends the multicast packet for processing.
  • FIG. 4 is a schematic diagram of a multicast tree provided by an embodiment of the present application.
  • the transmission path of the multicast message is determined according to the transmission requirements of the multicast message and the attribute information of each link in the multicast system, as shown in FIG. 4 .
  • the head node A receives the first multicast message, and based on the destination information of the first multicast message, processes the first multicast message to obtain the second multicast message and The third multicast message.
  • the second multicast packet is sent to the node B based on the link A1
  • the third multicast packet is sent to the node C based on the link A2.
  • the destination information includes a first identifier, a second identifier, a third identifier and a fourth identifier.
  • the first identifier is included in the locator field of the SRv6 message, which is used to indicate link information; the second identifier is included in the function field of the SRv6 message, and is used to indicate the copy and forward operation; the third identifier and the fourth The identifiers are all contained in the argument field of SRv6.
  • the third identifier is used to index the destination information corresponding to the next-hop node; the fourth identifier is used to indicate the number of times of replication or the number of copies of the copied message.
  • FIG. 5 a schematic diagram of the destination information table can be shown in FIG. 5 .
  • the first mark shows as the value of Locator field, is IPv6 address;
  • the second mark shows as Function field, and the type of End.RL.X indication message is a multicast message;
  • the identifier represents the value of Pointer in the Argument field;
  • the fourth identifier represents the value of Number in the Argument field, and the fourth identifier is used to indicate the number of replications of the multicast packet.
  • “Number" can also be written as "Replication Number”.
  • node A receives the first multicast message
  • the second multicast packet is sent to the node B.
  • the third multicast message is sent to node C according to the destination information of the copied multicast message, that is, the link A2 indicated by the first identifier Locator included in the destination information corresponding to entry 2. That is to say, the link of the third multicast message is determined according to the destination information corresponding to the copied message.
  • Locator ie, the locator in item 3
  • the destination information of the first copied message is the destination information included in the next entry of the table entry matching the destination information of the second multicast message in the destination information table, that is, in the embodiment shown in FIG. 5
  • SL is also set to the value 9 of Pointer.
  • the destination information of the second copy message is the destination information included in the second entry below the entry matching the destination information of the second multicast message in the destination information table, that is, as shown in Figure 5
  • SL is also set to the value 10 of Pointer.
  • the process of node C processing the third multicast packet is similar to the process of node B processing the second multicast packet, and will not be repeated here.
  • the fourth identifier may indicate the number of multicast packets obtained after duplication.
  • the destination information table may also be shown in FIG. 6 .
  • the value and definition of the fourth identifier are determined according to actual application requirements, and are not specifically limited here.
  • the segment of the last hop may be specified, or the segment of the last hop may not be specified, which is determined according to the needs of actual applications, specifically not here Do limited.
  • the leaf node is specified in the packet header of the multicast packet, that is, the last hop is specified.
  • the node If based on the multicast tree shown in Figure 4, the last hop is not specified in the header of the multicast message, that is, the relevant information of the last hop is not encoded in the MRH when encoding the SID list, then the node The mapping relationship between the destination information and the leaf node address as shown in FIG. 7 is maintained locally. This method not only saves the overhead of the packet header, but also ensures the smooth transmission of multicast packets.
  • the head node may copy more than two multicast messages, and this situation will be described below. Exemplarily, this situation is described by taking the multicast tree shown in FIG. 8 as an example.
  • FIG. 9 a schematic diagram of the destination information table may be shown in FIG. 9 .
  • the first mark is shown as the value of the Locator field, which is an IPv6 address; the second mark is shown as a Function field, and the type of End.RL.X indication message is a multicast message; the third The identifier represents the value of Pointer in the Argument field; the fourth identifier represents the value of Number in the Argument field, and the fourth identifier is used to indicate the number of replications of the multicast packet.
  • “Number" can also be written as "Replication Number”.
  • the second multicast packet is sent to the node B.
  • SL is also set to the value 7 of Pointer.
  • the destination information of the fourth copied message is the destination information included in the second entry below the entry matching the destination information of the second multicast message in the destination information table, that is, as shown in FIG. 8
  • SL is also set as the value 9 of Pointer, and according to the link A3 indicated by the Locator (that is, the locator in entry 3) included in the destination information corresponding to the third copy message, the ninth multicast message sent to node J.
  • the destination information includes a first identifier, a second identifier and a fourth identifier.
  • the first identifier is included in the locator field of the SRv6 message, which is used to indicate the link information; the second identifier is included in the function field of the SRv6 message, and is used to indicate the copy forwarding operation and the number of times of copying; the third Identifies the argument field included in SRv6, and is used to index the destination information corresponding to the next-hop node.
  • FIG. 10 a schematic diagram of the destination information table can be shown in FIG. 10 .
  • the first identifier is represented as the value of the Locator field, which is an IPv6 address;
  • the second identifier is represented as a Function field, and End.RL.X1 indicates that the multicast message is copied once, and End.RL. X2 indicates that the multicast message is copied 0 times, that is, the multicast message is not copied.
  • Node A replicates the first multicast once according to the instruction of the second identifier End.RL.X1, and obtains the fifth replicated message. Then the first multicast message and the fifth copy message are processed as follows:
  • Locator ie, the locator in item 1
  • the fifth duplicate message is processed.
  • the third multicast message is sent to node C according to the link A2 indicated by the first identifier Locator (that is, the locator in item 2) included in the destination information corresponding to the fifth duplicate message.
  • the second multicast is replicated once to obtain the sixth replicated message. Then the second multicast message and the sixth copy message are processed as follows:
  • the tenth multicast message is sent to node D.
  • process the sixth copied packet Specifically, the second identifier corresponding to entry 4 is End.RL.X1, and the node B performs one replication process on the sixth replicated message to obtain the seventh replicated message.
  • the eleventh multicast message is sent to node E according to the link B2 indicated by the first identifier Locator (ie, the locator in item 4) included in the destination information corresponding to the sixth copy message.
  • the destination information of the seventh copy message is the destination information included in the second entry of the table entry matching the destination information of the second multicast message in the destination information table, that is, the implementation shown in Figure 10
  • the twelfth multicast message is sent to node F according to the link B3 indicated by the first identifier Locator (that is, the locator in item 5) included in the destination information corresponding to the seventh copy message.
  • the process of node C processing the third multicast packet is similar to the process of node B processing the second multicast packet, and will not be repeated here.
  • the segment of the last hop may be specified, or The segment of the last hop may not be specified, it is determined according to the needs of the actual application, and there is no limitation here.
  • the leaf node is specified in the packet header of the multicast packet, that is, the last hop is specified.
  • the node needs to be in Locally maintain the address mapping relationship between destination information and leaf nodes as shown in FIG. 11 .
  • This method not only saves the overhead of the packet header, but also ensures the smooth transmission of multicast packets.
  • FIG. 12 is a schematic structural diagram of a multicast message processing device provided in the embodiment of the present application.
  • the multicast message processing device 1200 includes:
  • the destination information of the first multicast packet includes a first identifier, a second identifier and a third identifier, the first identifier is used to indicate the link information, and the second identifier is used to indicate the copy and forward operation , the third identifier is used to index the destination information corresponding to the second node;
  • the destination information of the third multicast message is the destination information index corresponding to the multicast message copied from the first multicast message destination information corresponding to the determined third node;
  • a sending unit 1202 configured to:
  • the destination information of the first multicast packet further includes a fourth identifier, the fourth identifier is used to indicate the number of times of duplication, or the fourth identifier is used to indicate the multicast packet obtained after duplication quantity.
  • the second identifier is also used to indicate the number of times of duplication.
  • the third identifier is a sequence number where the destination information corresponding to the second node is located.
  • the acquiring unit 1201 is specifically configured to:
  • the destination information corresponding to the second node is used to replace the destination information of the first multicast packet to obtain the second multicast packet.
  • the acquiring unit 1201 is specifically configured to:
  • the destination information of the copied first multicast message is replaced with the destination information corresponding to the third node to obtain the third multicast message.
  • the acquiring unit 1201 is specifically configured to:
  • the first multicast message further includes multiple pieces of sequentially arranged destination information included in the destination information table.
  • the destination information table is the SID list included in the first multicast message, or the destination information table is the SID list configured by the first node, or the destination information table is the SID list configured by the first node. Correspondence table.
  • the first multicast packet is an SRv6 packet
  • the first identifier is included in the locator field of the SRv6 packet
  • the second identifier is included in the function field of the SRv6 packet
  • the third identifier includes In the argument field of SRv6 packets.
  • the first multicast packet is an SRv6 packet
  • the first identifier is included in the locator field of the SRv6 packet
  • the second identifier is included in the function field of the SRv6 packet
  • the third identifier and The fourth identifier is included in the argument field of the SRv6 message.
  • the apparatus 1200 for processing multicast packets may perform the operations performed by the first node in the foregoing embodiments shown in FIGS. 1 to 11 , and details are not repeated here.
  • FIG. 13 is a schematic structural diagram of a multicast message processing device provided in the embodiment of the present application.
  • the multicast message processing device 1300 includes:
  • the obtaining unit 1301 is configured to obtain the transmission requirement of the first multicast message and attribute information of each communication link in the multicast system.
  • the transmission requirements and attribute information determine the transmission link information of the first multicast message, and the transmission link information indicates the set of links used when the first multicast message is transmitted in the multicast system.
  • the destination information table includes destination information corresponding to the first multicast packet, and the destination information of the first multicast packet includes a first identifier for indicating link information and a second identifier for indicating copy and forward operations and the third identifier used to index the destination information corresponding to the second node.
  • the apparatus 1300 for processing multicast packets further includes a sending unit 1303 .
  • the sending unit 1303 is configured to send the destination information list to the head node in the multicast system.
  • the device 1300 for processing multicast packets may also perform the operations performed by the management node in the foregoing embodiments shown in FIGS. 1 to 11 , which will not be repeated here.
  • the device 1300 for processing multicast packets may also perform the operations performed by the first node in the foregoing embodiments shown in FIG. 1 to FIG. 11 , which will not be repeated here.
  • the network device 1400 includes: a processor 1401 and a memory 1402, and the memory 1402 stores one or more application programs or data.
  • the storage 1402 may be a volatile storage or a persistent storage.
  • the program stored in the memory 1402 may include one or more modules, and each module may be used to perform a series of operations performed by the network device 1400 .
  • the processor 1401 may communicate with the memory 1402 , and execute a series of instruction operations in the memory 1402 on the network device 1400 .
  • the processor 1401 may be a central processing unit (central processing units, CPU), or a single-core processor, or other types of processors, such as a dual-core processor, which are not specifically limited here.
  • the network device 1400 may also include one or more communication interfaces 1403, and one or more operating systems, such as Windows Server TM , Mac OS X TM , Unix TM , Linux TM , FreeBSD TM and so on.
  • operating systems such as Windows Server TM , Mac OS X TM , Unix TM , Linux TM , FreeBSD TM and so on.
  • the network device 1400 may perform the operations performed by the first node or the management node in the foregoing embodiments shown in FIGS. 1 to 11 , which will not be repeated here.
  • the disclosed system, device and method can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请实施例公开了一种组播报文的处理方法、相关装置及设备,用于显式指定组播报文的通信链路。本申请实施例方法包括:获取第一组播报文,第一组播报文的目的地信息包括指示链路信息的第一标识、指示复制转发的操作的第二标识和用于索引第二节点对应的目的地信息的第三标识。基于第一组播报文和第三标识,获取第二组播报文;基于第一组播报文和第二标识,获取第三组播报文,第三组播报文的目的地信息为第一组播报文复制后的组播报文对应的目的地信息索引确定的第三节点对应的目的地信息。基于第一标识指示的链路向第二节点发送第二组播报文,基于第一组播报文复制后获得的组播报文的目的地信息指示的链路,向第三节点发送第三组播报文。

Description

一种组播报文的处理方法、相关装置及设备
本申请要求于2021年09月27日提交中国国家知识产权局、申请号为CN202111134664.3、发明名称为“一种确定组播路径的方法和装置”的中国专利申请的优先权,以及2021年10月20日提交中国国家知识产权局、申请号为CN202111223552.5、发明名称为“一种组播报文的处理方法,相关装置及设备”的中国专利申请的优先权。上述专利申请的全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及通信领域,尤其涉及一种组播报文的处理方法、相关装置及设备。
背景技术
组播技术是一种点到多点的传输技术,中间节点会按照报文所要到达的目的节点对报文进行复制。组播技术解决了单播和广播方式效率低的问题,在通信领域得到了广泛的应用。
一种组播业务的处理方法中,在报文头中定义父子节点之间的复制转发关系,具体来说,父节点可以通过读取报文头中的信息,确定子节点的数量以及子节点的位置,也即确定需要复制的报文的数量和复制之后各个报文的下一跳节点,由此实现组播报文的传输。
两个节点之间会存在多条链路,在这种方法中,每个上一跳节点会随机选择一条链路向下一跳节点传输报文,传输组播报文的链路是随机确定的。
发明内容
本申请实施例提供了一种组播报文的处理方法、装置及设备,通过组播报文的目的地信息,不仅指示了对第一组播报文进行转发复制操作,还指示了复制后各个组播报文的链路。
本申请实施例第一方面提供了一种组播报文的处理方法,该方法应用于第一节点,该方法包括:
第一节点是组播系统中的一个通信节点,可以是网络设备,例如路由器、主机等能够对组播报文进行处理的设备。第一节点获取到第一组播报文,会根据第一组播报文的目的地信息对第一组播报文进行处理。第一组播报文的目的地信息中包括第一标识、第二标识和第三标识,其中,第一标识用于指示链路信息,第二标识用于指示复制转发操作,也即指示报文的类型为组播报文,第三标识用于索引第二节点对应的目的地信息。根据第一组播报文和第三标识,第一节点可以获取到第二组播报文,第二组播报文的目的地信息为第二节点对应的目的地信息。然后基于第一标识指示的链路,向第二节点发送第二组播报文。根据第一组播报文和第二标识,第一节点可以获取到第三组播报文,第三组播报文的目的地信息是第三节点对应的目的地信息。其中,第三节点的目的地信息是根据复制后的组播报文对应的目的地信息索引确定的。复制后的报文是指根据第二标识对第一组播报文进行复制后得到的报文。然后基于第一组播报文复制后的组播报文的目的地信息,向第三节点发送第三组播报文。
从以上技术方案可以看出,本申请实施例具有以下优点:
第一组播报文的目的地信息,指定了对第一组播报文进行处理的方式,也就是说,不 仅指示了对第一组播报文进行转发复制操作,还指示了复制后各个组播报文的链路。
结合第一方面,本申请实施例第一方面的第一种实现方式中,第一组播报文的目的信息还包括第四标识,第四标识用于指示复制的次数,或者指示复制后获得的组播报文的数量。示例性的,在第四标识指示复制的次数的情况下,如果第四标识的取值为2,那么第一节点会对第一组播报文进行2次复制操作,得到2个复制后的组播报文,即复制后获得的报文总数为3个。复制后在第四标识指示复制后获得的组播报文的数量的情况下,如果第四标识的取值为2,那么第一节点会对第一组播报文进行2-1=1次复制操作,得到1个复制后的组播报文,即复制后获得的报文总数为2个。
本申请实施例中,第四标识的含义有多种情况,可以根据实际应用的需要进行选择,提升了技术方案的灵活性,能够适用于多种场景。
结合第一方面,本申请实施例第一方面的第二种实现方式中,第二标识除了用于指示复制转发操作之外,还可以用于指示复制的次数。具体来说,根据第二标识不同的取值,确定是否需要复制第一组播报文。
本申请实施例中,第二标识的含义有多种情况,可以适用于不同的报文,提升了技术方案的可使用性。
结合第一方面、第一方面的第一种至第二种实现方式中的任一种,本申请实施例第一方面的第三种实现方式中,目的地信息可以存储在目的地信息表中,第三标识为第二节点对应的目的地信息所在的序号,基于该序号,能够在目的地信息表中索引到第二节点对应的目的地信息。
结合第一方面、第一方面的第一种至第三种实现方式中的任一种,本申请实施例第一方面的第四种实现方式中,第一节点获取第二组播报文的过程,具体包括:根据第三标识在目的地信息表中进行查询,从目的地信息表中获取到第二节点对应的目的地信息,该第二节点对应的目的地信息即为第三标识对应的目的地信息。然后将第一组播报文的目的地信息替换为第二节点对应的目的地信息,得到第二组播报文。其中,第二节点对应的目的地信息能够至少第二节点处理第二组播报文的方式,包括对第二组播报文进行复制和/或转发操作,以及传输处理后的组播报文的链路等。
本申请实施例中,第三标识反映不同节点对应的目的地信息之间的关联关系,通过第三标识便可以查找目的地信息表确定出下一节点对应的目的地信息,简单快速,节约了运算资源。
结合第一方面、第一方面的第一种至第四种实现方式中的任一种,本申请实施例第一方面的第五种实现方式中,第一节点获取第三组播报文的过程,具体包括:第一节点根据第二标识,对第一组播报文进行复制,得到复制后的组播报文。在目的地信息表中,与第一组播报文的目的地信息匹配的表项的下一条目所包括的目的地信息,是该复制后的组播报文对应的目的地信息。也就是说,在目的地信息表中,第一组播报文的目的地信息和第一组播报文复制后的组播报文对应的目的地信息是排列在一起的。然后根据下一条目对应的目的地信息索引目的地信息表,获取第三节点对应的目的地信息。将第一组播报文复制后的组播报文对应的目的地信息,替换为第三节点对应的目的地信息,获取到第三组播报 文。
本申请实施例中,在目的地信息表中,将第一组播报文对应的目的地信息和第一组播报文复制后得到的目的地信息排列在一起,使得第一节点在处理组播报文的过程中能够根据第三标识定位到相应的目的地信息,对转发面较为友好,提高了处理效率。
结合第一方面、第一方面的第一种至第五种实现方式中的任一种,本申请实施例第一方面的第六种实现方式中,第一节点可以是组播系统中的头节点,第一节点可以接收来自于组播源的第四组播报文,第四组播报文中包括需要在组播系统中传输的载荷(payload)。基于目的地信息和第四组播报文,获取第一节点对应的目的地信息,第一节点对应的目的地信息包括目的地信息表中的第一条目包括的目的地信息。然后将第四组播报文的目的地信息确定为第一节点对应的目的地信息,得到第一组播报文。
本申请实施例中,第一节点可以对来自于组播源的第四组播报文进行处理,得到需要在组播系统中处理的第一组播报文,通过第一节点对应的目的地信息处理第一组播报文,保证了组播业务的顺利进行。
结合第一方面的第六种实现方式,本申请实施例第一方面的第七种实现方式中,第一组播报文中,还可以包括目的地信息表中所包括的多条按序排列的目的地信息。也就是说,在第一节点是头节点的情况下,第一节点还可以将多条按序排列的目的地信息封装至第四组播报文中,得到第一组播节点。
结合第一方面的第四种至第七种实现方式中的任一种,本申请实施例第一方面的第八种实现方式中,目的地信息表中包括的多条按序排列的目的地信息除了封装至第一组播报文之外,还可以存储在第一节点本地。
本申请实施例中,目的地信息表中包括多条按序排列的目的地信息可以存储在不同的位置,如果存储在第一组播报文中,会使得组播报文的传输更加简单;如果存储在节点本地,能够减少组播报文中报文头的开销,提升组播报文传输的数据量。
结合第一方面的第四种至第八种实现方式中的任一种,本申请实施例第一方面的第九种实现方式中,目的地信息表是第一组播报文包括的段标识列表(segment identifier list,SID list),或者是第一节点配置的SID list,或者目的地信息表是第一节点配置的对应关系表,该对应关系表反映了目的地信息包括的各个标识之间的对应关系。
本申请实施例中,目的地信息表包括的内容有多种可能,可以根据实际应用的需要确定,提升了技术方案的灵活性。
结合第一方面、第一方面的第一种至第九种实现方式中的任一种,本申请实施例第一方面的第十种实现方式中,若第一组播报文为互联网协议第六版本的段路由(segment routing for IPv6,SRv6)报文,则第一标识包含于SRv6报文的位置(locator)字段,第二标识包含于SRv6报文的功能(function)字段,第三标识包含于SRv6报文的变量(argument)字段。
结合第一方面的第一种至第九种实现方式中的任一种,本申请实施例第一方面的第十一种实现方式中,若第一组播报文为互联网协议第六版本的段路由(segment routing for IPv6,SRv6)报文,则第一标识包含于SRv6报文的位置locator字段,第二标识包含于 SRv6报文的功能function字段,第三标识和第四标识包含于SRv6报文的变量argument字段。
本申请实施例中,当组播报文是SRv6报文时,组播报文对应的各个标识所包含的字段有多种情况,可以根据实际应用的需要选择,进一步提升了技术方案的灵活性。
本申请实施例第二方面提供了一种组播报文的处理方法,该方法应用于管理节点,该方法包括:
获取第一组播报文的传输需求和组播系统中各个通信链路的属性信息,并根据传输需求和属性信息,确定出第一组播报文的传输链路信息,该传输链路信息指示第一组播报文在组播系统中传输时所采用的链路集合,并且该链路集合满足传输需求。然后将通信链路集合进行编码,得到目的地信息表。目的地信息表中包括第一组播报文对应的目的地信息,第一组播报文的目的地信息包括用于指示链路信息的第一标识、用于指示复制转发操作的第二标识和用于索引第二节点对应的目的地信息的第三标识。
本申请实施例中,第一组播报文中包括的目的地信息,指定了对第一组播报文进行处理的方式,也就是说,不仅指示了对第一组播报文进行转发复制操作,还指示了复制后各个组播报文的通信链路。
在一些可选的实施例中,如果管理节点不是组播系统中的节点,那么管理节点在确定出目的地信息表后,可以将目的地信息表发送给组播系统中的头节点。其中,组播系统中的节点是指,能够对组播报文进行复制和转发操作,并且在组播树上的节点。
在一些可选的实施例中,组播报文的传输需求包括组播报文的传输时延需求、传输带宽需求和来自于组播源设定的需求(例如经过某个节点/链路,排除某个节点/链路等)中的至少一项。
在一些可选的实施例中,各个链路的属性信息包括各个链路的时延、带宽等反映网络性能指标的信息,具体此处不做限定。
在一些可选的实施例中,如果管理节点是组播系统中的头节点,那么管理节点还可以执行前述第一方面的方法,此处不再赘述。
本申请实施例第三方面提供了一种组播报文的处理装置,包括获取单元和发送单元。
获取单元,用于:
获取第一组播报文,第一组播报文的目的地信息包括第一标识、第二标识和第三标识,第一标识用于指示链路信息,第二标识用于指示复制转发操作,第三标识用于索引第二节点对应的目的地信息。
基于第一组播报文和第三标识,获取第二组播报文,第二组播报文的目的地信息为第二节点对应的目的地信息。
基于第一组播报文和第二标识,获取第三组播报文,第三组播报文的目的地信息为第一组播报文复制后的组播报文对应的目的地信息索引确定的第三节点对应的目的地信息。
发送单元,用于基于第一标识指示的链路,向第二节点发送第二组播报文;基于第一组播报文复制后获得的组播报文的目的地信息指示的链路,向第三节点发送第三组播报文。
组播报文的处理装置,用于执行前述第一方面的方法,此处不再赘述。
本申请实施例第四方面提供了一种组播报文的处理装置,包括:
获取单元,用于获取第一组播报文的传输需求和组播系统中各个通信链路的属性信息。
处理单元,用于:
根据传输需求和属性信息,确定第一组播报文的传输链路信息,传输链路信息指示第一组播报文在组播系统中传输时所采用的链路集合。
编码通信链路集合,得到目的地信息表。目的地信息表中包括第一组播报文对应的目的地信息,第一组播报文的目的地信息包括用于指示链路信息的第一标识、用于指示复制转发操作的第二标识和用于索引第二节点对应的目的地信息的第三标识。
组播报文的处理装置,用于执行前述第二方面的方法,此处不再赘述。
本申请实施例第五方面提供了一种网络设备,包括处理器,存储器和通信接口,处理器,存储器和通信接口相连,处理器用于执行前述第一方面或第二方面的方法。
本申请实施例第六方面提供了一种计算机可读存储介质,计算机可读存储介质中保存有程序,当计算机执行程序时,执行第一方面或第二方面的方法。
本申请实施例第七方面提供了一种计算机程序产品,其特征在于,当计算机程序产品在计算机上执行时,该计算机执行第一方面或第二方面的方法。
第二方面至第七方面所示的有益效果与第一方面或第二方面类似,此处不再赘述。
附图说明
图1为本申请实施例提供的组播报文的传输方法的一个应用架构示意图;
图2为本申请实施例提供的组播报文的传输方法的一个流程示意图;
图3A为本申请实施例提供的SRv6报文的一个格式示意图;
图3B为本申请实施例提供的组播报文的一个格式示意图;
图4为本申请实施例提供的组播树的一个示意图;
图5为本申请实施例提供的目的地信息表的一个示意图;
图6为本申请实施例提供的目的地信息表的另一个示意图;
图7为本申请实施例提供的目的地信息与叶子节点的地址映射关系的一个示意图;
图8为本申请实施例提供的组播树的另一个示意图;
图9为本申请实施例提供的目的地信息表的另一个示意图;
图10为本申请实施例提供的目的地信息表的另一个示意图;
图11为本申请实施例提供的目的地信息与叶子节点的地址映射关系的另一个示意图;
图12为本申请实施例提供的组播报文的处理装置的一个结构示意图;
图13为本申请实施例提供的组播报文的处理装置的另一个结构示意图;
图14为本申请实施例提供的网络设备的一个结构示意图。
具体实施方式
本申请实施例提供了一种组播报文的处理方法、相关装置及设备,通过组播报文的目的地信息,不仅指示了对第一组播报文进行转发复制操作,还指示了复制后各个组播报文的链路。
首先,对组播系统进行简单说明,请参阅图1,图1为本申请实施例提供的组播报文 的传输方法的一个应用架构示意图。
如图1所示,组播系统中包括节点1至节点8,图1所示的节点1至节点8连接形成的结构可以看作是一个组播树,该组播树反映了组播报文在组播系统中的所经过的节点和链路。组播树中的头节点也可以称为入口节点或者源节点,例如图1中的节点1。组播树中的出口节点也可以称为叶子节点,例如节点4至节点8。组播树中的中间节点,对组播报文进行复制和转发,将组播报文从入口节点传输至叶子节点,例如图1中的节点2和节点3即为中间节点。
示例性的,以节点2为例,对组播报文的复制转发过程进行说明。在图1所示实施例中,节点2接收到来自于节点1的组播报文,查询组播报文的目的地信息之后,会将该组播报文复制为3份,向节点4至节点6分别发送一个组播报文。
需要注意的是,在实际应用中,节点1至节点8可以是网络设备,网络设备的类型有多种可能,可以是主机,也可以是路由器,还可以是其他能够处理组播报文的设备,具体此处不做限定。其中,头节点和叶子节点,还可以是网络边缘节点。
可选的,如果组播系统中作为源节点的节点1承担了算路功能,那么节点1可以获取组播报文的传输需求和组播系统中各个链路的属性信息,然后根据该组播需求和属性信息,确定出满足该组播需求的组播树。
可选的,如图1所示,应用架构中还可以包括管理节点,管理节点可以获取组播需求,也即组播报文的传输需求,以及组播系统中各个链路的属性信息,然后根据该组播需求和属性信息,确定出满足该组播需求的组播树。然后按照组播报文定义的编码方式,对组播树进行编码,并将编码结果插入组播报文的报文头中,使得网络节点按照确定好的组播树进行组播报文的转发,达到显式指定组播报文链路的目的。
下面,请参阅图2,图2为本申请实施例提供的组播报文的传输方法的一个流程示意图,该方法应用于第一节点,该方法包括:
201.获取第一组播报文,第一组播报文的目的地信息包括第一标识、第二标识和第三标识,第一标识用于指示链路信息,第二标识用于指示复制转发操作,第三标识用于索引第二节点对应的目的地信息。
第一节点获取组播报文的方式有多种可能,下面分别进行说明。
在一些可选的实施例中,在第一节点是组播树中的头节点的情况下,第一节点可以接收来自于组播树之外的其他节点发送的第一组播报文。或者,第一节点可以根据目的地信息表和来自于组播源的第四组播报文,得到第一组播报文。具体来说,第一节点可以获取目的地信息表中,获取第一节点对应的目的地信息,其中,第一节点对应的目的地信息包括目的地信息表中第一条目包括的目的地信息。然后将第一节点对应的目的地信息插入到第四报文中,得到第一组播报文。
本申请实施例中,第一节点可以对来自于组播源的第四组播报文进行处理,得到需要在组播系统中处理的第一组播报文,通过第一节点对应的目的地信息处理第一组播报文,保证了组播业务的顺利进行。
在一些可选的实施例中,如果第一节点是组播树中的中间节点,那么第一节点可以接 收来自于组播树中,该中间节点的父节点的第一组播报文。
在一些可选的实施例中,第一组播报文还包括目的地信息表包含的多条按序排列的目的地信息。将目的地信息表中包括多条按序排列的目的地信息存储在第一组播报文中,会使得组播报文的传输更加简单。可选的,目的地信息表还可以存储在第一节点本地,以降低组播报文的报文头开销。目的地信息表的存储方式根据实际应用的需要确定,具体此处不做限定。
202.基于第一组播报文和第三标识,获取第二组播报文,第二组播报文的目的地信息为第二节点对应的目的地信息。
根据第一组播报文和第三标识,第一节点可以获取到第二组播报文。具体来说,第三标识可以是第二节点对应的目的地信息所在的序号,该序号用于在目的地信息表中进行索引。第一节点根据第三标识查找目的地信息表,获取到第二节点对应的目的地信息。目的地信息表中包括按序排列的多个目的地信息,在目的地信息表中,第三标识对应的目的地信息为第二节点对应的目的地信息。
获取到第二节点的目的地信息之后,第一节点将第一组播报文的目的地信息,替换第二节点对应的目的地信息,获取到第二组播报文。也就是说,第一组播报文的载荷(payload)和第二组播报文的载荷是相同的,但是目的地信息不同。可以理解的是,与第一组播报文的目的地信息类似,第二节点对应的目的地信息也可以包括三个标识,分别用于指示链路信息、用于指示复制转发操作、用于索引第二节点的下一跳节点对应的目的地信息,此处不再赘述。
本申请实施例中,第三标识反映不同节点对应的目的地信息之间的关联关系,通过第三标识便可以查找目的地信息表确定出下一节点对应的目的地信息,简单快速,节约了运算资源。
203.基于第一组播报文和第二标识,获取第三组播报文,第三组播报文的目的地信息为第一组播报文复制后的组播报文对应的目的地信息索引确定的第三节点对应的目的地信息。
在一些可选的实施例中,第二标识除了可以指示复制转发操作之外,还可以指示组播报文的复制次数。在这种情况下,第一节点根据第二标识,对第一组播报文进行复制处理,得到复制后的组播报文。
在一些可选的实施例中,第一组播报文的目的地信息中还包括第四标识,第四标识用于指示组播报文的复制次数,或者组播报文复制后的份数。在这种情况下,第一节点会根据第二标识和第四标识,对第一组播报文进行复制处理,得到复制后的组播报文。
可选的,在第四组播标识指示组播报文的复制次数的情况下,如果第四标识的取值为3,则表示要对第一组播报文复制3次,得到3个复制后的组播报文,即复制后获得的报文总数为4个。
可选的,在第四组播标识指示组播报文复制后的份数,如果第四标识的取值为3,则表示要对第一组播报文复制3-1=2次,得到2个复制后的组播报文,即复制后获得的报文总数为3个。
第一节点还可以根据目的地信息表,对复制后的组播报文进行处理,以得到第三组播报文。如果复制后的组播报文的数量是一个,那么第一节点会从目的地信息表中,获取与第一组播报文的目的地信息匹配的表项的下一条目所包括的目的地信息。复制后的组播报文所对应的目的地信息即为该下一条目所包括的目的地信息。在目的地信息表中,下一条目所包括的目的地信息,与第一组播目的地信息类似,也包括用于指示链路信息的标识、用于指示复制转发操作的标识、用于索引第二节点对应的目的地信息的标识,在一些可选的实施例中,下一条目所包括的目的地信息还可以包括用于指示复制次数或者复制后获得的组播报文数量的标识,此处不再赘述。因此,第一节点可以根据下一条目所包括的目的地信息索引到第三节点对应的目的地信息。将复制后的组播报文的目的地信息替换为第三节点对应的目的地信息,以得到第三组播报文。
如果复制后组播报文的数量为N个(N≥2,且N为整数),那么第一节点会从目的地信息表中,获取与第一组播报文的目的地信息匹配的表项的下N条目所包括的目的地信息。分别根据下N条目所包括的目的地信息索引到多个节点对应的目的地信息。将每个复制后的组播报文的目的地信息替换为多个节点中某一个节点对应的目的地信息,得到N个目的地信息不同的组播报文。其中,目的地信息为第三节点对应的目的地信息的组播报文,即为第三组播报文。
本申请实施例中,目的地信息表包括多条按序排列的目的地信息,与第一组播报文的目的地信息类似,目的地信息表中每一条目的地信息都可以包括用于指示链路信息的标识、用于指示复制转发操作的标识和用于索引下一跳节点对应的目的地信息的标识。在一些可选的实施例中,目的地信息表中每一条目的地信息还可以包括用于指示复制的次数或者复制后获得的组播报文的数量的标识。此处不再赘述。在目的地信息表中,对应于同一个节点的多个目的地信息排列在一起。
204.基于第一标识指示的链路,向第二节点发送第二组播报文。
获取到第二组播报文之后,第一节点会基于第一标识指示的链路,向第二节点发送第二组播报文。其中,第一标识指示的链路,为连接第一节点和第二节点的链路。
205.基于第一组播报文复制后获得的组播报文的目的地信息指示的链路,向第三节点发送第三组播报文。
获取到第三组播报文之后,第一节点会基于第一组播报文复制后获得的组播报文的目的地信息指示的链路,向第三节点发送第三组播报文。
在一些可选的实施例中,目的地信息表为第一组播报文包括的SID list,或者第一节点配置的SID list,或者为第一节点配置的对应关系表。
在一些可选的实施例中,如果第一组播报文是SRv6报文,则第一标识包含于SRv6报文的locator字段,第二标识包含于SRv6报文的function字段,第三标识包含于SRv6报文的argument字段。
在一些可选的实施例中,如果第一组播报文是SRv6报文,则第一标识包含于SRv6报文的locator字段,第二标识包含于SRv6报文的function字段,第三标识和第四标识均包含于SRv6报文的argument字段。
本申请实施例提供的组播报文的传输方法,并不限定应用在第六版互联网协议(internet protocol version 6,IPv6)网络中,也可以应用在IP层、应用层、或者传输层等其他的网络中。类似的,组播报文的格式也并不限定为SRv6报文,可以是在其他网络中的其他格式的报文,具体此处不做限定。
本申请实施例还提供了一种应用于管理节点的组播报文的处理方法,该方法包括:
获取第一组播报文的传输需求和组播系统中各个通信链路的属性信息,并根据传输需求和属性信息,确定出第一组播报文的传输链路信息,该传输链路信息指示第一组播报文在组播系统中传输时所采用的链路集合,并且该链路集合满足传输需求。然后将通信链路集合进行编码,得到目的地信息表。目的地信息表中包括第一组播报文对应的目的地信息,第一组播报文的目的地信息包括用于指示链路信息的第一标识、用于指示复制转发操作的第二标识和用于索引第二节点对应的目的地信息的第三标识。
在一些可选的实施例中,如果管理节点不是组播系统中的节点,那么管理节点在确定出目的地信息表后,可以将目的地信息表发送给组播系统中的头节点。其中,组播系统中的节点是指,能够对组播报文进行复制和转发操作,并且在组播树上的节点。
在一些可选的实施例中,组播报文的传输需求包括组播报文的传输时延需求、传输带宽需求和来自于组播源设定的需求(例如经过某个节点/链路,排除某个节点/链路等)中的至少一项。
在一些可选的实施例中,各个链路的属性信息包括各个链路的时延、带宽等反映网络性能指标的信息,具体此处不做限定。
在一些可选的实施例中,如果管理节点是组播系统中的头节点,那么管理节点还可以执行前述第一方面的方法,此处不再赘述。
下面,以第一组播报文为SRv6报文,目的地信息表位于SRv6报文的报文头中为例,对本申请实施例提供的组播报文的处理方法进行说明。请参阅图3A和图3B,图3A为本申请实施例提供的SRv6报文的一个格式示意图,图3B为本申请实施例提供的组播报文的一个格式示意图。
本申请实施例提供的组播报文的处理方法,保留了SRv6报文的基本格式,也即组播报文仍然包括IPv6报文头、扩展头和载荷(payload)。与传统的SRv6报文不同的是,本申请实施例提供的SRv6组播报文,对SRv6报文的扩展头(segment routing header,SRH)进行了新的定义,称之为组播路由扩展头(multicast routing header,MRH)。也就是说,本申请实施例中,组播报文的报文头包括IPv6报文头和MRH。
MRH与SRH类似,MRH也可以通过SL(segment left)的取值,命中segment list中的某一个segment对应的段标识(segment identifier,SID)。
本申请实施中,在图3B所示的“Type-specific Data”中放置segment list,这其中的每个segment用于表示显式路径上的一个通信链路(adjacency)或者一个节点(node)。
可以理解的是,segment list可以称为SID list,SID list中的每个SID表现为一个128bits的IPv6地址,SID list就表现为插入在MRH中的一组有序的IPv6地址列表。也即本申请实施例提供的目的地信息表。
在图3B所示实施例中,IPv6报文头中的目的地信息存储在Destination Address字段中,对应于目的地信息表中的某一项。
在IPv6网络中,在控制面会进行SID洪泛,基于IPv6的组播源路由(multicast source routing over IPv6,MSR)链路中的网络节点,通过内部网关协议(interior gateway protocol,IGP)协议或者其他的协议洪泛组播报文对应的SID,该SID包括locator字段、function字段和argument字段,通过定义各个字段实现对组播报文的复制和转发。
在控制面,管理节点或者承担算路功能的头节点,可以获取组播报文的传输需求,以及组播系统中各个通信链路的属性信息,并根据传输需求和属性信息,确定出满足传输需求的传输链路信息(也即组播树),该传输链路信息包括第一组播报文在组播系统中传输时所采用的链路集合。然后根据MRH的编码方式,将传输链路信息编码到报文头的SID list中,得到MRH,使得组播显式路径中指示的每个链路都使用相应的segment,并由该segment复制的报文数量和关联的子segment的位置来决定segment对应的argument的取值。
可选的,管理节点头和头节点还可以分工执行上述过程,例如,由管理节点确定组播树,并将组播树下发给头节点,由头节点将组播树编码到报文头的SID list中,共同完成组播树到SID list的映射工作。还可以由管理节点实现编码的全过程,然后将编码得到的MRH下发给头节点,头节点无需再进行组播树的计算,以节约头节点的运算资源。具体可以根据实际应用的需要确定,此处不做限定。
在数据面,头节点获取到MRH后,会将MRH封装至报文头中。头节点和中间节点按照MRH指示的目的地信息处理组播报文。叶子节点获取到组播报文,会对组播报文进行解封装或者上送处理。
接下来,以图4所示的组播树为例,对上述组播报文的处理过程进行详细的说明。请参阅图4,图4为本申请实施例提供的组播树的一个示意图。
假设根据组播报文的传输需求以及组播系统中各个链路的属性信息,确定出组播报文的传输路径如图4所示。以头节点A为例,头节点A接收到第一组播报文,基于第一组播报文的目的地信息,对第一组播报文进行处理后,得到第二组播报文和第三组播报文。基于链路A1向节点B发送第二组播报文,基于链路A2到向节点C发送第三组播报文。
本申请实施中,目的地信息包括的标识有多种情况,下面分别对可能的情况进行说明。
一、目的地信息包括第一标识、第二标识、第三标识和第四标识。
在这种情况下,第一标识包含于SRv6报文的locator字段,用于指示链路信息;第二标识包含于SRv6报文的function字段,用于指示复制转发操作;第三标识和第四标识均包含于SRv6的argument字段,第三标识用于索引下一跳节点对应的目的地信息;第四标识用于指示复制次数或者复制后报文的份数。
基于图4所示的组播树,目的地信息表的一个示意图可以如图5所示。在图5所示实施例中,第一标识表现为Locator字段的取值,是IPv6地址;第二标识表现为Function字段,End.RL.X指示报文的类型为组播报文;第三标识表现为Argument字段中Pointer的取值;第四标识表现为Argument字段中Number的取值,且第四标识用于指示组播报文的复制次数。其中,“Number”也可以写作“Replication Number”。
在图5所示实施例中,节点A接收到第一组播报文,第一组播报文的目的地信息为SL=1的对应的SID,是节点A的本地SID,命中图5中的条目1。节点A根据Number=1对第一组播报文进行1次复制,得到复制后的组播报文。再对第一组播报文和复制后的组播报文进行如下处理:
根据第三标识,将第一组播报文的目的地信息替换为SL=Pointer=3对应的目的地信息,也即节点B对应的目的地信息,以获取到第二组播报文。并根据第一组播报文对应的目的地信息所包括的第一标识Locator(也即条目1中locator)指示的链路A1,向节点B发送第二组播报文。
将第一组播报文的目的地信息替换为目的地信息表中与第一组播报文的目的地信息匹配的表项的下一条目所包括的目的地信息,也即图5所示实施例中SL=SL(current)+1=2,所对应的目的地信息,得到复制后的组播报文。由于此时SL=2,命中图5中的条目2。根据条目2对应的目的地信息,将复制后组播报文的目的地信息替换为SL=Pointer=6对应的目的地信息,得到第三组播报文。同时,SL也置位为Pointer的取值6。按照复制后组播报文的目的地信息,即条目2对应的目的地信息所包括的第一标识Locator指示的链路A2,将第三组播报文发送给节点C。也就是说,第三组播报文的链路是根据复制后的报文对应的目的地信息确定的。
节点B接收到第二组播报文,第二组播报文的目的地信息为SL=3的对应的SID,是节点B的本地SID,命中图5中的条目3。节点B根据Number=2对组播报文进行2次复制,得到2个复制后的组播报文(第一复制报文和第二复制报文)。再对第二组播报文、第一复制报文和第二复制报文进行如下处理:
根据第二组播报文的第三标识,将第三组播报文的目的地信息替换为SL=Pointer=8对应的目的地信息,也即节点D对应的目的地信息,以获取到第五组播报文。并根据第二组播报文对应的目的地信息所包括的第一标识Locator(也即条目3中locator)指示的链路B1,向节点D发送第五组播报文。
第一复制报文的目的地信息为目的地信息表中与第二组播报文的目的地信息匹配的表项的下一条目所包括的目的地信息,也即图5所示实施例中SL=SL(current)+1=4所对应的目的地信息,命中图5中的条目4。根据条目4对应的目的地信息,将第一复制报文的目的地信息替换为SL=Pointer=9对应的目的地信息,得到第六组播报文。同时,SL也置位为Pointer的取值9。并按照第一复制报文对应的目的地信息所包括的Locator(也即条目4中locator)指示的链路B2,将第六组播报文发送给节点E。
第二复制报文的目的地信息为目的地信息表中与第二组播报文的目的地信息匹配的表项的下面的第二条目所包括的目的地信息,也即图5所示实施例中SL=SL(current)+2=5所对应的目的地信息,命中图5中的条目5。根据条目5对应的目的地信息,将第二复制报文的目的地信息替换为SL=Pointer=10对应的目的地信息,得到第七组播报文。同时,SL也置位为Pointer的取值10。并按照第二复制报文对应的目的地信息所包括的Locator(也即条目5中locator)指示的链路B3,将第七组播报文发送给节点F。
节点C对第三组播报文进行处理的流程与节点B处理第二组播报文的过程类似,此处不 再赘述。
在一些可选的实施例中,第四标识可以指示复制之后得到的组播报文的数量。示例性的,同样基于图4所示的组播树,目的地信息表还可以如图6所示。在图6所示实施例中,第一项条目中“Number=2”表示复制为2个组播报文,也即节点A对第一组播报文复制之后,得到1个复制报文,此时总共有两个组播报文。第四标识的取值和定义方式根据实际应用的需要确定,具体此处不做限定。
可选的,本申请实施例中,在组播报文的报文头中,可以指定最后一跳的segment,也可以不指定最后一跳的segment,根据实际应用的需要确定,具体此处不做限定。示例性的,在图5或者图6所示的实施例中,基于图4所示的组播树,在组播报文的报文头中指定了叶子节点,也即指定了最后一跳。如果基于图4所示的组播树,不在组播报文的报文头中指定最后一跳,也就是说在编码SID list时不将最后一跳的相关信息编码在MRH中,那么需要节点在本地维护如图7所示的目的地信息与叶子节点的地址映射关系。这种方式不仅节约了报文头的开销,还可以保证组播报文的顺利传输。
在一些可选的实施例中,头节点接收到组播报文之后,可以复制得到两个以上的组播报文,下面对这种情况进行说明。示例性的,以图8所示的组播树为例,对这种情况进行说明。
基于图8所示的组播树,目的地信息表的一个示意图可以如图9所示。在图9所示实施例中,第一标识表现为Locator字段的取值,是IPv6地址;第二标识表现为Function字段,End.RL.X指示报文的类型为组播报文;第三标识表现为Argument字段中Pointer的取值;第四标识表现为Argument字段中Number的取值,且第四标识用于指示组播报文的复制次数。其中,“Number”也可以写作“Replication Number”。
在图9所示实施例中,节点A接收到第一组播报文,第一组播报文的目的地信息为SL=1的对应的SID,是节点A的本地SID,命中图9中的条目1。节点A根据Number=2对组播报文进行2次复制,得到2个复制后的组播报文(第三复制报文和第四复制报文)。再对第一组播报文、第三复制报文和第四复制报文进行如下处理:
根据第三标识,将第一组播报文的目的地信息替换为SL=Pointer=4对应的目的地信息,也即节点B对应的目的地信息,以获取到第二组播报文。并根据第一组播报文对应的目的地信息所包括的第一标识Locator(也即条目1中locator)指示的链路A1,向节点B发送第二组播报文。
第三复制报文的目的地信息为目的地信息表中与第一组播报文的目的地信息匹配的表项的下一条目所包括的目的地信息,也即图8所示实施例中SL=SL(current)+1=2,所对应的目的地信息,命中图8中的条目2。根据条目2对应的目的地信息,将复制后报文的目的地信息替换为SL=Pointer=7对应的目的地信息,得到第八组播报文。同时,SL也置位为Pointer的取值7。并按照第三复制报文对应的目的地信息所包括的Locator(也即条目2中locator)指示的链路A2,将第八组播报文发送给节点C。
第四复制报文的目的地信息为目的地信息表中与第二组播报文的目的地信息匹配的表项的下面的第二条目所包括的目的地信息,也即图8所示实施例中SL=SL(current)+2=3所对 应的目的地信息,命中图8中的条目3。根据条目3对应的目的地信息,将第二复制报文的目的地信息替换为SL=Pointer=9对应的目的地信息,得到第八组播报文。同时,SL也置位为Pointer的取值9,并按照第三复制报文对应的目的地信息所包括的Locator(也即条目3中locator)指示的链路A3,将第九组播报文发送给节点J。
节点B对第二组播报文进行处理的流程,节点C对第八组播报文进行处理的流程,节点J对第九组播报文进行处理的流程与节点A处理第一组播报文的过程类似,此处不再赘述。
二、目的地信息包括第一标识、第二标识和第四标识。
在这种情况下,第一标识包含于SRv6报文的locator字段,用于指示链路信息;第二标识包含于SRv6报文的function字段,用于指示复制转发操作以及复制的次数;第三标识包含于SRv6的argument字段,用于索引下一跳节点对应的目的地信息。
基于图4所示的组播树,目的地信息表的一个示意图可以如图10所示。在图10所示实施例中,第一标识表现为Locator字段的取值,是IPv6地址;第二标识表现为Function字段,End.RL.X1指示复制1次组播报文,End.RL.X2指示复制0次组播报文,即不复制组播报文。
在图10所示实施例中,节点A接收到第一组播报文,第一组播报文的目的地信息为SL=1的对应的SID,是节点A的本地SID,命中图10中的条目1。节点A根据第二标识End.RL.X1的指示,对第一组播进行1次复制,得到第五复制报文。再对第一组播报文和第五复制报文进行如下处理:
根据第三标识,将第一组播报文的目的地信息替换为SL=Pointer=3对应的目的地信息,也即节点B对应的目的地信息,以获取到第二组播报文。并根据第一组播报文对应的目的地信息所包括的第一标识Locator(也即条目1中的locator)指示的链路A1,向节点B发送第二组播报文。
第五复制报文的目的地信息为目的地信息表中与第一组播报文的目的地信息匹配的表项的下一条目所包括的目的地信息,也即图10所示实施例中SL=SL(current)+1=2,所对应的目的地信息,命中图10中的条目2。根据条目2对应的目的地信息,处理第五复制报文。具体来说,条目2对应的第二标识为End.RL.X2,节点A不需要再对第五复制报文进行复制处理,将第五复制报文目的地信息替换为SL=Pointer=6对应的目的地信息,得到第三组播报文。按照第五复制报文对应的目的地信息所包括的第一标识Locator(也即条目2中的locator)指示的链路A2,将第三组播报文发送给节点C。
节点B接收到第二组播报文,第二组播报文的目的地信息为SL=3的对应的SID,是节点B的本地SID,命中图10中的条目3。节点B第二标识End.RL.X1的指示,对第二组播进行1次复制,得到第六复制报文。再对第二组播报文和第六复制报文进行如下处理:
根据第三标识,将第二组播报文的目的地信息替换为SL=Pointer=8对应的目的地信息,也即节点D对应的目的地信息,以获取到第十组播报文。并根据第二组播报文对应的目的地信息所包括的第一标识Locator(也即条目3中的locator)指示的链路B1,向节点D发送第十组播报文。
第六复制报文的目的地信息为目的地信息表中与第二组播报文的目的地信息匹配的表项的下一条目所包括的目的地信息,也即图10所示实施例中SL=SL(current)+1=4,所对应 的目的地信息,命中图10中的条目4。根据条目4对应的目的地信息,处理第六复制报文。具体来说,条目4对应的第二标识为End.RL.X1,节点B对第六复制报文进行1次复制处理,得到第七复制报文。将第六复制报文目的地信息替换为SL=Pointer=9对应的目的地信息,得到第十一组播报文。按照第六复制报文对应的目的地信息所包括的第一标识Locator(也即条目4中的locator)指示的链路B2,将第十一组播报文发送给节点E。
第七复制报文的目的地信息为目的地信息表中与第二组播报文的目的地信息匹配的表项的下第二条目所包括的目的地信息,也即图10所示实施例中SL=SL(current)+2=5所对应的目的地信息,命中图10中的条目5。根据条目5对应的目的地信息,处理第七复制报文。具体来说,条目5对应的第二标识为End.RL.X2,节点B不需要再对第七复制报文进行复制处理,将第七复制报文目的地信息替换为SL=Pointer=10对应的目的地信息,得到第十二组播报文。按照第七复制报文对应的目的地信息所包括的第一标识Locator(也即条目5中的locator)指示的链路B3,将第十二组播报文发送给节点F。
节点C对第三组播报文进行处理的流程与节点B处理第二组播报文的过程类似,此处不再赘述。
可选的,本申请实施例中,在目的地信息包括第一标识、第二标识和第三标识的情况下,在组播报文的报文头中,可以指定最后一跳的segment,也可以不指定最后一跳的segment,根据实际应用的需要确定,具体此处不做限定。示例性的,在图10所示的实施例中,基于图4所示的组播树,在组播报文的报文头中指定了叶子节点,也即指定了最后一跳。如果基于图4所示的组播树,不在组播报文的报文头中指定最后一跳,也就是说在编码SIDlist时不将最后一跳的相关信息编码在MRH中,那么需要节点在本地维护如图11所示的目的地信息与叶子节点的地址映射关系。这种方式不仅节约了报文头的开销,还可以保证组播报文的顺利传输。
下面请参阅图12,图12为本申请实施例提供的组播报文的处理装置的一个结构示意图,组播报文的处理装置1200包括:
获取单元1201,用于:
获取第一组播报文,第一组播报文的目的地信息包括第一标识、第二标识和第三标识,第一标识用于指示链路信息,第二标识用于指示复制转发操作,第三标识用于索引第二节点对应的目的地信息;
基于第一组播报文和第三标识,获取第二组播报文,第二组播报文的目的地信息为第二节点对应的目的地信息;
基于第一组播报文和第二标识,获取第三组播报文,第三组播报文的目的地信息为第一组播报文复制后的组播报文对应的目的地信息索引确定的第三节点对应的目的地信息;
发送单元1202,用于:
基于第一标识指示的链路,向第二节点发送第二组播报文;
基于第一组播报文复制后获得的组播报文的目的地信息指示的链路,向第三节点发送第三组播报文。
在一些可选的实施例中,第一组播报文的目的地信息还包括第四标识,第四标识用于 指示复制的次数,或者第四标识用于指示复制后获得的组播报文的数量。
在一些可选的实施例中,第二标识还用于指示复制的次数。
在一些可选的实施例中,第三标识为第二节点对应的目的地信息所在的序号。
在一些可选的实施例中,获取单元1201,具体用于:
基于第三标识查找目的地信息表,获取第二节点对应的目的地信息,目的地信息表中与第三标识对应的目的地信息为第二节点对应的目的地信息;
利用第二节点对应的目的地信息替换第一组播报文的目的地信息,获取第二组播报文。
在一些可选的实施例中,获取单元1201,具体用于:
基于第二标识复制第一组播报文,并获取目的地信息表中与第一组播报文的目的地信息匹配的表项的下一条目所包括的目的地信息,下一条目所包括的目的地信息为第一组播报文复制后的组播报文对应的目的地信息;
基于下一条目所包括的目的地信息索引目的地信息表,获取第三节点对应的目的地信息;
用第三节点对应的目的信息替换复制后的第一组播报文的目的地信息,获取第三组播报文。
在一些可选的实施例中,获取单元1201,具体用于:
基于目的地信息表和来自组播源的第四组播报文,获取第一节点对应的目的地信息,第一节点对应的目的地信息包括目的地信息表的第一条目包括的目的地信息;
基于第四组播报文和第一节点对应的目的地信息,获取第一组播报文。
在一些可选的实施例中,第一组播报文还包括目的地信息表包含的多条按序排列的目的地信息。
在一些可选的实施例中,目的地信息表为第一组播报文包括的SID list,或者目的地信息表为第一节点配置的SID list,或者目的地信息表为第一节点配置的对应关系表。
在一些可选的实施例中,若第一组播报文为SRv6报文,则第一标识包含于SRv6报文的locator字段,第二标识包含于SRv6报文的function字段,第三标识包含于SRv6报文的argument字段。
在一些可选的实施例中,若第一组播报文为SRv6报文,则第一标识包含于SRv6报文的locator字段,第二标识包含于SRv6报文的function字段,第三标识和第四标识均包含于SRv6报文的argument字段。
组播报文的处理装置1200可以执行前述图1至图11所示实施例中第一节点所执行的操作,此处不再赘述。
下面请参阅图13,图13为本申请实施例提供的组播报文的处理装置的一个结构示意图,组播报文的处理装置1300包括:
获取单元1301,用于获取第一组播报文的传输需求和组播系统中各个通信链路的属性信息。
处理单元1302,用于:
根据传输需求和属性信息,确定第一组播报文的传输链路信息,传输链路信息指示第 一组播报文在组播系统中传输时所采用的链路集合。
编码通信链路集合,得到目的地信息表。目的地信息表中包括第一组播报文对应的目的地信息,第一组播报文的目的地信息包括用于指示链路信息的第一标识、用于指示复制转发操作的第二标识和用于索引第二节点对应的目的地信息的第三标识。
在一些可选的实施例中,组播报文的处理装置1300还包括发送单元1303。发送单元1303,用于将目的地信息表发送给组播系统中的头节点。
组播报文的处理装置1300还可以执行前述图1至图11所示实施例中管理节点所执行的操作,此处不再赘述。
在一些可选的实施例中,组播报文的处理装置1300还可以执行前述图1至图11所示实施例中第一节点所执行的操作,此处不再赘述。
下面,对本申请实施例提供的网络设备进行说明,请参阅图14,图14为本申请实施例提供的网络设备的一个结构示意图。该网络设备1400包括:处理器1401和存储器1402,存储器1402中存储有一个或一个以上的应用程序或数据。
其中,存储器1402可以是易失性存储或持久存储。存储在存储器1402的程序可以包括一个或一个以上模块,每个模块可以用于执行网络设备1400所执行的一系列操作。更进一步地,处理器1401可以与存储器1402通信,在网络设备1400上执行存储器1402中的一系列指令操作。处理器1401可以是中央处理器(central processing units,CPU),也可以是单核处理器,除此之外,还可以是其他类型的处理器,例如双核处理器,具体此处不做限定。
网络设备1400还可以包括一个或一个以上通信接口1403,一个或一个以上操作系统,例如Windows Server TM,Mac OS X TM,Unix TM,Linux TM,FreeBSD TM等。
该网络设备1400可以执行前述图1至图11所示实施例中第一节点或者管理节点所执行的操作,此处不再赘述。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。

Claims (25)

  1. 一种组播报文的处理方法,其特征在于,所述方法应用于第一节点,所述方法包括:
    获取第一组播报文,所述第一组播报文的目的地信息包括第一标识、第二标识和第三标识,所述第一标识用于指示链路信息,所述第二标识用于指示复制转发操作,所述第三标识用于索引第二节点对应的目的地信息;
    基于所述第一组播报文和所述第三标识,获取第二组播报文,所述第二组播报文的目的地信息为所述第二节点对应的目的地信息;
    基于所述第一组播报文和所述第二标识,获取第三组播报文,所述第三组播报文的目的地信息为所述第一组播报文复制后的组播报文对应的目的地信息索引确定的第三节点对应的目的地信息;
    基于所述第一标识指示的链路,向所述第二节点发送所述第二组播报文;
    基于所述第一组播报文复制后获得的组播报文的目的地信息指示的链路,向所述第三节点发送所述第三组播报文。
  2. 根据权利要求1所述的方法,其特征在于,所述第一组播报文的目的地信息还包括第四标识,所述第四标识用于指示复制的次数,或者所述第四标识用于指示复制后获得的组播报文的数量。
  3. 根据权利要求1所述的方法,其特征在于,所述第二标识还用于指示复制的次数。
  4. 根据权利要求1至3任一所述的方法,其特征在于,所述第三标识为所述第二节点对应的目的地信息所在的序号。
  5. 根据权利要求1至4任一所述的方法,其特征在于,所述基于所述第一组播报文和所述第三标识,获取第二组播报文,所述第二组播报文的目的地信息为所述第二节点对应的目的地信息包括:
    基于所述第三标识查找目的地信息表,获取所述第二节点对应的目的地信息,所述目的地信息表中与所述第三标识对应的目的地信息为所述第二节点对应的目的地信息;
    利用所述第二节点对应的目的地信息替换所述第一组播报文的目的地信息,获取所述第二组播报文。
  6. 根据权利要求1至5任一所述的方法,其特征在于,基于所述第一组播报文和所述第二标识,获取第三组播报文包括:
    基于所述第二标识复制所述第一组播报文,并获取目的地信息表中与所述第一组播报文的目的地信息匹配的表项的下一条目所包括的目的地信息,所述下一条目所包括的目的地信息为所述第一组播报文复制后的组播报文对应的目的地信息;
    基于所述下一条目所包括的目的地信息索引所述目的地信息表,获取所述第三节点对应的目的地信息;
    用所述第三节点对应的目的信息替换复制后的所述第一组播报文的目的地信息,获取所述第三组播报文。
  7. 根据权利要求1至6任一所述的方法,其特征在于,所述第一节点为头节点,所述获取第一组播报文包括:
    基于目的地信息表和来自组播源的第四组播报文,获取所述第一节点对应的目的地信息,所述第一节点对应的目的地信息包括所述目的地信息表的第一条目包括的目的地信息;
    基于所述第四组播报文和所述第一节点对应的目的地信息,获取所述第一组播报文。
  8. 根据权利要求7所述的方法,其特征在于,所述第一组播报文还包括所述目的地信息表包含的多条按序排列的目的地信息。
  9. 根据权利要求5至8中任一项所述的方法,其特征在于,所述目的地信息表为所述第一组播报文包括的段标识列表SID list,或者所述目的地信息表为所述第一节点配置的SID list,或者所述目的地信息表为所述第一节点配置的对应关系表。
  10. 根据权利要求1至9中任一项所述的方法,其特征在于,若所述第一组播报文为互联网协议第六版本的段路由SRv6报文,则所述第一标识包含于所述SRv6报文的位置locator字段,所述第二标识包含于所述SRv6报文的功能function字段,所述第三标识包含于所述SRv6报文的变量argument字段。
  11. 根据权利要求2至9中任一项所述的方法,其特征在于,若所述第一组播报文为SRv6报文,则所述第一标识包含于所述SRv6报文的locator字段,所述第二标识包含于所述SRv6报文的function字段,所述第三标识和所述第四标识均包含于所述SRv6报文的argument字段。
  12. 一种组播报文的处理装置,其特征在于,包括:
    获取单元,用于:
    获取第一组播报文,所述第一组播报文的目的地信息包括第一标识、第二标识和第三标识,所述第一标识用于指示链路信息,所述第二标识用于指示复制转发操作,所述第三标识用于索引第二节点对应的目的地信息;
    基于所述第一组播报文和所述第三标识,获取第二组播报文,所述第二组播报文的目的地信息为所述第二节点对应的目的地信息;
    基于所述第一组播报文和所述第二标识,获取第三组播报文,所述第三组播报文的目的地信息为所述第一组播报文复制后的组播报文对应的目的地信息索引确定的第三节点对应的目的地信息;
    发送单元,用于:
    基于所述第一标识指示的链路,向所述第二节点发送所述第二组播报文;
    基于所述第一组播报文复制后获得的组播报文的目的地信息指示的链路,向所述第三节点发送所述第三组播报文。
  13. 根据权利要求12所述的装置,其特征在于,所述第一组播报文的目的地信息还包括第四标识,所述第四标识用于指示复制的次数,或者所述第四标识用于指示复制后获得的组播报文的数量。
  14. 根据权利要求12所述的装置,其特征在于,所述第二标识还用于指示复制的次数。
  15. 根据权利要求12至14中任一项所述的装置,其特征在于,所述第三标识为所述第二节点对应的目的地信息所在的序号。
  16. 根据权利要求12至15中任一项所述的装置,其特征在于,所述获取单元,具体用 于:
    基于所述第三标识查找目的地信息表,获取所述第二节点对应的目的地信息,所述目的地信息表中与所述第三标识对应的目的地信息为所述第二节点对应的目的地信息;
    利用所述第二节点对应的目的地信息替换所述第一组播报文的目的地信息,获取所述第二组播报文。
  17. 根据权利要求12至16中任一项所述的装置,其特征在于,所述获取单元,具体用于:
    基于所述第二标识复制所述第一组播报文,并获取目的地信息表中与所述第一组播报文的目的地信息匹配的表项的下一条目所包括的目的地信息,所述下一条目所包括的目的地信息为所述第一组播报文复制后的组播报文对应的目的地信息;
    基于所述下一条目所包括的目的地信息索引所述目的地信息表,获取所述第三节点对应的目的地信息;
    用所述第三节点对应的目的信息替换复制后的所述第一组播报文的目的地信息,获取所述第三组播报文。
  18. 根据权利要求12至17中任一项所述的装置,其特征在于,所述获取单元,具体用于:
    基于目的地信息表和来自组播源的第四组播报文,获取所述第一节点对应的目的地信息,所述第一节点对应的目的地信息包括所述目的地信息表的第一条目包括的目的地信息;
    基于所述第四组播报文和所述第一节点对应的目的地信息,获取所述第一组播报文。
  19. 根据权利要求18所述的装置,其特征在于,所述第一组播报文还包括所述目的地信息表包含的多条按序排列的目的地信息。
  20. 根据权利要求16至19中任一项所述的装置,其特征在于,所述目的地信息表为所述第一组播报文包括的SID list,或者所述目的地信息表为所述第一节点配置的SID list,或者所述目的地信息表为所述第一节点配置的对应关系表。
  21. 根据权利要求12至20中任一项所述的装置,其特征在于,若所述第一组播报文为SRv6报文,则所述第一标识包含于所述SRv6报文的locator字段,所述第二标识包含于所述SRv6报文的function字段,所述第三标识包含于所述SRv6报文的argument字段。
  22. 根据权利要求13至20中任一项所述的装置,其特征在于,若所述第一组播报文为SRv6报文,则所述第一标识包含于所述SRv6报文的locator字段,所述第二标识包含于所述SRv6报文的function字段,所述第三标识和所述第四标识均包含于所述SRv6报文的argument字段。
  23. 一种网络设备,其特征在于,包括:处理器、存储器和通信接口;
    所述处理器、所述存储器与所述通信接口相连;
    所述处理器用于执行权利要求1至11中任一项所述的方法。
  24. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中保存有程序,当所述计算机执行所述程序时,执行权利要求1至11中任一项所述的方法。
  25. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上执行时,所 述计算机执行权利要求1至11中任一项所述的方法。
PCT/CN2022/096544 2021-09-27 2022-06-01 一种组播报文的处理方法、相关装置及设备 WO2023045394A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202111134664.3 2021-09-27
CN202111134664 2021-09-27
CN202111223552.5 2021-10-20
CN202111223552.5A CN115883445A (zh) 2021-09-27 2021-10-20 一种组播报文的处理方法,相关装置及设备

Publications (1)

Publication Number Publication Date
WO2023045394A1 true WO2023045394A1 (zh) 2023-03-30

Family

ID=85719268

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/096544 WO2023045394A1 (zh) 2021-09-27 2022-06-01 一种组播报文的处理方法、相关装置及设备

Country Status (1)

Country Link
WO (1) WO2023045394A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811387A (zh) * 2014-01-24 2015-07-29 思科技术公司 具有位索引显式复制的等价多路径
CN106603413A (zh) * 2015-10-14 2017-04-26 中兴通讯股份有限公司 通过指定路径传输流量的方法和装置
US20180343137A1 (en) * 2015-12-22 2018-11-29 Alcatel Lucent A network node for network based multicast replication
CN110417657A (zh) * 2018-04-27 2019-11-05 华为技术有限公司 一种处理组播数据报文的方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811387A (zh) * 2014-01-24 2015-07-29 思科技术公司 具有位索引显式复制的等价多路径
CN106603413A (zh) * 2015-10-14 2017-04-26 中兴通讯股份有限公司 通过指定路径传输流量的方法和装置
US20180343137A1 (en) * 2015-12-22 2018-11-29 Alcatel Lucent A network node for network based multicast replication
CN110417657A (zh) * 2018-04-27 2019-11-05 华为技术有限公司 一种处理组播数据报文的方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
C. FILSFILS, ED. P. CAMARILLO, ED. CISCO SYSTEMS, INC. J. LEDDY INDIVIDUAL CONTRIBUTOR D. VOYER BELL CANADA S. MATSUSHIMA SOFTBANK: "SRv6 Network Programming; draft-ietf-spring-srv6-network-programming-18.txt", SRV6 NETWORK PROGRAMMING; DRAFT-IETF-SPRING-SRV6-NETWORK-PROGRAMMING-18.TXT; INTERNET-DRAFT: SPRING, INTERNET ENGINEERING TASK FORCE, IETF; STANDARDWORKINGDRAFT, INTERNET SOCIETY (ISOC) 4, RUE DES FALAISES CH- 1205 GENEVA, SWITZERLAND, no. 18, 27 August 2020 (2020-08-27), Internet Society (ISOC) 4, rue des Falaises CH- 1205 Geneva, Switzerland , pages 1 - 42, XP015141401 *

Similar Documents

Publication Publication Date Title
US10693765B2 (en) Failure protection for traffic-engineered bit indexed explicit replication
CN109218178B (zh) 一种报文处理方法及网络设备
US9608841B2 (en) Method for real-time synchronization of ARP record in RSMLT cluster
US10164910B2 (en) Method and apparatus for an information-centric MAC layer
JP7208008B2 (ja) ネットワークデバイスで使用するためのプログラマブルパケット分類フレームワークを提供するためのシステムおよび方法
US10608866B2 (en) Forwarding Ethernet packets
US11652735B2 (en) Multicast data packet processing method, and apparatus
US8009683B2 (en) IP network system
US20230121236A1 (en) Segment routing point to multipoint path
US20060176880A1 (en) Mesh mirroring with path tags
US10791051B2 (en) System and method to bypass the forwarding information base (FIB) for interest packet forwarding in an information-centric networking (ICN) environment
US20220116309A1 (en) Multicast forwarding entry generation method and access gateway
KR100636273B1 (ko) 이더넷을 통한 mpls 멀티캐스트 패킷 전송 장치 및 방법
US7782790B1 (en) Extensions to the path verification protocol to support link bundling constructs
WO2017124712A1 (zh) 报文生成方法、报文转发方法及装置
WO2021139288A1 (zh) 报文发送方法、装置及存储介质
WO2023045394A1 (zh) 一种组播报文的处理方法、相关装置及设备
WO2022262579A1 (zh) 报文传输方法以及装置
TWI281804B (en) Packet forwarding method and system
CN115883445A (zh) 一种组播报文的处理方法,相关装置及设备
JP2003348148A (ja) Ipマルチキャスト制御方法およびこれを用いるipマルチキャスト制御システム
US7457316B1 (en) Method and system for handling received packets
WO2024001701A1 (zh) 数据处理方法、装置及系统
US20230143419A1 (en) Segment Routing MPLS Point To Multipoint Path
WO2022199294A1 (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: 22871455

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022871455

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022871455

Country of ref document: EP

Effective date: 20240321

NENP Non-entry into the national phase

Ref country code: DE