Method, device and equipment for solving multicast channel cutoff and medium

By discarding IGMP report messages in the government and enterprise gateway and having the set-top box respond to IGMP query messages to generate new multicast forwarding entries, the problem of interruption when multiple set-top boxes play the same multicast channel is solved, and stable transmission of multicast services is achieved.

CN120640085APending Publication Date: 2025-09-12SICHUAN TIANYI COMHEART TELECOM
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510796583.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-16
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

In government and enterprise networks, when multiple set-top boxes play the same multicast channel, the multicast timer cannot be refreshed on time due to the multicast message suppression mechanism, causing set-top box interruption and affecting the smoothness and reliability of multicast services.

Method used

The IGMP report message of the first set-top box is discarded through the government and enterprise gateway, and the second set-top box responds to the IGMP query message and sends a new IGMP report message, generates a new multicast forwarding table entry and port, updates the aging timer, synchronizes the multicast forwarding table, and ensures that each set-top box sends the IGMP report message according to the normal process.

Benefits of technology

Effectively prevent multicast forwarding table aging, ensure set-top boxes can stably play multicast channels, improve the stability and reliability of multicast services, reduce interruptions, and enhance user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120640085A_ABST
    Figure CN120640085A_ABST
Patent Text Reader

Abstract

The invention discloses a method, a device, equipment and a medium for solving multicast channel cutoff, relates to the technical field of network communication, and is used for solving the cutoff problem occurring when a plurality of set top boxes play the same multicast channel. The method comprises the following steps: if it is determined that a government and enterprise gateway receives an IGMP report message forwarded from a first set top box to an LAN port, discarding the IGMP report message; the second set top box is adopted to respond to the IGMP query message, and a new IGMP report message is sent to the government and enterprise gateway; generating a new multicast forwarding table item, a new multicast forwarding table MFD and a new port according to the source MAC and CVLAN information; a port aging timer is updated; adding a new multicast VLAN (Virtual Local Area Network) forwarding table item in the new multicast forwarding table MFD; according to the method and the device, a new multicast forwarding table MFD is synchronized to a user VLAN (Virtual Local Area Network), so that each set-top box cannot receive the IGMP report messages sent by other set-top boxes by discarding the IGMP report messages, and the stable transmission of the multicast stream is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network communication technology, and provides a method, apparatus, device, and medium for resolving multicast channel interruption. Background Art

[0002] As we all know, multicast technology is widely used in government and enterprise network applications to efficiently transmit the same content to multiple set-top boxes (STBs) and other receiving devices, for example, in services such as video conferencing, online training, and real-time monitoring. Furthermore, based on the Internet Group Management Protocol (IGMP), multicast servers periodically send IGMP query messages to STBs on the network. The STBs respond with IGMP report messages to maintain the stability of the multicast stream and refresh the multicast timer and multicast forwarding table to ensure continuous and stable reception of multicast data.

[0003] However, due to the multicast message suppression mechanism, when multiple set-top boxes are connected to the government and enterprise network management and attempt to play the same multicast channel, the set-top box will stop sending its own IGMP report message once it receives the IGMP report message from other set-top boxes. As a result, the gateway multicast timer cannot be refreshed on time, resulting in timeout, causing the multicast forwarding table of the corresponding LAN port of the government and enterprise gateway to age. In turn, it is inevitable that one or more of the set-top boxes will experience interruption, seriously affecting the smoothness and reliability of the multicast service, making it impossible to meet the needs of government and enterprise users for high-quality multicast services. Summary of the Invention

[0004] The present application provides a method, apparatus, device and medium for resolving multicast channel interruption, which are used to specifically resolve the interruption problem that occurs when multiple set-top boxes play the same multicast channel.

[0005] On the one hand, a method for resolving multicast channel interruption is provided, the method comprising: If it is determined that the government and enterprise gateway receives the IGMP report message forwarded from the first set-top box to the LAN port, the government and enterprise gateway discards the IGMP report message; If it is determined that the second set-top box receives the IGMP query message, the second set-top box is used to respond to the IGMP query message and send a new IGMP report message to the government and enterprise gateway; Detecting the source MAC and CVLAN information of the new IGMP report message; Generate a new multicast forwarding table entry, a new multicast forwarding table MFD, and a new port port according to the source MAC and the CVLAN information; Update the port aging timer; Add the new multicast VLAN forwarding table entry in the new multicast forwarding table MFD; The new multicast forwarding table MFD is synchronized to the user VLAN.

[0006] Optionally, after generating a new multicast forwarding table entry, a new multicast forwarding table MFD, and a new port, the method further includes: Generate source MAC and CVLAN information according to the new port; Update the source MAC aging timer; Update the user CVLAN list; The new multicast forwarding table MFD is synchronized to the user VLAN.

[0007] Optionally, the step of using the second set-top box to respond to the IGMP query message includes: Using the second set-top box to search a multicast forwarding table MFD; wherein the multicast forwarding table MFD includes at least one multicast forwarding table entry; Determine whether to perform a general group query; If it is determined to perform a universal group query, determining whether the universal group has a user CVLAN; If it is determined that the universal group has a user CVLAN, the universal group is marked with the user CVLAN and the universal group query is forwarded.

[0008] Optionally, after determining whether to perform a general group query, the method further includes: If it is determined that no general group query has been made, the specific group query is forwarded; Determine whether a user CVLAN exists for the specific group; If it is determined that the specific group has a user CVLAN, the specific group is marked with the user CVLAN and the general group query is forwarded.

[0009] Optionally, after determining whether the universal group has a user CVLAN, the method further includes: If it is determined that the universal group does not have a user CVLAN, the universal group query is forwarded.

[0010] Optionally, after synchronizing the new multicast forwarding table MFD to the user VLAN, the method further includes: If it is determined that the government and enterprise gateway receives the IGMP leave message sent by the second set-top box, the new multicast forwarding table MFD is processed.

[0011] Optionally, the step of processing the new multicast forwarding table MFD includes: Determine whether the user MAC address exists under the new port; If it is determined that the user MAC address does not exist under the new port, the new port is deleted and the new multicast forwarding table MFD is synchronized to the user VLAN; If it is determined that the user MAC address exists under the new port, the user MAC address is deleted, and when the user CVLAN corresponding to the user MAC address does not exist, the new multicast forwarding table MFD is synchronized to the user VLAN.

[0012] In one aspect, a device for resolving multicast channel interruption is provided, the device comprising: A message discarding unit, configured to discard the IGMP report message by the government and enterprise gateway if it is determined that the government and enterprise gateway receives the IGMP report message forwarded from the first set-top box to the LAN port; A message response unit, configured to, if it is determined that the second set-top box receives the IGMP query message, use the second set-top box to respond to the IGMP query message and send a new IGMP report message to the government and enterprise gateway; A detection unit, configured to detect the source MAC and CVLAN information of the new IGMP report message; A generating unit, configured to generate a new multicast forwarding table entry, a new multicast forwarding table MFD, and a new port port according to the source MAC and the CVLAN information; A timer update unit is used to update the port aging timer; A forwarding table adding unit, configured to add the new multicast forwarding table MFD in the government and enterprise gateway; The forwarding table synchronization unit is used to synchronize the new multicast forwarding table MFD to the user VLAN.

[0013] On the one hand, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the above methods when executing the computer program.

[0014] In one aspect, a storage medium is provided, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, any of the above methods is implemented.

[0015] Compared with the prior art, the present invention has the following advantages: In the present application, when multiple set-top boxes play multicast channels from the same multicast source, first, if it is determined that the government and enterprise gateway receives the IGMP report message forwarded from the first set-top box to the LAN port, the government and enterprise gateway can discard the IGMP report message; then, if it is determined that the second set-top box receives the IGMP query message, the second set-top box can respond to the IGMP query message and send a new IGMP report message to the government and enterprise gateway; next, the source MAC and CVLAN information of the new IGMP report message can be detected; then, based on the source MAC and CVLAN information, a new multicast forwarding table entry, a new multicast forwarding table MFD and a new port can be generated; next, the port aging timer can be updated; then, a new multicast forwarding table MFD can be added in the government and enterprise gateway; finally, the new multicast forwarding table MFD can be synchronized to the user VLAN.

[0016] Therefore, in the present application, when the government and enterprise gateway receives the IGMP report message forwarded from the first set-top box to the LAN port, it will immediately discard the IGMP report message, preventing the IGMP report message from being forwarded between the LAN ports. In this way, each set-top box cannot receive the IGMP report message sent by other set-top boxes, so after receiving the IGMP query query message sent by the multicast server, it will send its own IGMP report message according to the normal process. Therefore, compared to the prior art, the IGMP report message sent by each set-top box of the present application can continuously provide a refresh signal for the multicast timer to avoid the multicast timer from timing out. At the same time, it can also ensure that the multicast forwarding table of the corresponding LAN port of the government and enterprise gateway is always in a valid state to prevent the set-top box from being disconnected due to the aging of the multicast forwarding table, so that multiple set-top boxes can stably and smoothly play the multicast channels from the same multicast source. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0018] Figure 1 An electronic device provided in an embodiment of the present application; Figure 2 A schematic diagram of a method for resolving multicast channel interruption provided by an embodiment of the present application; Figure 3 A schematic diagram of a process for responding to an IGMP query message provided in an embodiment of the present application; Figure 4 A schematic diagram of a process for responding to an IGMP leave message provided in an embodiment of the present application; Figure 5 A schematic diagram of a device for resolving multicast channel interruption provided in an embodiment of the present application.

[0019] Markings in the figure: 10-device for solving multicast channel disconnection, 101-processor, 102-memory, 103-I / O interface, 104-database, 50-device for solving multicast channel disconnection, 501-message discarding unit, 502-message response unit, 503-detection unit, 504-generation unit, 505-timer updating unit, 506-forwarding table adding unit, 507-forwarding table synchronization unit. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other in any way. In addition, although a logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in an order different from that here.

[0021] As we all know, multicast technology is widely used in government and enterprise network applications to efficiently transmit the same content to multiple set-top boxes (STBs) and other receiving devices, for example, in services such as video conferencing, online training, and real-time monitoring. Furthermore, based on the Internet Group Management Protocol (IGMP), multicast servers periodically send IGMP query messages to STBs on the network. The STBs respond with IGMP report messages to maintain the stability of the multicast stream and refresh the multicast timer and multicast forwarding table to ensure continuous and stable reception of multicast data.

[0022] However, due to the multicast message suppression mechanism, when multiple set-top boxes are connected to the government and enterprise network management and attempt to play the same multicast channel, the set-top box will stop sending its own IGMP report message once it receives the IGMP report message from other set-top boxes. As a result, the gateway multicast timer cannot be refreshed on time, resulting in timeout, causing the multicast forwarding table of the corresponding LAN port of the government and enterprise gateway to age. In turn, it is inevitable that one or more of the set-top boxes will experience interruption, seriously affecting the smoothness and reliability of the multicast service, making it impossible to meet the needs of government and enterprise users for high-quality multicast services.

[0023] Based on this, an embodiment of the present application provides a method for solving the problem of multicast channel interruption. In this method, first, if it is determined that the government and enterprise gateway receives an IGMP report message forwarded from the first set-top box to the LAN port, the government and enterprise gateway can discard the IGMP report message; then, if it is determined that the second set-top box receives an IGMP query message, the second set-top box can respond to the IGMP query message and send a new IGMP report message to the government and enterprise gateway; next, the source MAC and CVLAN information of the new IGMP report message can be detected; then, a new multicast forwarding table entry, a new multicast forwarding table MFD and a new port port can be generated based on the source MAC and CVLAN information; next, the port port aging timer can be updated; then, a new multicast forwarding table MFD can be added to the government and enterprise gateway; finally, the new multicast forwarding table MFD can be synchronized to the user VLAN. Therefore, in the present application, when the government and enterprise gateway receives the IGMP report message forwarded from the first set-top box to the LAN port, it will immediately discard the IGMP report message, preventing the IGMP report message from being forwarded between LAN ports. In this way, each set-top box cannot receive the IGMP report message sent by other set-top boxes, so after receiving the IGMP query query message sent by the multicast server, it will send its own IGMP report message according to the normal process. Therefore, compared with the prior art, the IGMP report message sent by each set-top box of the present application can continuously provide a refresh signal for the multicast timer to avoid the multicast timer from timing out. At the same time, it can also ensure that the multicast forwarding table of the corresponding LAN port of the government and enterprise gateway is always in a valid state to prevent the set-top box from being disconnected due to aging of the multicast forwarding table, and realize that multiple set-top boxes can stably and smoothly play the multicast channels from the same multicast source.

[0024] After introducing the design concepts of the embodiments of the present application, the following briefly introduces the application scenarios to which the technical solutions of the embodiments of the present application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of the present application and are not limiting. In the specific implementation process, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.

[0025] like Figure 1 As shown, an electronic device provided by an embodiment of the present application is shown, and the electronic device may specifically be a device 10 for resolving multicast channel interruption.

[0026] The device 10 for resolving multicast channel outages can be used to ensure the continuous refresh of multicast timers and multicast forwarding tables. For example, it can be a personal computer (PC), server, or laptop. The device 10 for resolving multicast channel outages may include one or more processors 101, a memory 102, an I / O interface 103, and a database 104. Specifically, processor 101 may be a central processing unit (CPU) or a digital processing unit (DPU). Memory 102 may be volatile memory, such as random-access memory (RAM); non-volatile memory, such as read-only memory, flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited to these. Memory 102 may be a combination of the above-mentioned memories. The memory 102 may store some program instructions for the method for solving the multicast channel disconnection provided by the embodiment of the present application. When these program instructions are executed by the processor 101, they can be used to implement the steps of the method for solving the multicast channel disconnection provided by the embodiment of the present application, so as to solve the disconnection problem that occurs when multiple set-top boxes play the same multicast channel. The database 104 may be used to store data such as IGMP report messages, IGMP query messages, IGMP leave messages, new multicast forwarding table entries, new multicast forwarding table MFDs, new ports, and user CVLAN linked lists involved in the solution provided by the embodiment of the present application.

[0027] In the embodiment of the present application, the device 10 for solving the multicast channel disconnection can obtain a disconnection solution instruction through the I / O interface 103. Then, the processor 101 of the device 10 for solving the multicast channel disconnection can solve the disconnection problem that occurs when multiple set-top boxes play the same multicast channel according to the program instructions of the method for solving the multicast channel disconnection provided by the embodiment of the present application in the memory 102. In addition, data such as IGMP report message, IGMP query message, IGMP leave message, new multicast forwarding table item, new multicast forwarding table MFD, new port port and user CVLAN linked list can also be stored in the database 104.

[0028] Of course, the method provided in the embodiment of the present application is not limited to Figure 1 The application scenarios shown can also be used in other possible application scenarios, and the embodiments of this application are not limited thereto. Figure 1 The functions that can be realized by each device in the application scenario shown will be described in the subsequent method embodiments, and will not be described in detail here.

[0029] like Figure 2 FIG. 1 is a schematic diagram of a method for resolving multicast channel interruption provided by an embodiment of the present application. The method can be performed by Figure 1 The method is executed by the device 10 for solving the problem of multicast channel interruption, and the method can be implemented by optimizing the software code of the government and enterprise gateway. Specifically, the process of the method is introduced as follows.

[0030] Step 201: If it is determined that the government and enterprise gateway receives the IGMP report message forwarded from the first set-top box to the LAN port, the government and enterprise gateway discards the IGMP report message.

[0031] Specifically, in order to avoid the interruption of the set-top box, if it is determined that the government and enterprise gateway has received the IGMP report message forwarded from the first set-top box to the LAN port, the government and enterprise gateway can discard the IGMP report message, that is, it can immediately perform a DROP operation to prevent these IGMP report messages from being forwarded between LAN ports. In this way, each set-top box cannot receive the IGMP report message sent by other set-top boxes, and thus, after receiving the IGMP query message sent by the multicast server, it will send its own IGMP report message according to the normal process.

[0032] Step 202: If it is determined that the second set-top box receives the IGMP query message, the second set-top box responds to the IGMP query message and sends a new IGMP report message to the government and enterprise gateway.

[0033] Specifically, if it is determined that the second set-top box receives the IGMP query message, the second set-top box may respond to the IGMP query message to process the IGMP query message.

[0034] That is, Figure 3 As shown, it is a flow chart of responding to an IGMP query message provided by an embodiment of the present application. First, the second set-top box can be used to search the multicast forwarding table MFD; wherein, the multicast forwarding table MFD includes at least one multicast forwarding table entry.

[0035] Then, it can be determined whether to perform a universal group query.

[0036] Next, if it is determined to perform a universal group query, it can be determined whether the universal group has a user CVLAN.

[0037] Finally, if it is determined that a user CVLAN exists in the universal group, the user CVLAN can be marked on the universal group and the universal group query is forwarded.

[0038] Furthermore, after determining whether to perform a general group query, if it is determined that a general group query is not performed, the specific group query is forwarded.

[0039] Then, it can be determined whether a user CVLAN exists for a specific group.

[0040] Finally, if it is determined that a user CVLAN exists for a specific group, the user CVLAN can be marked for the specific group and the general group query is forwarded.

[0041] On the contrary, if it is determined that the universal group does not have the user CVLAN, the universal group query can be forwarded.

[0042] Step 203: Detect the source MAC and CVLAN information of the new IGMP report message.

[0043] Step 204: Generate a new multicast forwarding table entry, a new multicast forwarding table MFD, and a new port port according to the source MAC and CVLAN information.

[0044] Step 205: Update the port aging timer.

[0045] Step 206: Add a new multicast VLAN forwarding table entry to the new multicast forwarding table MFD.

[0046] Step 207: Synchronize the new multicast forwarding table MFD to the user VLAN.

[0047] Step 208: Generate source MAC and CVLAN information according to the new port.

[0048] Step 209: Update the source MAC aging timer.

[0049] Step 210: Update the user CVLAN list.

[0050] Step 211: Synchronize the new multicast forwarding table MFD to the user VLAN.

[0051] In one possible implementation, Figure 4 As shown, a flow chart of responding to an IGMP leave message provided in an embodiment of the present application is provided. After synchronizing a new multicast forwarding table MFD to the user VLAN, if it is determined that the government and enterprise gateway has received the IGMP leave message sent by the second set-top box, the new multicast forwarding table MFD can be processed.

[0052] Specifically, first, it can be determined whether the user MAC address exists under the new port.

[0053] Then, if it is determined that the user MAC address does not exist under the new port, the new port can be deleted and a new multicast forwarding table MFD is synchronized to the user VLAN.

[0054] Finally, if it is determined that the user MAC address exists under the new port, the user MAC address can be deleted, and when the user CVLAN corresponding to the user MAC address does not exist, the new multicast forwarding table MFD is synchronized to the user VLAN.

[0055] In summary, this application has the following advantages: ① The network processing module of the government and enterprise gateway can use an efficient message identification algorithm to quickly and accurately identify IGMP report messages, and discard the report group adding messages sent to the LAN port according to the preset optimization code logic. Based on this, the set-top box can respond to the IGMP query message in a timely manner in strict accordance with the IGMP protocol specification without being interfered with by the IGMP report message of other set-top boxes, and send its own IGMP report message, thereby continuously refreshing the multicast timer, maintaining the active state of the multicast forwarding table, and ensuring the stable transmission of the multicast stream, so as to successfully solve the problem of multiple set-top boxes under the same multicast source being disconnected due to the multicast message suppression mechanism, and provide solid and reliable technical support for the stable operation of the multicast service of the government and enterprise network.

[0056] ②This technical solution greatly enhances the stability and reliability of government and enterprise network multicast services, effectively reduces service interruptions caused by traffic interruptions, significantly improves user experience, and enhances the quality and reputation of government and enterprise network services.

[0057] ③This technical solution is highly economical and practical. It does not require complex hardware modifications to existing set-top boxes and multicast servers. It can be achieved only by optimizing and upgrading the software code of government and enterprise gateways, which greatly reduces costs and implementation difficulties and is easy to promote and apply.

[0058] ④ This technical solution has good versatility and compatibility, and can adapt to government and enterprise gateways of different brands and models as well as various types of multicast services. It can play a role in different government and enterprise network environments and has broad market application prospects.

[0059] Based on the same inventive concept, the embodiment of the present application provides a device 50 for resolving multicast channel interruption, such as Figure 5 As shown, the device 50 for resolving multicast channel interruption includes: The message discarding unit 501 is configured to discard the IGMP report message if it is determined that the government and enterprise gateway receives the IGMP report message forwarded from the first set-top box to the LAN port; The message response unit 502 is configured to respond to the IGMP query message using the second set-top box if it is determined that the second set-top box has received the IGMP query message, and send a new IGMP report message to the government and enterprise gateway; The detection unit 503 is used to detect the source MAC and CVLAN information of the new IGMP report message; A generating unit 504 is configured to generate a new multicast forwarding table entry, a new multicast forwarding table MFD, and a new port according to the source MAC and CVLAN information; A timer updating unit 505 is configured to update a port aging timer; A forwarding table adding unit 506 is used to add a new multicast forwarding table MFD in the government and enterprise gateway; The forwarding table synchronization unit 507 is configured to synchronize a new multicast forwarding table MFD to the user VLAN.

[0060] Optionally, the forwarding table synchronization unit 507 is further configured to: Generate source MAC and CVLAN information based on the new port; Update the source MAC aging timer; Update the user CVLAN list; Synchronize the new multicast forwarding table MFD to the user VLAN.

[0061] Optionally, the message response unit 502 is further configured to: Using a second set-top box to search a multicast forwarding table MFD, wherein the multicast forwarding table MFD includes at least one multicast forwarding table entry; Determine whether to perform a general group query; If it is determined to perform a universal group query, then determine whether the universal group has a user CVLAN; If it is determined that the universal group has a user CVLAN, the universal group is marked with the user CVLAN and the universal group query is forwarded.

[0062] Optionally, the message response unit 502 is further configured to: If it is determined that no general group query has been made, the specific group query is forwarded; Determine whether a user CVLAN exists for a specific group; If it is determined that a user CVLAN exists for a specific group, the user CVLAN is marked for the specific group and the general group query is forwarded.

[0063] Optionally, the message response unit 502 is further configured to: If it is determined that the universal group does not have the user CVLAN, the universal group query is forwarded.

[0064] Optionally, the message response unit 502 is further configured to: If it is determined that the government and enterprise gateway receives the IGMP leave message sent by the second set-top box, a new multicast forwarding table MFD is processed.

[0065] Optionally, the message response unit 502 is further configured to: Determine whether the user MAC address exists under the new port; If it is determined that the user MAC address does not exist under the new port, the new port is deleted and the new multicast forwarding table MFD is synchronized to the user VLAN; If it is determined that the user MAC address exists under the new port, the user MAC address is deleted, and when the user CVLAN corresponding to the user MAC address does not exist, the new multicast forwarding table MFD is synchronized to the user VLAN.

[0066] The device 50 for resolving multicast channel interruption can be used to perform Figure 2-Figure 4 The method executed in the embodiment shown in FIG. 5 is a method for solving the problem of multicast channel interruption. Therefore, the functions that can be realized by each functional module of the device 50 for solving the problem of multicast channel interruption can be referred to. Figure 2-Figure 4 The description of the illustrated embodiment is omitted for brevity.

[0067] In some possible implementations, various aspects of the method provided in the present application may also be implemented in the form of a program component, which includes program code. When the program component is run on a computer device, the program code is used to enable the computer device to execute the steps of the method according to various exemplary embodiments of the present application described above in this specification. For example, the computer device may execute the following steps: Figure 2-Figure 4 The method performed in the illustrated embodiment.

[0068] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented using hardware associated with program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as a removable storage device, read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk. Alternatively, if the integrated unit of the present invention is implemented as a software functional module and sold or used as a standalone component, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present invention, or the portion that contributes to the prior art, can be embodied in the form of a software component. This computer software component, stored in a storage medium, includes instructions for enabling a computer device (such as a personal computer, server, or network device) to perform all or part of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a removable storage device, ROM, RAM, a magnetic disk, or an optical disk.

[0069] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present application.

[0070] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.

Claims

1. A method for solving the problem of multicast channel interruption, characterized in that: The method comprises: If it is determined that the government and enterprise gateway receives the IGMP report message forwarded from the first set-top box to the LAN port, the government and enterprise gateway discards the IGMP report message; If it is determined that the second set-top box receives the IGMP query message, the second set-top box is used to respond to the IGMP query message and send a new IGMP report message to the government and enterprise gateway; Detecting the source MAC and CVLAN information of the new IGMP report message; Generate a new multicast forwarding table entry, a new multicast forwarding table MFD, and a new port port according to the source MAC and the CVLAN information; Update the port aging timer; Add the new multicast VLAN forwarding table entry in the new multicast forwarding table MFD; The new multicast forwarding table MFD is synchronized to the user VLAN.

2. The method according to claim 1, wherein After generating a new multicast forwarding table entry, a new multicast forwarding table MFD, and a new port, the method further includes: Generate source MAC and CVLAN information according to the new port; Update the source MAC aging timer; Update the user CVLAN list; The new multicast forwarding table MFD is synchronized to the user VLAN.

3. The method according to claim 1, wherein The step of using the second set-top box to respond to the IGMP query message includes: Using the second set-top box to search a multicast forwarding table MFD; wherein the multicast forwarding table MFD includes at least one multicast forwarding table entry; Determine whether to perform a general group query; If it is determined to perform a universal group query, determining whether the universal group has a user CVLAN; If it is determined that the universal group has a user CVLAN, the universal group is marked with the user CVLAN and the universal group query is forwarded.

4. The method according to claim 3, wherein After determining whether to perform a general group query, the method further includes: If it is determined that no general group query has been made, the specific group query is forwarded; Determine whether a user CVLAN exists for the specific group; If it is determined that the specific group has a user CVLAN, the specific group is marked with the user CVLAN and the general group query is forwarded.

5. The method according to claim 3, wherein After determining whether the universal group has a user CVLAN, the method further includes: If it is determined that the universal group does not have a user CVLAN, the universal group query is forwarded.

6. The method according to any one of claims 1-2, characterized in that: After synchronizing the new multicast forwarding table MFD to the user VLAN, the method further includes: If it is determined that the government and enterprise gateway receives the IGMP leave message sent by the second set-top box, the new multicast forwarding table MFD is processed.

7. The method according to claim 6, wherein The step of processing the new multicast forwarding table MFD comprises: Determine whether the user MAC address exists under the new port; If it is determined that the user MAC address does not exist under the new port, the new port is deleted and the new multicast forwarding table MFD is synchronized to the user VLAN; If it is determined that the user MAC address exists under the new port, the user MAC address is deleted, and when the user CVLAN corresponding to the user MAC address does not exist, the new multicast forwarding table MFD is synchronized to the user VLAN.

8. A device for solving the problem of multicast channel interruption, characterized in that: The device comprises: A message discarding unit, configured to discard the IGMP report message by the government and enterprise gateway if it is determined that the government and enterprise gateway receives the IGMP report message forwarded from the first set-top box to the LAN port; A message response unit, configured to, if it is determined that the second set-top box receives the IGMP query message, use the second set-top box to respond to the IGMP query message and send a new IGMP report message to the government and enterprise gateway; A detection unit, configured to detect the source MAC and CVLAN information of the new IGMP report message; A generating unit, configured to generate a new multicast forwarding table entry, a new multicast forwarding table MFD, and a new port port according to the source MAC and the CVLAN information; A timer update unit is used to update the port aging timer; A forwarding table adding unit, configured to add the new multicast forwarding table MFD in the government and enterprise gateway; The forwarding table synchronization unit is used to synchronize the new multicast forwarding table MFD to the user VLAN.

9. An electronic device, characterized in that: The device comprises: a memory for storing program instructions; A processor is configured to call program instructions stored in the memory and execute the method according to any one of claims 1 to 7 according to the obtained program instructions.

10. A storage medium, characterized in that: The storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Multicast message transmission method, fttr gateway device and program product

    CN122534037A

  • Multicast message transmission method, fttr gateway device and program product

    CN122534037B