CN115941594A - Multicast message suppression method, device, equipment and storage medium based on SDN - Google Patents
Multicast message suppression method, device, equipment and storage medium based on SDN Download PDFInfo
- Publication number
- CN115941594A CN115941594A CN202211089945.6A CN202211089945A CN115941594A CN 115941594 A CN115941594 A CN 115941594A CN 202211089945 A CN202211089945 A CN 202211089945A CN 115941594 A CN115941594 A CN 115941594A
- Authority
- CN
- China
- Prior art keywords
- network element
- element node
- node device
- flow table
- multicast
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000001629 suppression Effects 0.000 title claims abstract description 30
- 238000005516 engineering process Methods 0.000 claims abstract description 18
- 238000007689 inspection Methods 0.000 claims abstract description 16
- 238000004458 analytical method Methods 0.000 claims abstract description 12
- 238000004590 computer program Methods 0.000 claims description 14
- 238000007726 management method Methods 0.000 claims description 5
- 238000012544 monitoring process Methods 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 abstract description 24
- 238000004891 communication Methods 0.000 abstract description 16
- 239000002699 waste material Substances 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000006855 networking Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000005111 flow chemistry technique Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application discloses a multicast message suppression method, device, equipment and storage medium based on SDN, relates to the technical field of communication, is applied to an SDN controller, and comprises the following steps: acquiring respective broadcast requests of a first network element node device of a sending end and a second network element node device of a receiving end forwarded according to a flow table strategy; analyzing the broadcast request through a deep packet inspection technology, and updating a flow table strategy by using data obtained after analysis to obtain a target flow table strategy; and 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 equipment to the second network element node equipment so that the second network element node equipment converts the unicast message into the multicast message and sends the multicast message to the receiving end. By the technical scheme, when few stations subscribe the multicast service or some parts of the network are not subscribed sufficiently, the waste of network resources is reduced, and the transmission efficiency is improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a multicast packet suppression method, apparatus, device, and storage medium based on an SDN.
Background
Multicast streaming services allow users on a network to share network resources, such as streaming video or internet radio programs; bonjour (zero configuration networking), e.g., apple inc., implements a zero configuration network enabling easy access to shared resources on a local network; such as printers or video projectors in offices, multicast is the underlying technology that supports these streaming services.
The article "A Survey on Multicasting in Software-Defined Networking" well summarizes the factors in the aspects of network architecture, routing protocol, efficiency and the like in the traditional IP network and SDN multicast network. The advantages of the IP multicast, such as high network utilization, saving of sender's own resources, and strong expansibility, play an important role in a large number of new network applications, especially in the field of streaming media transmission. However, IP multicast (Internet Protocol, protocol for interconnection between networks) still needs to solve a series of challenges, and various problems including scalability, dynamic group management, security, etc. are still solved and optimized by the related technical personnel. The proposal of a new Network architecture, SDN (Software Defined Network), points out the solution of the above problems. The article "An Efficient SDN Multicast Architecture for Dynamic Industrial IoT Environment" also provides An Architecture for Multicast processing under SDN, which is different from a conventional IP network, and the processing is performed in a distributed election manner, and the processing is performed on An SDN controller under the SDN network. With respect to the SDN network, not only is it covered with a wired network, but also with the need of business flexibility expansion and the maturity and application of a software defined network, the application of the SDN technology to the WLAN network is already the trend and mainstream of the industry for enterprise large WLAN (Wireless Local Area Networks) networking. One implementation is referred to patents: SDN-based WLAN hierarchical networking system and method (CN 104582004A)
When the conventional SDN multicast is used for transmitting messages, applications such as Apple TV (Apple television set top box) use a Wireless Wi-Fi (Wireless-Fidelity, wireless connection) access mode, the messages are limited to be transmitted in a Wireless Local Area Network, and after optimization, multicast message transmission can span a Virtual Local Area Network (VLAN) and a Network segment, and even can span the whole transmission Network by combining with a multicast routing protocol. However, it is obvious that the transmission of multicast packets based on the routing protocol is somewhat inefficient and very complex. Although video delivery is an effective way to subscribe to the mechanism through multicast, which also reduces duplication during transmission, the technique has some inherent inefficiencies: copies of the data packets are transmitted to each network device in the local network to make the streaming media service available at any point in the network, but network resources are wasted on the devices and communication channels when few stations subscribe to the multicast service or when certain portions of the network are under-subscribed. At this point, unicast may be more efficient for small viewers than multicast, transmitting a single packet from a source to a particular destination, rather than transmitting copies of the packet to multiple destinations.
In summary, how to subscribe to a multicast service at few stations or when some parts of a network are unsubscribed, waste of network resources is reduced, and transmission is not performed based on various multicast routing protocols, so that a method is simplified, and transmission efficiency is improved.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method, an apparatus, a device and a storage medium for suppressing multicast messages, which can reduce the waste of network resources when few stations subscribe to a multicast service or when some parts of a network have insufficient subscription, and do not need to transmit based on various multicast routing protocols, thereby simplifying the method and improving the transmission efficiency. The specific scheme is as follows:
in a first aspect, the present application discloses a method for suppressing multicast messages, which is applied to a software defined network controller, and includes:
acquiring respective broadcast requests of a first network element node device of a sending end and a second network element node device of a receiving end forwarded according to a flow table strategy;
analyzing the broadcast request through a deep packet inspection technology, and updating the flow table strategy by using data obtained after analysis to obtain a target flow table strategy;
and 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 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 the multicast message to the receiving end.
Optionally, before acquiring 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:
initializing the first network element node device and the second network element node device, and determining an OpenFlow flow table policy by using addresses of the first network element node device and the second network element node device, so that the first network element node device and the second network element node device send an internet group management protocol packet to the software-defined network controller.
Optionally, the obtaining of the 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 includes:
acquiring a broadcast request carrying a corresponding source IP address of a sending end, which is forwarded by first network element node equipment of the sending end according to a flow table strategy;
and acquiring a broadcast request carrying a corresponding source IP address of the receiving end, which is forwarded by second network element node equipment of the receiving end according to the flow table strategy.
Optionally, the method for suppressing multicast packets further includes:
and monitoring the two-layer message forwarded by the first network element node equipment and the second network element node equipment in the same local area network by using a data plane strategy.
Optionally, the forwarding, to the second network element node device, the unicast packet obtained by converting the multicast packet sent by the sending end through the first network element node device based on the target flow table policy includes:
judging whether the first network element node equipment and the second network element node equipment are in the same local area network or not;
if the first network element node device and the second network element node device are in the same local area network, directly forwarding the two-layer packet 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, determining an IP address of the receiving end based on the target flow table policy, and routing a 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 according to the IP address.
Optionally, the method for suppressing multicast packets further includes:
and if the first network element node device and the second network element node device are not in the same local area network, 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 through a tunnel by using a tunnel protocol.
Optionally, after forwarding the unicast packet obtained by converting the multicast packet sent by the sending end through the first network element node device to the second network element node device, the method further includes:
and matching the unicast message with the request quantity of the receiving end, and if the matching is successful, controlling the second network element node equipment to convert the unicast message into the multicast message and send the multicast message to the receiving end so as to establish flow connection between the receiving end and the sending end.
In a second aspect, the present application discloses a multicast message suppression device, which is applied to a software defined network controller, and includes:
the request acquisition module is used for acquiring respective broadcast requests of two ends forwarded by first network element node equipment of a sending end and second network element node equipment of a receiving end according to the flow table strategy;
the flow table updating module is used for analyzing the broadcast request through a deep packet inspection technology and updating the flow table strategy by using the data obtained after analysis to obtain a target flow table strategy;
and a packet forwarding module, configured to forward, based on the target flow table policy, a unicast packet obtained by converting the multicast packet 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 packet into the multicast packet and sends the multicast packet to the receiving end.
In a third aspect, the present application discloses an electronic device comprising a processor and a memory; wherein the memory is used for storing a computer program which is loaded and executed by the processor to implement the multicast packet suppression method as described above.
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.
The method is applied to a software defined network controller, and comprises the steps of firstly acquiring respective broadcast requests of two ends forwarded by first network element node equipment of a sending end and second network element node equipment of a receiving end according to a flow table strategy; then, analyzing the broadcast request through a deep packet inspection technology, and updating the flow table strategy by using the data obtained after analysis to obtain a target flow table strategy; and finally, based on the target flow table strategy, forwarding a 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 the multicast message and sends the multicast message to the receiving end. Therefore, when multicast application is supported in the SDN network, when few sites subscribe multicast service or when some parts of the network are not subscribed sufficiently, network resources are not wasted on the devices and communication channels, and transmission is not performed based on various multicast routing protocols, so that transmission efficiency is improved, and the method is simplified.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a multicast packet suppression method based on SDN according to the present disclosure;
fig. 2 is a schematic diagram of a multicast packet suppression method based on SDN according to the present disclosure;
fig. 3 is a schematic diagram of a specific multicast packet suppression process based on SDN according to the present disclosure;
figure 4 is a schematic diagram of an SDN controller service module disclosed herein;
fig. 5 is a flowchart of a specific multicast packet suppression method based on SDN disclosed in the present application;
fig. 6 is a schematic structural diagram of a multicast packet suppression device based on an SDN according to the present disclosure;
fig. 7 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Currently, in the conventional SDN multicast, when transmitting a packet, multicast packets are transmitted based on a routing protocol, but obviously, the efficiency is low and the method is very complex. Also, network resources are wasted on devices and communication channels when few stations subscribe to the multicast service or when certain portions of the network are under-subscribed. At this point, unicast may be more efficient for small viewers than multicast, transmitting a single packet from a source to a particular destination, rather than transmitting copies of the packet to multiple destinations.
Therefore, the multicast message suppression scheme based on the SDN is provided, the waste of network resources can be reduced when few sites subscribe the multicast service or when some parts of the network are not subscribed enough, transmission is not performed based on various multicast routing protocols, the method is simplified, and the transmission efficiency is improved.
The embodiment of the invention discloses a multicast message suppression method based on an SDN (software defined network), which is applied to an SDN controller and can be directly applied to the same local area network or different local area networks as shown in figure 1. The method comprises the following steps:
step S11: and acquiring respective broadcast requests of two ends forwarded by first network element node equipment of a sending end and second network element node equipment of a receiving end according to the flow table strategy.
In the embodiment of the application, a software defined network controller, that is, an SDN controller may first initialize network element node devices corresponding to a sending end and a receiving end, where it is noted that the sending end corresponds to a first network element node device and the receiving end corresponds to a second network element node device; the network element node device may be a switch, or may be other network element node devices supporting SDN OpenFlow, and is not specifically limited herein as the case may be. For example, if the device is wireless, the role can be fulfilled by AP (Access Point)/AC (Access Controller); the device, if wired, may do this by the switch. In this way, the SDN controller may obtain addresses of the first network element node device and the second network element node device to update a default OpenFlow flow table policy, and ensure that a received multicast packet, that is, an IGMP (Internet Group Management Protocol) packet, may be sent to the SDN controller.
It can be understood that, under the same lan, the IGMP is used to establish and maintain the relationship between multicast group members between a receiver host and a directly adjacent multicast router, so that, 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 a packet forwarded by the first network element node device and the second network element node device can be sent to the SDN controller.
Specifically, the first network element node device and the second network element node device are initialized, and an OpenFlow flow table policy is determined by using addresses of the first network element node device and the second network element node device, so that the first network element node device and the second network element node device send an internet group management protocol packet to the software-defined network controller.
In the embodiment of the application, after the SDN controller establishes connection with the network element node devices on the two sides of the transmitter and the receiver, the transmitter and the receiver may send respective broadcast requests of the two ends to the corresponding network element node devices, and the network element node devices send notifications to the SDN controller according to the flow table policy. 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, when a three-layer network is spanned, the transmission of the packet can be realized by a multicast routing forwarding mode according to the addresses.
Specifically, the acquiring of the broadcast requests of the two ends forwarded by the first network element node device of the sending end and the second network element node device of the receiving end according to the flow table policy includes: acquiring a broadcast request carrying a corresponding source IP address of a sending end, which is forwarded by first network element node equipment of the sending end according to a flow table strategy; and acquiring a broadcast request carrying a corresponding source IP address of the receiving end, which is forwarded by second network element node equipment of the receiving end according to the flow table strategy.
Step S12: and analyzing the broadcast request through a deep packet inspection technology, and updating the flow table strategy by using the data obtained after analysis to obtain a target flow table strategy.
In the embodiment of the application, after receiving a broadcast request of a sending end forwarded by a first network element node device and a broadcast request of a receiving end forwarded by a second network element node device, an SDN controller parses the respective broadcast requests, and then updates the flow table policy by using data obtained after parsing to obtain a target flow table policy. It is understood that the broadcast request is an IGMP message.
It should be noted that a Deep Packet Inspection (DPI) engine module is deployed in the SDN controller, and when analyzing broadcast requests of a sending end and a receiving end through a Deep Packet Inspection technology, one or more packets are analyzed, so that respective source IP addresses of both sides can be obtained. In addition, the deep packet inspection technology may also obtain related parameters and device attributes (profiles) of both sides of the sending end and the receiving end, so as to update the flow table policy, which is not specifically limited herein.
Step S13: and 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 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 the multicast message to the receiving end.
In the embodiment of the application, the multicast packet sent by the sending end is converted into the unicast packet by the first network element node device and then sent to the SDN controller, and then the converted unicast packet is forwarded to the second network element node device of the receiving end by the SDN controller, so that the second network element node device can convert the unicast packet into the multicast packet and send the multicast packet to the receiving end, and the problem that network resources are wasted on devices and communication channels when few sites subscribe to the multicast service or some parts of a network have insufficient subscription is solved.
It should be noted that the SDN controller updates the flow tables of the network element node devices at the sending end and the receiving end, and the objective flow table policy is mainly obtained to get through the network element node devices at both sides, so that when the sending end sends a multicast packet, the multicast packet is converted into a unicast packet and then can be directly forwarded through the flow tables, transmission based on various multicast routing protocols is not needed, transmission efficiency is improved, and the method is simplified.
In addition, the SDN controller may listen to the packet (two-layer packet) in the entire wireless network by using the policy of the data plane. After 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, the unicast message is matched with the request number of the receiving end, and if the matching is successful, the second network element node device is controlled to convert the unicast message into the multicast message and send the multicast message to the receiving end, so that the receiving end and the sending end are connected in a flow manner.
The method is applied to a software defined network controller, and comprises the steps of firstly acquiring respective broadcast requests of two ends forwarded by first network element node equipment of a sending end and second network element node equipment of a receiving end according to a flow table strategy; then, analyzing the broadcast request through a deep packet inspection technology, and updating the flow table strategy by using the data obtained after analysis to obtain a target flow table strategy; and finally, based on the target flow table strategy, forwarding a unicast message obtained by converting the multicast message sent by the sending end through the first network element node equipment to the second network element node equipment, so that the second network element node equipment converts the unicast message into the multicast message and sends the multicast message to the receiving end. Therefore, when few sites subscribe for multicast service or when some parts of the network are not subscribed sufficiently, network resources are not wasted on the equipment and communication channels, and transmission is not performed based on various multicast routing protocols, so that transmission efficiency is improved, and the method is simplified.
Referring to fig. 2, for the scenario that SDN combines WLAN, the topology abstraction of the multicast packet transmission situation is responsible for the suppression work of the multicast packet on AC/AP or switch (switch). The multicast forwarding problem across the switches is divided into two cases: one is that two switches are under one big switch, and the two switches can directly reach each other through two-layer messages; the second is that two switches cross a three-layer network, that is, the two switches can be reached only by a mode of forwarding through a multicast route, and both scenarios can be effectively solved in the application embodiment.
For an exemplary local switch scenario, the basic logic is shown in fig. 3. In the sequence from top to bottom, the switches on both sides are initialized to update the default flow table policy, then the sending end (Service Provider state) and the Receiving end (Receiving state) send respective broadcast requests to the respective corresponding switches, and the switches on both sides notify the SDN controller, so that the SDN controller updates the switch flow tables of the sending end and the Receiving end. Then the switch respectively sends a notification message to the sending end and the receiving end, and when the multicast message of the sending end reaches the switch, the multicast message is converted into a unicast message according to the target flow table strategy and sent to the switch of the receiving end; the exchanger of the receiving end receives the message and then converts the message into a multicast message to be sent to the receiving end.
To support the service logic, a multicast service processing module needs to be added to the SDN controller, and as shown in fig. 4, a service module diagram of the SDN controller is shown. The SDN controller can monitor a two-layer message in the whole wireless network by means of a strategy of a data plane; the method comprises the steps that a broadcast request initiated from a sending end is forwarded to an SDN controller through first network element node equipment, the SDN controller analyzes one or more messages through a DPI engine module, and a related data update available service list is obtained. 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 policy of the network element node device connected downstream according to the defined multicast flow processing policy. The flexible design of the multicast stream processing strategy can meet different scenes, such as: the local switch can be set through OpenFlow to respond to one or more multicast messages of the sending end to effectively suppress, and after the multicast messages are converted into unicast messages, the unicast messages are combined with the notification and the quantity of request packets of the receiving end to notify a service provider or a receiving end station after matching conditions are met, so that flow connection is established.
The embodiment of the present application discloses a specific multicast packet suppression method, which is applied to a software defined network controller, and is shown in fig. 5, where the method includes:
step S21: and acquiring respective broadcast requests of two ends forwarded by first network element node equipment of a sending end and second network element node equipment of a receiving end according to the flow table strategy.
Step S22: and analyzing the broadcast request through a deep packet inspection technology, and updating the flow table strategy by using the data obtained after analysis to obtain a target flow table strategy.
For more specific processing procedures of the step S21 and the step S22, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Step S23: and judging whether the first network element node equipment and the second network element node equipment are in the same local area network or not.
In the embodiment of the application, after the broadcast requests of a sending end and a receiving end are analyzed and updated by using a deep packet inspection technology in an SDN controller to obtain a target flow table policy, it is determined whether the first network element node device and the second network element node device are in the same local area network, and multicast flow processing policies corresponding to different scenes are different.
Step S24: and if the first network element node equipment and the second network element node equipment are in the same local area network, directly forwarding the two-layer packet to the second network element node equipment based on the target flow table strategy.
In this embodiment of the application, if the first network element node device and the second network element node device are in the same local area network, because the SDN controller may monitor a two-layer packet in the entire wireless network by using a policy of a data plane, the two-layer packet is directly forwarded to the second network element node device based on the target flow table policy. That is, the multicast-to-unicast message and the unicast-to-multicast message in the same lan are both two-layer messages.
Step S25: if the first network element node device and the second network element node device are not in the same local area network, determining an IP address of the receiving end based on the target flow table policy, and routing a 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 according to the IP address.
In a specific implementation manner, if the first network element node device and the second network element node device are not in the same local area network, because the first network element node device and the second network element node device both forward the respective source IP addresses of the transmitting end and the receiving end before obtaining the target flow table policy, based on the updated target flow table policy, the IP address of the receiving end may be determined, and the unicast packet obtained by converting the multicast packet sent by the transmitting end through the first network element node device is forwarded to the second network element node device by routing according to the IP address.
In another specific embodiment, 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 a cross-domain segment, a tunnel update mode may also be adopted, and monitoring data or data packets from multiple network components at different locations on the data communication network may be tunneled from each network component to the SDN controller. Specifically, a tunnel protocol is used to forward, to the second network element node device, the unicast packet obtained by converting the multicast packet sent by the sending end through the first network element node device through a tunnel.
The method is applied to a software defined network controller, and comprises the steps of firstly acquiring respective broadcast requests of two ends forwarded by first network element node equipment of a sending end and second network element node equipment of a receiving end according to a flow table strategy; then, analyzing the broadcast request through a deep packet inspection technology, and updating the flow table strategy by using the data obtained after analysis to obtain a target flow table strategy; finally, whether the first network element node equipment and the second network element node equipment are in the same local area network is judged; if the first network element node device and the second network element node device are in the same local area network, directly forwarding the two-layer packet 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, determining an IP address of the receiving end based on the target flow table policy, and forwarding a 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 by routing according to the IP address. Therefore, when multicast application is supported in the SDN network, when few sites subscribe multicast service or when some parts of the network are not subscribed sufficiently, network resources are not wasted on the devices and communication channels, and transmission is not performed based on various multicast routing protocols, so that transmission efficiency is improved, and the method is simplified. The problem of multicast forwarding of cross-network element node equipment under two conditions can be effectively solved.
Correspondingly, an embodiment of the present application further discloses a multicast packet suppression device, which is applied to a software defined network controller, and as shown in fig. 6, the device includes:
a request obtaining module 11, configured to obtain broadcast requests forwarded by a first network element node device at a sending end and a second network element node device at a receiving end according to a flow table policy at both ends;
a flow table updating module 12, configured to analyze the broadcast request through a deep packet inspection technology, and update the flow table policy with data obtained after the analysis, so as to obtain a target flow table policy;
a packet forwarding module 13, configured to forward, based on the target flow table policy, a unicast packet obtained by converting the multicast packet 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 packet into the multicast packet and sends the multicast packet to the receiving end.
For more specific working processes of the modules, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Therefore, the above solution of this embodiment is applied to a software defined network controller, and first obtains respective broadcast requests of two ends forwarded by a first network element node device of a sending end and a second network element node device of a receiving end according to a flow table policy; then, analyzing the broadcast request through a deep packet inspection technology, and updating the flow table strategy by using the data obtained after analysis to obtain a target flow table strategy; and finally, based on the target flow table strategy, forwarding a unicast message obtained by converting the multicast message sent by the sending end through the first network element node equipment to the second network element node equipment, so that the second network element node equipment converts the unicast message into the multicast message and sends the multicast message to the receiving end. Therefore, when multicast application is supported in the SDN network, when few sites subscribe multicast service or when some parts of the network are not subscribed sufficiently, network resources are not wasted on the devices and communication channels, and transmission is not performed based on various multicast routing protocols, so that transmission efficiency is improved, and the method is simplified.
Further, an electronic device is disclosed in the embodiments of the present application, and fig. 7 is a block diagram of an electronic device 20 according to an exemplary embodiment, which should not be construed as limiting the scope of the application.
Fig. 7 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. 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 configured to store a computer program, and the computer program is loaded and executed by the processor 21 to implement relevant steps in the multicast packet suppression method disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in this embodiment may specifically be an SDN controller.
In this embodiment, the power supply 23 is configured to provide a 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 an external device, and a communication protocol followed by the communication interface is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to acquire external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the memory 22 is a carrier for storing resources, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., the resources stored thereon may include an operating system 221, a computer program 222, data 223, etc., and the data 223 may include various data. The storage means may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device on the electronic device 20 and the computer program 222, and may be Windows Server, netware, unix, linux, or the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the multicast message suppression method performed by the electronic device 20 disclosed in any of the foregoing embodiments.
Further, embodiments of the present application disclose a computer-readable storage medium, where the computer-readable storage medium includes 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 magnetic disk, or an optical disk or any other form of storage medium known in the art. Wherein, the computer program realizes the multicast message suppression method when being executed by a processor. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, which are not described herein again.
In the present specification, the embodiments are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same or similar parts between the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The steps of a multicast message suppression or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The method, the apparatus, the device and the storage medium for suppressing multicast messages provided by the present invention are described in detail above, and a specific example is applied in the description to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A multicast message suppression method based on SDN is characterized in that the method is applied to an SDN controller and comprises the following steps:
acquiring respective broadcast requests of a first network element node device of a sending end and a second network element node device of a receiving end forwarded according to a flow table strategy;
analyzing the broadcast request through a deep packet inspection technology, and updating the flow table strategy by using data obtained after analysis to obtain a target flow table strategy;
and 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 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 the multicast message to the receiving end.
2. The SDN-based multicast packet suppression method according to claim 1, wherein before the acquiring respective broadcast requests forwarded by a first network element node device at a sending end and a second network element node device at a receiving end according to a flow table policy, the method further includes:
initializing the first network element node device and the second network element node device, and determining an OpenFlow flow table policy by using addresses of the first network element node device and the second network element node device, so that the first network element node device and the second network element node device send an internet group management protocol packet to the software-defined network controller.
3. The method according to claim 1, wherein the 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 policy includes:
acquiring a broadcast request carrying a corresponding source IP address of a sending end, which is forwarded by first network element node equipment of the sending end according to a flow table strategy;
and acquiring a broadcast request carrying a corresponding source IP address of the receiving end, which is forwarded by second network element node equipment of the receiving end according to the flow table strategy.
4. The SDN-based multicast packet suppression method according to claim 1, further comprising:
and monitoring the two-layer messages forwarded by the first network element node equipment and the second network element node equipment in the same local area network by using a data plane strategy.
5. The SDN-based multicast packet suppression method according to claim 4, wherein forwarding, to the second network element node device, a unicast packet obtained by converting, by the first network element node device, the multicast packet sent by the sending end based on the target flow table policy includes:
judging whether the first network element node equipment and the second network element node equipment are in the same local area network or not;
if the first network element node device and the second network element node device are in the same local area network, directly forwarding the two-layer packet 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, determining an IP address of the receiving end based on the target flow table policy, and forwarding a 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 by routing according to the IP address.
6. The SDN-based multicast packet suppression method according to claim 5, further comprising:
and if the first network element node device and the second network element node device are not in the same local area network, 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 through a tunnel by using a tunnel protocol.
7. The SDN-based multicast packet suppression method according to any one of claims 1 to 6, wherein after forwarding a unicast packet obtained by converting the multicast packet sent by the sending end through the first network element node device to the second network element node device, the method further includes:
and matching the unicast message with the request quantity of the receiving end, and controlling the second network element node equipment to convert the unicast message into the multicast message and send the multicast message to the receiving end if the matching is successful so as to establish flow connection between the receiving end and the sending end.
8. A multicast message suppression device based on SDN is characterized in that the device is applied to an SDN controller and comprises the following components:
the request acquisition module is used for acquiring respective broadcast requests of two ends forwarded by first network element node equipment of a sending end and second network element node equipment of a receiving end according to the flow table strategy;
the flow table updating module is used for analyzing the broadcast request through a deep packet inspection technology and updating the flow table strategy by using the data obtained after analysis to obtain a target flow table strategy;
and a packet forwarding module, configured to forward, to the second network element node device, a unicast packet obtained by converting the multicast packet sent by the sending end through the first network element node device based on the target flow table policy, so that the second network element node device converts the unicast packet into the multicast packet and sends the multicast packet to the receiving end.
9. An electronic device, comprising a processor and a memory; wherein the memory is configured to store a computer program that is loaded and executed by the processor to implement the SDN based multicast packet suppression method according to any of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the SDN based multicast packet suppression method according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211089945.6A CN115941594A (en) | 2022-09-07 | 2022-09-07 | Multicast message suppression method, device, equipment and storage medium based on SDN |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211089945.6A CN115941594A (en) | 2022-09-07 | 2022-09-07 | Multicast message suppression method, device, equipment and storage medium based on SDN |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115941594A true CN115941594A (en) | 2023-04-07 |
Family
ID=86649574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211089945.6A Pending CN115941594A (en) | 2022-09-07 | 2022-09-07 | Multicast message suppression method, device, equipment and storage medium based on SDN |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115941594A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101175252A (en) * | 2007-11-28 | 2008-05-07 | 华为技术有限公司 | Method and network system for establishing conversation in multimedia broadcast multicast service |
CN102215170A (en) * | 2011-06-08 | 2011-10-12 | 中兴通讯股份有限公司 | Method and processor for restraining Internet storm |
CN104012063A (en) * | 2011-12-22 | 2014-08-27 | 瑞典爱立信有限公司 | Controller for flexible and extensible flow processing in software-defined networks |
US20140334489A1 (en) * | 2012-11-08 | 2014-11-13 | Texas Instruments Incorporated | Openflow match and action pipeline structure |
US20160315781A1 (en) * | 2015-04-24 | 2016-10-27 | Meru Networks | Extension of wi-fi services multicast to a subnet across a wi-fi network using software-defined networking (sdn) to centrally control data plane behavior |
US20180083791A1 (en) * | 2016-09-20 | 2018-03-22 | Fortinet, Inc. | Reducing multicast service traffic for matching and streaming in sdn (software defined networking) enabled networks |
CN107948064A (en) * | 2017-11-09 | 2018-04-20 | 浙江宇视科技有限公司 | A kind of cross-domain method of multicasting and device based on SDN |
CN108111324A (en) * | 2017-12-19 | 2018-06-01 | 刘昱 | A kind of multicast control method based on SDN network, device and storage medium |
CN108880968A (en) * | 2017-05-11 | 2018-11-23 | 中兴通讯股份有限公司 | Broadcast, method of realizing group broadcasting and device, storage medium in software defined network |
CN110798412A (en) * | 2019-10-18 | 2020-02-14 | 北京浪潮数据技术有限公司 | Multicast service processing method, device, cloud platform, equipment and readable storage medium |
CN111585900A (en) * | 2020-04-30 | 2020-08-25 | 平安科技(深圳)有限公司 | Multicast method based on SDN controller in host overlay network |
-
2022
- 2022-09-07 CN CN202211089945.6A patent/CN115941594A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101175252A (en) * | 2007-11-28 | 2008-05-07 | 华为技术有限公司 | Method and network system for establishing conversation in multimedia broadcast multicast service |
CN102215170A (en) * | 2011-06-08 | 2011-10-12 | 中兴通讯股份有限公司 | Method and processor for restraining Internet storm |
CN104012063A (en) * | 2011-12-22 | 2014-08-27 | 瑞典爱立信有限公司 | Controller for flexible and extensible flow processing in software-defined networks |
US20140334489A1 (en) * | 2012-11-08 | 2014-11-13 | Texas Instruments Incorporated | Openflow match and action pipeline structure |
US20160315781A1 (en) * | 2015-04-24 | 2016-10-27 | Meru Networks | Extension of wi-fi services multicast to a subnet across a wi-fi network using software-defined networking (sdn) to centrally control data plane behavior |
US20180083791A1 (en) * | 2016-09-20 | 2018-03-22 | Fortinet, Inc. | Reducing multicast service traffic for matching and streaming in sdn (software defined networking) enabled networks |
CN108880968A (en) * | 2017-05-11 | 2018-11-23 | 中兴通讯股份有限公司 | Broadcast, method of realizing group broadcasting and device, storage medium in software defined network |
CN107948064A (en) * | 2017-11-09 | 2018-04-20 | 浙江宇视科技有限公司 | A kind of cross-domain method of multicasting and device based on SDN |
CN108111324A (en) * | 2017-12-19 | 2018-06-01 | 刘昱 | A kind of multicast control method based on SDN network, device and storage medium |
CN110798412A (en) * | 2019-10-18 | 2020-02-14 | 北京浪潮数据技术有限公司 | Multicast service processing method, device, cloud platform, equipment and readable storage medium |
CN111585900A (en) * | 2020-04-30 | 2020-08-25 | 平安科技(深圳)有限公司 | Multicast method based on SDN controller in host overlay network |
Non-Patent Citations (2)
Title |
---|
SEIKI KOTACHI: "Multicast Routing Model to Minimize Number of Flow Entries in Software-Defined Network", 《2019 20TH ASIA-PACIFIC NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM (APNOMS)》, 7 November 2019 (2019-11-07) * |
田金川: "基于OpenFlow的可控组播的研究与实现", 《中国优秀硕士学位论文全文数据库(电子期刊) 信息科技辑》, 15 July 2014 (2014-07-15) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9445418B2 (en) | Bridging wireless and wired media in a computer network | |
EP2439886B1 (en) | Method and device for multiple rendezvous points processing multicast services of mobile multicast source jointly | |
US7894378B2 (en) | Method for updating a multicast state of a multicast group | |
EP2109260A1 (en) | Multicast method and multicast routing method | |
US8848609B2 (en) | Forwarding internet protocol version 6 link-local multicast to support roaming of wireless mobile client devices | |
US20040264463A1 (en) | Method, apparatus and system for distributing multicast data | |
US20030120917A1 (en) | Application layer multicast system and intermediate node therefor | |
CN104301445B (en) | A kind of mobile Internet data transmission method and system | |
CN112105095B (en) | EasyMesh network multi-Controller implementation method and system | |
CN106688209B (en) | Method and system for transmitting broadcast data | |
WO2007059679A1 (en) | A method for processing the abnormal multicast service and a network equipment thereof | |
JP5548696B2 (en) | Multicast quality of service module and method | |
Yan et al. | Novel branching-router-based multicast routing protocol with mobility support | |
CN115941594A (en) | Multicast message suppression method, device, equipment and storage medium based on SDN | |
Wang et al. | A Low-cost, high-efficiency SDN framework to diminish redundant ARP and IGMP traffics in large-scale LANs | |
Mihailovic et al. | Sparse mode multicast as a mobility solution for internet campus networks | |
Tajik et al. | Multiflow: enhancing IP multicast over IEEE 802.11 WLAN | |
Kim et al. | New approach for mobile multicast based on SSM | |
US11743693B2 (en) | Seamless mobility for clients receiving multicast traffic | |
KR100965053B1 (en) | Method for transmitting internet broadcasting data using restricted multicast | |
Poderys et al. | Implementing Resource-Aware Multicast Forwarding in Software Defined Networks | |
CN116074244A (en) | Ethernet high availability point-to-point connectivity based on security vector routing | |
KR20090063502A (en) | System, method and apparatus for multicast routing in hybrid ad-hoc network | |
CN111031495A (en) | Multicast communication system and method for 6LowPAN Internet of things communication network | |
Aljober et al. | Interactive Multicast Framework between Wireless Mesh Networks and Internet |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |