Multicast stream transmission system and multicast stream transmission method

By adopting the IGMP Snooping protocol and multicast streaming transmission system in the cascade switch, the problems of traffic redundancy and low broadband utilization during cascade switches are solved, and efficient and accurate distribution of multicast streaming data is achieved, and network performance is improved.

CN119520384APending Publication Date: 2025-02-25深圳市三旺通信股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411590436.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

The prior art has problems of traffic redundancy and low broadband utilization when cascading multiple switches, which is difficult to meet the needs of a large number of equipment connections.

Method used

By using multiple switches that support the IGMP Snooping protocol for cascading, the multicast streaming transmission system using the data transmission module and the data forwarding module can accurately filter and diversion of multicast streaming data, reducing traffic redundancy.

Benefits of technology

It realizes efficient and accurate distribution of multicast streaming data, reduces traffic redundancy, and improves network usage and transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520384A_ABST
    Figure CN119520384A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of computer networks, and discloses a multicast stream transmission system and a multicast stream transmission method, and the system comprises a data transmission module which is used for screening multimedia data transmitted by a multimedia server according to a multicast forwarding list to obtain transmitted multicast stream data, transmitting the multicast stream data to the first data forwarding module; each data forwarding module is used for screening corresponding transmission multicast stream data transmitted by the previous data forwarding module or the data transmission module according to a multicast member port list stored in the data forwarding module to obtain corresponding subscription multicast stream data and updated transmission multicast stream data; and each data forwarding module is also used for transmitting the corresponding subscription multicast stream data to the current target equipment connected with the data forwarding module, and transmitting the updated transmission multicast stream data to the next data forwarding module, so that the corresponding subscription multicast stream data is accurately and correspondingly issued, the network utilization rate is improved, and the redundant flow is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer networks, and in particular to a multicast stream transmission system and a multicast stream transmission method. Background Art

[0002] In the actual application of network switches, as the scale of enterprises or institutions continues to expand, the demand for network device connections also increases. At this time, the number of connected devices may exceed the total number of ports on a switch, so it is necessary to cascade multiple switches to meet the needs of more connected terminals.

[0003] However, the connection capacity of a single IGMP Snooping (Internet Group Management Protocol Snooping, Chinese name is Internet Group Management Protocol Snooping, which is a multicast constraint mechanism running on Layer 2 devices, used to manage and control multicast groups) device can no longer meet the needs of more devices. At this time, connecting devices by extending ordinary switches will cause all data streams to be sent to all connection ports, seriously affecting the network bandwidth, or replacing switch devices that support IGMP Snooping with more ports to support more terminal needs. This will cause transmission traffic redundancy and reduce network performance and bandwidth utilization.

[0004] Therefore the prior art still needs to be improved and enhanced. Summary of the invention

[0005] The main purpose of the present invention is to provide a multicast stream transmission system and a multicast stream transmission method, aiming to solve the problems of traffic redundancy and low bandwidth utilization when cascading multiple switches in the prior art.

[0006] In a first aspect, an embodiment of the present application provides a multicast stream transmission system, comprising: a data transmission module and N data forwarding modules; the data transmission module and the N data forwarding modules are sequentially connected in series, each of the data forwarding modules is further used to connect to a plurality of devices, and the data transmission module is further used to connect to a multimedia server;

[0007] The data transmission module is used to filter the multimedia data transmitted by the multimedia server according to the multicast forwarding list to obtain the transmission multicast stream data, and transmit the transmission multicast stream data to the first data forwarding module;

[0008] Each of the data forwarding modules is used to filter the corresponding transmission multicast stream data transmitted by the previous data forwarding module or the data transmission module according to the multicast member port list stored in each module, so as to obtain the corresponding subscription multicast stream data and the updated transmission multicast stream data;

[0009] Each of the data forwarding modules is also used to transmit the corresponding subscription multicast stream data to the current target device connected to itself, and transmit the updated delivery multicast stream data to the next data forwarding module.

[0010] In some embodiments, the data transmission module is also used to transmit the query message output by the multimedia server to the first data forwarding module; each data forwarding module is also used to transmit the query message to the next data forwarding module and all devices connected to itself.

[0011] In some embodiments, the current target device is further configured to transmit a current response message to a current data forwarding module connected to itself after receiving the query message, so as to correspond to subscribing to a number of multicast stream data on the multimedia server.

[0012] In some embodiments, each of the data forwarding modules is further used to establish a respective multicast member port list according to the current response message, and to merge the current response message with the next merged message transmitted by the next data forwarding module to obtain a current merged message, and transmit the current merged message to the previous data forwarding module;

[0013] The data transmission module is used to establish its own multicast forwarding list according to the final combined message transmitted by the first data forwarding module.

[0014] In some embodiments, the data transmission module is specifically used to utilize the mapping relationship between the target data forwarding module in the multicast forwarding list and the multicast stream data subscribed to by its corresponding target device to filter the transmitted multicast stream data in the multimedia data transmitted by the multimedia server to obtain the multicast stream data subscribed to by all target devices.

[0015] In some embodiments, each of the data forwarding modules is specifically used to filter the corresponding delivery multicast stream data by using the mapping relationship between the subscription multicast stream data corresponding to the current target device subscribed in the respective multicast member port lists and the port of the current target device to obtain the corresponding subscription multicast stream data and the updated delivery multicast stream data.

[0016] In some embodiments, the data transmission module includes a router; the N data forwarding modules are all switches; one member port of each switch is connected to the routing port of the next switch, and the routing port of each switch is connected to a member port of the previous switch; one member port of the router is connected to the routing port of the first switch; all devices are connected to the corresponding switches through the member ports; and each switch has an IGMPSnooping function.

[0017] In some embodiments, the multicast forwarding list stores a mapping relationship between a target data forwarding module and a target device thereon, and subscribed multicast stream data; wherein the target data forwarding module is a data forwarding module connected to a target device that has subscribed to the multicast stream data;

[0018] The multicast member port list in each data forwarding module stores the mapping relationship between the multicast stream data subscribed by the current target device connected to itself and the port corresponding to the current target device; the current target device is a device that subscribes to the multicast stream data among several devices on the current data forwarding module.

[0019] In a second aspect, an embodiment of the present application provides a method for transmitting a multicast stream, including:

[0020] After the multimedia data transmitted by the multimedia server is screened according to the multicast forwarding list by the data transmission module to obtain the transmission multicast stream data, the transmission multicast stream data is transmitted to the data forwarding module connected to the data transmission module;

[0021] Using the current data forwarding module to filter the corresponding delivery multicast stream data transmitted by the previous data forwarding module according to the respective multicast member port lists, to obtain the corresponding subscription multicast stream data and the updated delivery multicast stream data;

[0022] The current data forwarding module is used to transmit the corresponding subscription multicast stream data to the current target device connected to itself, and the updated delivery multicast stream data is transmitted to the next data forwarding module.

[0023] In some embodiments, it also includes:

[0024] After the current target device receives the query message transmitted by the current data forwarding module, the current target device transmits a current response message to the current data forwarding module to correspond to the multicast stream data on the subscribed multimedia server;

[0025] Using the current data forwarding module to establish a corresponding multicast member port list according to the current response message, merging the current response message with the next merged message transmitted by the next data forwarding module to obtain a current merged message, and transmitting the current merged message to the previous data forwarding module;

[0026] Using the data transmission module to establish the multicast forwarding list according to the final combined message transmitted by the data forwarding module connected thereto;

[0027] The multicast forwarding list stores a mapping relationship between a target data forwarding module and a target device thereon, and subscribed multicast stream data; the target data forwarding module is a data forwarding module connected to a target device that has subscribed to multicast stream data; the multicast member port lists of each current data forwarding module store a mapping relationship between multicast stream data subscribed to by a current target device connected to the module, and a port corresponding to the current target device.

[0028] Compared with the prior art, the present invention provides a multicast stream transmission system and a multicast stream transmission method. The method filters the received corresponding transmission multicast stream data through each data transmission module, transmits the obtained corresponding subscription multicast stream data to the current target device connected to itself, and transmits the updated transmission multicast stream data to the next data forwarding module, thereby realizing that the corresponding subscription multicast stream data is efficiently and accurately sent to the corresponding target device, reducing traffic redundancy and effectively improving network utilization. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0030] Figure 1 An architectural relationship diagram of an embodiment of a multicast stream transmission system provided by the present invention;

[0031] Figure 2 A member port extension function topology diagram based on the IGMP Snooping protocol of the multicast stream transmission system provided by the present invention;

[0032] Figure 3 An extended diagram of member ports based on the IGMP Snooping protocol of the multicast stream transmission system provided by the present invention;

[0033] Figure 4 A flowchart of an embodiment of a multicast stream transmission method provided by the present invention;

[0034] Figure 5 The present invention provides a flowchart for establishing a multicast member port list and a multicast forwarding list in the multicast stream transmission method provided by the present invention.

[0035] Figure numerals: 10: data transmission module; 20: data forwarding module; 30: device; 40: multimedia server. DETAILED DESCRIPTION

[0036] The technical solutions in the embodiments of the present application will be described clearly and completely 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.

[0037] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0038] Hereinafter, the terms "including", "having" and their cognates used in various embodiments of the present application are intended only to indicate specific features, numbers, steps, operations, elements, components or a combination of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or a combination of the foregoing items or increasing the possibility of one or more features, numbers, steps, operations, elements, components or a combination of the foregoing items. In addition, the terms "first", "second", "third" and the like are only used to distinguish descriptions and cannot be understood as indicating or implying relative importance.

[0039] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art in the various embodiments of the present application. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.

[0040] In order to facilitate understanding of the embodiments of the present application, the background technology involved in the embodiments of the present invention is first introduced here.

[0041] The member port expansion method based on the IGMP snooping protocol is a technology used in network switches, which can achieve more accurate control and management of multicast data traffic. This method can effectively reduce the redundant traffic generated when multicast data is transmitted in the network, improve network performance and bandwidth utilization. At the same time, the member port expansion method based on the IGMP snooping protocol can also enhance network security, prevent unauthorized users from obtaining multicast data, and better support scenarios such as multimedia applications and video conferencing that require a large amount of multicast data transmission. Therefore, this technology is widely used in modern enterprise-level networks to optimize network performance and improve user experience.

[0042] However, in actual applications, as the scale of enterprises or institutions continues to expand, the demand for network device connections also increases. At this time, the number of connected devices may exceed the total number of ports on a switch, so it is necessary to cascade multiple switches to meet the needs of more connected terminals. However, current technology can only upgrade switch devices with more ports or cascade ordinary Layer 2 switch devices to meet this demand.

[0043] In order to solve the above-mentioned prior art problems, the present invention provides a multicast stream transmission system and a multicast stream transmission method. In the present invention, by adopting a cascaded mode of multiple switches supporting the IGMP Snooping protocol, different multicast data can be better diverted, network transmission efficiency can be improved, and the needs of business development can be met. This member port expansion solution based on the IGMP Snooping technology can effectively cope with the increasing demand for equipment and multicast traffic, provide users with more stable and reliable network services, and also avoid the need to replace higher-end switch equipment, saving costs.

[0044] When faced with the need to connect a large number of devices, this application uses the IGMP snooping protocol to avoid problems such as broadcast storms and data packet loops when cascading multiple switches, thereby improving the reliability and security of the entire network system.

[0045] The following describes the design of the multicast stream transmission method through specific exemplary embodiments. It should be noted that the following embodiments are only used to explain the technical solution of the invention and are not specifically limited.

[0046] See also Figure 1 An embodiment of the present application provides a multicast stream transmission system, including: a data transmission module 10 and N data forwarding modules 20; wherein N is a non-zero natural number; the data transmission module 10 and the N data forwarding modules 20 are connected in series in sequence, each data forwarding module 20 is used to connect to a number of devices 30, and the data transmission module 10 is used to connect to a multimedia server 40.

[0047] It can be understood that, for the purpose of distinction, the first data forwarding module in the N data forwarding modules 20 is marked as 21, the second data forwarding module is marked as 22, and the Nth data forwarding module is marked as 2N. The first device in the plurality of devices 30 is marked as 31, the second device is marked as 32, and the Mth device is marked as 3M; wherein M is a non-zero natural number. The data transmission module 10 has an IGMP function; the data forwarding module 20 has an IGMP snooping (Internet Group Management Protocol, Chinese name is Internet Group Management Protocol Snooping) function.

[0048] The data transmission module 10 is also used to transmit the query message output by the multimedia server 40 to the first data forwarding module 21; each data forwarding module 20 is also used to transmit the query message to the next data forwarding module 2 (n + 1) and all devices 30 connected to itself. Among them, the query message is mainly used to transmit control information between the host and the router, and is also used to detect network connectivity and path information.

[0049] Exemplarily, the multimedia server 40, the data transmission module 10 and N data forwarding modules 20 are connected in series in sequence, and each data forwarding module 20 is connected to a number of devices 30; the devices 30 include: computers, servers, network printers, network cameras and IP phones.

[0050] Then, the implementation process of the multicast stream transmission system is as follows:

[0051] First, the multimedia server 40 sends a query message to the data transmission module 10 . After the IGMP function is enabled, the data transmission module 10 transmits the IGMP query message to the first data forwarding module 21 at a fixed time.

[0052] Then, the first data forwarding module 21 transmits the query message (also called a general group query message) to all devices 30 connected to itself, so that the device 30 decides whether to subscribe to the multicast stream data according to the query message, and the first data forwarding module 21 transmits the query message to the second data forwarding module 22. Similarly, the second data forwarding module 22 performs the same operation to realize the downward transmission process of the query message.

[0053] It can be understood that in the present application, by transmitting the query message downward step by step, the query message is transmitted to all devices 30 on all data forwarding modules 20.

[0054] For example, in one embodiment, the data transmission module 10 includes a router; N data forwarding modules 20 are switches; a member port of each switch is connected to a routing port of the next switch, and a routing port of each switch is connected to a member port of the previous switch; a member port of the router is connected to a routing port of the first switch; all devices 30 are connected to the corresponding switches through the member ports; and each switch has an Internet Group Management Protocol snooping (IGMPsnooping: Internet Group Management Protocol) function.

[0055] Among them, see Figure 2In this embodiment, the data transmission module 10 is a router with IGMP function, and the data forwarding module 20 is a switch with IGMP snooping function. Figure 2 In the process, use a network cable to connect the three-layer multicast IGMP service port of the router to the designated routing port on the first switch, and use a network cable to connect any member port on the first switch to the designated static routing port of the second switch. Then, connect it in series with the third switch in the same way until it is connected to the Nth switch, thus forming a series cascade mode of N switches supporting the IGMP Snooping protocol, which can better divert different multicast data, improve network transmission efficiency, and meet the needs of business development.

[0056] As a layer 3 device, the router only needs to support the IGMP function, not the IGMP snooping function, while all switches as layer 2 devices only need to support the IGMP snooping function, not the IGMP. Figure 3 As shown. Among them, Figure 3 The devices 30 are all represented by devices. This member port expansion solution based on IGMPSnooping technology can effectively meet the increasing demand for devices and multicast traffic, realize flooding and improve efficiency, and at the same time enhance the interconnectivity of devices, providing users with more flexible network applications.

[0057] For example, in one embodiment, the current target device is also used to transmit a current response message to the current data forwarding module 2n (n is a non-zero natural number) connected to itself after receiving the query message, so as to correspond to the multicast stream data on the subscribed multimedia server 40.

[0058] Among them, the current target device is the device 30 that subscribes to the multicast stream data among the several devices 30 on the current data forwarding module 2n; the current response message is the message reported by the current target device to the current data forwarding module 2n in automatic response to the query message, so as to inform the multimedia server 40 of the subscribed several multicast stream data.

[0059] Exemplarily, after all devices 30 on the current data forwarding module 2n receive the query message, the current target device that needs to subscribe to the multicast stream data among all devices 30 on the current data forwarding module 2n automatically reports the current response message of IGMP to the data forwarding module 20 connected to itself based on the IGMP snooping function.

[0060] It can be understood that all devices 30 automatically respond to the received query message according to their own subscription needs, and transmit the response message to the data forwarding module 20 connected thereto, so as to finally report it to the multimedia server 40, thereby realizing fast and efficient reporting of the response message.

[0061] For example, in one embodiment, each data forwarding module 20 is used to establish its own multicast member port list according to the current response message, and is used to merge the current response message with the next merged message transmitted by the next data forwarding module 2(n+1) to obtain the current merged message, and transmit the current merged message to the previous data forwarding module 2(n-1). The data transmission module 10 is used to establish its own multicast forwarding list according to the final merged message transmitted by the first data forwarding module 21.

[0062] Each data forwarding module 20 stores its own multicast member port list; the data transmission module 10 stores a multicast forwarding list; the multicast member port list in each data forwarding module 20 stores a mapping relationship between the multicast stream data subscribed by the current target device connected to the module and the port corresponding to the current target device; the multicast forwarding list stores a mapping relationship between the target data forwarding module 20 and the subscribed multicast stream data of the target device 30 thereon; wherein the target device 30 is a device 30 that has subscribed to the multicast stream data, and the target data forwarding module 20 is a data forwarding module 20 connected to the target device 30 that has subscribed to the multicast stream data, that is, the target data forwarding module 20 is a data forwarding module 20 that is connected to the target device 30 among all the data forwarding modules 20.

[0063] Among them, the next merged message is the response message reported by the next data forwarding module 2(n+1) to the current data forwarding module 2n; the final merged message is the response message reported by the first data forwarding module 21 to the data transmission module 10, and the final merged message is the response message reported by all target devices 30.

[0064] Exemplarily, after the current target device reports the current response message to the data forwarding module 20 (i.e., the current data forwarding module 2n) connected to itself, and the next data forwarding module 2(n+1) reports the next merged message to the current data forwarding module 2n, the current data forwarding module 2n first establishes its multicast member port list (which stores the mapping relationship between the multicast stream data subscribed by the current target device and its ports) according to the current response message, so that each data forwarding module 20 can filter the multicast stream data sent to it according to its multicast member port list, and filter out the multicast stream data subscribed by the current target device on the current data forwarding module 2n.

[0065] Then, the current data forwarding module 2n merges the current response message with the next merged message reported by the next data forwarding module 2(n+1) to obtain the current merged message, and also reports the current merged message to the previous data forwarding module 2(n-1). The previous data forwarding module 2(n-1) also establishes the corresponding multicast member port list and reports the new merged message to the previous data forwarding module 2(n-2), until the first data forwarding module 21. When n is 1, "n-1" and "n-2" do not exist. At this time, the current data forwarding module 2n is the first data forwarding module 21; when n is 2, "n-2" does not exist.

[0066] Finally, after the first data forwarding module 21 similarly reports the final merged message to the data transmission module 10, the data transmission module 10 establishes a multicast forwarding list based on the final merged message (which stores the mapping relationship between the target data forwarding module 20 and the multicast stream data subscribed to by the target device 30 on the target data forwarding module 20) to filter the multimedia data transmitted by the multimedia server 40 according to the multicast forwarding list, and filter out the multicast stream data subscribed to by the target device 30 on the target data forwarding module 20.

[0067] It can be understood that in the present application, each data forwarding module 20 establishes its multicast member port list according to the mapping relationship between the multicast stream data subscribed by the current target device and its port, so as to finally filter the multicast stream data sent to it; and the data transmission module 10 establishes a multicast forwarding list according to the final merged message reported by the first data forwarding module 21, so as to finally filter the multimedia data transmitted by the multimedia server 40. In addition, each data forwarding module 20 merges the merged message reported to it with the current response message, and then reports it to the previous data forwarding module 2 (n-1), so as to realize step-by-step reporting, thereby improving the reporting efficiency.

[0068] For example, in one embodiment, the data transmission module 10 is used to filter the multimedia data transmitted by the multimedia server 40 according to the multicast forwarding list to obtain the delivery multicast stream data, and transmit the delivery multicast stream data to the first data forwarding module 21; each data forwarding module 20 is used to filter the corresponding delivery multicast stream data transmitted by the previous data forwarding module 2 (n-1) or the data transmission module 10 according to the multicast member port list stored in each data forwarding module 20, to obtain the corresponding subscription multicast stream data and the updated delivery multicast stream data; each data forwarding module 20 is also used to transmit the corresponding subscription multicast stream data to the current target device connected to itself, and transmit the updated delivery multicast stream data to the next data forwarding module 2 (n+1).

[0069] The updated delivery multicast stream data and the corresponding subscription multicast stream data are combined to obtain the corresponding delivery multicast stream data.

[0070] Exemplarily, the implementation process of the multicast stream transmission system is as follows:

[0071] First, the multimedia server 40 transmits the multimedia data to the data transmission module 10. The data transmission module 10 filters the multimedia data according to the multicast forwarding list to obtain the required multicast stream data, that is, obtains the data required by all target devices 30 that have subscribed to the multicast stream data, and transmits the multicast stream data to the data forwarding module 20 connected thereto, that is, the first data forwarding module 21.

[0072] Then, the first data forwarding module 21 filters the corresponding delivery multicast stream data transmitted by the data transmission module 10 according to the multicast member port list stored therein, obtains the corresponding subscription multicast stream data and the updated delivery multicast stream data, transmits the corresponding subscription multicast stream data to its current target device, and transmits the updated delivery multicast stream data to the next data forwarding module 2(n+1).

[0073] Secondly, all the subsequent data forwarding modules 20 perform the same operation: according to the multicast member port list stored therein, the corresponding subscription multicast stream data is filtered out from the corresponding delivery multicast stream data transmitted by the previous data forwarding module 2(n-1), the corresponding subscription multicast stream data is transmitted to its current target device, and the remaining multicast stream data (i.e., the updated delivery multicast stream data) is transmitted to the next data forwarding module 2(n+1), until the Nth data forwarding module 2N filters out the corresponding subscription multicast stream data from the corresponding delivery multicast stream data transmitted by the (N-1)th data forwarding module 2(N-1) according to the multicast member port list stored therein, and transmits the corresponding subscription multicast stream data to the current target device on the Nth data forwarding module 2N, so that the current target devices on all the data forwarding modules 20 can correctly receive the multicast group service streams they are concerned about.

[0074] It can be understood that in the present application, each data forwarding module 20 filters the corresponding transmission multicast stream data transmitted by the previous data forwarding module 2 (n-1) or the data transmission module 10 according to the multicast member port list stored in each data forwarding module 20, transmits the filtered corresponding subscription multicast stream data to the current target device connected to itself, and transmits the remaining updated transmission multicast stream data to the next data forwarding module 2 (n+1), thereby realizing the diversion of different multicast data and effectively improving the network utilization and transmission efficiency.

[0075] For example, in one embodiment, the data transmission module 10 is specifically used to utilize the mapping relationship between the target data forwarding module 20 in the multicast forwarding list and the multicast stream data subscribed to by its corresponding target device 30, to filter the multicast stream data transmitted in the multimedia data transmitted by the multimedia server 40, and obtain the multicast stream data subscribed to by all target devices 30.

[0076] Exemplarily, after the multimedia server 40 sends the multimedia data to the data transmission module 10, the data transmission module 10 uses the mapping relationship between the target data forwarding module 20 in the multicast forwarding list (there is a data forwarding module 20 connected to the target device 30 among all the data forwarding modules 20) and the multicast stream data subscribed by the corresponding target device 30, that is, uses the mapping relationship between all the data forwarding modules 20 and the multicast stream data subscribed by their respective target devices 30 to filter the multicast stream data transmitted in the multimedia data transmitted by the multimedia server 40, and obtains the multicast stream data subscribed by all the target devices 30, that is, retains the multicast stream data subscribed by all the target devices 30 on all the data forwarding modules 20, that is, transmits the multicast stream data, thereby realizing the accurate distribution of multicast traffic requirements and reducing network occupancy and redundancy.

[0077] For example, in one embodiment, each data forwarding module 20 is specifically used to filter the corresponding transmission multicast stream data by using the mapping relationship between the subscription multicast stream data corresponding to the current target device subscribed in the respective multicast member port lists and the port of the current target device, so as to obtain the corresponding subscription multicast stream data and the updated transmission multicast stream data.

[0078] Exemplarily, after the data transmission module 10 filters and obtains the transmission multicast stream data, the data transmission module 10 transmits the transmission multicast stream data to the first data forwarding module 21. The first data forwarding module 21 uses the mapping relationship between the subscription multicast stream data corresponding to the current target device in the respective multicast member port lists and the port of the current target device, that is, uses the mapping relationship between the subscription multicast stream data corresponding to the subscription of the target device 30 on it in its multicast member port list and the corresponding port, to filter out the corresponding subscription multicast stream data from the corresponding transmission multicast stream data, and uses the remaining as the updated transmission multicast stream data, so as to transmit the corresponding subscription multicast stream data to the corresponding target device 30 thereon, thereby achieving more accurate distribution of multicast traffic demand and improving network utilization.

[0079] See also Figure 4 The embodiment of the present application also provides a method for transmitting a multicast stream, including:

[0080] S100 , after using the data transmission module 10 to screen the multimedia data transmitted by the multimedia server 40 according to the multicast forwarding list to obtain the transmission multicast stream data, the transmission multicast stream data is transmitted to the data forwarding module 20 connected to the data transmission module 10 .

[0081] Exemplarily, when the multimedia server 40 sends multimedia data to the data transmission module 10 , the data transmission module 10 filters the multicast stream data from the multimedia data according to the multicast forwarding list and sends the multicast stream data to the data forwarding module 20 connected to the data transmission module 10 .

[0082] S200: Utilize the current data forwarding module 2n to filter the corresponding delivery multicast stream data transmitted by the previous data forwarding module 2(n-1) according to the respective multicast member port lists to obtain the corresponding subscription multicast stream data and updated delivery multicast stream data.

[0083] Exemplarily, after the data transmission module 10 sends the corresponding delivery multicast stream data to the current data forwarding module 2n, the current data forwarding module 2n filters the corresponding delivery multicast stream data according to the stored multicast member port list to obtain the corresponding subscription multicast stream data and updated delivery multicast stream data.

[0084] S300: Utilize the current data forwarding module 2n to transmit the corresponding subscription multicast stream data to the current target device connected to itself, and transmit the updated delivery multicast stream data to the next data forwarding module 2(n+1).

[0085] Exemplarily, after filtering and obtaining the corresponding subscription multicast stream data and the updated delivery multicast stream data, the current data forwarding module 2n transmits the corresponding subscription multicast stream data to the current target device connected thereto, and transmits the updated delivery multicast stream data to the next data forwarding module 2(n+1), that is, sends the corresponding subscription multicast stream data to the current target device connected thereto, and forwards the updated delivery multicast stream data to the next data forwarding module 2(n+1).

[0086] Then, the next data forwarding module 2(n+1) similarly screens the updated transmission multicast stream data and sends it down or / and forwards it, until the last data forwarding module 20 screens the corresponding transmission multicast stream data transmitted by its previous data forwarding module 20, obtains the corresponding subscription multicast stream data and sends it down to the corresponding current target device, so that all current target devices can correctly receive the multicast group service flow they are concerned about, completing the entire subscription multicast group process.

[0087] For example, in one embodiment, see Figure 5 , the multicast stream transmission method also includes:

[0088] S400, after the current target device receives the query message transmitted by the current data forwarding module 2n, it transmits the current response message to the current data forwarding module 2n to correspond to the multicast stream data on the subscribed multimedia server 40;

[0089] S500, using the current data forwarding module 2n to establish a corresponding multicast member port list according to the current response message, merging the current response message with the next merged message transmitted by the next data forwarding module 2(n+1) to obtain the current merged message, and transmitting the current merged message to the previous data forwarding module 2(n-1);

[0090] S600 , using the data transmission module 10 to establish a multicast forwarding list according to the final combined message transmitted by the data forwarding module 20 connected thereto.

[0091] The multicast member port list of each current data forwarding module 2n stores the mapping relationship between the multicast stream data subscribed by the current target device connected to itself and the port corresponding to the current target device.

[0092] Exemplarily, before the multimedia server 40 sends multimedia data to the data transmission module 10 , the multimedia server 40 first sends a query message to the data transmission module 10 , and the data transmission module 10 forwards the query message to the current data transmission module 10 connected thereto.

[0093] Then, the current data transmission module 10 sends a query message to all devices 30 thereon. After the current target device in all devices 30 automatically responds to the query message, the current response message is sent to the current data forwarding module 2n to subscribe to the multicast stream data on the multimedia server 40.

[0094] Secondly, the current data forwarding module 2n establishes its multicast member port list according to the current response message (which stores the mapping relationship between the multicast stream data subscribed by the current target device connected to itself and the port corresponding to the current target device), merges the current response message with the next merged message forwarded by the next data forwarding module 2(n+1) to obtain the current merged message, obtains the updated merged message, and reports the current merged message to the previous data forwarding module 2(n-1), thereby establishing their respective multicast member port lists and forwarding each updated merged message to the upper level one level at a time.

[0095] It can be understood that the implementation of each method step in this embodiment can refer to the above embodiment, and the optional items in the above embodiment are also applicable to this embodiment, so they will not be repeated here.

[0096] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A multicast stream transmission system, characterized in that: include: A data transmission module and N data forwarding modules; the data transmission module and the N data forwarding modules are sequentially connected in series, each of the data forwarding modules is further used to connect to a number of devices, and the data transmission module is further used to connect to a multimedia server; The data transmission module is used to filter the multimedia data transmitted by the multimedia server according to the multicast forwarding list to obtain the transmission multicast stream data, and transmit the transmission multicast stream data to the first data forwarding module; Each of the data forwarding modules is used to filter the corresponding transmission multicast stream data transmitted by the previous data forwarding module or the data transmission module according to the multicast member port list stored in each module, so as to obtain the corresponding subscription multicast stream data and the updated transmission multicast stream data; Each of the data forwarding modules is also used to transmit the corresponding subscription multicast stream data to the current target device connected to itself, and transmit the updated delivery multicast stream data to the next data forwarding module.

2. The multicast stream transmission system according to claim 1, characterized in that: The data transmission module is also used to transmit the query message output by the multimedia server to the first data forwarding module; each of the data forwarding modules is also used to transmit the query message to the next data forwarding module and all devices connected to itself.

3. The multicast stream transmission system according to claim 2, characterized in that: The current target device is also used to transmit a current response message to the current data forwarding module connected to itself after receiving the query message, so as to subscribe to a number of multicast stream data on the multimedia server.

4. The multicast stream transmission system according to claim 3, characterized in that: Each of the data forwarding modules is further used to establish a respective multicast member port list according to the current response message, and to merge the current response message with the next merged message transmitted by the next data forwarding module to obtain a current merged message, and transmit the current merged message to the previous data forwarding module; The data transmission module is used to establish its own multicast forwarding list according to the final combined message transmitted by the first data forwarding module.

5. The multicast stream transmission system according to claim 1, characterized in that: The data transmission module is specifically used to filter the multicast stream data in the multimedia data transmitted by the multimedia server by using the mapping relationship between the target data forwarding module in the multicast forwarding list and the multicast stream data subscribed by the corresponding target device, so as to obtain the multicast stream data subscribed by all the target devices.

6. The multicast stream transmission system according to claim 1, characterized in that: Each of the data forwarding modules is specifically configured to filter the corresponding transmission multicast stream data by utilizing the mapping relationship between the subscription multicast stream data corresponding to the current target device subscribed to in the respective multicast member port lists and the port of the current target device, so as to obtain the corresponding subscription multicast stream data and the updated transmission multicast stream data.

7. The multicast stream transmission system according to claim 1, characterized in that: The data transmission module includes a router; the N data forwarding modules are all switches; one member port of each switch is connected to the routing port of the next switch, and the routing port of each switch is connected to a member port of the previous switch; one member port of the router is connected to the routing port of the first switch; all devices are connected to the corresponding switches through the member ports; and each switch has an IGMP Snooping function.

8. The multicast stream transmission system according to claim 1, characterized in that: The multicast forwarding list stores a mapping relationship between a target data forwarding module and a target device thereon, and subscribed multicast stream data; wherein the target data forwarding module is a data forwarding module connected to a target device that has subscribed to multicast stream data; The multicast member port list in each data forwarding module stores the mapping relationship between the multicast stream data subscribed by the current target device connected to itself and the port corresponding to the current target device; the current target device is a device that subscribes to the multicast stream data among several devices on the current data forwarding module.

9. A method for transmitting a multicast stream, characterized in that: include: After the multimedia data transmitted by the multimedia server is screened according to the multicast forwarding list by the data transmission module to obtain the transmission multicast stream data, the transmission multicast stream data is transmitted to the data forwarding module connected to the data transmission module; Using the current data forwarding module to filter the corresponding delivery multicast stream data transmitted by the previous data forwarding module according to the respective multicast member port lists, to obtain the corresponding subscription multicast stream data and the updated delivery multicast stream data; The current data forwarding module is used to transmit the corresponding subscription multicast stream data to the current target device connected to itself, and the updated delivery multicast stream data is transmitted to the next data forwarding module.

10. The method for transmitting a multicast stream according to claim 9, characterized in that: Also includes: After the current target device receives the query message transmitted by the current data forwarding module, the current target device transmits a current response message to the current data forwarding module to correspond to the multicast stream data on the subscribed multimedia server; Using the current data forwarding module to establish a corresponding multicast member port list according to the current response message, merging the current response message with the next merged message transmitted by the next data forwarding module to obtain a current merged message, and transmitting the current merged message to the previous data forwarding module; Using the data transmission module to establish the multicast forwarding list according to the final combined message transmitted by the data forwarding module connected thereto; The multicast forwarding list stores a mapping relationship between a target data forwarding module and a target device thereon, and subscribed multicast stream data; the target data forwarding module is a data forwarding module connected to a target device that has subscribed to multicast stream data; the multicast member port lists of each current data forwarding module store a mapping relationship between multicast stream data subscribed to by a current target device connected to the module, and a port corresponding to the current target device.