CN111404816B - Method, device, system and storage medium for sending multicast message across network - Google Patents

Method, device, system and storage medium for sending multicast message across network Download PDF

Info

Publication number
CN111404816B
CN111404816B CN202010151387.6A CN202010151387A CN111404816B CN 111404816 B CN111404816 B CN 111404816B CN 202010151387 A CN202010151387 A CN 202010151387A CN 111404816 B CN111404816 B CN 111404816B
Authority
CN
China
Prior art keywords
message
multicast
client terminal
sending
network
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.)
Active
Application number
CN202010151387.6A
Other languages
Chinese (zh)
Other versions
CN111404816A (en
Inventor
杨清宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202010151387.6A priority Critical patent/CN111404816B/en
Publication of CN111404816A publication Critical patent/CN111404816A/en
Application granted granted Critical
Publication of CN111404816B publication Critical patent/CN111404816B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/825Involving tunnels, e.g. MPLS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The embodiment of the invention provides a method, a device, a system and a storage medium for sending a multicast message across networks. When Customer Premise Equipment (CPE) sends a message, firstly, whether the type of the message is a multicast message or a unicast message is judged, if the message is the multicast message, the multicast message is sent to a central station (Hub) through a static tunnel, and the central station forwards the multicast message to the registered customer premise equipment through the static tunnel. When the neighbor discovery and establishment of the open shortest path first protocol are carried out, the Hello message of the open shortest path is multicast in the mode, the problem that the dynamic tunnel between client terminal equipment is not established can be solved, and the calculation cost and the network transmission burden brought by selecting and calculating a plurality of dynamic tunnels can be reduced.

Description

Method, device, system and storage medium for sending multicast message across network
Technical Field
The present invention relates to the field of data communications, and in particular, to a method, an apparatus, a system, and a storage medium for sending multicast packets across a network.
Background
Software-Defined wide area network (SDWAN) is a service that is formed by applying SDN technology to wide area network scenarios for connecting a wide geographical range of enterprise networks, data centers, internet applications, and cloud services. In software-defined wide area networking, a framework of one (Hub) plus a plurality of Customer Premise Equipment (CPE) is generally adopted, wherein a central site is generally deployed at a headquarters of an enterprise, and Customer Premise Equipment is deployed in a branch area of the enterprise. Dynamic tunnels are established between client terminal devices to communicate with each other. Multipoint general Routing Encapsulation (mcre) is a common technique for establishing dynamic tunnels between client end devices. Dynamic tunnels can be established between the mGRE interfaces on multiple client terminal devices via the mGRE protocol.
In addition, Open Shortest Path First (OSPF) is a dynamic routing protocol widely used at present, and has the advantages of fast convergence speed of routing change, no routing loop, support of variable length sub-network mask (VLSM) and aggregation, hierarchical regional division, and the like. However, the open shortest path first protocol only supports neighbor discovery in an adjacent network, and the client terminal devices in each branch area of the software-defined wide area network are usually connected to the internet through respective local area networks, and are not directly connected to each other.
In the process of performing the open shortest path first neighbor discovery, a multicast packet, such as a Hello packet, needs to be sent, and in the prior art, when a certain client terminal device sends the multicast packet through an mreg interface, the packet is broadcasted to other client terminal devices in a manner of sending the multicast packet to a dynamic tunnel. The inventors have found that this solution has the following problems: 1) if the dynamic tunnel between the client terminal devices is not established, the transmission cannot be performed. 2) If there are many dynamic tunnels between client terminal devices, performing multicast according to the tunnels may cause repeated transmission of messages, increasing network transmission burden.
Disclosure of Invention
In view of the above problems, the present inventors have creatively provided a method, apparatus, system, and storage medium for sending multicast packets across a network.
According to a first aspect of the embodiments of the present invention, a method for sending a multicast packet across a network is provided, which is applied to a client terminal device in a software-defined wide area network (wan) branch area, and the method includes: analyzing a message to be sent to obtain a message type; and selecting a communication tunnel to be used for sending the message according to the type of the message, wherein if the message is a multicast message, the message is forwarded through a static tunnel established with the central site.
According to an embodiment of the present invention, the method further includes: and receiving the multicast message forwarded by the central station through a static tunnel established with the central station.
According to an embodiment of the present invention, the method further includes: and selecting a communication tunnel to be used for sending the message according to the type of the message, wherein if the message is a unicast message, the message is directly sent through a dynamic tunnel established with client terminal equipment in other branch areas.
According to an embodiment of the present invention, the multicast packet is an open shortest path first multicast packet, and the method is used to establish an open shortest path first neighbor relationship.
According to a second aspect of the embodiments of the present invention, a method for sending a multicast packet across a network is provided, which is applied to a central site in a software-defined wide area network, and the method includes: analyzing the message to be forwarded to obtain a message type; and performing next operation according to the message type, wherein if the message is a multicast message, forwarding the multicast message to the registered client terminal equipment through the static tunnel.
According to an embodiment of the present invention, forwarding to a registered client terminal device through a static tunnel includes: traversing the static tunnel table of the client terminal equipment to acquire a static tunnel established with each client terminal equipment; and forwarding the multicast message through the static tunnel.
According to a third aspect of the embodiments of the present invention, there is provided an apparatus for sending a multicast packet across a network, the apparatus including: the analysis module is used for analyzing the message to be sent to obtain the message type; and the sending module is used for selecting a communication tunnel to be used for sending the message according to the type of the message, wherein if the message is a multicast message, the message is forwarded through a static tunnel established with the central site.
According to an embodiment of the present invention, the apparatus further includes: and the receiving module is used for receiving the multicast message forwarded by the central station through the static tunnel established with the central station.
According to an embodiment of the present invention, the sending module of the apparatus is further configured to select a communication tunnel to be used for sending the packet according to the type of the packet, where if the packet is a unicast packet, the packet is sent directly through a dynamic tunnel established with a client terminal device in another branch area.
According to an embodiment of the present invention, the parsing module is specifically configured to parse an open shortest path first multicast packet; and the sending module is specifically used for forwarding the open shortest path first multicast message through the static tunnel established with the central station to establish an open shortest path first neighbor relation.
According to a fourth aspect of the embodiments of the present invention, there is provided an apparatus for sending a multicast packet across a network, which is applied to a central station, the apparatus including: the analysis module is used for analyzing the message to be forwarded to obtain the message type; and the forwarding module is used for carrying out the next operation according to the message type, wherein if the message is a multicast message, the message is forwarded to the registered client terminal equipment through the static tunnel.
According to an embodiment of the present invention, a forwarding module includes: the static tunnel acquisition unit is used for traversing the static tunnel table of the client terminal equipment to acquire a static tunnel established with each client terminal equipment; and the forwarding unit is used for forwarding the multicast message through the static tunnel.
According to a fifth aspect of the embodiments of the present invention, there is provided a system for sending a multicast packet across a network, the system including: the first client terminal equipment executes the method for sending the multicast message across the network, which is applied to the client terminal equipment in the software defined wide area network, and sends the multicast message to the central station; the central site executes the method for sending the multicast message across the network, which is applied to the central site in the software-defined wide area network, and forwards the multicast message sent by the first client terminal equipment to the registered client terminal equipment; and the second client terminal equipment receives the multicast message forwarded by the central site by executing the method for sending the multicast message across the network, which is applied to the client terminal equipment in the software-defined wide area network.
According to a sixth aspect of embodiments of the present invention, there is provided a computer storage medium comprising a set of computer-executable instructions which, when executed, perform any one of the above methods for sending multicast messages across a network.
The embodiment of the invention provides a method, a device, a system and a storage medium for sending a multicast message across networks. When the client terminal equipment sends a message, firstly, whether the type of the message is a multicast message or a unicast message is judged, if the type of the message is the multicast message, the multicast message is sent to the central site through the static tunnel, and the central site forwards the multicast message to the registered client terminal equipment through the static tunnel. When the neighbor discovery and establishment of the open shortest path first protocol are carried out, the Hello message of the open shortest path is multicast in the mode, the problem that the dynamic tunnel between client terminal equipment is not established can be solved, and the calculation cost and the network transmission burden brought by selecting and calculating a plurality of dynamic tunnels can be reduced.
It is to be understood that the teachings of the present invention need not achieve all of the above advantages, but rather that specific embodiments may achieve specific technical effects, and that other embodiments of the present invention may achieve other advantages not mentioned above.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Fig. 1 is a schematic view of an application scenario of a method for sending a multicast packet across networks according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an implementation flow of a method for sending a multicast packet across a network by a client terminal device according to an embodiment of the present invention;
fig. 3 is a schematic view of an implementation flow of a method for sending a multicast packet by a central site across a network according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device for sending a multicast packet across a network by a client terminal device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a device for sending a multicast packet across a network at a central site according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent 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.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
An application scenario of the embodiment of the present invention will be briefly described below with reference to fig. 1, which is an application scenario of a software-defined wide area network, as shown in fig. 1, the software-defined wide area network is composed of a headquarters and a plurality of branch areas, wherein the headquarters is provided with a central site, such as the central site 10 shown in fig. 1, and each branch area is provided with a client terminal device, such as the client terminal device 20, the client terminal device 30, and the client terminal device 40 shown in fig. 1. Generally, when each client terminal device is on-line, it registers with the central site 10 and establishes a static tunnel between the client terminal device and the central site 10, and the central site 10 records the registration information of the client terminal device and generates a static tunnel table to store the tunnel established with each client terminal device and the related attributes of the tunnel. When the user configures the open shortest path first protocol at the mcre interface on the client terminal device 20, the process of the open shortest path first protocol on the client terminal device 20 triggers neighbor discovery and establishment, and multicasts a Hello packet to the network, where multicasting the Hello packet to the network is completed by a forwarding plane on the client terminal device 20. When the open shortest path first protocol process transmits the Hello packet to the forwarding plane, the forwarding plane performs type detection on the packet, and if the packet is a multicast packet (e.g., Hello packet), a static tunnel connected to the central station 10 is directly selected in the processing of the mcre interface, and then the static tunnel is encapsulated and transmitted to the central station 10. When receiving the multicast packet sent by the first client terminal device 20, the central station 10 also performs type detection and processes according to the packet type, wherein if the packet is a multicast packet (e.g., a Hello packet), the central station 10 searches for a static tunnel table, and forwards the packet through a static tunnel established with each client terminal device. As shown in fig. 1, the Hello message can be forwarded to the client terminal device 30 and the client terminal device 40 through the static tunnel. After receiving the Hello packet, the client terminal device 30 and the client terminal device 40 analyze the Hello packet, and then transmit the Hello packet to the process of the open shortest path first protocol for protocol processing, and establish a neighbor relation of the open shortest path first protocol with the client terminal device 20. Therefore, the multicast message of the open shortest path first protocol can be normally transmitted in the whole software defined wide area network, and the neighbor relation of the shortest path first protocol is established in the mode.
It should be noted that the above application scenario is only a certain application example of the embodiment of the present invention, and does not limit that the embodiment of the present invention can only be applied to the above scenario. The method, the device, the system and the storage medium provided by the embodiment of the invention can be considered to be implemented in any scene that multicast messages need to be sent in a software-defined wide area network.
Fig. 2 shows an implementation flow of a method for sending a multicast packet across networks according to an embodiment of the present invention. Referring to fig. 2, the method is applied to a client terminal device of a software-defined wide area network (wan) branch area, and includes: operation 210, parsing the message to be sent to obtain a message type; operation 220, selecting a communication tunnel to be used for sending the message according to the type of the message, wherein if the message is a multicast message, forwarding is performed through a static tunnel established with the central station.
In operation 210, the message is parsed to detect whether the message type is a unicast message or a multicast message. Detecting whether the message type is a unicast message or a multicast message, wherein the message type is mainly obtained from an MAC address of an Ethernet destination address, and if the eighth bit from the left of the MAC address is 1, the message is represented as the multicast message; if the eighth bit from the left of the MAC address is 0, the message is a unicast message. The embodiment of the invention is mainly applied to multicast messages, and for unicast messages, the advantages of the embodiment of the invention are not obvious, and the forwarding tasks of the central site can be increased too much.
In operation 220, it mainly refers to the operation to be performed when the packet type is detected to be a multicast packet. At this time, the forwarding plane selects a static tunnel established with the central station to forward the multicast packet. And the static tunnel is established when the client terminal equipment is registered with the central site when the client terminal equipment is on line. The static tunnel is usually established based on the fixed public network IP of the client terminal device and the central station, and has higher stability compared with a dynamic tunnel established based on the dynamic domain name of the client terminal device and the central station. In addition, because the multicast message is transmitted based on the static tunnel and does not depend on the dynamic tunnel, when the client terminal device does not establish the dynamic tunnel with other client terminal devices or the dynamic tunnel has problems, the multicast message can still be sent to other client terminal devices through the central station.
According to an embodiment of the present invention, the method further includes: and receiving the multicast message forwarded by the central station through a static tunnel established with the central station.
In an application scenario of multicast packets, a certain client terminal device usually initiates a sending operation of the multicast packets, and then the multicast packets are forwarded to other client terminal devices through a central station via a static tunnel established with each client terminal device. At this time, other end client devices need to receive the multicast message forwarded by the central site through the static tunnel established with the central site. This static tunnel is also bidirectional for a single client end device, and can be used both to send multicast messages and to receive multicast messages forwarded by the central site and sent by other client end devices.
According to an embodiment of the present invention, the method further includes: and selecting a communication tunnel to be used for sending the message according to the type of the message, wherein if the message is a unicast message, the message is directly sent through a dynamic tunnel established with client terminal equipment in other branch areas.
The method for forwarding through the static tunnel established with the central site is more suitable for multicast messages, and for unicast messages, the method is more suitable for sending through the existing scheme, namely the dynamic tunnel established with the client terminal equipment in other branch areas. Different processing is carried out according to different message types, so that forwarding resources of the central site can be saved, and the static tunnel is more fully utilized to send the multicast message, thereby further improving the transmission efficiency of the network.
According to an embodiment of the present invention, the multicast packet is an open shortest path first multicast packet, and the method is used to establish an open shortest path first neighbor relationship.
The method for sending the multicast message across the network in the embodiment of the invention is particularly suitable for sending the shortest path first multicast message in the process of establishing the open shortest path first neighbor relation, and has more obvious advantages compared with the prior scheme. When the shortest path first is configured, there is a high possibility that a dynamic tunnel is not established with other client terminal devices, and in the process of establishing the open shortest path first neighbor relationship, there is also a possibility that repeated transmission of messages is caused due to a plurality of dynamic tunnels between the client terminal devices, which not only increases network load, but also may cause repeated calculation of routing paths.
According to a second aspect of the embodiments of the present invention, there is provided a method for sending a multicast packet across a network, where the method is applied to a central site in a software-defined wide area network, and as shown in fig. 3, the method includes: operation 310, parsing the message to be forwarded to obtain a message type; in operation 320, the next operation is performed according to the message type, wherein if the message is a multicast message, the message is forwarded to the registered client terminal device through the static tunnel.
In operation 310, the method for analyzing the message to be forwarded to obtain the message type is similar to the method described in operation 210, and is not described herein again.
In operation 320, the static tunnel is generally established when the client terminal device is on-line and registered with the central station, and as mentioned above, the static tunnel is generally established based on the fixed public network IP of the client terminal device and the central station, and has higher stability compared to the dynamic tunnel established based on the dynamic domain names of the client terminal device and the central station.
According to an embodiment of the present invention, forwarding to a registered client terminal device through a static tunnel includes: traversing the static tunnel table of the client terminal equipment to acquire a static tunnel established with each client terminal equipment; and forwarding the multicast message through the static tunnel.
The static tunnel table of the client terminal device is usually established and maintained by the central site, and after the client terminal device registers and establishes a static tunnel with the central site, the central site records the client terminal device and the static tunnel established with the client terminal device in the static tunnel table of the client terminal device. Therefore, when the message needs to be forwarded through the static tunnel later, the central station can obtain the relevant information of the static tunnel by traversing the static tunnel table, and multicast the multicast message through the static tunnel recorded in the table.
According to a third aspect of the embodiments of the present invention, there is provided an apparatus for sending a multicast packet across a network, as shown in fig. 4, where the apparatus 40 includes: the analysis module 401 is configured to analyze a message to be sent to obtain a message type; a sending module 402, configured to select a communication tunnel to be used for sending the packet according to the type of the packet, where if the packet is a multicast packet, the packet is forwarded through a static tunnel established with the central station.
According to an embodiment of the present invention, the apparatus 40 further includes: and the receiving module is used for receiving the multicast message forwarded by the central station through the static tunnel established with the central station.
According to an embodiment of the present invention, the sending module 402 of the apparatus 40 is further configured to select a communication tunnel to be used for sending the packet according to the type of the packet, where if the packet is a unicast packet, the packet is sent directly through a dynamic tunnel established with a client terminal device in another branch area.
According to an embodiment of the present invention, the parsing module 401 is specifically configured to parse an open shortest path first multicast packet; the sending module 402 is specifically configured to forward the open shortest path first multicast packet through the static tunnel established with the central station to establish an open shortest path first neighbor relationship.
According to a fourth aspect of the embodiments of the present invention, there is provided an apparatus for sending a multicast packet across a network, where the apparatus is applied to a central station, and as shown in fig. 5, the apparatus 50 includes: the parsing module 501 is configured to parse a message to be forwarded to obtain a message type; a forwarding module 502, configured to perform the next operation according to the type of the packet, where if the packet is a multicast packet, the packet is forwarded to the registered client terminal device through the static tunnel.
According to an embodiment of the present invention, the forwarding module 502 includes: the static tunnel acquisition unit is used for traversing the static tunnel table of the client terminal equipment to acquire a static tunnel established with each client terminal equipment; and the forwarding unit is used for forwarding the multicast message through the static tunnel.
According to a fifth aspect of the embodiments of the present invention, there is provided a system for sending a multicast packet across a network, the system including: the first client terminal equipment executes the method for sending the multicast message across the network, which is applied to the client terminal equipment in the software defined wide area network, and sends the multicast message to the central station; the central site executes the method for sending the multicast message across the network, which is applied to the central site in the software-defined wide area network, and forwards the multicast message sent by the first client terminal equipment to the registered client terminal equipment; and the second client terminal equipment receives the multicast message forwarded by the central site by executing the method for sending the multicast message across the network, which is applied to the client terminal equipment in the software-defined wide area network.
According to a sixth aspect of embodiments of the present invention, there is provided a computer storage medium comprising a set of computer-executable instructions which, when executed, perform any one of the above methods for sending multicast messages across a network.
Here, it should be noted that: the above description of the embodiment of the apparatus for sending multicast packets across networks, the above description of the embodiment of the system for sending multicast packets across networks, and the above description of the embodiment of the computer storage medium are similar to the description of the foregoing method embodiments, and have similar beneficial effects to the foregoing method embodiments, and therefore are not repeated. For the technical details that have not been disclosed yet in the description of the embodiment of the apparatus for sending multicast messages across networks, the description of the embodiment of the system for sending multicast messages across networks, and the description of the embodiment of the computer storage medium of the present invention, please refer to the description of the foregoing method embodiment of the present invention for understanding, and therefore, no further description is provided for brevity.
It should be noted that, in this document, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of a unit is only one logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another device, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage medium, a Read Only Memory (ROM), a magnetic disk, and an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage medium, a ROM, a magnetic disk, an optical disk, or the like, which can store the program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for sending multicast messages across a network is applied to Customer Premise Equipment (CPE) in a branch area of a Software Defined Wide Area Network (SDWAN), and the method comprises the following steps:
analyzing a message to be sent to obtain a message type;
and selecting a communication tunnel to be used for sending the message according to the type of the message, wherein if the message is a multicast message, the message is forwarded through a static tunnel established with a Hub of a central station.
2. The method of claim 1, further comprising:
and receiving the multicast message forwarded by the central station through a static tunnel established with the central station.
3. The method of claim 1, further comprising:
and selecting a communication tunnel to be used for sending the message according to the type of the message, wherein if the message is a unicast message, the message is directly sent through a dynamic tunnel established with client terminal equipment in other branch areas.
4. The method of claim 3, wherein the multicast packet is an open shortest path first multicast packet, and the method is used to establish an open shortest path first neighbor relation.
5. A method for sending multicast messages across networks is applied to a central site in a software defined wide area network, and the method comprises the following steps:
analyzing the message to be forwarded to obtain a message type;
and performing next operation according to the message type, wherein if the message is a multicast message, forwarding the multicast message to the registered client terminal equipment through a static tunnel.
6. The method of claim 5, the forwarding to the registered client terminal device through the static tunnel, comprising:
traversing the static tunnel table of the client terminal equipment to acquire a static tunnel established with each client terminal equipment;
and forwarding the multicast message through the static tunnel.
7. An apparatus for sending multicast messages across a network, the apparatus comprising:
the analysis module is used for analyzing the message to be sent to obtain the message type;
and the sending module is used for selecting a communication tunnel to be used for sending the message according to the type of the message, wherein if the message is a multicast message, the message is forwarded through a static tunnel established with the central site.
8. An apparatus for sending multicast messages across a network, the apparatus being applied to a central site in a software defined wide area network, the apparatus comprising:
the analysis module is used for analyzing the message to be forwarded to obtain the message type;
and the forwarding module is used for carrying out the next operation according to the message type, wherein if the message is a multicast message, the message is forwarded to the registered client terminal equipment through the static tunnel.
9. A system for sending multicast messages across a network, the system comprising:
a first client terminal device, which executes the method for sending multicast message across networks of client terminal devices in a software defined wide area network according to claim 1 to send the multicast message to a central station;
a central site, which executes the method for sending multicast message across network applied to the central site in the software defined wide area network as claimed in claim 5 to forward the multicast message sent by the first client terminal device to the registered client terminal device;
the second client terminal device, which executes the method for sending multicast message across networks of the client terminal device in the software defined wide area network according to claim 2, to receive the multicast message forwarded by the central station.
10. A storage medium having stored thereon program instructions for performing, when executed, the method of sending multicast messages across a network according to any one of claims 1 to 6.
CN202010151387.6A 2020-03-06 2020-03-06 Method, device, system and storage medium for sending multicast message across network Active CN111404816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010151387.6A CN111404816B (en) 2020-03-06 2020-03-06 Method, device, system and storage medium for sending multicast message across network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010151387.6A CN111404816B (en) 2020-03-06 2020-03-06 Method, device, system and storage medium for sending multicast message across network

Publications (2)

Publication Number Publication Date
CN111404816A CN111404816A (en) 2020-07-10
CN111404816B true CN111404816B (en) 2021-06-15

Family

ID=71430558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010151387.6A Active CN111404816B (en) 2020-03-06 2020-03-06 Method, device, system and storage medium for sending multicast message across network

Country Status (1)

Country Link
CN (1) CN111404816B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115708384A (en) * 2021-08-20 2023-02-21 中兴通讯股份有限公司 Distributed service forwarding method, device, system, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136950A (en) * 2011-03-29 2011-07-27 华为技术有限公司 Automatic configuration method of static tunnels and network management system
CN107547340A (en) * 2017-06-19 2018-01-05 新华三技术有限公司 A kind of message forwarding method and device
CN107846342A (en) * 2016-09-20 2018-03-27 华为技术有限公司 A kind of retransmission method, equipment and the system of VXLAN messages
CN108075973A (en) * 2016-11-11 2018-05-25 大唐移动通信设备有限公司 A kind of equipment communication means and device
US10158566B2 (en) * 2015-03-20 2018-12-18 Telefonaktiebolaget Lm Ericsson (Publ) Shortest path bridge with MPLS labels

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291307B (en) * 2011-08-18 2014-09-10 福建星网锐捷网络有限公司 An inter-VPN multicast implementation method, apparatus and network device
CN108966039B (en) * 2018-08-29 2021-09-21 迈普通信技术股份有限公司 Multicast method and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136950A (en) * 2011-03-29 2011-07-27 华为技术有限公司 Automatic configuration method of static tunnels and network management system
US10158566B2 (en) * 2015-03-20 2018-12-18 Telefonaktiebolaget Lm Ericsson (Publ) Shortest path bridge with MPLS labels
CN107846342A (en) * 2016-09-20 2018-03-27 华为技术有限公司 A kind of retransmission method, equipment and the system of VXLAN messages
CN108075973A (en) * 2016-11-11 2018-05-25 大唐移动通信设备有限公司 A kind of equipment communication means and device
CN107547340A (en) * 2017-06-19 2018-01-05 新华三技术有限公司 A kind of message forwarding method and device

Also Published As

Publication number Publication date
CN111404816A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
US20220078114A1 (en) Method and Apparatus for Providing Service for Traffic Flow
US8743879B2 (en) Label switched routing to connect low power network domains
CN109639557B (en) Method, device and system for network communication
JP4567367B2 (en) Insert address to enable OAM function
EP3148124B1 (en) System and method for eliminating undetected interest looping in information-centric networks
CN108964940B (en) Message sending method and device and storage medium
JP2014090468A (en) Ethernet oam at intermediate nodes in pbt network
US8665782B2 (en) Loop-detection in moving networks
CN105704029B (en) Pseudo wire establishing method, system and equipment
WO2017054576A1 (en) Unicast tunnel building method, apparatus and system
EP2951953A1 (en) Method of managing zigbee network in the internet of things
EP2509261B1 (en) Monitoring of a network element in a packet-switched network
CN109218456B (en) Method and device for processing aging time of MAC address table
US8964749B2 (en) Method, device and system for establishing a pseudo wire
US20150281063A1 (en) Method and system for network traffic steering based on dynamic routing
CN111404816B (en) Method, device, system and storage medium for sending multicast message across network
CN103457794B (en) Method and system for confirming faults of IP bearer network
EP2429137B1 (en) Method, system and network device for node configuration and path detection
CN110430088B (en) Method for discovering neighbor nodes and automatically establishing connection in NDN (named data networking)
CN111416762B (en) Method, device, system and storage medium for establishing network tunnel
CN106411732B (en) Message forwarding method and device
CN113114553B (en) Method and device for realizing butt joint of different networks under EVPN
WO2022257854A1 (en) Message publishing method and apparatus, and forwarding path processing method and apparatus
WO2023050313A1 (en) Message processing method and apparatus, and network device and medium
CN110535675B (en) Method and device for multicast fast switching

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
GR01 Patent grant
GR01 Patent grant