Digital communication equipment multicast routing table keep-alive processing device, method and system

By designing the multicast routing table keep-alive processing device in the digital communication device, generating and managing the keep-alive node linked list, the problem of mistaken deletion of the multicast routing table during the main and backup switching of the digital communication device is solved, and the stability of multicast data forwarding is achieved Sex and reliability.

CN119420688APending Publication Date: 2025-02-11ANHUI WANTONG POSTS & TELECOMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411641454.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-18
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

When the digital communication device switches the main and backup, the multicast routing table may be deleted accidentally, resulting in the probability of packet loss of multicast data forwarding.

Method used

A multicast routing table keep-alive processing device is designed, including a main and backup switch module, a multicast management module, a multicast protocol module, a multicast forwarding module and a multicast keep-alive timer module. When the main and standby switch is switched, the device generates keep-alive nodes and organizes them into keep-alive linked lists to ensure that the multicast routing table is correctly processed during the main and standby switch.

Benefits of technology

It effectively avoids the error deletion of the multicast routing table during the main and backup switching of the digital communication device, ensures the stability and reliability of multicast data forwarding, and avoids probability packet loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119420688A_ABST
    Figure CN119420688A_ABST
Patent Text Reader

Abstract

The invention discloses a data communication equipment multicast routing table keep-alive processing device, method and system, and the data communication equipment multicast routing table keep-alive processing device is applied to a standby control board in the data communication equipment, comprising a main and standby switching module, a multicast management module, a multicast protocol module, a multicast forwarding module, a multicast keep-alive timer module and a storage module, the multicast management module is connected with the main and standby switching module, and the multicast management module is connected with the multicast protocol module. The multicast forwarding module is connected with the multicast management module and the multicast protocol module, the multicast protocol module is connected with the multicast keep-alive timer module, and the problem of probabilistic packet loss occurring in multicast data forwarding after main and standby switching of data communication equipment can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a device, method and system for keeping alive a multicast routing table of a data communication device. Background Art

[0002] There are two types of aging and deletion mechanisms for multicast routing tables of data communication equipment: aging mechanism and keep-alive mechanism. The aging mechanism is to send aging messages to the protocol plane through the data forwarding plane. After receiving the aging message, the protocol plane deletes the multicast routing table. When the data forwarding traffic stops and the aging cycle of the forwarding plane arrives, the data forwarding plane will send an aging message to the protocol plane. There are problems with using the aging mechanism in some scenarios. For example, in the LAG (Link Aggregation Group) scenario, a LAG group is bound to multiple physical ports across the forwarding board, and multicast traffic can only be forwarded on one physical port. The forwarding plane will think that the traffic of other physical ports bound to the LAG group has stopped. When the aging cycle arrives, it will send an aging message to the protocol plane, causing the multicast routing table to be deleted by mistake. In view of this, the LAG scenario uses a keep-alive mechanism. A LAG group is bound to multiple physical ports across forwarding boards. Multicast traffic is forwarded only on one physical port. The forwarding plane determines that this physical port has data forwarding traffic, and sends a keep-alive message to the protocol plane in each keep-alive cycle. After receiving the keep-alive message, the protocol plane restarts the keep-alive timer. In this way, even if there is no multicast forwarding traffic on other physical ports bound to the LAG group, the protocol plane will not mistakenly delete the multicast routing table. Only when the multicast data forwarding traffic stops, no physical port sends a keep-alive message to the protocol plane, and the protocol plane deletes the multicast routing table normally when the keep-alive timer expires.

[0003] In order to ensure the reliable and stable operation of data communication equipment, many existing technologies have adopted a distributed redundant architecture with dual main control boards. When the main control board fails, the restart function is triggered, and the standby control board becomes the main control board to take over the data communication equipment system and continue to work. Under normal circumstances, the main board is in working condition and the standby board is in idle condition. When the main control board is abnormal, it will restart and automatically switch from the current main control board to the standby control board, and the standby control board will be upgraded to the main control board to take over the work. The multicast forwarding plane will only send multicast keep-alive information to the protocol plane of the main control board. When the main control undergoes a master-slave switch, if the multicast forwarding plane happens to send a multicast keep-alive message to the protocol plane at this time, the original main control board will discard these multicast keep-alive messages due to the restart. Since the new main control board cannot receive the multicast keep-alive information, it will mistakenly delete the multicast routing table, resulting in probabilistic packet loss in multicast data forwarding.

[0004] Therefore, how to provide a multicast routing table keep-alive processing device and method to ensure that there is no probabilistic packet loss when a master-slave switch occurs in a data communication device is an urgent problem to be solved by those skilled in the art. Summary of the invention

[0005] The present invention provides a data communication equipment multicast routing table keep-alive processing device, method and system, which can at least solve one of the technical problems in the background technology.

[0006] To achieve the above object, the present invention adopts the following technical solutions: A data communication equipment multicast routing table keep-alive processing device is applied to a standby control board where a master-slave switch occurs in the data communication equipment, comprising: A master-slave switching module, the master-slave switching module is used to send a start message of the master-slave switching; A multicast management module, the multicast management module is connected to the active / standby switching module, and the multicast management module is used to receive a start message and a multicast routing table sent by the active / standby switching module; A multicast protocol module, the multicast management module is connected to the multicast protocol module, and the multicast protocol module is responsible for the maintenance of the multicast routing table protocol layer; A multicast forwarding module, wherein the multicast forwarding module is connected to the multicast management module and the multicast protocol module, and is used for forwarding a multicast routing table.

[0007] A multicast keep-alive timer module, which is connected to the multicast protocol module and is used for deleting the multicast routing table.

[0008] It also includes: a storage module, which is connected to the multicast management module and the multicast forwarding module, and is used to store an aging node linked list corresponding to a multicast routing table.

[0009] On the other hand, the present invention further discloses a processing method using the apparatus for keeping alive a multicast routing table of a data communication device as described in any one of the above, comprising the following steps: Step S1: the data communication device generates a keep-alive node for each multicast routing table, organizes all the keep-alive nodes into a keep-alive linked list, and the active-standby switching module sends an active-standby switching start message to the multicast management module; Step S2: the multicast management module traverses the keep-alive chain list, obtains relevant information from each keep-alive node, generates multicast routing table keep-alive information and sends it to the multicast protocol module; Step S3: the multicast protocol module receives and saves the multicast routing table keep-alive information, and restarts the multicast keep-alive timer module; Step S4: When the multicast forwarding module keep-alive period arrives, the multicast forwarding module does not send a keep-alive message of the multicast routing table to the multicast protocol module; Step S5: the multicast protocol module, after the multicast keep-alive timer module time expires, sends a multicast routing table deletion message to the multicast management module because no keep-alive message of the multicast routing table is received; Step S6: The multicast management module deletes the multicast routing table and releases the forwarding plane hardware resources.

[0010] In the step S6: after deleting the multicast routing of the multicast forwarding module, the multicast management module deletes the keep-alive node corresponding to the multicast routing table.

[0011] The step S6 also includes: if the deletion of the multicast routing table fails, the multicast management module deletes it again while waiting for the next keep-alive period.

[0012] On the other hand, the present invention also discloses a system for realizing active / standby switching in data communication equipment, comprising a main control board, characterized in that: the main control board is provided with the data communication equipment multicast routing table keep-alive processing device as described above; The multicast management module in the data communication equipment multicast routing table keep-alive processing device generates a keep-alive node for each multicast routing table of the multicast forwarding module, wherein the keep-alive node information includes the multicast source IP address, the multicast group IP address, and the VPNID, and organizes all the keep-alive nodes into a keep-alive linked list. When the multicast data traffic is forwarded, the multicast forwarding module sends the multicast routing table keep-alive information to the multicast protocol module in each keep-alive period. The multicast protocol module receives the keep-alive message of the multicast routing table and restarts the multicast keep-alive timer module. When the multicast data traffic stops, the multicast forwarding module no longer sends the multicast routing table keep-alive information to the multicast protocol module within the keep-alive period. After the multicast timer module timer expires, the multicast protocol module sends a deletion message of the multicast routing table to the multicast management module because it does not receive the keep-alive message of the multicast routing table. The multicast management module deletes the multicast routing table and its corresponding keep-alive node. Furthermore, it also includes a standby control board, wherein the standby control board and the main control board are the same hardware device; The multicast protocol module of the standby control board will not receive the keep-alive information of the multicast routing table; the multicast data traffic is forwarded normally, and then the main control board fails and the master-slave switch occurs, the standby control board is upgraded to the main control board, and the processing method steps of the above-mentioned multicast routing table keep-alive processing device are executed. It can be known from the above-mentioned technical scheme that the multicast routing table keep-alive processing device of the data communication equipment of the present invention is applied to the standby control board where the master-slave switch occurs in the data communication equipment, including a master-slave switch module, a multicast management module, a multicast protocol module, a multicast forwarding module, a multicast keep-alive timer module and a storage module, the multicast management module is connected to the master-slave switch module, the multicast management module is connected to the multicast protocol module, the multicast forwarding module is connected to the multicast management module and the multicast protocol module, and the multicast protocol module is connected to the multicast keep-alive timer module. The present invention can solve the probabilistic packet loss problem in multicast data forwarding after the master-slave switch of the data communication equipment.

[0013] Compared with the prior art, the present invention discloses a data communication device multicast routing table keep-alive processing device and method. When the data communication device is operating normally, a keep-alive node is generated for each multicast routing table at the bottom of the forwarding plane, and all the keep-alive nodes are organized into a keep-alive chain list. When the data communication device undergoes a master-slave switch, the new main control board will traverse the keep-alive chain list, obtain the multicast source IP address, the multicast group IP address, and the VPNID (Virtual Private Network) from each keep-alive node, generate the keep-alive information of the multicast routing table and send it to the protocol plane, the protocol plane receives the multicast routing table keep-alive information, and restarts the multicast keep-alive timer. When the keep-alive period of the multicast routing table is reached and the multicast data forwarding traffic stops, the bottom hardware of the forwarding plane will not send a keep-alive message to the protocol plane. After the keep-alive timer time is reached, the protocol plane sends a deletion message of the multicast routing table to the multicast management module, and finally reaches the forwarding plane. The forwarding plane deletes the corresponding multicast routing table to release hardware resources, and the multicast management module deletes the keep-alive node corresponding to the multicast routing table. The present invention can solve the problem of probabilistic packet loss in multicast data forwarding after the active / standby switchover of data communication equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 A schematic diagram of the structure of a data communication equipment multicast routing table keep-alive processing device provided by the present invention; Figure 2 The present invention provides an overall flow chart of a method for keeping alive a multicast routing table of a data communication device. DETAILED DESCRIPTION

[0015] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments.

[0016] Example 1 Embodiment 1 of the present invention discloses a data communication device multicast routing table keep-alive processing device, which is applied to a standby control board where a master-slave switch occurs in a data communication device, and includes: Active / standby switching module 1, active / standby switching module 1 is used to send a start message of active / standby switching; Multicast management module 2, the multicast management module 2 is connected to the active / standby switching module 1, and the multicast management module 2 is used to receive the active / standby switching start message and the multicast routing table sent by the active / standby switching module 1; Multicast protocol module 3: multicast management module 2 is connected to multicast protocol module 3, and multicast protocol module 3 is responsible for the maintenance of multicast routing table protocol level; The multicast forwarding module 4 is connected to the multicast management module 2 and the multicast protocol module 3, and is used for forwarding the multicast routing table.

[0017] The multicast keep-alive timer module 5 is connected to the multicast protocol module 3 and is used for deleting the multicast routing table.

[0018] Specifically, the multicast forwarding module 4 may be implemented by a switching chip, a dedicated integrated circuit, or a network processor.

[0019] In a specific embodiment, it also includes: a storage module 6, which is connected to the multicast management module 2 and the multicast forwarding module 4, and is used to store a keep-alive node list corresponding to the multicast routing table.

[0020] Example 2 A processing method using a data communication device multicast routing table keep-alive processing device according to any one of Embodiment 1 comprises the following steps: Step S1: The data communication device generates a keep-alive node for each multicast routing table, organizes all the keep-alive nodes into a keep-alive linked list, and the active-standby switching module 1 sends an active-standby switching start message to the multicast management module 2; Step S2: the multicast management module 2 traverses the keep-alive chain list, obtains relevant information from each keep-alive node, generates multicast routing table keep-alive information and sends it to the multicast protocol module 3; Step S3: the multicast protocol module 3 receives and saves the multicast routing table keep-alive information, and restarts the multicast keep-alive timer module 5; Step S4: When the keep-alive period of the multicast forwarding module 4 arrives, the multicast forwarding module 4 does not send a keep-alive message of the multicast routing table to the multicast protocol module 3; Step S5: the multicast protocol module 3 sends a deletion message of the multicast routing table to the multicast management module 2 after the multicast keep-alive timer module 5 expires; Step S6: the multicast management module 2 deletes the multicast routing table and releases the hardware resources of the multicast forwarding module 4.

[0021] In step S6: after deleting the multicast routing table of the multicast forwarding module 4, the multicast management module 2 deletes the keep-alive node corresponding to the multicast routing table.

[0022] Step S6 also includes: if the deletion of the multicast routing table fails, the multicast management module 2 deletes it again while waiting for the next aging cycle.

[0023] Example 3 Embodiment 3 of the present invention further provides a system for implementing master-slave switching in a data communication device, comprising a master control board and a standby control board, wherein the master control board and the standby control board may be the same hardware device; The multicast management module 2 in the main control board generates a keep-alive node for each multicast routing table of the multicast forwarding module 4, wherein the keep-alive node information includes the multicast source IP address, the multicast group IP address, and the VPNID, and organizes all the keep-alive nodes into a keep-alive linked list. When the multicast data traffic is forwarded, the multicast forwarding module 4 will send the multicast routing table keep-alive information to the multicast protocol module 3 in each keep-alive period. The multicast protocol module 3 receives the keep-alive message of the multicast routing table and restarts the multicast keep-alive timer module 5. When the multicast data traffic stops, the multicast forwarding module 4 will no longer send the multicast routing table keep-alive information to the multicast protocol module 3 within the keep-alive period. After the time of the multicast timer module (5) expires, the multicast protocol module 3 sends a deletion message of the multicast routing table to the multicast management module 2 because it has not received the keep-alive message of the multicast routing table. The multicast management module 2 deletes the multicast routing table and its corresponding keep-alive node.

[0024] The multicast protocol module of the standby control board will not receive the keep-alive information of the multicast routing table; the multicast data traffic is forwarded normally, and then the main control board fails and a master-slave switch occurs. The standby control board is upgraded to the main control board and the relevant operations in Example 2 are executed.

[0025] In summary, the embodiments of the present invention disclose a data communication device multicast routing table keep-alive processing device, method and system. When the data communication device is operating normally, a keep-alive node is generated for each multicast routing table at the bottom of the forwarding plane, and the keep-alive nodes of all embodiments are organized into a keep-alive chain list. When the data communication device undergoes a master-slave switch, the new main control board will traverse the keep-alive chain list, obtain the multicast source IP address, multicast group IP address, VPNID (Virtual Private Network) from each keep-alive node, generate the keep-alive information of the multicast routing table and send it to the protocol plane, the protocol plane receives the multicast routing table keep-alive information, and restarts the multicast keep-alive timer. When the keep-alive period of the multicast routing table is reached and the multicast data forwarding traffic stops, the bottom hardware of the forwarding plane will not send a keep-alive message to the protocol plane. After the keep-alive timer time is reached, the protocol plane sends a deletion message of the multicast routing table to the multicast management module, and finally reaches the forwarding plane. The forwarding plane deletes the corresponding multicast routing table to release hardware resources, and the multicast management module deletes the keep-alive node corresponding to the multicast routing table. The present invention can solve the problem of probabilistic packet loss in multicast data forwarding after the active / standby switchover of data communication equipment.

[0026] In another embodiment provided by the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any of the data communication device multicast routing table keep-alive processing devices in the above embodiments.

[0027] It is understandable that the system, device and storage medium provided in the embodiments of the present invention correspond to the method provided in the embodiments of the present invention, and the explanation, examples and beneficial effects of the relevant contents can refer to the corresponding parts in the above methods.

[0028] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.

[0029] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0030] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0031] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A data communication equipment multicast routing table keep-alive processing device, characterized in that: include: A master / standby switching module (1), the master / standby switching module (1) being used to send a start message of the master / standby switching; A multicast management module (2), the multicast management module (2) being connected to the master / slave switching module (1), the multicast management module (2) being used for receiving a master / slave switching start message and a multicast routing table sent by the master / slave switching module (1); A multicast protocol module (3), the multicast protocol module (3) being connected to the multicast management module (2), and the multicast protocol module (3) being responsible for the maintenance of the multicast routing table protocol layer; A multicast forwarding module (4), the multicast forwarding module (4) being connected to the multicast management module (2) and the multicast protocol module (3) respectively, and the multicast forwarding module (4) being used for forwarding a multicast routing table; A multicast keep-alive timer module (5), which is connected to the multicast protocol module (3) and is used for deleting the multicast routing table.

2. The data communication equipment multicast routing table keep-alive processing device according to claim 1, characterized in that: It also includes a storage module (6), which is connected to the multicast management module (2) and the multicast forwarding module (4) respectively, and is used to store a keep-alive node chain list corresponding to the multicast routing table.

3. A processing method of a multicast routing table keep-alive processing device, using the data communication equipment multicast routing table keep-alive processing device according to claim 1 or 2, characterized in that: The following steps are included: Step S1: the data communication device generates a keep-alive node for each multicast routing table, organizes all the keep-alive nodes into a keep-alive linked list, and the active / standby switching module (1) sends an active / standby switching start message to the multicast management module (2); Step S2: the multicast management module (2) traverses the keep-alive chain list, obtains relevant information from each keep-alive node, generates multicast routing table keep-alive information and sends it to the multicast protocol module (3); Step S3: the multicast protocol module (3) receives and stores the multicast routing table keep-alive information, and restarts the multicast keep-alive timer module (5); Step S4: When the keep-alive period of the multicast forwarding module (4) is reached, the multicast forwarding module (4) does not send a keep-alive message of the multicast routing table to the multicast protocol module (3); Step S5: After the time of the multicast timer module (5) expires, the multicast protocol module (3) sends a deletion message of the multicast routing table to the multicast management module (2) because no keep-alive message of the multicast routing table is received; Step S6: The multicast management module (2) deletes the multicast routing table and releases the forwarding plane hardware resources.

4. The data communication equipment multicast routing table keep-alive processing device according to claim 3, characterized in that: After deleting the multicast routing table of the multicast forwarding module (4) in step S6, the multicast management module (2) deletes the keep-alive node corresponding to the multicast routing table.

5. The data communication equipment multicast routing table keep-alive processing device according to claim 4, characterized in that: The step S6 further comprises: if the deletion of the multicast routing table fails, the multicast management module (2) deletes it again while waiting for the next keep-alive period.

6. A system for implementing active / standby switching in data communication equipment, comprising a main control board, characterized in that: The main control board is provided with a data communication equipment multicast routing table keep-alive processing device as claimed in claim 1 or 2; The multicast management module (2) in the data communication equipment multicast routing table keep-alive processing device generates a keep-alive node for each multicast routing table of the multicast forwarding module (4), wherein the keep-alive node information includes the multicast source IP address, the multicast group IP address, and the VPNID, and organizes all the keep-alive nodes into a keep-alive linked list. When the multicast data traffic is forwarded, the multicast forwarding module (4) sends the multicast routing table keep-alive information to the multicast protocol module (3) in each keep-alive cycle. The multicast protocol module (3) receives the keep-alive message of the multicast routing table and restarts the multicast keep-alive timer module (5); When the multicast data traffic stops, the multicast forwarding module (4) no longer sends the multicast routing table keep-alive information to the multicast protocol module (3) within the keep-alive period. After the time of the multicast timer module (5) expires, the multicast protocol module (3) sends a multicast routing table deletion message to the multicast management module (2) because it has not received the multicast routing table keep-alive message. The multicast management module (2) deletes the multicast routing table and its corresponding keep-alive node.

7. A system for implementing active / standby switching in data communication equipment according to claim 6, characterized in that: Also includes a backup control board, wherein the backup control board and the main control board are the same hardware device; The multicast protocol module (3) of the standby control board will not receive the keep-alive information of the multicast routing table; the multicast data traffic is forwarded normally, and then the main control board fails and a master-slave switch occurs, the standby control board is upgraded to the main control board, and the processing method steps of the multicast routing table keep-alive processing device described in any one of claims 3 to 5 are executed.