SDN-based multicast message suppression method, device, equipment and storage medium

By converting multicast messages into unicast messages in the SDN controller and then converting them into multicast messages, the problem of inefficient multicast transmission in the traditional SDN is solved, reducing resource waste and improving transmission efficiency.

CN115941594BActive Publication Date: 2024-11-19CHENGDU SKSPRUCE TECH +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202211089945.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-07
Publication Date
2024-11-19
Estimated Expiration
2042-09-07

AI Technical Summary

Technical Problem

In multicast services, traditional SDN multicast message transmission is inefficient and complex, especially when few sites subscribe to multicast services or insufficient network subscribe, resulting in wasted network resources.

Method used

By obtaining broadcast requests from network element node devices at the sending and receiving ends in the software-defined network controller, using deep message detection technology to parse and update the flow table policy, converting multicast messages into unicast messages, and controlling them in SDN Forwarding in the machine, the unicast message is converted into multicast message and sent to the receiver to avoid transmission based on the multicast routing protocol.

Benefits of technology

It reduces the waste of network resources, improves transmission efficiency, and simplifies the transmission process, and is suitable for scenarios of the same LAN and different LANs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115941594B_ABST
    Figure CN115941594B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and storage medium for multicast message suppression based on SDN, which relates to the field of communication technology and is applied to an SDN controller, including: obtaining the respective broadcast requests of the first network element node device at the sending end and the second network element node device at the receiving end forwarded according to the flow table strategy; parsing the broadcast request through deep message detection technology, and updating the flow table strategy with the data obtained after parsing to obtain the target flow table strategy; based on the target flow table strategy, forwarding the unicast message obtained by converting the multicast message sent by the sending end through the first network element node device to the second network element node device, so that the second network element node device converts the unicast message into a multicast message and sends it to the receiving end. Through the technical solution of the present application, when few sites subscribe to multicast services, or when some parts of the network are undersubscribed, the waste of network resources can be reduced and the transmission efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method, device, equipment and storage medium for multicast message suppression based on SDN. Background Art

[0002] Multicast streaming services allow users on a network to share network resources, such as streaming video or Internet radio programs. For example, Apple Inc.'s Bonjour (zero configuration networking) implements zero configuration networking to easily access shared resources on a local network, such as printers or video projectors in an office. Therefore, multicast is the underlying technology that supports these streaming media services.

[0003] The article "A Survey on Multicasting in Software-Defined Networking" summarizes the network architecture, routing protocols, and efficiency factors in traditional IP networks and SDN multicast networks. IP multicast has played an important role in a large number of new network applications, especially in the field of streaming media transmission, due to its advantages of high network utilization, saving the sender's own resources, and strong scalability. However, IP multicast (Internet Protocol, a protocol for interconnecting networks) still needs to solve a series of challenges, including scalability, management of dynamic groups, security, and other issues that need to be solved and optimized by relevant technical personnel. The introduction of SDN (Software Defined Network) as a new network architecture has pointed out the direction for solving the above problems. The article "An Efficient SDN Multicast Architecture for Dynamic Industrial IoT Environment" also gives an architecture for multicast processing under SDN. Different from traditional IP networks, which use distributed elections to process, in SDN networks, all processing is done on the SDN controller. As for SDN networks, they not only cover wired networks, but also large-scale enterprise WLAN (Wireless Local Area Networks) networking. With the need for business flexibility expansion and the maturity and application of software-defined networks, the application of SDN technology in WLAN networks has become an industry trend and mainstream. One of the implementation methods is referenced in the patent: WLAN hierarchical networking system and method based on SDN (CN 104582004 A)

[0004] When transmitting messages, traditional SDN multicast applications such as Apple TV (Apple TV set-top box) use wireless Wi-Fi (Wireless-Fidelity) access, and messages are limited to propagation in wireless LANs. After optimization, multicast message transmission can be achieved across VLANs (Virtual Local Area Networks), network segments, and even across the entire transmission network in combination with multicast routing protocols. However, the transmission of multicast messages based on routing protocols is obviously inefficient and very complicated. Although sending videos through multicast subscription mechanisms is an effective way and reduces replication during transmission, the technology also has some inherent inefficiencies: a copy of the data packet is transmitted to each network device in the local network to make the streaming service available at any point in the network, but when few sites subscribe to multicast services or when some parts of the network are undersubscribed, network resources are wasted on devices and communication channels. At this time, compared with multicast, unicast transmits a single data packet from the source to a specific destination instead of transmitting copies of the data packet to multiple destinations, which may be more efficient for small audiences.

[0005] In summary, how to reduce the waste of network resources when few sites subscribe to multicast services or when some parts of the network are undersubscribed, and how to simplify the method and improve the transmission efficiency without transmitting based on various multicast routing protocols are currently unresolved issues. Summary of the invention

[0006] In view of this, the purpose of the present invention is to provide a multicast message suppression method, device, equipment and storage medium, which can reduce the waste of network resources when few sites subscribe to multicast services or when some parts of the network are undersubscribed, and do not need to be transmitted based on various multicast routing protocols, simplify the method and improve the transmission efficiency. The specific scheme is as follows:

[0007] In a first aspect, the present application discloses a multicast message suppression method, which is applied to a software defined network controller, comprising:

[0008] Acquire the respective broadcast requests of the first network element node device at the sending end and the second network element node device at the receiving end forwarded according to the flow table strategy;

[0009] Parsing the broadcast request by deep packet inspection technology, and updating the flow table policy by using the data obtained after parsing to obtain a target flow table policy;

[0010] Based on the target flow table strategy, the unicast message obtained by converting the multicast message sent by the sender through the first network element node device is forwarded to the second network element node device, so that the second network element node device converts the unicast message into the multicast message and sends it to the receiving end.

[0011] Optionally, before obtaining the respective broadcast requests forwarded by the first network element node device at the sending end and the second network element node device at the receiving end according to the flow table policy, the method further includes:

[0012] Initialize the first network element node device and the second network element node device, and use the addresses of the first network element node device and the second network element node device to determine the OpenFlow flow table policy so that the first network element node device and the second network element node device send Internet Group Management Protocol messages to the software defined network controller.

[0013] Optionally, obtaining the respective broadcast requests of the first network element node device at the sending end and the second network element node device at the receiving end forwarded according to the flow table policy includes:

[0014] Acquire a broadcast request carrying a corresponding source IP address from the sending end that is forwarded by a first network element node device at the sending end according to a flow table policy;

[0015] A broadcast request carrying a corresponding source IP address from the receiving end forwarded by the second network element node device at the receiving end according to the flow table policy is obtained.

[0016] Optionally, the multicast message suppression method further includes:

[0017] The data plane strategy is used to monitor the layer 2 messages forwarded by the first network element node device and the second network element node device in the same local area network.

[0018] Optionally, the converting, by the first network element node device, the multicast message sent by the sender into a unicast message based on the target flow table policy and forwarding it to the second network element node device includes:

[0019] Determine whether the first network element node device and the second network element node device are in the same local area network;

[0020] If the first network element node device and the second network element node device are in the same local area network, directly forwarding the layer 2 message to the second network element node device based on the target flow table policy;

[0021] If the first network element node device and the second network element node device are not in the same local area network, the IP address of the receiving end is determined based on the target flow table strategy, and the unicast message obtained by converting the multicast message sent by the sending end through the first network element node device is routed and forwarded to the second network element node device according to the IP address.

[0022] Optionally, the multicast message suppression method further includes:

[0023] If the first network element node device and the second network element node device are not in the same local area network, the unicast message obtained by converting the multicast message sent by the sender through the first network element node device is forwarded to the second network element node device through the tunnel using the tunnel protocol.

[0024] Optionally, after forwarding the unicast message obtained by converting the multicast message sent by the sender through the first network element node device to the second network element node device, the method further includes:

[0025] The unicast message is matched with the request quantity of the receiving end. If the match is successful, the second network element node device is controlled to convert the unicast message into the multicast message and send it to the receiving end, so as to establish a flow connection between the receiving end and the sending end.

[0026] In a second aspect, the present application discloses a multicast message suppression device, which is applied to a software defined network controller, comprising:

[0027] A request acquisition module, used to acquire the broadcast requests of the first network element node device at the sending end and the second network element node device at the receiving end forwarded according to the flow table strategy;

[0028] A flow table update module, used to parse the broadcast request through a deep packet inspection technology, and update the flow table policy using the data obtained after the analysis to obtain a target flow table policy;

[0029] A message forwarding module is used to forward the unicast message obtained by converting the multicast message sent by the sending end through the first network element node device to the second network element node device based on the target flow table strategy, so that the second network element node device converts the unicast message into the multicast message and sends it to the receiving end.

[0030] In a third aspect, the present application discloses an electronic device, comprising a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the multicast message suppression method as described above.

[0031] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the multicast message suppression method as described above.

[0032] In the present application, a software-defined network controller is applied to first obtaining the respective broadcast requests of the first network element node device at the sending end and the second network element node device at the receiving end forwarded according to the flow table policy; then the broadcast request is parsed through deep packet detection technology, and the flow table policy is updated using the data obtained after parsing to obtain the target flow table policy; finally, based on the target flow table policy, the unicast message obtained by converting the multicast message sent by the sending end by the first network element node device is forwarded to the second network element node device, so that the second network element node device converts the unicast message into the multicast message and sends it to the receiving end. It can be seen that the multicast message is converted into a unicast message by the network element node device at the sending end, and then the SDN controller parses the unicast message and forwards it to the network element node device at the receiving end. The network element node device at the receiving end converts the unicast message into a multicast message and sends it to the receiving end. In this way, when multicast applications are supported in the SDN network, when few sites subscribe to multicast services, or when some parts of the network are undersubscribed, network resources will not be wasted on devices and communication channels, and there is no need to transmit based on various multicast routing protocols, which improves transmission efficiency and simplifies the method. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0034] Figure 1 A flow chart of a multicast message suppression method based on SDN disclosed in this application;

[0035] Figure 2 A schematic diagram of a multicast message suppression method based on SDN disclosed in this application;

[0036] Figure 3 A schematic diagram of a specific SDN-based multicast message suppression process disclosed in this application;

[0037] Figure 4 A schematic diagram of a SDN controller service module disclosed in this application;

[0038] Figure 5A flowchart of a specific SDN-based multicast message suppression method disclosed in this application;

[0039] Figure 6 This is a schematic diagram of the structure of a multicast message suppression device based on SDN disclosed in this application;

[0040] Figure 7 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] Currently, traditional SDN multicast is based on routing protocols to transmit multicast messages, but it is obviously inefficient and very complicated. In addition, when few sites subscribe to multicast services or when some parts of the network are undersubscribed, network resources are wasted on equipment and communication channels. At this time, compared with multicast, unicast transmits a single data packet from the source to a specific destination instead of transmitting copies of the data packet to multiple destinations, which may be more efficient for small audiences.

[0043] To this end, the present application provides an SDN-based multicast message suppression solution that can reduce the waste of network resources when few sites subscribe to multicast services or when some parts of the network are undersubscribed, and does not require transmission based on various multicast routing protocols, thereby simplifying the method and improving transmission efficiency.

[0044] The embodiment of the present invention discloses a multicast message suppression method based on SDN, see Figure 1 As shown, the method is applied to the SDN controller. The method can be directly applied to the same local area network or to different local area networks. The following is an example of application to the same local area network. For the specific implementation process of application to different local area networks, refer to the specific implementation description of application to the same local area network. The method includes:

[0045] Step S11: Acquire the broadcast requests of the first network element node device at the sending end and the second network element node device at the receiving end, which are forwarded according to the flow table strategy.

[0046] In the embodiment of the present application, the software defined network controller, i.e., the SDN controller, will first initialize the network element node devices corresponding to the sending end and the receiving end. It should be noted that the sending end corresponds to the first network element node device, and the receiving end corresponds to the second network element node device; wherein, the network element node device can be a switch, or other network element node devices that support SDN OpenFlow, depending on the specific situation, and no specific limitation is made here. For example, if the device is wireless, this role can be performed by AP (Access Point, access point) / AC (Access Controller); if the device is wired, this role can be performed by the switch. In this way, the SDN controller can obtain the addresses of the first network element node device and the second network element node device to update the default OpenFlow flow table policy, ensuring that the received multicast message, i.e., IGMP (Internet Group Management Protocol) message can be sent to the SDN controller.

[0047] It can be understood that in the same local area network, IGMP is used to establish and maintain the relationship between multicast group members between the receiver host and the directly adjacent multicast router. Therefore, after initializing the first network element node device and the second network element node device, the first network element node device and the second network element node device establish a connection with the SDN controller, so that the messages forwarded by the first network element node device and the second network element node device can be sent to the SDN controller.

[0048] Specifically, the first network element node device and the second network element node device are initialized, and the addresses of the first network element node device and the second network element node device are used to determine the OpenFlow flow table policy so that the first network element node device and the second network element node device send Internet Group Management Protocol messages to the software-defined network controller.

[0049] In the embodiment of the present application, after the SDN controller establishes a connection with the network element node devices on both sides of the transmission and reception, the transmission end and the reception end will send their respective broadcast requests to the corresponding network element node devices, and the network element node devices will then send notifications to the SDN controller according to the flow table policy. Among them, the respective broadcast requests can specifically be a broadcast request carrying a corresponding source IP address at the transmission end and a broadcast request carrying a corresponding source IP address at the reception end. In this way, when the first network element node device and the second network element node device are not in the same local area network, that is, across the three-layer network, the message can be transmitted by multicast routing forwarding according to the address.

[0050] Specifically, the method of obtaining the respective broadcast requests of the first network element node device at the sending end and the second network element node device at the receiving end forwarded according to the flow table policy includes: obtaining the broadcast request of the sending end carrying the corresponding source IP address forwarded by the first network element node device at the sending end according to the flow table policy; obtaining the broadcast request of the receiving end carrying the corresponding source IP address forwarded by the second network element node device at the receiving end according to the flow table policy.

[0051] Step S12: parsing the broadcast request by deep packet inspection technology, and updating the flow table policy by using the data obtained after parsing to obtain a target flow table policy.

[0052] In the embodiment of the present application, after receiving the broadcast request of the sender forwarded by the first network element node device and the broadcast request of the receiver forwarded by the second network element node device, the SDN controller will parse the respective broadcast requests, and then update the flow table policy using the data obtained after the parsing to obtain the target flow table policy. It can be understood that the broadcast request is an IGMP message.

[0053] It should be pointed out that a deep packet inspection (DPI) engine module is deployed in the SDN controller. When the broadcast request of the sender and the receiver is parsed by the deep packet inspection technology, one or more packets are parsed, so that the source IP addresses of both sides can be obtained. In addition, the deep packet inspection technology can also obtain the relevant parameters and device attributes (profile) of both the sender and the receiver to update the flow table strategy, which is not specifically limited here.

[0054] Step S13: Based on the target flow table strategy, the unicast message obtained by converting the multicast message sent by the sending end through the first network element node device is forwarded to the second network element node device, so that the second network element node device converts the unicast message into the multicast message and sends it to the receiving end.

[0055] In an embodiment of the present application, the multicast message sent by the sending end is converted into a unicast message by the first network element node device and then sent to the SDN controller, and then the converted unicast message is forwarded to the second network element node device at the receiving end via the SDN controller. In this way, the second network element node device can convert the unicast message into a multicast message and send it to the receiving end, thereby solving the problem of network resources being wasted on devices and communication channels when few sites subscribe to multicast services or when some parts of the network are undersubscribed.

[0056] It should be pointed out that the SDN controller updates the flow table of the network element node device at the sending and receiving ends, and obtains the target flow table strategy mainly to connect the network element node devices on both sides. In this way, when the sending end sends a multicast message, it can be directly forwarded through the flow table after being converted into a unicast message, without the need for transmission based on various multicast routing protocols, which improves the transmission efficiency and simplifies the method.

[0057] In addition, the SDN controller can monitor the messages (Layer 2 messages) in the entire wireless network with the help of the data plane strategy. After the unicast message obtained by converting the multicast message sent by the sender through the first network element node device is forwarded to the second network element node device, the unicast message will be matched with the request quantity of the receiving end. If the match is successful, the second network element node device will be controlled to convert the unicast message into the multicast message and send it to the receiving end, so as to establish a flow connection between the receiving end and the sending end.

[0058] In the present application, a software-defined network controller is applied to first obtaining the respective broadcast requests of the first network element node device at the sending end and the second network element node device at the receiving end forwarded according to the flow table policy; then the broadcast request is parsed through deep packet detection technology, and the flow table policy is updated using the data obtained after parsing to obtain the target flow table policy; finally, based on the target flow table policy, the unicast message obtained by converting the multicast message sent by the sending end by the first network element node device is forwarded to the second network element node device, so that the second network element node device converts the unicast message into the multicast message and sends it to the receiving end. It can be seen that the multicast message is converted into a unicast message by the network element node device at the sending end, and then the SDN controller parses the unicast message and forwards it to the network element node device at the receiving end. The network element node device at the receiving end converts the unicast message into a multicast message and sends it to the receiving end. In this way, when few sites subscribe to multicast services or when some parts of the network are undersubscribed, network resources will not be wasted on equipment and communication channels, and there is no need to transmit based on various multicast routing protocols, which improves transmission efficiency and simplifies the method.

[0059] See also Figure 2 , which is a topological abstraction of multicast message transmission in the scenario of SDN combined with WLAN, and is responsible for the suppression of multicast messages on AC / AP or switch. Among them, the problem of multicast forwarding across switches is divided into two situations: one is that the two switches are under a large switch, and they can be directly connected through layer 2 messages; the second is that the two switches cross the layer 3 network, that is, they need to be connected through the multicast routing forwarding mode. Both scenarios can be effectively solved in the application embodiment.

[0060] For example, taking the local switch scenario as an example, the basic logic is shown in Figure 3 As shown. From top to bottom, first initialize the switches on both sides to update the default flow table policy, then the sender (Service Provider Station) and the receiver (Receiving Station) send their own broadcast requests to their corresponding switches, and the switches on both sides notify the SDN controller so that the SDN controller updates the switch flow tables of the sender and the receiver. Then the switch sends notification messages to the sender and the receiver respectively. When the multicast message from the sender reaches the switch, it is converted into a unicast message according to the target flow table policy and sent to the switch at the receiver; after receiving the message, the switch at the receiver converts it into a multicast message and sends it to the receiver.

[0061] To support the above business logic, it is necessary to add a multicast business processing module to the SDN controller, such as Figure 4 The figure shows a schematic diagram of the business module of the SDN controller. With the help of the data plane strategy, the SDN controller can monitor the Layer 2 messages in the entire wireless network; the broadcast request initiated from the sender is forwarded to the SDN controller through the first network element node device, and the SDN controller parses one or more messages through the DPI engine module to obtain relevant data to update the list of available services. Similarly, after the receiving end forwards the broadcast request to the SDN controller through the second network element node device, the SDN controller updates the flow table strategy of the network element node device connected downstream according to the defined multicast flow processing strategy. Among them, the flexible design of the multicast flow processing strategy can meet different scenarios. An example scenario is: OpenFlow can be used to set the local switch to respond to one or more multicast messages from the sender for effective suppression. After converting to a unicast message, combined with the notification and number of the request packet from the receiving end, the service provider or the receiving end site is notified after the matching conditions are met, and then a flow connection is established.

[0062] The present application embodiment discloses a specific multicast message suppression method, which is applied to a software defined network controller, see Figure 5 As shown, the method includes:

[0063] Step S21: Acquire the broadcast requests of the first network element node device at the sending end and the second network element node device at the receiving end, which are forwarded according to the flow table strategy.

[0064] Step S22: parsing the broadcast request through deep packet inspection technology, and updating the flow table policy using the data obtained after parsing to obtain a target flow table policy.

[0065] For more specific processing procedures of the above steps S21 and S22, reference may be made to the corresponding contents disclosed in the above embodiments, which will not be described in detail here.

[0066] Step S23: Determine whether the first network element node device and the second network element node device are in the same local area network.

[0067] In an embodiment of the present application, after the broadcast requests of the sender and the receiver are parsed and updated to obtain the target flow table strategy using deep packet inspection technology in the SDN controller, it is determined whether the first network element node device and the second network element node device are in the same local area network. The multicast stream processing strategies corresponding to different scenarios are different.

[0068] Step S24: If the first network element node device and the second network element node device are in the same local area network, the layer 2 message is directly forwarded to the second network element node device based on the target flow table policy.

[0069] In the embodiment of the present application, if the first network element node device and the second network element node device are in the same local area network, since the SDN controller can monitor the layer 2 message in the entire wireless network with the help of the data plane policy, the layer 2 message is directly forwarded to the second network element node device based on the target flow table policy. That is, the messages converted from multicast to unicast and the messages converted from unicast to multicast in the same local area network are all layer 2 messages.

[0070] Step S25: If the first network element node device and the second network element node device are not in the same local area network, the IP address of the receiving end is determined based on the target flow table strategy, and the unicast message obtained by converting the multicast message sent by the sending end through the first network element node device is routed and forwarded to the second network element node device according to the IP address.

[0071] In a specific implementation, if the first network element node device and the second network element node device are not in the same local area network, since the first network element node device and the second network element node device both forwarded the source IP addresses of the sender and the receiver respectively before obtaining the target flow table policy, then based on the updated target flow table policy, the IP address of the receiver can be determined, and according to the IP address, the unicast message obtained by converting the multicast message sent by the sender by the first network element node device is routed and forwarded to the second network element node device.

[0072] In another specific implementation, if the first network element node device and the second network element node device are not in the same local area network, that is, for the case of cross-domain network segments, the update to the tunnel method can also be adopted, and the monitoring data or data packets from multiple network components at different locations on the data communication network can be transmitted from each network component to the SDN controller through the tunnel. Specifically, the unicast message obtained by converting the multicast message sent by the first network element node device to the sender is forwarded to the second network element node device through the tunnel using the tunnel protocol.

[0073] In the present application, a software-defined network controller is applied to first obtaining the respective broadcast requests of the first network element node device at the sending end and the second network element node device at the receiving end forwarded according to the flow table policy; then the broadcast request is parsed through deep packet detection technology, and the flow table policy is updated using the data obtained after parsing to obtain the target flow table policy; finally, it is determined whether the first network element node device and the second network element node device are in the same local area network; if the first network element node device and the second network element node device are in the same local area network, then based on the target flow table policy, the second-layer message is directly forwarded to the second network element node device; if the first network element node device and the second network element node device are not in the same local area network, then based on the target flow table policy, the IP address of the receiving end is determined, and according to the IP address, the unicast message obtained by converting the multicast message sent by the sending end by the first network element node device is routed and forwarded to the second network element node device. It can be seen that the network element node device at the sending end converts the multicast message into a unicast message, and then the SDN controller parses the unicast message and forwards it to the network element node device at the receiving end. The network element node device at the receiving end converts the unicast message into a multicast message and sends it to the receiving end. In this way, when supporting multicast applications in the SDN network, when few sites subscribe to multicast services, or when some parts of the network are undersubscribed, network resources will not be wasted on devices and communication channels, and there is no need to transmit based on various multicast routing protocols, which improves transmission efficiency and simplifies the method. It can effectively solve the multicast forwarding problem across network element node devices in two situations.

[0074] Correspondingly, the embodiment of the present application also discloses a multicast message suppression device, which is applied to a software defined network controller, see Figure 6 As shown, the device comprises:

[0075] A request acquisition module 11, used for acquiring the broadcast requests of the first network element node device at the sending end and the second network element node device at the receiving end forwarded according to the flow table strategy;

[0076] A flow table updating module 12, configured to parse the broadcast request by using a deep packet inspection technology, and update the flow table policy using the data obtained after the parsing to obtain a target flow table policy;

[0077] The message forwarding module 13 is used to forward the unicast message obtained by converting the multicast message sent by the sending end through the first network element node device to the second network element node device based on the target flow table strategy, so that the second network element node device converts the unicast message into the multicast message and sends it to the receiving end.

[0078] Among them, for more specific working processes of the above-mentioned modules, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0079] It can be seen that through the above-mentioned scheme of this embodiment, applied to the software-defined network controller, first, the first network element node device at the sending end and the second network element node device at the receiving end are obtained, and the broadcast requests of both ends are forwarded according to the flow table policy; then the broadcast request is parsed through deep packet detection technology, and the flow table policy is updated using the data obtained after parsing to obtain the target flow table policy; finally, based on the target flow table policy, the unicast message obtained by converting the multicast message sent by the sending end by the first network element node device is forwarded to the second network element node device, so that the second network element node device converts the unicast message into the multicast message and sends it to the receiving end. It can be seen that the multicast message is converted into a unicast message by the network element node device at the sending end, and then the SDN controller parses the unicast message and forwards it to the network element node device at the receiving end. The network element node device at the receiving end converts the unicast message into a multicast message and sends it to the receiving end. In this way, when multicast applications are supported in the SDN network, when few sites subscribe to multicast services, or when some parts of the network are undersubscribed, network resources will not be wasted on devices and communication channels, and there is no need to transmit based on various multicast routing protocols, which improves transmission efficiency and simplifies the method.

[0080] Furthermore, the present application also discloses an electronic device. Figure 7 This is a structural diagram of an electronic device 20 according to an exemplary embodiment, and the content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0081] Figure 7A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the multicast message suppression method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an SDN controller.

[0082] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0083] In addition, the memory 22 as a carrier for resource storage may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222 and data 223, etc. The data 223 may include various data. The storage method may be temporary storage or permanent storage.

[0084] The operating system 221 is used to manage and control the hardware devices and computer program 222 on the electronic device 20, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the multicast message suppression method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.

[0085] Furthermore, the embodiment of the present application also discloses a computer-readable storage medium, wherein the computer-readable storage medium mentioned here includes a random access memory (Random Access Memory, RAM), a memory, a read-only memory (Read-Only Memory, ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a magnetic disk or an optical disk, or any other form of storage medium known in the technical field. Wherein, when the computer program is executed by the processor, the aforementioned multicast message suppression method is implemented. For the specific steps of the method, reference can be made to the corresponding contents disclosed in the aforementioned embodiment, and no further description will be given here.

[0086] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0087] The steps of the multicast message suppression or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

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

[0089] The above is a detailed introduction to a multicast message suppression method, device, equipment and storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A multicast message suppression method based on SDN, characterized in that: Applied to SDN controllers, including: Obtaining the respective broadcast requests forwarded by the first network element node device at the sending end and the second network element node device at the receiving end according to the flow table strategy; the broadcast request is an IGMP message; The broadcast request is parsed by deep packet inspection technology, and the flow table policy is updated by using the data obtained after the parsing to obtain a target flow table policy; the target flow table policy is used to connect the first network element node device and the second network element node device; Based on the target flow table policy, the unicast message obtained by converting the multicast message sent by the sending end through the first network element node device is forwarded to the second network element node device, so that the second network element node device converts the unicast message into the multicast message and sends it to the receiving end; wherein, the SDN controller monitors the second layer message in the entire wireless network with the help of the data plane policy, and after forwarding the unicast message obtained by converting the multicast message sent by the sending end through the first network element node device to the second network element node device, the unicast message is matched with the request quantity of the receiving end, and if the match is successful, the second network element node device is controlled to convert the unicast message into the multicast message and send it to the receiving end, so as to establish a flow connection between the receiving end and the sending end.

2. The SDN-based multicast message suppression method according to claim 1, characterized in that: Before obtaining the respective broadcast requests forwarded by the first network element node device at the sending end and the second network element node device at the receiving end according to the flow table strategy, the method further includes: Initialize the first network element node device and the second network element node device, and use the addresses of the first network element node device and the second network element node device to determine the OpenFlow flow table policy so that the first network element node device and the second network element node device send Internet Group Management Protocol messages to the software defined network controller.

3. The SDN-based multicast message suppression method according to claim 1, characterized in that: The obtaining of respective broadcast requests forwarded by the first network element node device at the sending end and the second network element node device at the receiving end according to the flow table strategy includes: Acquire a broadcast request carrying a corresponding source IP address from the sending end that is forwarded by a first network element node device at the sending end according to a flow table policy; A broadcast request carrying a corresponding source IP address from the receiving end forwarded by the second network element node device at the receiving end according to the flow table policy is obtained.

4. The SDN-based multicast message suppression method according to claim 1, characterized in that: Also includes: The data plane strategy is used to monitor the layer 2 messages forwarded by the first network element node device and the second network element node device in the same local area network.

5. The SDN-based multicast message suppression method according to claim 4, characterized in that: The method of converting the multicast message sent by the sender by the first network element node device into a unicast message based on the target flow table strategy and forwarding it to the second network element node device includes: Determine whether the first network element node device and the second network element node device are in the same local area network; If the first network element node device and the second network element node device are in the same local area network, directly forwarding the layer 2 message to the second network element node device based on the target flow table policy; If the first network element node device and the second network element node device are not in the same local area network, the IP address of the receiving end is determined based on the target flow table strategy, and the unicast message obtained by converting the multicast message sent by the sending end through the first network element node device is routed and forwarded to the second network element node device according to the IP address.

6. The SDN-based multicast message suppression method according to claim 5, characterized in that: Also includes: If the first network element node device and the second network element node device are not in the same local area network, the unicast message obtained by converting the multicast message sent by the sender through the first network element node device is forwarded to the second network element node device through the tunnel using the tunnel protocol.

7. A multicast message suppression device based on SDN, characterized in that: Applied to SDN controllers, including: A request acquisition module, used to acquire the broadcast requests of the first network element node device at the sending end and the second network element node device at the receiving end forwarded according to the flow table strategy; the broadcast request is an IGMP message; A flow table update module, used to parse the broadcast request through a deep packet inspection technology, and update the flow table policy using the data obtained after the analysis to obtain a target flow table policy; the target flow table policy is used to connect the first network element node device and the second network element node device; A message forwarding module is used to forward the unicast message obtained by converting the multicast message sent by the sending end through the first network element node device to the second network element node device based on the target flow table strategy, so that the second network element node device converts the unicast message into the multicast message and sends it to the receiving end; wherein, the SDN controller monitors the second layer message in the entire wireless network with the help of the data plane strategy, and after forwarding the unicast message obtained by converting the multicast message sent by the sending end through the first network element node device to the second network element node device, the unicast message is matched with the request quantity of the receiving end, and if the match is successful, the second network element node device is controlled to convert the unicast message into the multicast message and send it to the receiving end, so as to establish a flow connection between the receiving end and the sending end.

8. An electronic device, characterized in that: The electronic device includes a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the SDN-based multicast message suppression method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein when the computer program is executed by the processor, the SDN-based multicast message suppression method according to any one of claims 1 to 6 is implemented.

Citation Information

Cited By

  • Local area network device discovery method, system, leaf switch and storage medium

    CN122741423A