CN112769693A - Method and device for maintaining multicast group - Google Patents

Method and device for maintaining multicast group Download PDF

Info

Publication number
CN112769693A
CN112769693A CN202011553946.2A CN202011553946A CN112769693A CN 112769693 A CN112769693 A CN 112769693A CN 202011553946 A CN202011553946 A CN 202011553946A CN 112769693 A CN112769693 A CN 112769693A
Authority
CN
China
Prior art keywords
interface
multicast
board
multicast group
group
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.)
Granted
Application number
CN202011553946.2A
Other languages
Chinese (zh)
Other versions
CN112769693B (en
Inventor
刘小兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou DPtech Information Technology Co Ltd
Original Assignee
Hangzhou DPtech Information 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 Hangzhou DPtech Information Technology Co Ltd filed Critical Hangzhou DPtech Information Technology Co Ltd
Priority to CN202011553946.2A priority Critical patent/CN112769693B/en
Publication of CN112769693A publication Critical patent/CN112769693A/en
Application granted granted Critical
Publication of CN112769693B publication Critical patent/CN112769693B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/806Broadcast or multicast traffic

Abstract

The application provides a method and a device for maintaining a multicast group, wherein the method is applied to a frame type device, and the frame type device at least comprises a switching network board and a plurality of interface boards; each interface board in the plurality of interface boards is accessed to the exchange network board to carry out cross-over interface board communication; the method comprises the following steps: determining whether a multicast input interface and a multicast output interface in a target multicast group are positioned on the same interface board; if the multicast input interface and the multicast output interface in the target multicast group are positioned on different interface boards, determining a first interface of a switching network board connected with the interface board where the multicast output interface is positioned; and adding the interface on the interface board where the multicast input interface is positioned and the first interface into the target multicast group as a group broadcasting interface so as to update the target multicast group. The method and the device can ensure that the frame type equipment realizes the forwarding of the cross-over interface plate of the multicast traffic, and can save the bandwidth, thereby avoiding the situation that packet loss is generated by other traffic due to the full load of the frame type equipment.

Description

Method and device for maintaining multicast group
Technical Field
The present application relates to the field of network communication technologies, and in particular, to a method and an apparatus for maintaining a multicast group.
Background
Multicast is a one-to-many network technology for data distribution. In practical application, based on multicast technology, a multicast source in a network only needs to send a multicast flow to a multicast access interface of a frame device, and a destination address of the multicast flow is a multicast group address; the above-mentioned frame device may copy the multicast traffic into N copies, and forward the copies of the multicast traffic to the multicast output interfaces that join in the multicast group corresponding to the multicast source, respectively.
In the multicast technology, the frame device may generally maintain a plurality of multicast groups, each multicast group corresponding to a different multicast source; according to the maintained multicast group, the corresponding multicast forwarding table entry can be generated or updated, and the multicast forwarding table entry is issued to the forwarding chips of each interface board and the switching network board, so that when each interface board receives the multicast flow, the multicast flow can be forwarded according to the issued multicast forwarding table entry.
Therefore, the frame device needs to reasonably maintain the multicast output interface in the multicast group, thereby avoiding the waste of bandwidth while ensuring that the frame device realizes the forwarding of the multicast traffic.
Disclosure of Invention
In view of this, the present application provides a method, an apparatus, an electronic device, and a machine-readable storage medium for maintaining a multicast group, so as to solve the problem of bandwidth waste when a frame device forwards a multicast traffic.
The application provides a method for maintaining a multicast group, which is applied to a frame type device, wherein the frame type device at least comprises a switching network board and a plurality of interface boards; each interface board in the plurality of interface boards is accessed to the exchange network board to carry out cross-over interface board communication; the method comprises the following steps:
determining whether a multicast input interface and a multicast output interface in a target multicast group are positioned on the same interface board;
if the multicast input interface and the multicast output interface in the target multicast group are positioned on different interface boards, determining a first interface of a switching network board connected with the interface board where the multicast output interface is positioned;
and adding the interface on the interface board where the multicast input interface is positioned and the first interface into the target multicast group as a group broadcasting interface so as to update the target multicast group.
Optionally, the method further includes:
and if the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board, not updating the target multicast group.
Optionally, the adding the interface on the interface board where the multicast input interface is located and the first interface into the target multicast group as a group broadcast interface includes:
determining a second interface of an interface board where the multicast input interface connected with the exchange network board is located;
and adding the second interface and the first interface into the target multicast group as group play interfaces.
Optionally, when there is only one group broadcast interface in the target multicast group, the determining whether the multicast input interface and the multicast output interface in the target multicast group are located on the same interface board includes:
determining whether a slot position identification corresponding to a multicast output interface of the target multicast group is consistent with a slot position identification corresponding to a multicast input interface of the target multicast group;
if the multicast group is consistent with the target multicast group, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board;
and if the multicast group is inconsistent with the target multicast group, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on different interface boards.
Optionally, when there are multiple multicast output interfaces in the target multicast group, the determining whether the multicast input interface and the multicast output interface in the target multicast group are located on the same interface board includes:
respectively determining whether the slot position identification corresponding to each multicast output interface of the target multicast group is consistent with the slot position identification corresponding to the multicast input interface of the target multicast group;
if the multicast group is consistent with the target multicast group, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board;
and if the inconsistency exists, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on different interface boards.
Optionally, the determining the first interface of the switch network board connected to the interface board where the multicast output interface is located includes:
determining an interface board where the multicast output interface is located according to the slot position identification corresponding to the multicast output interface;
and determining a first interface of the exchange network board connected with the interface board where the multicast output interface is located.
Optionally, the determining the second interface of the interface board where the multicast ingress interface connected to the switch network board is located includes:
determining an interface board where the multicast access interface is located according to the slot position identification corresponding to the multicast access interface;
and determining a second interface of an interface board where the multicast input interface connected with the switching network board is located.
The application also provides a device for maintaining the multicast group, which is applied to the frame type equipment, wherein the frame type equipment at least comprises a switching network board and a plurality of interface boards; each interface board in the plurality of interface boards is accessed to the exchange network board to carry out cross-over interface board communication; the device comprises:
the detection unit is used for determining whether the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board;
an interface obtaining unit, configured to determine a first interface of a switch network board connected to an interface board where a multicast output interface is located if a multicast input interface and a multicast output interface in the target multicast group are located on different interface boards;
and the updating unit is used for adding the interface on the interface board where the multicast input interface is positioned and the first interface into the target multicast group as a group broadcasting interface so as to update the target multicast group.
Optionally, the updating unit is further configured to: and if the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board, not updating the target multicast group.
Optionally, the interface obtaining unit is further configured to: determining a second interface of an interface board where the multicast input interface connected with the exchange network board is located;
the update unit is specifically configured to: and adding the second interface and the first interface into the target multicast group as group play interfaces.
Optionally, when only one group broadcast interface is in the target multicast group, the detecting unit is specifically configured to:
determining whether a slot position identification corresponding to a multicast output interface of the target multicast group is consistent with a slot position identification corresponding to a multicast input interface of the target multicast group;
if the multicast group is consistent with the target multicast group, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board;
and if the multicast group is inconsistent with the target multicast group, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on different interface boards.
Optionally, when there are multiple multicast output interfaces in the target multicast group, the detecting unit is specifically configured to:
respectively determining whether the slot position identification corresponding to each multicast output interface of the target multicast group is consistent with the slot position identification corresponding to the multicast input interface of the target multicast group;
if the multicast group is consistent with the target multicast group, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board;
and if the inconsistency exists, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on different interface boards.
Optionally, the interface obtaining unit is specifically configured to:
determining an interface board where the multicast output interface is located according to the slot position identification corresponding to the multicast output interface;
and determining a first interface of the exchange network board connected with the interface board where the multicast output interface is located.
Optionally, the interface obtaining unit is specifically configured to:
determining an interface board where the multicast access interface is located according to the slot position identification corresponding to the multicast access interface;
and determining a second interface of an interface board where the multicast input interface connected with the switching network board is located.
The application also provides an electronic device, which comprises a communication interface, a processor, a memory and a bus, wherein the communication interface, the processor and the memory are mutually connected through the bus;
the memory stores machine-readable instructions, and the processor executes the method by calling the machine-readable instructions.
The present application also provides a machine-readable storage medium having stored thereon machine-readable instructions which, when invoked and executed by a processor, implement the above-described method.
When frame type equipment maintains a multicast group, whether a multicast input interface and a multicast output interface in a target multicast group are positioned on the same interface board is determined; if the multicast output interface is located on different interface boards, determining a first interface of the exchange network board connected with the interface board where the multicast output interface is located according to the connection relation between the interface on the exchange network board and the interface board; and adding the interface on the interface board where the multicast input interface is positioned and the first interface into the target multicast group as a group broadcasting interface so as to update the target multicast group.
On one hand, when the frame type device determines that the multicast input interface and the multicast output interface in the target multicast group are located on different interface boards, the interface of the interface board where the multicast input interface is located and the first interface of the switching network board connected with the interface board where the multicast output interface is located are added into the multicast group, so that the frame type device is ensured to realize the cross-over interface board forwarding of the multicast flow.
On the other hand, when the multicast input interface and the multicast output interface are located on different interface boards, all the interfaces on the switching network board do not need to be added into the multicast group, and only the first interface of the switching network board connected with the interface board where the multicast output interface is located needs to be added into the multicast group, so that when the frame type device forwards the multicast traffic based on the multicast forwarding table generated by the multicast group, the multicast traffic enters the switching network board from the interface board where the multicast input interface is located, and the multicast traffic is prevented from being forwarded to the interface board where the multicast output interface is not located, thereby saving the bandwidth, and also avoiding the situation that packet loss occurs to other traffic due to the full load of the frame type device.
Drawings
Fig. 1 is a schematic diagram of an interface board included in a frame device and an interface on a switch board according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of maintaining a multicast group in accordance with an exemplary embodiment;
FIG. 3 is a block diagram of an apparatus that maintains a multicast group, according to an exemplary embodiment;
fig. 4 is a hardware block diagram of an electronic device in which an apparatus for maintaining a multicast group according to an exemplary embodiment is shown.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In order to enable those skilled in the art to better understand the technical solution in the embodiment of the present disclosure, a related technology for implementing forwarding of multicast traffic by a frame device related to the embodiment of the present disclosure is briefly described below.
The frame device may generally maintain a plurality of multicast groups, each multicast group corresponding to a different multicast source; the frame device may generate or update a multicast forwarding entry corresponding to the multicast group according to the multicast group maintained by the frame device; the frame device may issue the multicast forwarding table entry to each interface board and switching network board included in the frame device, so that when each interface board receives the multicast traffic, the received multicast traffic may be copied into N parts according to the multicast forwarding table entry, and the N parts are respectively forwarded to each multicast output interface in the multicast forwarding table entry, that is, forwarded to each member interface in a multicast group corresponding to a multicast source that sends the multicast traffic.
In practical applications, the frame device may generally support IGMP (Internet Group Management Protocol); IGMP is a mechanism of multicast constraints running on network devices, which is used to manage and control multicast groups. Regarding the working principle and the specific working mode of IGMP, reference may be made to related technologies, which are not described herein again.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an interface board included in a boxed device and an interface on a switch board according to an exemplary embodiment.
As shown in fig. 1, the boxed device may include an interface board 1, an interface board 2, an interface board 3, and a switching network board. The interface board 1 may include an interface port11, a port12, and a port13, the interface board 2 may include an interface port21 and a port22, the interface board 3 may include an interface port31, and the switch board may include interfaces A, B and C.
The interface board 1 can be connected to the switch board through an interface port11 and an interface a; the interface board 2 can be connected to the switch board through an interface port21 and an interface B; the interface board 3 can be connected to the switch board through an interface port31 and an interface C. It should be understood that the interfaces shown in fig. 1 are only exemplary descriptions and do not represent a limitation to the present description, and each of the interface boards and the switch board may include one or more other interfaces in addition to the interfaces shown in the block device shown in fig. 1.
In a prior art solution, when a frame device maintains a multicast group based on protocols such as IGMP, only an ingress interface and an egress interface of multicast traffic are managed. In practical application, when a frame device maintains a multicast group based on protocols such as IGMP, in order to forward multicast traffic, all interfaces on an interface board and a switching network board through which the multicast traffic may flow are usually added to the multicast group; in other words, when the frame device implements forwarding of the multicast traffic, the received multicast traffic may be broadcasted to all interfaces on the interface board where the ingress interface is located, all interfaces on the network board where the egress interface is located, and all interfaces on the switching network board, and when the copy of the multicast traffic is forwarded to the interface other than the egress interface, the copy of the multicast traffic will be discarded, and only the copy of the multicast traffic forwarded to the egress interface may be successfully forwarded.
For example, the frame device receives a multicast traffic, where an ingress interface of the multicast traffic is interface port12 on interface board 1, and an egress interface of the multicast traffic is interface port13 on interface board 1. Because the interface port12 and the interface port13 are on the same interface board, the multicast traffic only flows through the interface board 1, and the frame device can add all interfaces on the interface board 1 into a multicast group, and generate and issue a multicast forwarding table entry corresponding to the multicast group; the frame device may copy the multicast traffic into N shares and forward the N shares to the interfaces respectively; eventually, only the copy of the multicast traffic forwarded to interface port13 is successfully forwarded, and the copy of the multicast traffic forwarded to other interfaces on interface board 1 will be discarded.
For another example, the frame device receives a multicast traffic, and an ingress interface of the multicast traffic is interface port12 on interface board 1, and an egress interface of the multicast traffic is interface port13 on interface board 1 and interface port22 on interface board 2. Because the interface port12 and the interface port22 are not on the same interface board, the multicast traffic will flow through the interface board 1, the switch board and the interface board 2, and the frame device can add all the interfaces on the interface board 1, all the interfaces on the switch board and all the interfaces on the interface board 2 into the multicast group; the frame device may copy the multicast traffic into N shares and forward the N shares to the interfaces respectively; finally, only the copies of multicast traffic forwarded to interface port13 and interface port22 can be successfully forwarded, and the copies of multicast traffic forwarded to interface board 1, switch board, interface board 2, and other interfaces on interface board 3 are discarded.
However, in the above prior art scheme, on one hand, because the relevant protocol only manages the ingress interface and the egress interface of the multicast traffic, when forwarding the multicast traffic is implemented, for the interface board and the switch web board that may flow through in the frame device, the broadcast is sent to all interfaces on the interface board and the switch web board, which results in discarding a large number of copies of the multicast traffic and causing bandwidth waste; on the other hand, in a scene with a lot of multicast traffic entering the frame device, forwarding the multicast traffic to all interface boards may cause a full load of the frame device, and then packet loss occurs in the remaining traffic.
In view of this, the present specification aims to provide a technical solution for maintaining a multicast group by adding only interfaces on each interface board and switching network board through which a multicast traffic must flow to the multicast group.
When the method is implemented, the method for maintaining the multicast group is applied to a frame device, and the frame device at least comprises a switching network board and a plurality of interface boards; each interface board in the plurality of interface boards is accessed to the exchange network board to carry out cross-over interface board communication; the method comprises the following steps:
determining whether a multicast input interface and a multicast output interface in a target multicast group are positioned on the same interface board;
if the multicast input interface and the multicast output interface in the target multicast group are positioned on different interface boards, determining a first interface of a switching network board connected with the interface board where the multicast output interface is positioned;
and adding the interface on the interface board where the multicast input interface is positioned and the first interface as a group broadcasting interface into the target multicast group so as to update the target multicast group.
Therefore, in the technical solution in this specification, when a frame device maintains a multicast group, it is first determined whether a multicast input interface and a multicast output interface in a target multicast group are located on the same interface board; if the multicast flow is located on different interface boards, only the interface boards through which the multicast flow will flow and the interfaces on the exchange network board are added into the target multicast group according to the connection relationship between the interfaces on the exchange network board and the interface boards to update the target multicast group, thereby ensuring that the frame type device realizes the cross-over interface board forwarding of the multicast flow.
Compared with the prior art, in the method for maintaining the multicast group provided in this specification, it is first determined whether the multicast input interface and the multicast output interface in the target multicast group are on the same interface board; when the multicast input interface and the multicast output interface are located on different interface boards, all the interfaces on the switching network board do not need to be added into the multicast group, and only the first interface of the switching network board connected with the interface board where the multicast output interface is located needs to be added into the multicast group, so that when the frame type device forwards the multicast traffic based on the multicast forwarding table generated by the multicast group, the multicast traffic enters the switching network board from the interface board where the multicast input interface is located, and the multicast traffic is prevented from being forwarded to the interface board where no multicast output interface is located, thereby saving the bandwidth, and avoiding the situation that packet loss occurs to other traffic due to the full load of the frame type device.
The present application is described below with reference to specific embodiments and specific application scenarios.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for maintaining a multicast group according to an exemplary embodiment, where the method is applied to a block device and performs the following steps:
step 201: determining whether a multicast input interface and a multicast output interface in a target multicast group are positioned on the same interface board;
step 202: if the multicast input interface and the multicast output interface in the target multicast group are positioned on different interface boards, determining a first interface of a switching network board connected with the interface board where the multicast output interface is positioned;
step 203: and adding the interface on the interface board where the multicast input interface is positioned and the first interface as a group broadcasting interface into the target multicast group so as to update the target multicast group.
In this specification, the above-mentioned frame device at least includes a switch board and several interface boards.
In practical applications, the frame device may include a device in which a plurality of slots into which cards can be inserted and pulled are formed inside a frame, and each port on the frame device is not fixedly configured, and thus, a user needs to configure the port according to needs before using the port. The frame device may include a switching network board and an interface board, and may further include a main control board, a backplane, a power module, a fan module, and the like. It should be understood that the "interface board" may also be referred to as a "line card", an "interface unit" or a "service processing board", and the "switching network board" may also be referred to as a "switching matrix".
The interface board can provide an external physical interface for service transmission, complete the receiving and sending of traffic, and can also undertake partial protocol processing and switching functions; the above-mentioned exchange network board can provide data forwarding exchange between every interface board. It should be noted that, the above-mentioned frame device may include one or more switch boards, and may also include one or more interface boards, and the embodiment of this specification is only an exemplary description, and does not limit this specification.
In this specification, each of the plurality of interface boards performs cross-interface board communication by accessing the switch network board.
In practical applications, each interface board or each switch board may include one or more interfaces. When the interface board is connected with the exchange network board, it is equivalent to that an interface on the interface board is connected with an interface on the exchange network board; when the communication between the cross-over interface boards is performed between different interface boards in the above frame device, the communication can be realized only by accessing the switching network board.
In this specification, the frame device determines whether a multicast input interface and a multicast output interface in a target multicast group are located on the same interface board.
In practical application, the target multicast group may include a multicast input interface and a multicast output interface; the target multicast group has only one multicast input interface, and may have one or more multicast output interfaces. When the interface board where the multicast input interface is located is the same as the interface board where the multicast output interface is located, it can be determined that the multicast input interface and the multicast output interface in the target multicast group are located on the same interface board; when the interface board where the multicast input interface is located is different from the interface board where the multicast output interface is located, it may be determined that the multicast input interface and the multicast output interface in the target multicast group are located on different interface boards.
It should be noted that, regarding the timing for determining whether the multicast input interface and the multicast output interface in the target multicast group are located on the same interface board, the timing may include when the target multicast group is created, when a new multicast group member is added to the target multicast group, and the timing may also include periodic detection when the target multicast group is periodically maintained, which is not limited in this specification.
For example, as shown in fig. 1, if the multicast input interface in the target multicast group is interface port12, the multicast output interface is interface port13, and interface port12 and interface port13 are both on the interface board 1, it may be determined that the multicast input interface and the multicast output interface in the target multicast group are on the same interface board. If the multicast input interface in the target multicast group is interface port12, the multicast output interface is interface port22, interface port12 is on interface board 1, and interface port22 is on interface board 2, it can be determined that the multicast input interface and the multicast output interface in the target multicast group are located on different interface boards.
In an embodiment shown, when there is only one group broadcast interface in the target multicast group, the frame device may determine, according to the slot identifiers corresponding to the multicast input interface and the multicast output interface, whether the multicast input interface and the multicast output interface in the target multicast group are located on the same interface board. Preferably, the frame device may determine whether a slot identifier corresponding to the multicast output interface of the target multicast group is consistent with a slot identifier corresponding to the multicast input interface of the target multicast group; if the multicast group is consistent with the target multicast group, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board; if not, determining that the multicast input interface and the multicast output interface in the target multicast group are located on different interface boards.
In practical application, the frame device includes a plurality of slot positions, and each slot position has a corresponding slot position identifier; when a certain interface board is inserted into a certain slot position, the slot position identification corresponding to each interface on the interface board is the slot position identification of the slot position in which the interface board is inserted. When only one group broadcast interface is in the target multicast group, the frame type device can determine whether the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board by comparing whether the slot position identifications corresponding to the multicast input interface and the multicast output interface are consistent or not according to the corresponding relation between the interfaces on each interface board and the slot position identifications.
For example, as shown in fig. 1, the interface board 1 is inserted into the slot 1, and the slot identifier corresponding to each interface on the interface board 1 is the slot identifier of the slot 1; the interface board 2 is inserted into the slot 2, and the slot identifier corresponding to each interface on the interface board 2 is the slot identifier of the slot 2. If the multicast input interface in the target multicast group is interface port12, the multicast output interface is interface port13, and the slot identifiers corresponding to interface port12 and interface port13 are consistent and are slot identifiers of slot 1, it can be determined that interface port12 and interface port13 are located on the same interface board. If the multicast input interface in the target multicast group is interface port12, and the multicast output interface is interface port22, and the slot identifiers corresponding to interface port12 and interface port22 are not consistent and are the slot identifiers of slot 1 and slot 2, respectively, it can be determined that interface port12 and interface port22 are located on different interface boards.
It should be noted that, regarding "the correspondence between the interface on each interface board and the slot identifier", the above-mentioned frame device may automatically detect, generate, and maintain according to actual configuration, or a user may configure and update through a management interface provided by the above-mentioned frame device. For the concrete expression of the "slot id", reference may be made to related technologies, which are not described herein again.
In another embodiment shown, when there are multiple multicast output interfaces in the target multicast group, the frame device may determine, according to the slot identifiers corresponding to the multicast input interfaces and the multicast output interfaces, whether the multicast input interfaces and the multicast output interfaces in the target multicast group are located on the same interface board. Preferably, the frame device may determine whether a slot identifier corresponding to each multicast output interface of the target multicast group is consistent with a slot identifier corresponding to a multicast input interface of the target multicast group; if the multicast group is consistent with the target multicast group, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board; if the multicast group is inconsistent with the target multicast group, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on different interface boards.
In practical application, when there are multiple multicast output interfaces in a target multicast group, the frame device may determine whether the multicast input interface and the multicast output interface in the target multicast group are located on the same interface board by comparing whether slot identifiers corresponding to the multicast input interface and the multicast output interface are both consistent. As long as at least one multicast output interface located on a different interface board from the multicast input interface exists in the multicast output interfaces, the multicast traffic flowing into the frame device needs to be forwarded across the interface board.
For example, as shown in fig. 1, if a multicast input interface in a target multicast group is interface port12, a multicast output interface is interface port13 and interface port22, and slot identifiers corresponding to interface port12 and interface port13 are consistent and are both slot identifiers of slot 1, it may be determined that interface port12 and interface port13 are located on the same interface board; if the slot identifiers corresponding to interface port12 and interface port22 are not consistent and are the slot identifiers of slot 1 and slot 2, respectively, it can be determined that interface port12 and interface port22 are located on different interface boards. According to the multicast forwarding table entry generated by the target multicast group, the multicast flow needs to be forwarded across the interface board.
In this specification, if the multicast input interface and the multicast output interface in the target multicast group are located on different interface boards, the frame device determines the first interface of the switch network board connected to the interface board where the multicast output interface is located.
In practical applications, when the interface board on which the multicast input interface is located is different from the interface board on which the multicast output interface is located, it may be determined that the multicast input interface and the multicast output interface in the target multicast group are located on different interface boards. Because the communication between different interface boards needs to be realized by forwarding of the switching network board when performing cross-over interface board communication, the frame device can determine the first interface of the switching network board connected with the interface board where the multicast output interface in the target multicast group is located according to the connection relationship between the interface on the switching network board and each interface board.
For example, as shown in fig. 1, if the multicast input interface in the target multicast group is interface port12 and the multicast output interface is interface port22, it may be determined that the multicast input interface and the multicast output interface in the target multicast group are located on different interface boards. The multicast output interface port22 is on the interface board 2, and according to the connection relationship between the interface on the switch screen and each interface board, it can further determine that the interface B on the switch screen is connected to the interface board 2, and then determine that the interface B on the switch screen is the first interface.
It should be noted that, regarding "the connection relationship between the interface on the switch board and each interface board", the above-mentioned frame device may automatically detect, generate and maintain according to the actual configuration, or the user may configure and update through the management interface provided by the above-mentioned frame device.
In an embodiment shown in the present invention, the frame device may determine, according to a slot identifier corresponding to a multicast output interface, a first interface of a switch network board connected to an interface board where the multicast output interface is located. Determining an interface board where the multicast output interface is located according to the slot position identification corresponding to the multicast output interface; and determining a first interface of the exchange network board connected with the interface board where the multicast output interface is located.
For example, as shown in fig. 1, if the multicast input interface in the target multicast group is interface port12, the multicast output interface is interface port22, and the slot id corresponding to multicast output interface port22 is the slot id of slot 2, it may be determined that the multicast output interface is on the interface board 2; according to the connection relationship between the interface on the switch network board and each interface board, the first interface corresponding to the interface board 2 can be determined to be the interface B of the switch network board.
In this specification, the frame device adds the interface on the interface board where the multicast ingress interface is located and the first interface to the target multicast group as a group broadcast interface to update the target multicast group.
In practical applications, when the multicast input interface and the multicast output interface in the multicast group are located on different interface boards, in order to implement normal forwarding of multicast traffic, each interface through which multicast traffic must flow in the forwarding process needs to be added to the target multicast group. Because the target multicast group already comprises the multicast output interface, other interfaces on an interface board where the multicast output interface is positioned do not need to be added into the target multicast group; only the determined first interface is added into the target multicast group, and all the interfaces on the exchange network board are not required to be added into the target multicast group; in addition, all interfaces on the interface board where the multicast ingress interface is located need to be added to the target multicast group. Therefore, in the embodiments in this specification, when the frame device normally implements forwarding of multicast traffic, bandwidth can be saved, and a copy of the multicast traffic is prevented from being forwarded to an interface board without a multicast output interface or to an interface without a multicast output interface through the switch network board.
For example, as shown in fig. 1, when the multicast input interface in the target multicast group is interface port12 and the multicast output interface is interface port22, it may be determined that the first interface is interface B; when the frame device maintains the multicast group, all the interfaces and interfaces B on the interface board 1 may be added to the target multicast group to update the target multicast group. According to the multicast forwarding table entry generated by the target multicast group, the frame device may broadcast the multicast traffic flowing from the interface port12 on the interface board 1 into the frame device to each interface on the interface board 1, except that the copy of the multicast traffic forwarded to the interface port11 may flow into the switching network board, and the copy forwarded to other interfaces is discarded; after the multicast traffic flows into the switch board, the multicast traffic can be directly forwarded to the first interface B, so as to flow into the interface board 2; the multicast traffic may be directly forwarded to multicast egress interface port22 after it flows into interface board 2.
In an embodiment shown, the frame device may determine a second interface of an interface board where the multicast incoming interface connected to the switch fabric resides, and join the second interface and the first interface as a group play-out interface into the target multicast group.
In practical application, when the multicast input interface and the multicast output interface in the multicast group are located on different interface boards, the frame device may determine, in the interface of the switching network board, a first interface connected to the interface board where the multicast output interface is located, and may also determine, in the interface board where the multicast input interface is located, a second interface connected to the switching network board.
For example, as shown in fig. 1, when the multicast input interface in the target multicast group is interface port12 and the multicast output interface is interface port22, the first interface is interface B and the second interface is interface port11, and interface B on the switch network board and interface port11 on interface board 1 are both added to the target multicast group to update the target multicast group. According to the multicast forwarding table entry generated by the target multicast group, the frame device may directly forward the multicast traffic flowing into the frame device from the interface port12 on the interface board 1 to the interface port11, so as to flow into the switching network board; after the multicast traffic flows into the switch board, the multicast traffic can be directly forwarded to the first interface B, so as to flow into the interface board 2; the multicast traffic may be directly forwarded to multicast egress interface port22 after it flows into interface board 2.
It should be noted that, in the above illustrated embodiment, when the multicast input interface and the multicast output interface are located on different interface boards, it is not necessary to add all interfaces on the interface board where the multicast input interface is located into the multicast group, and only needs to add the second interface of the interface board where the multicast input interface connected to the switching network board into the multicast group, so that when the frame device forwards the multicast traffic based on the multicast forwarding table generated by the multicast group, the multicast traffic can be directly forwarded to the switching network board after flowing into the board where the multicast input interface is located, thereby preventing the multicast traffic from being copied and forwarded to other interfaces on the board where the multicast input interface is located, and further achieving bandwidth saving.
In an embodiment shown in the foregoing description, the frame device may determine, according to a slot identifier corresponding to a multicast ingress interface, a second interface of an interface board where the multicast ingress interface connected to the switch network board is located. Determining an interface board where the multicast access interface is located according to the slot position identification corresponding to the multicast access interface; and determining a second interface of an interface board where the multicast input interface connected with the switching network board is located.
For example, as shown in fig. 1, if the multicast input interface in the target multicast group is interface port12, the multicast output interface is interface port22, and the slot id corresponding to multicast input interface port12 is the slot id of slot 1, it may be determined that the multicast input interface is on the interface board 1; according to the connection relationship between the interface on the switch board and the interface on the interface board, it can be determined that the second interface on interface board 1 connected to the interface board is interface port 11.
It should be noted that, regarding to determine the specific implementation process of the first interface or the second interface according to the corresponding relationship between the interface on each interface board and the slot identifier, the connection relationship between the interface on the switching network board and each interface board, and the connection relationship between the interface on the switching network board and the interface on the interface board, the specific implementation process may be obtained by querying a pre-stored corresponding relationship table, or obtained by processing the frame device through a pre-set algorithm.
In another embodiment shown, if the multicast input interface and the multicast output interface in the target multicast group are on the same interface board, the target multicast group is not updated.
In practical application, when the interface board where the multicast input interface is located is the same as the interface board where the multicast output interface is located, it may be determined that the multicast input interface and the multicast output interface in the target multicast group are located on the same interface board. Because the communication on the same interface board can be realized without a switching network board, the frame type device does not need to add the interface board and other interfaces on the switching network board into the multicast group, that is, does not need to update the target multicast group, and can directly realize the non-cross-connection interface board forwarding of the multicast flow according to the multicast forwarding table entry generated by the target multicast group.
For example, as shown in fig. 1, if the multicast input interface in the target multicast group is interface port12 and the multicast output interface is interface port13, it may be determined that the multicast input interface and the multicast output interface in the target multicast group are located on the same interface board. At this time, the multicast traffic flowing from the interface port12 on the interface board 1 into the frame device may be forwarded to the interface port13 on the interface board 1 according to the multicast forwarding entry generated by the target multicast group without updating the target multicast group.
It should be noted that, in the above illustrated embodiment, when the multicast input interface and the multicast output interface in the target multicast group are located on the same interface board, the multicast traffic may be directly forwarded according to the multicast input interface and the multicast output interface, and other interfaces on the interface board where the multicast output interface is located do not need to be added to the target multicast group, so that a copy of the multicast traffic forwarded to the non-multicast output interface is prevented from being discarded, and the multicast traffic forwarded by the non-cross-connection interface board is also prevented from flowing into the switching network board.
In the technical solution of the present specification, when a frame device maintains a multicast group, it is first determined whether a multicast input interface and a multicast output interface in a target multicast group are located on the same interface board; if the multicast output interface is located on different interface boards, determining a first interface of the exchange network board connected with the interface board where the multicast output interface is located according to the connection relation between the interface on the exchange network board and the interface board; and adding the interface on the interface board where the multicast input interface is positioned and the first interface as a group broadcasting interface into the target multicast group so as to update the target multicast group.
On the one hand, in the technical solution of this specification, when it is determined that the multicast input interface and the multicast output interface in the target multicast group are located on different interface boards, the frame device adds the interface of the interface board where the multicast input interface is located and the first interface of the switching network board connected to the interface board where the multicast output interface is located into the multicast group, thereby ensuring that the frame device realizes cross-interface board forwarding of multicast traffic.
On the other hand, in the technical solution of this specification, when the multicast input interface and the multicast output interface are located on different interface boards, it is not necessary to add all interfaces on the switching network board to the multicast group, and it is only necessary to add the first interface of the switching network board connected to the interface board where the multicast output interface is located to the multicast group, so that when the frame device forwards the multicast traffic based on the multicast forwarding table generated by the multicast group, the multicast traffic enters the switching network board from the interface board where the multicast input interface is located, and then the multicast traffic is prevented from being forwarded to the interface board where no multicast output interface is located, thereby saving bandwidth, and also avoiding a situation that packet loss occurs in other traffic due to full load of the frame device.
Corresponding to the above method embodiments, the present specification further provides an embodiment of an apparatus for maintaining a multicast group.
Referring to fig. 3, fig. 3 is a block diagram of an apparatus for maintaining a multicast group according to an exemplary embodiment, where the apparatus is applied to a frame device, and the frame device at least includes a switch board and a plurality of interface boards; each interface board in the plurality of interface boards is accessed to the exchange network board to carry out cross-over interface board communication; the device can comprise the following modules:
a detecting unit 301, configured to determine whether a multicast input interface and a multicast output interface in a target multicast group are located on the same interface board;
an interface obtaining unit 302, configured to determine a first interface of a switch network board connected to an interface board where a multicast output interface is located if a multicast input interface and a multicast output interface in the target multicast group are located on different interface boards;
an updating unit 303, configured to add the interface on the interface board where the multicast ingress interface is located and the first interface to the target multicast group as a group broadcast interface, so as to update the target multicast group.
In this embodiment, optionally, the updating unit 303 is further configured to: and if the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board, not updating the target multicast group.
In this embodiment, optionally, the interface obtaining unit 302 is further configured to: determining a second interface of an interface board where the multicast input interface connected with the exchange network board is located;
the updating unit 303 is specifically configured to: and adding the second interface and the first interface into the target multicast group as group broadcasting interfaces.
In this embodiment, optionally, when there is only one group broadcast interface in the target multicast group, the detecting unit 301 is specifically configured to:
determining whether the slot position identification corresponding to the multicast output interface of the target multicast group is consistent with the slot position identification corresponding to the multicast input interface of the target multicast group;
if the multicast group is consistent with the target multicast group, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board;
if not, determining that the multicast input interface and the multicast output interface in the target multicast group are located on different interface boards.
In this embodiment, optionally, when there are multiple multicast output interfaces in the target multicast group, the detecting unit 301 is specifically configured to:
respectively determining whether the slot position identification corresponding to each multicast output interface of the target multicast group is consistent with the slot position identification corresponding to the multicast input interface of the target multicast group;
if the multicast group is consistent with the target multicast group, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board;
if the multicast group is inconsistent with the target multicast group, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on different interface boards.
In this embodiment, optionally, the interface obtaining unit 302 is specifically configured to:
determining an interface board where the multicast output interface is located according to the slot position identification corresponding to the multicast output interface;
and determining a first interface of the exchange network board connected with the interface board where the multicast output interface is located.
In this embodiment, optionally, the interface obtaining unit 302 is specifically configured to:
determining an interface board where the multicast access interface is located according to the slot position identification corresponding to the multicast access interface;
and determining a second interface of an interface board where the multicast input interface connected with the switching network board is located.
In addition, this specification also provides an embodiment of an electronic device in which an apparatus for maintaining a multicast group is located.
Corresponding to the above method embodiments, the present specification further provides an embodiment of an apparatus for maintaining a multicast group. The embodiment of the apparatus for maintaining a multicast group in the present specification can be applied to an electronic device. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a logical device, the device is formed by reading, by a processor of the electronic device where the device is located, a corresponding computer program instruction in the nonvolatile memory into the memory for operation. From a hardware aspect, please refer to fig. 4, where fig. 4 is a hardware structure diagram of an electronic device where an apparatus for maintaining a multicast group is shown in an exemplary embodiment, except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 4, the electronic device where the apparatus is located in the embodiment may further include other hardware according to an actual function of the electronic device, which is not described again.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are only illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed 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 modules can be selected according to actual needs to achieve the purpose of the solution in the specification. One of ordinary skill in the art can understand and implement it without inventive effort.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
In a typical configuration, a computer includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in one or more embodiments of the present description to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of one or more embodiments herein. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The above description is only for the purpose of illustrating the preferred embodiments of the one or more embodiments of the present disclosure, and is not intended to limit the scope of the one or more embodiments of the present disclosure, and any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the one or more embodiments of the present disclosure should be included in the scope of the one or more embodiments of the present disclosure.
The above description is only a preferred embodiment of the present disclosure, and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (10)

1. A method for maintaining multicast group is characterized in that the method is applied to frame type equipment, and the frame type equipment at least comprises a switching network board and a plurality of interface boards; each interface board in the plurality of interface boards is accessed to the exchange network board to carry out cross-over interface board communication; the method comprises the following steps:
determining whether a multicast input interface and a multicast output interface in a target multicast group are positioned on the same interface board;
if the multicast input interface and the multicast output interface in the target multicast group are positioned on different interface boards, determining a first interface of a switching network board connected with the interface board where the multicast output interface is positioned;
and adding the interface on the interface board where the multicast input interface is positioned and the first interface into the target multicast group as a group broadcasting interface so as to update the target multicast group.
2. The method of claim 1, further comprising:
and if the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board, not updating the target multicast group.
3. The method according to claim 1, wherein said joining the interface on the interface board where the multicast ingress interface is located and the first interface to the target multicast group as a group play-out interface comprises:
determining a second interface of an interface board where the multicast input interface connected with the exchange network board is located;
and adding the second interface and the first interface into the target multicast group as group play interfaces.
4. The method according to claim 1, wherein when there is only one group play-out interface in the target multicast group, the determining whether the multicast-in interface and the multicast-out interface in the target multicast group are on the same interface board comprises:
determining whether a slot position identification corresponding to a multicast output interface of the target multicast group is consistent with a slot position identification corresponding to a multicast input interface of the target multicast group;
if the multicast group is consistent with the target multicast group, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board;
and if the multicast group is inconsistent with the target multicast group, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on different interface boards.
5. The method according to claim 1, wherein when there are multiple multicast output interfaces in the target multicast group, the determining whether the multicast input interface and the multicast output interface in the target multicast group are located on the same interface board includes:
respectively determining whether the slot position identification corresponding to each multicast output interface of the target multicast group is consistent with the slot position identification corresponding to the multicast input interface of the target multicast group;
if the multicast group is consistent with the target multicast group, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board;
and if the inconsistency exists, determining that the multicast input interface and the multicast output interface in the target multicast group are positioned on different interface boards.
6. The method according to claim 1, wherein the determining the first interface of the switch network board connected to the interface board where the multicast egress interface is located comprises:
determining an interface board where the multicast output interface is located according to the slot position identification corresponding to the multicast output interface;
and determining a first interface of the exchange network board connected with the interface board where the multicast output interface is located.
7. The method according to claim 3, wherein the determining the second interface of the interface board on which the multicast incoming interface connected to the switch network board is located comprises:
determining an interface board where the multicast access interface is located according to the slot position identification corresponding to the multicast access interface;
and determining a second interface of an interface board where the multicast input interface connected with the switching network board is located.
8. A device for maintaining multicast groups is characterized in that the device is applied to a frame type device, and the frame type device at least comprises a switching network board and a plurality of interface boards; each interface board in the plurality of interface boards is accessed to the exchange network board to carry out cross-over interface board communication; the device comprises:
the detection unit is used for determining whether the multicast input interface and the multicast output interface in the target multicast group are positioned on the same interface board;
an interface obtaining unit, configured to determine a first interface of a switch network board connected to an interface board where a multicast output interface is located if a multicast input interface and a multicast output interface in the target multicast group are located on different interface boards;
and the updating unit is used for adding the interface on the interface board where the multicast input interface is positioned and the first interface into the target multicast group as a group broadcasting interface so as to update the target multicast group.
9. An electronic device is characterized by comprising a communication interface, a processor, a memory and a bus, wherein the communication interface, the processor and the memory are connected with each other through the bus;
the memory has stored therein machine-readable instructions, the processor executing the method of any of claims 1 to 7 by calling the machine-readable instructions.
10. A machine-readable storage medium having stored thereon machine-readable instructions which, when invoked and executed by a processor, carry out the method of any of claims 1 to 7.
CN202011553946.2A 2020-12-24 2020-12-24 Method and device for maintaining multicast group Active CN112769693B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011553946.2A CN112769693B (en) 2020-12-24 2020-12-24 Method and device for maintaining multicast group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011553946.2A CN112769693B (en) 2020-12-24 2020-12-24 Method and device for maintaining multicast group

Publications (2)

Publication Number Publication Date
CN112769693A true CN112769693A (en) 2021-05-07
CN112769693B CN112769693B (en) 2022-04-26

Family

ID=75694093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011553946.2A Active CN112769693B (en) 2020-12-24 2020-12-24 Method and device for maintaining multicast group

Country Status (1)

Country Link
CN (1) CN112769693B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953407A (en) * 2005-10-17 2007-04-25 杭州华为三康技术有限公司 Network access equipment and its data forwarding method
CN103297344A (en) * 2012-02-27 2013-09-11 迈普通信技术股份有限公司 Distributed data communicating system and multicast message transmitting method thereof
CN103338152A (en) * 2013-05-24 2013-10-02 杭州华三通信技术有限公司 Multicast message forwarding method and main control board
CN106470171A (en) * 2016-09-18 2017-03-01 杭州迪普科技股份有限公司 The delivery method of multicast forwarding list item and device
CN108259365A (en) * 2017-01-24 2018-07-06 新华三技术有限公司 Method for forwarding multicast message and device
CN108809836A (en) * 2018-05-31 2018-11-13 新华三技术有限公司 Multicast data packet forwarding method and device
US10250399B1 (en) * 2014-10-03 2019-04-02 Cisco Technology, Inc. Multicast routing
CN110391919A (en) * 2019-07-12 2019-10-29 杭州迪普科技股份有限公司 Flux of multicast retransmission method, device, electronic equipment
CN110855568A (en) * 2019-11-22 2020-02-28 迈普通信技术股份有限公司 Message forwarding method and system
CN111786890A (en) * 2020-06-29 2020-10-16 新华三信息安全技术有限公司 Multicast message sending method, related device and network equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953407A (en) * 2005-10-17 2007-04-25 杭州华为三康技术有限公司 Network access equipment and its data forwarding method
CN103297344A (en) * 2012-02-27 2013-09-11 迈普通信技术股份有限公司 Distributed data communicating system and multicast message transmitting method thereof
CN103338152A (en) * 2013-05-24 2013-10-02 杭州华三通信技术有限公司 Multicast message forwarding method and main control board
US10250399B1 (en) * 2014-10-03 2019-04-02 Cisco Technology, Inc. Multicast routing
CN106470171A (en) * 2016-09-18 2017-03-01 杭州迪普科技股份有限公司 The delivery method of multicast forwarding list item and device
CN108259365A (en) * 2017-01-24 2018-07-06 新华三技术有限公司 Method for forwarding multicast message and device
CN108809836A (en) * 2018-05-31 2018-11-13 新华三技术有限公司 Multicast data packet forwarding method and device
CN110391919A (en) * 2019-07-12 2019-10-29 杭州迪普科技股份有限公司 Flux of multicast retransmission method, device, electronic equipment
CN110855568A (en) * 2019-11-22 2020-02-28 迈普通信技术股份有限公司 Message forwarding method and system
CN111786890A (en) * 2020-06-29 2020-10-16 新华三信息安全技术有限公司 Multicast message sending method, related device and network equipment

Also Published As

Publication number Publication date
CN112769693B (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN108848034B (en) Network equipment and table entry learning method
US20160164963A1 (en) Method, system, and device for managing server hardware resources in a cloud scheduling environment
CN110784345B (en) Network traffic processing method and device, electronic equipment and machine-readable storage medium
US8626955B2 (en) Directing packets to a processor unit
CN111343089B (en) Method and system for solving flooding problem caused by MAC address HASH conflict
CN111010329B (en) Message transmission method and device
CN104468401A (en) Message processing method and device
CN109032533B (en) Data storage method, device and equipment
CN109391512A (en) A kind of service issuing method, device and electronic equipment
CN108259348B (en) Message transmission method and device
CN114500467A (en) Address conflict detection method, address conflict detection device and electronic equipment
WO2021120754A1 (en) Instruction writing method and apparatus, and network device
CN112769693B (en) Method and device for maintaining multicast group
CN111092828B (en) Network operation method, device, equipment and storage medium
CN109614354B (en) Interface distribution method, board card, equipment and storage medium
CN111131048A (en) Network traffic forwarding method and device, electronic equipment and machine-readable storage medium
CN109413225B (en) MAC table item processing method and equipment
CN110912777A (en) Flow tracking method and device, electronic equipment and machine-readable storage medium
CN112351050A (en) Method, device, communication equipment and storage medium for mirroring data stream
CN110896378B (en) Network traffic forwarding method and device, electronic equipment and machine-readable storage medium
CN113918504A (en) Method and device for realizing isolation group
CN109831385B (en) Message processing method and device and electronic equipment
CN108880892B (en) Message processing method and device
CN112311671A (en) Method, apparatus, medium and device for issuing aggregated link configuration to switch chip
CN108259340B (en) Topology information transmission method and device

Legal Events

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