CN117478655A - Method and system for transmitting static multicast stream in multicast ring network - Google Patents

Method and system for transmitting static multicast stream in multicast ring network Download PDF

Info

Publication number
CN117478655A
CN117478655A CN202311423575.XA CN202311423575A CN117478655A CN 117478655 A CN117478655 A CN 117478655A CN 202311423575 A CN202311423575 A CN 202311423575A CN 117478655 A CN117478655 A CN 117478655A
Authority
CN
China
Prior art keywords
multicast
network switching
hop
stream
multicast stream
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311423575.XA
Other languages
Chinese (zh)
Inventor
郭展华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyland Technology Co Ltd
Original Assignee
Kyland Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyland Technology Co Ltd filed Critical Kyland Technology Co Ltd
Priority to CN202311423575.XA priority Critical patent/CN117478655A/en
Publication of CN117478655A publication Critical patent/CN117478655A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/765Media network packet handling intermediate

Landscapes

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

Abstract

The application relates to a method and a system for transmitting static multicast streams in a multicast ring network, wherein the method comprises the following steps: the first-hop multicast network switching equipment receives a multicast stream sent by a multicast source, copies the multicast stream into two parts according to a preset first CB instance, and sends the multicast stream after the two copies to the last-hop multicast network switching equipment based on a corresponding forwarding path in a multicast ring network; the first-hop multicast network switching equipment is connected with a multicast source; and the last-hop multicast network switching equipment receives the multicast streams which are duplicated in two parts, eliminates the multicast streams which are duplicated in two parts into one part according to a preset second CB instance, forwards the multicast streams in one part to a multicast receiver, and is connected with the multicast receiver. The application applies the 802.1CB protocol on the multicast network switching equipment, and enables each multicast receiver to receive and only receive one multicast message by setting the message copying and eliminating functions.

Description

Method and system for transmitting static multicast stream in multicast ring network
Technical Field
The present invention relates to the field of network communications technologies, and in particular, to a method and system for transmitting a static multicast stream in a multicast ring network, a computing device, and a storage medium.
Background
Fig. 1 is a network topology schematic diagram of a multicast ring network, as shown in fig. 1, in the multicast ring network, TC1 is used as a sender of a multicast stream, TC2-TC4 is used as a receiver of the multicast stream, SW1-SW4 (forwarding switch, route) form a ring network, wherein SW1 is connected with TC1, SW2-SW4 are respectively connected with TC2-TC4, and SW1-SW4 are used for forwarding the multicast stream sent by TC1 in the multicast ring network and then sending the multicast stream to TC2-TC4. To ensure that multicast flows can be redundant on any forwarding path, a multicast forwarding table needs to be configured, and the multicast forwarding table can configure forwarding ports (e.g., 1/13, 1/14) of SW1, ports on all ring networks on SW2-SW4 (e.g., 1/13, 1/4 of SW2, 1/9, 1/10 of SW3 and SW 4) and ports of receivers TC2-TC4 of the multicast flows (e.g., 1/10 of SW2, 1/2 of SW3 and SW 4). Thus, although each multicast receiver can receive the multicast message sent by TC1, there is a problem that each multicast stream receiver receives 2 messages from different paths as well, so that the upper layer application of each multicast stream receiver needs to process multiple repeated data, and waste is caused.
Disclosure of Invention
The invention provides a transmission method and a system of static multicast stream in a multicast ring network, computing equipment and a storage medium, and aims to solve the problem that each multicast receiver in the existing multicast ring network receives 2 messages which are the same and are respectively sent from different paths, so that the upper layer application of the multicast receiver needs to process a plurality of repeated data, and waste is caused.
To achieve the above object, a first aspect of the present application provides a method for transmitting a static multicast stream in a multicast ring network, including:
the first-hop multicast network switching equipment receives a multicast stream sent by a multicast source, copies the multicast stream into two parts according to a preset first CB instance, and sends the multicast stream after the two copies to the last-hop multicast network switching equipment based on a corresponding forwarding path in a multicast ring network; wherein, the first-hop multicast network switching equipment is connected with the multicast source;
and the last-hop multicast network switching equipment receives the multicast streams which are duplicated in two parts, eliminates the multicast streams which are duplicated in two parts into one part according to a preset second CB instance, and forwards the one part of multicast streams to a multicast receiver, wherein the last-hop multicast network switching equipment is connected with the multicast receiver. To achieve the above object, a second aspect of the present application provides a transmission system for a static multicast stream in a multicast ring network, including: the network switching equipment in the multicast ring network comprises first-hop network switching equipment, last-hop network switching equipment and other network switching equipment on a forwarding path; the first-hop multicast network switching device is connected with the multicast source, and the last-hop multicast network switching device is connected with the multicast receiver;
The multicast source is used for: transmitting the multicast stream to the first-hop network switching device;
the network switching device in the multicast ring network is used for: implementing the method of any one of the above first aspects;
the multicast receiver is configured to: and receiving the multicast stream.
A third aspect of the present application provides a computing device comprising:
processor and method for controlling the same
A memory having stored thereon program instructions which, when executed by the processor, cause the processor to perform the method of any of the above first aspects.
A fourth aspect of the present application provides a computer readable storage medium having stored thereon program instructions which when executed by a computer cause the computer to implement the method of any of the first aspects described above.
By the above, the first-hop multicast network switching device in the application can copy multicast streams according to the preset first CB instance, and the last-hop multicast network switching device can eliminate the multicast streams after copying two copies into one copy according to the preset second CB instance, so that each multicast receiver can receive and only receive one copy of multicast message, and the problem that the upper layer application of the multicast receiver needs to process multiple repeated data and waste is caused because each multicast receiver in the existing multicast ring network can receive 2 copies of messages from different paths respectively.
Drawings
Fig. 1 is a schematic diagram of a network topology of a networking ring network;
fig. 2 is a flowchart of an embodiment of a method for transmitting a static multicast stream in a multicast ring network according to an embodiment of the present application;
fig. 3 is a flowchart of a specific implementation manner of a static multicast stream transmission method in a multicast ring network according to an embodiment of the present application;
fig. 4 is a schematic diagram of a computing device provided by an embodiment of the present application.
It should be understood that in the foregoing structural schematic diagrams, the sizes and forms of the respective block diagrams are for reference only and should not constitute an exclusive interpretation of the embodiments of the present invention. The relative positions and inclusion relationships between the blocks presented by the structural diagrams are merely illustrative of structural relationships between the blocks, and are not limiting of the physical connection of embodiments of the present invention.
Detailed Description
The technical scheme provided by the application is further described below by referring to the accompanying drawings and examples. It should be understood that the system structures and service scenarios provided in the embodiments of the present application are mainly for illustrating possible implementations of the technical solutions of the present application, and should not be construed as the only limitation of the technical solutions of the present application. As one of ordinary skill in the art can know, with the evolution of the system structure and the appearance of new service scenarios, the technical scheme provided in the application is applicable to similar technical problems.
It should be understood that the transmission scheme of the static multicast stream in the multicast ring network provided by the embodiment of the application includes a method and a system for transmitting the static multicast stream in the multicast ring network. Because the principles of solving the problems in these technical solutions are the same or similar, in the following description of the specific embodiments, some repetition is not described in detail, but it should be considered that these specific embodiments have mutual references and can be combined with each other.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. If there is a discrepancy, the meaning described in the present specification or the meaning obtained from the content described in the present specification is used. In addition, the terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the present application. For the purpose of accurately describing the technical content in the present application, and for the purpose of accurately understanding the present invention, the following explanation or definition is given for terms used in the present specification before the explanation of the specific embodiments.
[ first embodiment of a method for transmitting static multicast streams in a multicast Ring network ]
The first embodiment of the present application provides a method for transmitting a static multicast stream in a multicast ring network, as shown in fig. 2, where the method includes:
s210: the first-hop multicast network switching equipment receives a multicast stream sent by a multicast source, copies the multicast stream into two parts according to a preset first CB instance, and sends the multicast stream after the two copies to the last-hop multicast network switching equipment based on a corresponding forwarding path in a multicast ring network; wherein, the first-hop multicast network switching equipment is connected with the multicast source;
s220: and the last-hop multicast network switching equipment receives the multicast streams which are duplicated in two parts, eliminates the multicast streams which are duplicated in two parts into one part according to a preset second CB instance, and forwards the one part of multicast streams to a multicast receiver, wherein the last-hop multicast network switching equipment is connected with the multicast receiver.
In this embodiment, before executing the method, if there is no networking, ring networking is required, and ring networking operation is as follows:
1. selecting a plurality of network switching devices (switches or routers, for example, switches) which need to form a ring network, forming the ring network by the plurality of switches, setting a management vlan as vlan1 (vlan 1 is a switch management center by default, and all ports of the switches are connected in a broadcast domain covered by vlan1 by default.
The switch may be configured by the PC configuration management switch using web or command line means. For example, a ring network consisting of 4 switches as shown in fig. 1 can be constructed.
2. For convenience of device management, the management vlan configures a vlan-based DRP ring network (public ethernet protocol), prevents looping, and prevents network storm. vlan list is vlan1 and vlan2 (vlan 2 is a ring network protocol vlan).
3. The method comprises the steps of configuring a first-hop multicast network switching device, and creating a CB instance on the first-hop multicast network switching device, wherein the CB instance has the function of copying multicast streams.
4. And configuring the last-hop multicast network switching equipment, and creating a CB instance on the last-hop multicast network switching equipment, wherein the CB instance has the function of eliminating the multicast stream after replication.
The above CB example adopts the 802.1CB protocol, and the 802.1CB protocol features: the protocol is mainly responsible for redundant backup transmission of data, and solves information errors or losses possibly caused by CRC cyclic redundancy check (Cyclic Redundancy Check), open circuit, disconnection of connectors and the like in loop network topology by using a redundancy mechanism. It tags specific data with a sequence number and copies the transmission on a different path when sent. At the link aggregation point, duplicate information is identified and eliminated to prevent the upper layer applications of the receiving node from processing multiple duplicate data.
In the case of an already existing networking ring network (as shown in fig. 1), only 3 and 4 have to be performed.
In some embodiments, the multicast stream includes multicast stream parameters;
the first-hop multicast network switching device receives a multicast stream sent by a multicast source, and includes:
the first-hop multicast network switching equipment matches the multicast stream parameters according to the set first matching characteristic parameters, when the first matching characteristic parameters are matched with the multicast stream parameters, the first-hop multicast network switching equipment receives the multicast stream, and when the first matching characteristic parameters are not matched with the multicast stream parameters, the first-hop multicast network switching equipment does not receive the multicast stream.
In some embodiments, the multicast flow parameters include a packet vlan and a destination MAC;
the first matching characteristic parameter comprises a first destination MAC type, a first vlan tag and a first inflow port number; the first destination MAC type is multicast;
the first-hop multicast network switching device matches the multicast stream parameters according to the set first matching characteristic parameters, when the first matching characteristic parameters are matched with the multicast stream parameters, the first-hop multicast network switching device receives the multicast stream, and when the first matching characteristic parameters are not matched with the multicast stream parameters, the first-hop multicast network switching device does not receive the multicast stream, and the method comprises the following steps:
When the first-hop multicast network switching device receives the multicast stream from a port corresponding to the first inflow port number, the destination MAC in the multicast stream parameter accords with the first destination MAC type of the first matching characteristic parameter, and the packet vlan of the multicast stream parameter is the same as the first vlan tag, the first-hop multicast network switching device receives the multicast stream;
when the first-hop multicast network switching device receives the multicast stream from a port corresponding to the first inflow port number, the destination MAC in the multicast stream parameter does not conform to the first destination MAC type of the first matching feature parameter, and/or a packet vlan of the multicast stream parameter is different from the first vlan tag, the first-hop multicast network switching device does not receive the multicast stream;
and when the first-hop multicast network switching equipment does not receive the multicast stream from the port corresponding to the first inflow port number, the first-hop multicast network switching equipment does not receive the multicast stream.
In some embodiments, the multicast stream parameters further include a destination IP;
the first CB instance comprises a first forwarding vlan, a replication mode and a first outgoing port number, wherein the first outgoing port number is determined according to the destination IP;
The first-hop multicast network switching device copies the multicast stream into two parts according to a preset first CB instance, and sends the multicast stream after the two copies to the last-hop multicast network switching device based on a corresponding forwarding path in a multicast ring network, and the method comprises the following steps:
the first-hop multicast network switching equipment copies the multicast stream into two parts according to the copy mode;
the first hop multicast network switching equipment adds the first forwarding vlan as a vlan tag to the multicast stream after the two copies are copied;
the first-hop multicast network switching device determines the last-hop multicast network switching device based on the destination IP, and determines the corresponding forwarding path based on the last-hop multicast network switching device;
and the first-hop multicast network switching equipment takes the first forwarding vlan as a forwarding network, and forwards the multicast stream which is duplicated in two parts to the last-hop multicast network switching equipment through the corresponding forwarding path by a port corresponding to the first outflow port number.
In these embodiments, before executing S110, the first matching characteristic parameter of the first hop multicast network switching device is further configured according to the characteristics of the multicast stream (i.e., the multicast stream parameters included), where the first hop multicast network switching device matches the multicast stream parameters according to the first matching characteristic parameter, and if the first hop multicast network switching device matches the multicast stream parameters, the first hop multicast network switching device receives the multicast stream, and if the first hop multicast network switching device does not match the multicast stream, the first hop multicast network switching device does not receive the multicast stream.
The multicast flow parameters may include packet vlan, destination MAC, destination IP. For example, the packet vlan is 100, and the MAC of the multicast destination: 01-00-5e-01-01-01 (IPV 4 multicast MAC address), destination ip:224.1.1.1. wherein, the message vlan is 100, which means that vlan100 is used as a forwarding network, and the multicast stream is forwarded to vlan100 ports of the first-hop multicast network switching device.
The first hop multicast network switching device creates a stream 1 for a multicast stream, where the stream 1 has a corresponding first matching characteristic parameter, where the first matching characteristic parameter may include a first destination MAC type, a first vlan tag, and a first ingress port number. The first destination MAC type may be multicast (destination MAC: multicast), and may be matched with the destination MAC in the multicast stream parameters. The first vlan tag (i.e., the outer tag vlan) is to be matched with the packet vlan in the multicast stream parameters. The first ingress port number indicates from which port the multicast stream may flow. For example, for SW1 in fig. 1, it may configure the destination MAC: multicast, outer tag vlan is vlan100 and apply the flow to ingress port 1/10. Different streams streamn are created for different multicast streams.
Taking TC1 as a multicast source and SW1 as a first hop multicast network switching device to receive a multicast stream sent by TC1 as an example, specific matching between a first matching characteristic parameter and a multicast stream parameter is as follows:
1. SW1 receives the multicast stream from ingress port 1/10, if the first destination MAC type indicates multicast, and the multicast destination MAC in the multicast stream: 01-00-5e-01-01-01, wherein the first vlan tag is vlan100, and is matched with a message vlan (100) in the multicast stream, and SW1 receives the multicast stream;
2. if the first destination MAC type does not indicate multicast, the first destination MAC type is associated with a multicast destination MAC in the multicast stream: 01-00-5e-01-01-01, and/or the first vlan tag is not vlan100, and does not match the packet vlan (100) in the multicast stream, SW1 does not receive the multicast stream and discards it.
3. If no multicast stream is received at the ingress port 1/10 of SW1, SW1 does not receive the multicast stream either.
In the embodiments described above, it is necessary to configure the first CB instance for the first hop multicast network switching device, where the first CB instance includes a first forwarding vlan, a replication mode, and a first outgoing port number. For example, a CB instance is created for SW1 in fig. 1, where the fr vlan is 255 (i.e. the first forwarding vlan whose purpose is that the replicated multicast stream is forwarded from vlan255 network, and the multicast network switching device receiving the multicast stream also needs to receive through vlan255 network, which may be set to any vlan capable of sending data), the mode is a generation (replication) mode, the flow list is struct 1, and the egress ports are ring ports 1/14, 1/13. The stream 1 is a stream created by the first hop multicast network switching device according to the multicast stream parameters of each multicast stream, and the matching feature of the stream 1 is the first matching feature parameter.
Taking TC1 as a multicast source and SW1 as a first hop multicast network switching device to receive a multicast stream sent by TC1 as an example, the procedure of multicast stream replication and forwarding based on the first CB instance is as follows:
1. SW1 copies the multicast stream into two parts according to the generation mode of the first CB example; wherein the two copied multicast streams include the same tag and sequence number.
2. Adding the fr vlan 255 as a vlan tag to the multicast stream after the duplication of two copies; wherein the vlan100 mentioned above needs to be removed;
3. and determining the last hop multicast network switching equipment and a corresponding forwarding path based on the destination IP. The method comprises the steps that a multicast receiver can be determined through a destination ip, and then the last-hop multicast network switching device connected with the multicast receiver can be determined, and then the forwarding path from the first-hop multicast network switching device to the last-hop multicast network switching device is determined, so that a first outflow port corresponding to the forwarding path is determined. For example, if it is determined that the multicast receiver is TC3, the last hop multicast network switching device corresponding to TC3 is TSN SW3, the corresponding forwarding paths are SW1- > SW3- > TC2, SW1- > SW2- > SW4- > SW3- > TC2, and the ports 1/14, 1/13 are output.
4. The SW1 takes the fr vlan 255 as a forwarding network, and the multicast streams after the duplication of two copies are sent to the last hop multicast network switching device SW3 through the output ports 1/14 and 1/13 through SW1- > SW3, SW1- > SW2- > SW4- > SW3, and then sent to the multicast receiver TC3.
In some embodiments, further comprising:
an ACL policy is set in the inflow direction corresponding to the first outflow port number of the first hop multicast network switching equipment;
when the multicast stream reaches the first-hop multicast network switching device through the forwarding path, the first-hop multicast network switching device discards the multicast stream based on the ACL policy.
In some embodiments, the ACL policy includes ACL policy parameters including frame type, destination IP, perform discard action parameters;
when the multicast stream reaches the first-hop multicast network switching device through the forwarding path, the first-hop multicast network switching device discards the multicast stream based on the ACL policy, including:
when the frame type of the multicast stream received by the first-hop multicast network switching device is the same as the frame type in the ACL policy parameter, and the destination IP of the multicast stream is the same as the destination IP in the ACL policy parameter, the first-hop multicast network switching device discards the multicast stream according to the executing discarding action parameter.
In some embodiments, in order to prevent a multicast stream sent by the first-hop multicast network switching device from flowing back to the first-hop multicast network switching device to cause a network storm, the application further proposes to configure an access control list (Access Control Lists, ACL) policy on the first-hop multicast network switching device, where the ACL policy is used to discard the multicast stream flowing in through a port of the first-hop multicast network switching device.
The ACL policy may include ACL policy parameters including frame type, destination IP, and perform discard action parameters (i.e., action is deny). For example: the above-mentioned example refers to SW1 sending out multicast streams (IPV 4 multicast MAC address, destination ip: 224.1.1.1) from ports 1/13 and 1/14, in order to prevent the multicast stream sent out from port 1/13 from going through SW2, SW4, SW3 back to port 1/14, the message sent out from port 1/14 goes through SW3, SW4, SW2 back to port 1/13, an ACL policy needs to be configured on SW1, the multicast stream in the direction of port 1/13,1/14 is discarded, and the ACL policy parameters (i.e., ACL configuration characteristics) are configured according to the multicast stream parameters: the frame type is IPv4, the destination IP is 224.1.1.1, the action is deny, and ACL policy is applied to the ingress direction of ports 1/13, 1/14. Comparing the frame type in the ACL policy parameter with the destination MAC type in the multicast stream parameter, comparing the destination IP in the ACL policy parameter with the destination IP in the multicast stream parameter, and if the two destination MAC types are both IPv4 and 224.1.1.1, executing a deny action without allowing the multicast stream to flow into SW1 from the inlet direction of ports 1/13 and 1/14.
In some embodiments, the last hop multicast network switch device receives the multicast stream after replicating two copies, including:
and the last-hop multicast network switching equipment matches the destination MAC and the first forwarding vlan in the multicast stream parameters according to the set second matching characteristic parameters, when the second matching characteristic parameters are matched with the destination MAC and the first forwarding vlan in the multicast stream parameters, the last-hop multicast network switching equipment receives the multicast stream after copying two parts, and when the first matching characteristic parameters are not matched with the destination MAC or the first forwarding vlan in the multicast stream parameters, the last-hop multicast network switching equipment does not receive the multicast stream after copying two parts.
In some embodiments, the second matching characteristic parameter comprises a second destination MAC type, a second vlan tag, a second ingress port number;
the last hop multicast network switching device matches a destination MAC in the multicast stream parameters and the first forwarding vlan according to the set second matching characteristic parameters, when the second matching characteristic parameters are matched with the destination MAC in the multicast stream parameters and the first forwarding vlan, the last hop multicast network switching device receives the multicast stream after copying two parts, and when the first matching characteristic parameters are not matched with the destination MAC in the multicast stream parameters or the first forwarding vlan, the last hop multicast network switching device does not receive the multicast stream after copying two parts, including:
When the last hop multicast network switching device receives the multicast stream after the two copies from the port corresponding to the second inflow port number, the destination MAC in the multicast stream parameter accords with the second destination MAC type of the second matching characteristic parameter, and the second vlan is the same as the first forwarding vlan, the last hop multicast network switching device receives the multicast stream after the two copies;
when the last hop multicast network switching device receives the multicast stream after the two copies from the port corresponding to the second inflow port number, the destination MAC in the multicast stream parameter does not conform to the second destination MAC type of the second matching feature parameter, and/or the second vlan tag is different from the first forwarding vlan, the last hop multicast network switching device does not receive the multicast stream after the two copies;
and when the last-hop multicast network switching equipment does not receive the multicast stream which is duplicated in two parts from the port corresponding to the second inflow port number, the last-hop multicast network switching equipment does not receive the multicast stream which is duplicated in two parts.
In some embodiments, the second CB instance comprises a second forwarding vlan, a cancellation mode, and a second egress port number;
The last hop multicast network switching device eliminates the multicast stream after copying two copies into one copy according to a preset second CB instance, and forwards the one copy of the multicast stream to a multicast receiver, comprising:
the last-hop multicast network switching equipment eliminates the multicast streams after the two copies into one copy according to the elimination mode;
the last hop multicast network switching equipment adds the second forwarding vlan as a vlan tag to the multicast stream eliminated as a part;
and the last hop multicast network switching equipment takes the second forwarding vlan as a forwarding network, and forwards the multicast stream eliminated into one part to the multicast receiver through a port corresponding to the second outflow port number.
In some embodiments described above, the multicast receiver may be set, and then the network switching device corresponding to the multicast receiver is used as the last hop network switching device. A stream struct 1 is created for a multicast stream on the last hop network switching device, where the struct 1 has a corresponding second matching characteristic parameter, where the second matching characteristic parameter may include a second destination MAC type, a second vlan tag, and a second ingress port number. The second destination MAC type may be multicast (destination MAC: multicast), and may be matched with the destination MAC in the multicast stream parameters. The second vlan tag (i.e., the outer tag vlan) is to be matched to the first forwarding vlan in the first CB instance. The second ingress port number indicates from which port the multicast stream may flow. For example, each of SW2, SW3 and SW4 may be used as a last hop network switching device, and then a second matching characteristic parameter may be configured on each of SW2, SW3 and SW4, where SW2 corresponds to a second destination MAC: multicast, outer tag vlan is vlan255 and apply the flow to ingress ports 1/13, 1/14 (as shown in FIG. 1). Second destination MAC corresponding to SW 3: multicast, outer tag vlan is vlan255 and apply the flow to ingress ports 1/10, 1/9 (as shown in FIG. 1). Second destination MAC corresponding to SW 4: multicast, outer tag vlan is vlan255 and apply the flow to ingress ports 1/10, 1/9 (as shown in FIG. 1). Different streams streamn are created for different multicast streams.
Taking TC1 as a multicast source, SW1 as a first hop multicast network switching device receiving a multicast stream sent by TC1, SW2 as a last hop network switching device receiving a multicast stream as an example, the second matching characteristic parameters are specifically matched as follows:
1. receiving the multicast stream sent by SW1 from the ingress ports 1/13, 1/14 of SW2, if the second destination MAC type indicates multicast, and the multicast destination MAC in the multicast stream: 01-00-5e-01-01-01, and the second vlan tag is vlan255, and matches vlan255 of the first forwarding vlan, SW2 receives the multicast stream;
2. if the second destination MAC type does not indicate multicast, the second destination MAC type is associated with the multicast destination MAC in the multicast stream: 01-00-5e-01-01-01, and/or the second vlan tag is not vlan255, does not match vlan255 of the first forwarding vlan, SW2 does not receive the multicast stream.
3. SW2 does not receive the multicast stream at the ingress ports 1/13, 1/14, nor does SW2 receive the multicast stream.
SW3, SW4 receive the multicast stream as the last hop network switch, as described above.
In these embodiments, a second CB instance needs to be configured for the last hop multicast network switching device, where the second CB instance includes a second forwarding vlan, a cancellation mode, and a second outgoing port number. For example, on SW2 shown in FIG. 1, a CB instance is created, the fr vlan is 255 (the second forwarding vlan whose purpose is to forward the multicast stream eliminated as a unit to the multicast stream receiver through vlan255 network, which can be set to any vlan that can send data), the mode is the recovery (elimination) mode, the stream list is struct 1, and the egress port is ring port 1/10 (shown in FIG. 1). The stream 1 is a stream created by SW2, and the matching feature of the stream 1 is the second matching feature parameter. On SW3, a CB instance is created, the frer vlan is 255, the mode is the recovery mode, the flow list is struct 1, and the egress port is ring port 1/2 (shown in FIG. 1). On SW4, a CB instance is created, the frer vlan is 255, the mode is the recovery mode, the flow list is struct 1, and the egress port is ring port 1/2 (shown in FIG. 1).
Taking TC1 as a multicast source, SW1 as a first hop multicast network switching device receiving a multicast stream sent by TC1, SW2 as a last hop network switching device receiving the multicast stream as an example, the procedure of multicast stream replication and forwarding based on the second CB instance is as follows:
1. SW2 eliminates the multicast stream into one part according to the recovery mode of the second CB example; when two multicast streams are received, including the same tag and sequence number, then the later received one is eliminated.
2. SW2 adds the frer vlan 255 to the multicast stream after the elimination of the same; wherein the previous first forwarding vlan needs to be removed;
3. SW2 sends the eliminated multicast stream to multicast receiver TC2 with out port 1/10.
SW3, SW4 receive the multicast stream as the last hop network switch, as described above.
By the above, the first-hop multicast network switching device in the application can copy multicast streams according to the preset first CB instance, and the last-hop multicast network switching device can eliminate the multicast streams after copying two copies into one copy according to the preset second CB instance, so that each multicast receiver can receive and only receive one copy of multicast message, and the problem that the upper layer application of the multicast receiver needs to process multiple repeated data and waste is caused because each multicast receiver in the existing multicast ring network can receive 2 copies of messages from different paths respectively.
[ first embodiment of a method for transmitting static multicast streams in a multicast Ring network ]
Taking the ring network shown in fig. 1 as an example, TC1 is taken as a multicast source, SW1 is taken as a first-hop multicast network switching device to receive a multicast stream sent by TC1, and SW2 is taken as a last-hop network switching device to receive the multicast stream.
The parameters of the multicast stream sent by the TC1 comprise 100 message vlan and multicast destination mac:01-00-5e-01-01-01, destination ip:224.1.1.1.
the first matching characteristic parameters of SW1 include destination MAC: multicast, outer tag vlan is vlan100 and apply the flow to ingress port 1/10.
A first CB example of SW1 includes a fr vlan of 255, a generation mode, and an egress port of ring ports 1/14, 1/13.
The second matching characteristic parameters of SW2 include destination MAC: multicast, outer tag vlan is vlan255 and apply the flow to ingress ports 1/13, 1/14.
A second CB example of SW2 includes a fr vlan of 255, a generation mode, and an egress port of 1/10 of a ring port.
As shown in fig. 3, the specific procedure of the transmission method of the static multicast stream in the multicast ring network is as follows:
s310: TC1 sends multicast stream to SW1;
s320: SW1 receives the multicast stream from the inflow port 1/10 and judges whether the multicast stream is really received;
S330 when the first destination MAC type indicates multicast, and the multicast destination MAC in the multicast stream: 01-00-5e-01-01-01, wherein the first vlan tag is vlan100, and is matched with the message vlan100 in the multicast stream, and then SW1 receives the multicast stream;
s340: when the first destination MAC type does not indicate multicast, the first destination MAC type is associated with a multicast destination MAC in the multicast stream: 01-00-5e-01-01-01, and/or, the first vlan tag is not vlan100, and does not match with the vlan100 of the packet in the multicast stream, SW1 does not receive the multicast stream, discards it, and does not execute the subsequent steps;
s350: if SW1 does not receive the multicast stream from the ingress port 1/10, SW1 does not receive the multicast stream and does not execute the subsequent steps;
s360: SW1 copies the multicast stream into two parts according to the generation mode of the first CB example, and adds a fr vlan255 as a vlan tag to the multicast stream after copying the two parts, and determines SW2 as the last hop network switching device and a corresponding forwarding path SW1- > SW3- > TC2, SW1- > SW2- > SW4- > SW3- > TC2 based on the destination IP;
s370: SW1 takes a frer vlan255 as a forwarding network, and sends the multicast stream with the duplicated two copies to SW2 through forwarding paths through the output ports 1/14 and 1/13;
s380: SW2 receives the multicast stream from the inflow ports 1/13 and 1/14 and judges whether the multicast stream is actually received;
S390: if the second destination MAC type indicates multicast, with the multicast destination MAC in the multicast stream: 01-00-5e-01-01-01, and the second vlan tag is vlan255, and matches vlan255 of the first forwarding vlan, SW2 receives the multicast stream;
s3100: if the second destination MAC type does not indicate multicast, the second destination MAC type is associated with the multicast destination MAC in the multicast stream: 01-00-5e-01-01-01, and/or the second vlan tag is not vlan255, and does not match vlan255 of the first forwarding vlan, SW2 does not receive the multicast stream, and does not perform the subsequent steps down;
s3110: SW2 does not receive the multicast stream at the ingress ports 1/13, 1/14, nor does SW2 receive the multicast stream, and does not perform subsequent steps;
s3120: SW2 eliminates the multicast stream into one part according to the recovery mode of the second CB instance, adds the frer vlan255 to the eliminated multicast stream, and transmits the eliminated multicast stream to the multicast receiver TC2 through the output port 1/10.
In addition, when the transmission method of the static multicast stream in the multicast ring network is executed, the switching of the ring network does not influence multicast receivers to receive multicast messages.
For example, when TC2 is taken as a receiver, if the multicast stream sent by TC1 is forwarded by stream1 created by SW1 and then no packet is lost, and the number of packets of the multicast stream received by TC2 is consistent with the number of packets sent by TC1 (i.e. one packet is sent and a plurality of packets are received), this indicates that no packet loss phenomenon occurs after the transmission method of the static multicast stream in the multicast ring network proposed by the present application is executed, and the transmission of the static multicast stream in the multicast ring network can be well realized. And after the ring network switching test is carried out: the line between the SW1 and the SW2 is pulled out, and the multicast stream sent by the TC1 is forwarded by the stream1 created by the SW1 without packet loss; connecting the lines between the SW1 and the SW2, pulling out the line between the SW2 and the SW4, and indicating that the switching of the ring network does not affect the multicast message received by the multicast receiver after executing the transmission method of the static multicast stream in the multicast ring network, wherein the multicast stream sent by the TC1 is forwarded by the stream1 created by the SW 1.
[ embodiment of a transport system for static multicast flows in a multicast Ring network ]
The embodiment of the application provides a transmission system of a static multicast stream in a multicast ring network, which can be used for realizing the transmission method of the static multicast stream in the multicast ring network in the embodiment, and the transmission system of the static multicast stream in the multicast ring network comprises the following steps: the network switching equipment in the multicast ring network comprises first-hop network switching equipment, last-hop network switching equipment and other network switching equipment on a forwarding path; the first-hop multicast network switching device is connected with the multicast source, and the last-hop multicast network switching device is connected with the multicast receiver;
the multicast source is used for: transmitting the multicast stream to the first-hop network switching device;
the network switching device in the multicast ring network is used for: implementing the method for transmitting the static multicast stream in the multicast ring network according to any one of the above;
the multicast receiver is configured to: and receiving the multicast stream.
Reference may be made specifically to the detailed description of the method embodiments, which are not described here in detail.
[ embodiments of the computing device of the present application ]
Fig. 4 is a schematic diagram of a computing device 900 provided by an embodiment of the present application. The computing device may be used as a transmission device of the static multicast stream in the multicast ring network, and execute each optional embodiment of the above-mentioned transmission method of the static multicast stream in the multicast ring network, where the computing device may be a terminal, or may be a chip or a chip system inside the terminal. As shown in fig. 4, the computing device 900 includes: processor 910, memory 920, and communication interface 930.
It should be appreciated that the communication interface 930 in the computing device 900 shown in fig. 4 may be used to communicate with other devices and may include, in particular, one or more transceiver circuits or interface circuits.
Wherein the processor 910 may be coupled to a memory 920. The memory 920 may be used to store the program codes and data. Accordingly, the memory 920 may be a storage unit internal to the processor 910, an external storage unit independent of the processor 910, or a component including a storage unit internal to the processor 910 and an external storage unit independent of the processor 910.
Optionally, computing device 900 may also include a bus. The memory 920 and the communication interface 930 may be connected to the processor 910 through a bus. The bus may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, an unbiased line is shown in FIG. 4, but does not represent only one bus or one type of bus.
It should be appreciated that in embodiments of the present application, the processor 910 may employ a central processing unit (central processing unit, CPU). The processor may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), off-the-shelf programmable gate arrays (field programmable gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. Or the processor 910 may employ one or more integrated circuits for executing associated programs to perform the techniques provided in the embodiments of the present application.
The memory 920 may include read only memory and random access memory and provide instructions and data to the processor 910. A portion of the processor 910 may also include nonvolatile random access memory. For example, the processor 910 may also store information of the device type.
When the computing device 900 is running, the processor 910 executes computer-executable instructions in the memory 920 to perform any of the operational steps of the methods described above, as well as any of the alternative embodiments.
It should be understood that the computing device 900 according to the embodiments of the present application may correspond to a respective subject performing the methods according to the embodiments of the present application, and that the foregoing and other operations and/or functions of the respective modules in the computing device 900 are respectively for implementing the respective flows of the methods of the embodiments, and are not described herein for brevity.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Embodiments of the present application also provide a computer-readable storage medium having stored thereon a computer program for performing the above-described method when executed by a processor, the method comprising at least one of the aspects described in the above-described embodiments.
Any combination of one or more computer readable media may be employed as the computer storage media of the embodiments herein. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
In addition, the terms "first, second, third, etc." or module a, module B, module C, etc. in the description and the claims are used solely for distinguishing between similar objects and not necessarily for a specific ordering of objects, it being understood that a specific order or sequence may be interchanged if allowed to enable the embodiments of the application described herein to be practiced otherwise than as specifically illustrated and described herein.
In the above description, reference numerals indicating steps such as S110, S120, … …, etc. do not necessarily indicate that the steps are performed in this order, and the order of the steps may be interchanged or performed simultaneously as the case may be.
The term "comprising" as used in the description and claims should not be interpreted as being limited to what is listed thereafter; it does not exclude other elements or steps. Thus, it should be interpreted as specifying the presence of the stated features, integers, steps or components as referred to, but does not preclude the presence or addition of one or more other features, integers, steps or components, or groups thereof. Thus, the expression "a device comprising means a and B" should not be limited to a device consisting of only components a and B.
Reference in the specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. Thus, appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment, but may. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments as would be apparent to one of ordinary skill in the art from this disclosure.
Note that the above is only a preferred embodiment of the present application and the technical principle applied. Those skilled in the art will appreciate that the present application is not limited to the particular embodiments described herein, but is capable of numerous obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the present application. Thus, while the present application has been described in terms of the foregoing embodiments, the present application is not limited to the foregoing embodiments, but may include many other equivalent embodiments without departing from the spirit of the present application, all of which fall within the scope of the present application.

Claims (10)

1. A method for transmitting a static multicast stream in a multicast ring network, comprising:
the first-hop multicast network switching equipment receives a multicast stream sent by a multicast source, copies the multicast stream into two parts according to a preset first CB instance, and sends the multicast stream after the two copies to the last-hop multicast network switching equipment based on a corresponding forwarding path in a multicast ring network; wherein, the first-hop multicast network switching equipment is connected with the multicast source;
and the last-hop multicast network switching equipment receives the multicast streams which are duplicated in two parts, eliminates the multicast streams which are duplicated in two parts into one part according to a preset second CB instance, and forwards the one part of multicast streams to a multicast receiver, wherein the last-hop multicast network switching equipment is connected with the multicast receiver.
2. The method of claim 1, wherein the multicast stream comprises multicast stream parameters;
the first-hop multicast network switching device receives a multicast stream sent by a multicast source, and includes:
the first-hop multicast network switching equipment matches the multicast stream parameters according to the set first matching characteristic parameters, when the first matching characteristic parameters are matched with the multicast stream parameters, the first-hop multicast network switching equipment receives the multicast stream, and when the first matching characteristic parameters are not matched with the multicast stream parameters, the first-hop multicast network switching equipment does not receive the multicast stream.
3. The method of claim 2, wherein the multicast stream parameters include a message vlan and a destination MAC;
the first matching characteristic parameter comprises a first destination MAC type, a first vlan tag and a first inflow port number;
the first-hop multicast network switching device matches the multicast stream parameters according to the set first matching characteristic parameters, when the first matching characteristic parameters are matched with the multicast stream parameters, the first-hop multicast network switching device receives the multicast stream, and when the first matching characteristic parameters are not matched with the multicast stream parameters, the first-hop multicast network switching device does not receive the multicast stream, and the method comprises the following steps:
when the first-hop multicast network switching device receives the multicast stream from a port corresponding to the first inflow port number, the destination MAC in the multicast stream parameter accords with the first destination MAC type of the first matching characteristic parameter, and the packet vlan of the multicast stream parameter is the same as the first vlan tag, the first-hop multicast network switching device receives the multicast stream;
when the first-hop multicast network switching device receives the multicast stream from a port corresponding to the first inflow port number, the destination MAC in the multicast stream parameter does not conform to the first destination MAC type of the first matching feature parameter, and/or a packet vlan of the multicast stream parameter is different from the first vlan tag, the first-hop multicast network switching device does not receive the multicast stream;
And when the first-hop multicast network switching equipment does not receive the multicast stream from the port corresponding to the first inflow port number, the first-hop multicast network switching equipment does not receive the multicast stream.
4. The method of claim 3, wherein the multicast stream parameters further comprise destination IP;
the first CB instance comprising a first forwarding vlan, a copy mode, and a first outgoing port number;
the first-hop multicast network switching device copies the multicast stream into two parts according to a preset first CB instance, and sends the multicast stream after the two copies to the last-hop multicast network switching device based on a corresponding forwarding path in a multicast ring network, and the method comprises the following steps:
the first-hop multicast network switching equipment copies the multicast stream into two parts according to the copy mode;
the first hop multicast network switching equipment adds the first forwarding vlan tag to the multicast stream after the two copies are copied;
the first-hop multicast network switching device determines the last-hop multicast network switching device based on the destination IP, and determines the corresponding forwarding path based on the last-hop multicast network switching device;
and the first-hop multicast network switching equipment takes the first forwarding vlan as a forwarding network, and forwards the multicast stream which is duplicated in two parts to the last-hop multicast network switching equipment through the corresponding forwarding path by a port corresponding to the first outflow port number.
5. The method as recited in claim 4, further comprising:
an ACL policy is set in the inflow direction corresponding to the first outflow port number of the first hop multicast network switching equipment;
when the multicast stream reaches the first-hop multicast network switching device through the forwarding path, the first-hop multicast network switching device discards the multicast stream based on the ACL policy.
6. The method of claim 5, wherein the ACL policy comprises ACL policy parameters including frame type, destination IP, perform discard action parameters;
when the multicast stream reaches the first-hop multicast network switching device through the forwarding path, the first-hop multicast network switching device discards the multicast stream based on the ACL policy, including:
when the frame type of the multicast stream received by the first-hop multicast network switching device is the same as the frame type in the ACL policy parameter, and the destination IP of the multicast stream is the same as the destination IP in the ACL policy parameter, the first-hop multicast network switching device discards the multicast stream according to the executing discarding action parameter.
7. The method of claim 4, wherein the last hop multicast network switching device receives the multicast stream after replicating two copies, comprising:
And the last-hop multicast network switching equipment matches the destination MAC and the first forwarding vlan in the multicast stream parameters according to the set second matching characteristic parameters, when the second matching characteristic parameters are matched with the destination MAC and the first forwarding vlan in the multicast stream parameters, the last-hop multicast network switching equipment receives the multicast stream after copying two parts, and when the first matching characteristic parameters are not matched with the destination MAC or the first forwarding vlan in the multicast stream parameters, the last-hop multicast network switching equipment does not receive the multicast stream after copying two parts.
8. The method of claim 7, wherein the second matching characteristic parameter comprises a second destination MAC type, a second vlan tag, a second ingress port number;
the last hop multicast network switching device matches a destination MAC in the multicast stream parameters and the first forwarding vlan according to the set second matching characteristic parameters, when the second matching characteristic parameters are matched with the destination MAC in the multicast stream parameters and the first forwarding vlan, the last hop multicast network switching device receives the multicast stream after copying two parts, and when the first matching characteristic parameters are not matched with the destination MAC in the multicast stream parameters or the first forwarding vlan, the last hop multicast network switching device does not receive the multicast stream after copying two parts, including:
When the last-hop multicast network switching device receives the multicast stream after the two copies from the port corresponding to the second inflow port number, the destination MAC in the multicast stream parameter accords with the second destination MAC type of the second matching characteristic parameter, and the second vlan tag is the same as the first forwarding vlan, the last-hop multicast network switching device receives the multicast stream after the two copies;
when the last hop multicast network switching device receives the multicast stream after the two copies from the port corresponding to the second inflow port number, the destination MAC in the multicast stream parameter does not conform to the second destination MAC type of the second matching feature parameter, and/or the second vlan tag is different from the first forwarding vlan, the last hop multicast network switching device does not receive the multicast stream after the two copies;
and when the last-hop multicast network switching equipment does not receive the multicast stream which is duplicated in two parts from the port corresponding to the second inflow port number, the last-hop multicast network switching equipment does not receive the multicast stream which is duplicated in two parts.
9. The method of claim 8, wherein the second CB instance comprises a second forwarding vlan, a cancellation mode, and a second egress port number;
The last hop multicast network switching device eliminates the multicast stream after copying two copies into one copy according to a preset second CB instance, and forwards the one copy of the multicast stream to a multicast receiver, comprising:
the last-hop multicast network switching equipment eliminates the multicast streams after the two copies into one copy according to the elimination mode;
the last hop multicast network switching equipment adds the second forwarding vlan as a vlan tag to the multicast stream eliminated as a part;
and the last hop multicast network switching equipment takes the second forwarding vlan as a forwarding network, and forwards the multicast stream eliminated into one part to the multicast receiver through a port corresponding to the second outflow port number.
10. A transmission system for a static multicast stream in a multicast ring network, comprising: the network switching equipment in the multicast ring network comprises first-hop network switching equipment, last-hop network switching equipment and other network switching equipment on a forwarding path; the first-hop multicast network switching device is connected with the multicast source, and the last-hop multicast network switching device is connected with the multicast receiver;
The multicast source is used for: transmitting the multicast stream to the first-hop network switching device;
the network switching device in the multicast ring network is used for: implementing a method of transmitting a static multicast stream in a multicast ring network according to any one of claims 1 to 9;
the multicast receiver is configured to: and receiving the multicast stream.
CN202311423575.XA 2023-10-30 2023-10-30 Method and system for transmitting static multicast stream in multicast ring network Pending CN117478655A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311423575.XA CN117478655A (en) 2023-10-30 2023-10-30 Method and system for transmitting static multicast stream in multicast ring network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311423575.XA CN117478655A (en) 2023-10-30 2023-10-30 Method and system for transmitting static multicast stream in multicast ring network

Publications (1)

Publication Number Publication Date
CN117478655A true CN117478655A (en) 2024-01-30

Family

ID=89625045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311423575.XA Pending CN117478655A (en) 2023-10-30 2023-10-30 Method and system for transmitting static multicast stream in multicast ring network

Country Status (1)

Country Link
CN (1) CN117478655A (en)

Similar Documents

Publication Publication Date Title
CN109218178B (en) Message processing method and network equipment
US8169924B2 (en) Optimal bridging over MPLS/IP through alignment of multicast and unicast paths
US10122614B2 (en) Failure protection for traffic-engineered bit indexed explicit replication
CN112119616B (en) Packet replication method, apparatus and computer readable storage medium related to in-place operation implementation and management (IOAM)
US7855950B2 (en) Congruent forwarding paths for unicast and multicast traffic
US9553736B2 (en) Aggregating data traffic from access domains
EP2378720B1 (en) Extranet networking method, system and device for multicast virtual private network
JP4229121B2 (en) Network system, spanning tree configuration method and configuration program, and spanning tree configuration node
US7095741B1 (en) Port isolation for restricting traffic flow on layer 2 switches
US7489682B2 (en) Packet relay system
CN112565046B (en) Synchronizing multicast router capabilities
US10805390B2 (en) Automated mirroring and remote switch port analyzer (RSPAN) functions using fabric attach (FA) signaling
US9497077B2 (en) Apparatus for performing loop-free transmission in a communication network
WO2021093463A1 (en) Packet forwarding method, first network device, and first device group
JP4108524B2 (en) ATM bridge device and loop detection method in ATM bridge
US10075522B2 (en) Automated mirroring and remote switch port analyzer (RSPAN)/ encapsulated remote switch port analyzer (ERSPAN) functions using fabric attach (FA) signaling
WO2020088379A1 (en) Service flow processing method and device
WO2019205756A1 (en) Data transmission protection method, apparatus, and system, and computer readable storage medium
CN113765809A (en) BIER multicast traffic statistical method, device and system
CN100396022C (en) Realization method for monitoring network service
CN117478655A (en) Method and system for transmitting static multicast stream in multicast ring network
JP2019041227A (en) Communication program, communication method, and communication device
CN112671630B (en) Multicast method, device, network equipment and storage medium
WO2024093306A1 (en) Communication method and apparatus
WO2019071585A1 (en) Method, apparatus and system for rapidly restoring service during path switching

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination