Method and equipment for forwarding multicast data message

By setting multicast forwarding table entries and member port table entries in ultra-low delay switches, the replication and forwarding of multicast data packets is achieved, and the problem of low forwarding efficiency of multicast data packets in ultra-low delay switch networks is solved. Expanded the types of network services.

CN119071261AActive Publication Date: 2024-12-03NEW H3C TECH CO LTD

Patent Information

Application Number
CN202411047013.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-12-03
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

In ultra-low latency switching networks, it is difficult for the prior art to achieve efficient forwarding of multicast data packets, which limits the expansion of network services.

Method used

By using the first hardware chip and the second hardware chip in an ultra-low latency switch, the multicast forwarding table entry and member port table entry are set, and the forwarding table is found based on the multicast group MAC address and the virtual LAN of the multicast data packets. , copy and send data packets to the direct-connected internal forwarding port to realize the replication and forwarding of multicast data packets.

Benefits of technology

It realizes effective replication and forwarding of multicast messages by ultra-low-latency switches, expands the service types of ultra-low-latency switch networks, and improves the competitiveness of the network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071261A_ABST
    Figure CN119071261A_ABST
Patent Text Reader

Abstract

The invention provides a method and equipment for realizing multicast data message forwarding. The method is applied to an ultra-low delay switch, and comprises the following steps: a first hardware chip sets a multicast forwarding table item and a multicast member port table item on a second hardware chip; the second hardware chip searches a multicast forwarding table item according to the multicast group MAC address of the first multicast data message and the first virtual local area network to which the first multicast data message belongs; the second hardware chip finds the multicast member port table item according to the multicast member port table item index recorded by the multicast forwarding table item; copying a first multicast data message for each multicast member port recorded by the multicast member port table item; sending a first multicast data message to an internal forwarding port of a directly connected first hardware chip through a second hardware chip port mapped by each multicast member port; and the first hardware chip sends the first multicast data message received through each internal forwarding port through the corresponding forwarding port.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to communication technology, and in particular to a method and device for ultra-low latency switching and forwarding, and specifically to a method and device for implementing multicast data message forwarding. Background Art

[0002] At present, the financial securities industry has an increasingly strong demand for high-frequency trading, and there has been a spurt in demand for ultra-fast trading systems composed of ultra-low latency switches. It is under this demand background that ultra-low latency switches are born with advantages such as extremely low latency and extremely simple functions. Ultra-low latency switches have only one layer of forwarding function, which can achieve ultra-low latency forwarding.

[0003] In an ultra-low latency switching network, it is necessary to implement ultra-low latency switches to copy and forward multicast messages. Summary of the invention

[0004] The purpose of the present application is to provide a method and device for implementing multicast data message forwarding, so as to realize the copying and forwarding of multicast messages by an ultra-low latency switch.

[0005] To achieve the above-mentioned purpose, the present application provides a method for realizing multicast data message forwarding, which is applied to an ultra-low latency switch, and the method includes: a first hardware chip sets a multicast forwarding table item and a multicast member port table item on a second hardware chip; the second hardware chip finds the multicast forwarding table item according to the multicast group MAC address of the first multicast data message and the first virtual local area network to which it belongs; the second hardware chip finds the multicast member port table item according to the multicast member port table item index recorded in the multicast forwarding table item; a copy of the first multicast data message is copied for each multicast member port recorded in the multicast member port table item; a copy of the first multicast data message is sent to the internal forwarding port of the directly connected first hardware chip through the second hardware chip port mapped by each multicast member port; and the first multicast data message received by the first hardware chip through each internal forwarding port is sent through its corresponding forwarding port.

[0006] To achieve the above-mentioned purpose, the present application also provides a device for implementing multicast data message forwarding, which is applied to an ultra-low latency switch, and the device includes a first hardware chip, which is used to set a multicast forwarding table entry and a multicast member port table entry in a second hardware chip; a second hardware chip, which is used to search for a multicast forwarding table entry according to the multicast group MAC address of the first multicast data message and the first virtual local area network to which it belongs; find the multicast member port table entry according to the multicast member port table entry index recorded in the multicast forwarding table entry; copy a first multicast data message for each multicast member port recorded in the multicast member port table entry; find the second hardware chip port mapped to each multicast member port based on the port mapping table and send a first multicast data message to the internal forwarding port of the directly connected first hardware chip; the first hardware chip is also used to send the first multicast data message received through each internal forwarding port through its corresponding forwarding port.

[0007] The beneficial effect of the present application is to enable an ultra-low latency switch to copy and forward multicast messages, thereby expanding the types of services within an ultra-low latency switching network. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 A flowchart of an embodiment of a method for implementing multicast data message forwarding provided by the present application;

[0009] Figure 2 A schematic diagram of an ultra-low latency switch forwarding a layer 2 multicast group query message provided in an embodiment of the present application;

[0010] Figure 3 A schematic diagram of an ultra-low latency switch provided in an embodiment of the present application setting a multicast table entry based on a layer 2 multicast group member message;

[0011] Figure 4 A schematic diagram of an ultra-low latency switch forwarding a layer 2 multicast group data message provided in an embodiment of the present application;

[0012] Figure 5 A schematic diagram of an ultra-low latency switch discarding unknown layer 2 multicast group data packets provided by an embodiment of the present application;

[0013] Figure 6 A schematic diagram of an ultra-low latency switch forwarding an unknown layer 2 multicast group data message provided in an embodiment of the present application;

[0014] Figure 7 A schematic diagram of an ultra-low latency switch forwarding an unknown layer 2 multicast group data message provided in an embodiment of the present application;

[0015] Figure 8 A schematic diagram of an embodiment of a device for implementing multicast data message forwarding provided in an embodiment of the present application. DETAILED DESCRIPTION

[0016] The present invention will be described in detail with multiple examples shown in multiple figures. In the following detailed description, multiple specific details are used to provide a comprehensive understanding of the present application. Known methods, steps, components and circuits are not described in detail in the examples to avoid making these examples difficult to understand.

[0017] Among the terms used, the term "include" means including but not limited to; the term "contain" means including but not limited to; the terms "above", "within" and "below" are inclusive of the number; the terms "greater than" and "less than" are exclusive of the number. The term "based on" means based on at least a part thereof.

[0018] Figure 1 Shown is a flow chart of an embodiment of a method for implementing multicast data message forwarding provided by the present application; Figure 1 The multicast data message method applied to the ultra-low latency switch includes the following steps:

[0019] Step 101, the first hardware chip sets a multicast forwarding table entry and a multicast member port table entry in the second hardware chip;

[0020] Step 102, the second hardware chip searches for a multicast forwarding table entry according to the multicast group MAC address of the first multicast data message and the first virtual local area network to which it belongs;

[0021] Step 103, the second hardware chip searches for a multicast member port entry according to the multicast member port entry index recorded in the multicast forwarding entry; and copies a first multicast data message for each multicast member port recorded in the multicast member port entry.

[0022] Step 104, the second hardware chip sends a first multicast data message to the internal forwarding port of the directly connected first hardware chip through the second hardware chip port mapped by each multicast member port;

[0023] Step 105: The first hardware chip sends the first multicast data message received through each internal forwarding port through its corresponding forwarding port.

[0024] Figure 1 The embodiment implements the forwarding of multicast messages by the ultra-low latency switch, making the service types of the ultra-low latency switch wider and more competitive.

[0025] Figure 2 A schematic diagram of an ultra-low latency switch forwarding a layer 2 multicast group query message provided in an embodiment of the present application.

[0026] like Figure 2As shown, the present application adds an FPGA chip 22 to the ultra-low latency switch 2A to provide replication of multicast data messages for the switch unit 21a (chip) of the ultra-low latency switch.

[0027] In the present application, the forwarding ports 21-40 of the switching unit 21 are set as internal forwarding ports and mapped to the forwarding ports 1-20 of the switching unit 21; the forwarding ports 21-40 of the switching unit 21 are directly connected to the ports P21-P40 of the FPGA chip 22 respectively.

[0028] The CPU23 software records the correspondence between the forwarding ports 1-20 and the chip ports P21-P40 of the FPGA chip 22, and sets a port mapping table 22a in the FPGA chip 22 to record the mapping relationship between the chip ports P21-P40 and the forwarding ports 1-20 of VLAN1000 and VLAN2000.

[0029] Figure 2 In the example, the switching unit 21 receives the IGMP query message 201 through the port 11, and sends it to the port p31 of the directly connected FPGA chip 22 through the internal forwarding port 31.

[0030] FPGA chip 22 finds port 1-port 5 belonging to VLAN 1000 through port mapping table 22a; copies an IGMP query message 201 of the receiving end of query multicast group G1 for port 1-port 5 of VLAN 1000 respectively, and sends an IGMP query message 201 through ports p21-p25 mapped by port 1-port 5 respectively.

[0031] The switching unit 21 receives one IGMP (Internet Group Management Protocol) query message 201 through the internal forwarding ports 21-25 respectively, and sends the IGMP query message through the mapped ports 1-5.

[0032] Figure 3 A schematic diagram of an ultra-low latency switch provided in an embodiment of the present application setting a multicast table entry based on a layer 2 multicast group member message.

[0033] Figure 3 In the process, the switching unit 21 receives the IGMP report message 301 for joining the multicast group G1 through the port 2 of VLAN1000, and sends the IGMP message 301 and the receiving port 2 and the VLAN1000 to the port p22 of the directly connected FPGA chip 22 through the internal forwarding port 22.

[0034] The FPGA chip 22 sends the IGMP report message 301 and the receiving port information to the processor 23 ; the processor 23 sends the multicast group MAC address MACG1 , the receiving port 2 , and the VLAN 1000 to which the port 2 belongs in the IGMP message 301 to the switching unit 21 .

[0035] The switching unit 21 does not find the multicast entry index corresponding to the multicast group MAC address MACG1 and VLAN1000 in the multicast soft entry 21a; therefore, it applies for an idle multicast entry index index1 for the multicast group MAC address MACG1 and VLAN1000.

[0036] The switching unit 21 sets a multicast forwarding entry 2201 in the MAC table 22b, calculates a storage location of the multicast forwarding entry 2201 based on the multicast group MAC address MACG1 and VLAN1000, and writes index1 into the calculated storage location of the multicast forwarding entry 2201.

[0037] The switching unit 21 sets the multicast member port entry 2202 in the layer 2 multicast table 22c, calculates the storage location of the layer 2 multicast table 22c based on index1, and writes port2 into the storage location of the multicast member port entry 2202.

[0038] When the switching unit 21 receives the IGMP report message 302 for joining the multicast group G1 through port 4 of VLAN1000, the IGMP message 302, the receiving port 4 and the corresponding VLAN1000 are sent to the port p24 of the directly connected FPGA chip 22 through the internal forwarding port 24.

[0039] The FPGA chip 22 sends the IGMP report message 302 and the receiving port information to the processor 23 .

[0040] The processor 23 sends the multicast group MAC address MACG1 , the receiving port 4 , and the VLAN 1000 to which the port 4 belongs in the IGMP message 302 to the switching unit 21 .

[0041] The switching unit 21 calculates the storage location of the multicast forwarding entry 2201 in the multicast soft entry 21a based on the multicast group MAC address MACG1 and VLAN1000, finds the multicast forwarding entry 2201 corresponding to the multicast group MAC address MACG1 and VLAN1000, and reads the multicast entry index index1.

[0042] The switching unit 21 calculates the storage location in the layer 2 multicast table 22 c according to the multicast member port entry index1 , finds the multicast member port entry 2202 , and writes port4 into the multicast member port entry 2202 .

[0043] Figure 4 A schematic diagram of an ultra-low latency switch forwarding a layer 2 multicast group data message provided in an embodiment of the present application.

[0044] Figure 4 In the example, the switching unit 21 receives the multicast data packet 401 of the multicast group G1 through the port 12 of the VLAN 1000, and sends the multicast data packet 401, the receiving port 12 and the VLAN 1000 to which it belongs to to the port p32 of the FPGA chip 22 through the internal forwarding port 32.

[0045] The FPGA chip 22 calculates the storage location based on the multicast group address MAC address MAC G1 of the multicast data message 401 and the VLAN 1000 to which it belongs, finds the multicast forwarding entry 2201 in the MAC table 22b, and reads the multicast member port entry index index1.

[0046] The FPGA chip 22 calculates the storage location based on the multicast member port entry index index1, searches for the multicast member port entry 2202 in the layer 2 multicast table 22c, and reads the multicast member ports port2 and port4.

[0047] FPGA chip 22 uses port mapping table 22a ( Figure 3 , Figure 4 ), find the ports p22 and p24 mapped to the ports 2 and 4 of VLAN 1000, copy a multicast data message 401 for the ports p22 and p24 respectively, and send a multicast data message 401 through the ports p22 and p24 respectively.

[0048] The switching unit 21 receives a multicast data message 401 through the internal forwarding ports 22 and 24 respectively, and sends a multicast data message 401 through the mapped port 2 and port 4 respectively, and sends the multicast data message 401 to the receiving end of the multicast group G1 of VLAN1000.

[0049] Figure 5 A schematic diagram of an ultra-low latency switch discarding unknown Layer 2 multicast group data packets provided in an embodiment of the present application.

[0050] When the switch 2A enables the discarding of layer 2 multicast data packets, the processor 23 applies for a specified multicast entry index, such as index254.

[0051] The processor 23 sets a multicast member port entry 2203 in the layer 2 multicast table 22c, calculates the storage location of the layer 2 multicast table 22c based on the index 254, and writes the member port null into the multicast member port entry 2203.

[0052] The processor 23 records the entry index index 254 of the multicast member port entry 2203 in the VLAN table 22d of VLAN1000 and the VLAN table 22e of VLAN2000. The VLAN (Virtual Local Area Network) table is used to

[0053] Figure 5 In the example, the switching unit 21 receives the multicast data packet 501 of the multicast group G2 through the port 12 of the VLAN 1000, and sends the multicast data packet 501, the receiving port 12 and the VLAN 1000 to which it belongs to, to the directly connected port p32 via the internal forwarding port 32.

[0054] The FPGA chip 22 calculates the storage location in the MAC table 22b based on the multicast group address MAC address MAC G2 of the multicast data message 501 and the VLAN 1000 to which it belongs, and does not find the multicast forwarding table entry in the calculated MAC table 22b.

[0055] FPGA chip 22 reads index 254 from VLAN table 22d of VLAN 1000, calculates the storage location based on index 254, finds multicast member port entry 2203 in layer 2 multicast table 22c, and reads the multicast member port as null. FPGA chip 22 discards multicast data message 501.

[0056] When ultra-low latency switch 2A receives a multicast data packet through the port of VLAN 2000 and fails to find the multicast forwarding entry in MAC table 22b, it Figure 5 In the embodiment, unknown multicast data packets are discarded.

[0057] Figure 6 A schematic diagram of an ultra-low latency switch forwarding an unknown Layer 2 multicast group data message provided in an embodiment of the present application.

[0058] When the switch 2A enables the forwarding of layer 2 multicast data packets, the processor 23 applies for a specified multicast entry index, such as index255.

[0059] The processor 23 sets the multicast member port table entry 2204 in the layer 2 multicast table 22c, calculates the storage location of the layer 2 multicast table 22c based on index 255, and writes the ports 1 to 10 of all virtual local area networks VLAN 1000 and VLAN 2000 into the multicast member port table entry 2204.

[0060] The processor 23 records the entry index index255 of the multicast member port entry 2204 in the VLAN table 22d of VLAN1000 and the VLAN table 22e of VLAN2000 respectively.

[0061] Figure 6 In the example, the switching unit 21 receives the multicast data packet 601 of the multicast group G2 through the port 12 of the VLAN 1000, and sends the multicast data packet 601, the receiving port 12 and the VLAN 1000 to which it belongs to, to the directly connected port p32 via the internal forwarding port 32.

[0062] The FPGA chip 22 calculates the storage location in the MAC table 22b based on the multicast group address MAC address MAC G2 of the multicast data message 601 and the VLAN 1000 to which it belongs, and does not find the multicast forwarding entry in the MAC table 22b.

[0063] FPGA chip 22 reads index index255 from VLAN table 22d of VLAN1000, calculates the storage location based on index index255, finds multicast member port entry 2204 in layer 2 multicast table 22c, and reads multicast member ports as port 1 to port 10.

[0064] FPGA chip 22 uses port mapping table 22a ( Figure 6 (not shown), find the ports p21-p25 mapped to ports 1-5 of VLAN1000, find the ports p26-p30 mapped to ports 6-10 of VLAN2000, copy a multicast data message 601 for each of the ports p21-p30, and send a multicast data message 601 through each of the ports p21-p30.

[0065] The switching unit 21 receives a multicast data message 601 through each internal forwarding port 21-30, and sends a multicast data message 601 through each forwarding port 1-port 10 mapped by the internal forwarding ports 21-30, and sends the multicast data message 601 in VLAN1000 and VLAN2000.

[0066] Alternatively, the processor 23 applies for a VLAN multicast table entry index for each VLAN and stores it in the VLAN table of each VLAN respectively; the Layer 2 multicast table records the VLAN forwarding port or the VLAN allowed forwarding port corresponding to each VLAN multicast table entry index. These implementations can be applied to Figure 6 The embodiment shown.

[0067] Figure 7 A schematic diagram of an ultra-low latency switch forwarding an unknown Layer 2 multicast group data message provided in an embodiment of the present application.

[0068] When the switch 2A enables the forwarding of layer 2 multicast data packets, the processor 23 applies for a specified multicast entry index, such as index255.

[0069] The processor 23 sets a multicast member port entry 2205 in the layer 2 multicast table 22 c , calculates the storage location of the layer 2 multicast table 22 c based on index 255 , and writes the router port 20 into the multicast member port entry 2205 .

[0070] The processor 23 records the entry index index255 of the multicast member port entry 2205 in the VLAN table 22d of VLAN1000 and the VLAN table 22e of VLAN2000 respectively.

[0071] Figure 7 In the example, the switching unit 21 receives the multicast data packet 701 of the multicast group G2 through the port 12 of the VLAN 1000, and sends the multicast data packet 701, the receiving port 12 and the VLAN 1000 to which it belongs to, to the directly connected port p32 via the internal forwarding port 32.

[0072] The FPGA chip 22 calculates the storage location in the MAC table 22b based on the multicast group address MAC address MAC G2 of the multicast data message 701 and the VLAN 1000 to which it belongs, and does not find the multicast forwarding entry in the MAC table 22b.

[0073] FPGA chip 22 reads index index255 from VLAN table 22d of VLAN1000, calculates the storage location based on index index255, finds multicast member port entry 2205 in layer 2 multicast table 22c, and reads the multicast member port as router port 20.

[0074] FPGA chip 22 uses port mapping table 22a ( Figure 6 (not shown), find the port p40 mapped by the router port, and send the multicast data message 701 through the port p40.

[0075] If there are other router ports on switch 2A, these router ports are also written into multicast member port table entry 2204. Switch 2A can be based on Figure 7 In the above implementation, a copy of the multicast data message is made for each router port, and is sent to the switching unit 21 through the mapped FPGA chip port.

[0076] Figure 8 A schematic diagram of a device embodiment for implementing multicast data message forwarding provided in an embodiment of the present application. The device 80 includes a network interface, a first hardware chip, a second hardware chip, a CPU, and a memory. The first hardware chip is a switching chip that performs ultra-low latency forwarding, and the second hardware chip is an FPGA chip that performs multicast replication; the processor executes the setting module by running the processor executable instructions in the memory.

[0077] The first hardware chip is used to set a multicast forwarding table entry and a multicast member port table entry in the second hardware chip; the second hardware chip is used to search for a multicast forwarding table entry according to the multicast group MAC address of the first multicast data message and the first virtual local area network to which it belongs; search for a multicast member port table entry according to the multicast member port table entry index recorded in the multicast forwarding table entry; copy a first multicast data message for each multicast member port recorded in the multicast member port table entry; search for the second hardware chip port mapped to each multicast member port based on the port mapping table and send a first multicast data message to the internal forwarding port of the directly connected first hardware chip; the first hardware chip is also used to send the first multicast data message received through each internal forwarding port through its corresponding forwarding port.

[0078] A setting module is used to set an allowed forwarding port table entry in the second hardware chip, and record the table entry index of the allowed forwarding port table entry in the virtual local area network table of each virtual local area network of the second hardware chip; the second hardware chip is also used to find no multicast forwarding table entry based on the multicast group MAC address of the second multicast data message and the first virtual local area network to which it belongs; read the allowed forwarding port table entry index recorded in the virtual local area network table of the first virtual local area network; find the allowed forwarding port table entry based on the allowed forwarding port table entry index; copy a second multicast data message for each allowed forwarding port recorded in the allowed forwarding port table entry; send a second multicast data message to the internal forwarding port of the directly connected first hardware chip through the second hardware chip port mapped to each allowed forwarding member port; the second multicast data message received by the first hardware chip through each internal forwarding port is sent through its corresponding allowed forwarding port.

[0079] The allowed forwarding port in the allowed forwarding port table entry is a router port; or, the allowed forwarding port in the allowed forwarding port table entry is a forwarding port of the first hardware chip in each virtual local area network.

[0080] The setting module is also used to set a prohibited forwarding port table entry in the second hardware chip, and record the table entry index of the prohibited forwarding table entry in the virtual local area network table of each virtual local area network of the second hardware chip; the second hardware chip is also used to read the prohibited forwarding table entry index recorded in the virtual local area network table of the first virtual local area network according to the multicast group MAC address of the second multicast data message and the failure to find the multicast forwarding table entry in the first virtual local area network to which it belongs; find the prohibited forwarding table entry corresponding to the prohibited forwarding table entry index; determine that the forwarding port recorded in the prohibited forwarding table entry is empty; and discard the second multicast data message.

[0081] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for implementing multicast data message forwarding, applied to an ultra-low latency switch, It is characterized in that The method comprises, The first hardware chip sets a multicast forwarding table entry and a multicast member port table entry in the second hardware chip; The second hardware chip searches for the multicast forwarding table entry according to the multicast group MAC address of the first multicast data message and the first virtual local area network to which it belongs; The second hardware chip searches for the multicast member port entry according to the multicast member port entry index recorded in the multicast forwarding entry; and copies a copy of the first multicast data message for each multicast member port recorded in the multicast member port entry; Sending a copy of the first multicast data message to the internal forwarding port of the first hardware chip directly connected via the second hardware chip port mapped by each multicast member port; The first hardware chip sends the first multicast data message received through each of the internal forwarding ports through its corresponding forwarding port.

2. The method according to claim 1, It is characterized in that The method further comprises, The setting module sets an allowed forwarding port entry in the second hardware chip, and records the allowed forwarding port entry index of the allowed forwarding port entry in the virtual local area network table of each virtual local area network of the second hardware chip; The second hardware chip fails to find the multicast forwarding table entry according to the multicast group MAC address of the second multicast data message and the first virtual local area network to which it belongs; The second hardware chip reads the index of the allowed forwarding port entry recorded in the virtual local area network table of the first virtual local area network; searches for the allowed forwarding port entry according to the index of the allowed forwarding port entry; copies a copy of the second multicast data message for each allowed forwarding port recorded in the allowed forwarding port entry; sends a copy of the second multicast data message to the internal forwarding port of the directly connected first hardware chip through the second hardware chip port mapped to each allowed forwarding member port; The second multicast data message received by the first hardware chip through each of the internal forwarding ports is sent through its corresponding allowed forwarding port.

3. The method according to claim 2, It is characterized in that The allowed forwarding port is a router port.

4. The method according to claim 2, It is characterized in that The allowed forwarding port is a forwarding port of the first hardware chip in each of the virtual local area networks.

5. The method according to claim 1, It is characterized in that The method further comprises, The setting module sets a prohibited forwarding port table entry in the second hardware chip, and records the prohibited forwarding table entry index in the virtual local area network table of each virtual local area network of the second hardware chip; The second hardware chip fails to find the multicast forwarding table entry according to the multicast group MAC address of the second multicast data message and the first virtual local area network to which it belongs; The second hardware chip reads the prohibited forwarding entry index recorded in the virtual local area network table of the first virtual local area network; finds the prohibited forwarding entry; determines that the forwarding port recorded in the prohibited forwarding port entry is empty; The second hardware chip discards the second multicast data message.

6. A device for implementing multicast data message forwarding, applied to ultra-low latency switches, It is characterized in that The device comprises, The first hardware chip is used to set a multicast forwarding table entry and a multicast member port table entry in the second hardware chip; The second hardware chip is used to find the multicast forwarding table entry according to the multicast group MAC address of the first multicast data message and the first virtual local area network to which it belongs; find the multicast member port table entry according to the multicast member port table entry index recorded in the multicast forwarding table entry; and copy a copy of the first multicast data message for each multicast member port recorded in the multicast member port table entry; Find the second hardware chip port mapped to each multicast member port based on the port mapping table and send a copy of the first multicast data message to the internal forwarding port of the first hardware chip directly connected; The first hardware chip is further configured to send the first multicast data message received through each of the internal forwarding ports through its corresponding forwarding port.

7. The device according to claim 6, It is characterized in that The device also includes a setting module; The setting module is used to set a forwarding-allowed port table entry in the second hardware chip, and record the table index of the forwarding-allowed port table entry in the virtual local area network table of each virtual local area network of the second hardware chip; The second hardware chip is further used for failing to find the multicast forwarding table entry according to the multicast group MAC address of the second multicast data message and the first virtual local area network to which it belongs; reading the table entry index of the allowed forwarding port table entry recorded in the virtual local area network table of the first virtual local area network; finding the allowed forwarding port table entry according to the table entry index of the allowed forwarding port table entry; and copying a copy of the second multicast data message for each allowed forwarding port recorded in the allowed forwarding port table entry; Sending a copy of the second multicast data message to the internal forwarding port of the directly connected first hardware chip through each second hardware chip port that allows forwarding member port mapping; The second multicast data message received by the first hardware chip through each of the internal forwarding ports is sent through its corresponding allowed forwarding port.

8. The device according to claim 7, It is characterized in that The allowed forwarding port is a router port.

9. The device according to claim 7, It is characterized in that The allowed forwarding port is a forwarding port of the first hardware chip in each of the virtual local area networks.

10. The device according to claim 7, It is characterized in that The setting module is further used to set a prohibited forwarding port table entry in the second hardware chip, and record the table index of the prohibited forwarding table entry in the virtual local area network table of each virtual local area network of the second hardware chip; The second hardware chip is also used to, based on the multicast group MAC address of the second multicast data message and the failure to find the multicast forwarding table entry in the first virtual local area network to which it belongs; read the entry index of the prohibited forwarding table entry recorded in the virtual local area network table of the first virtual local area network; find the prohibited forwarding table entry; determine that the forwarding port recorded in the prohibited forwarding table entry is empty; and discard the second multicast data message.

Citation Information

Patent Citations

  • Multicast implementing method and system based on switching network of high-speed peripheral extended interface

    CN101286866A

  • Multicast method in EVI network and edge device ED

    CN104009926A

  • Multicast data message transmitting method and device

    CN104468370A

  • Multicast replication method and device, and storage medium

    CN108055211A

  • Multicast data packet forwarding method, device and system

    CN108123880A

Cited By

  • Ultra-low time delay switching equipment and method for controlling forwarding action of ultra-low time delay switching equipment

    CN119996353A

  • An ultra-low latency switching device and a method for controlling forwarding actions thereof

    CN119996353B