Point-to-multipoint message transmission method and related device

By matching role information and guaranteed bandwidth based on the destination address, distinguishing message queues, and performing differentiated services based on DSCP priorities, the problem of QoS guarantee for business flows in point-to-multipoint scenarios in the SRv6 access network is solved, and all sites are implemented Service quality assurance for business flows.

CN119342006APending Publication Date: 2025-01-21MAIPU COMM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411501879.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

In the point-to-multipoint scenario of the SRv6 access network, how to ensure the QoS of the service flow of all outlets at the exit of the aggregation equipment is an urgent problem, especially in different SRv6 working modes, the destination address of the service flow Different packaging makes it difficult to achieve unified service quality assurance.

Method used

By determining the matching role information based on the destination address of the message to be transmitted, and determining the guaranteed bandwidth based on the role information and QoS policy, the message is saved in the corresponding primary queue, and distributed to the secondary queue according to the DSCP priority. transmission. When the total business traffic exceeds the guaranteed bandwidth, packets are discarded according to DSCP priorities from low to high to ensure service quality for all site business flows.

Benefits of technology

It achieves service quality guarantee for point-to-multipoint message transmission without having to worry about SRv6 working mode and IPv6 header encapsulation. It simplifies the configuration of network point differentiation and bandwidth guarantee, and ensures timely scheduling of high-priority business flows.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342006A_ABST
    Figure CN119342006A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a point-to-multipoint message transmission method and a related device, and relates to the technical field of networks. According to the method, for point-to-multipoint message transmission, an SRv6 working mode and IPv6 head packaging do not need to be concerned, and corresponding role information can be matched only according to a destination address of a to-be-transmitted message before packaging, so that first-level queues corresponding to service flows of different sites are distinguished, and service quality guarantee for the service flows of all the sites is realized. When the quality of service is guaranteed, the network points can be distinguished and the bandwidth can be guaranteed only by introducing role information into the QoS strategy, and a complicated IP address field does not need to be configured to distinguish the network points, so that the implementation is simple. Meanwhile, differential service can be provided according to the guaranteed bandwidth and the DSCP priority of the message, and it is effectively guaranteed that the high-priority service flow is dispatched in time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network technology, and in particular to a point-to-multipoint message transmission method and related devices. Background Art

[0002] An important application of Segment Routing IPv6 (SRv6) based on the IPv6 (Internet Protocol Version 6) forwarding plane is the access network, such as the financial customer access network of the enterprise network. Branches usually deploy various types of dedicated lines such as MSTP (Multi-Service Transport Platform), MV (Multiprotocol Label Switching Layer 2 Virtual Private Network), and 5G (Fifth Generation Mobile Communication Technology) to carry services. MSTP lines are usually used as the main lines and MV / 5G lines as backup lines. For the aggregation device connected to the operator's MV / 5G lines, one exit will communicate with all branch devices, that is, there is point-to-multipoint network communication.

[0003] For traditional IPv4 (Internet Protocol Version 4) networks, for point-to-multipoint egress destination addresses of service IPv4 packets on the LAN (Local Area Network) side of a network point, there are multiple IPv4 services on the same network point, that is, there are multiple IPv4 network segments for service flows to the same network point. Similarly, for IPv6 networks, there are multiple IPv6 services on the same network point, that is, there are multiple IPv6 network segments for service flows to the same network point.

[0004] After the access network is transformed to SRv6, all service data flows will be encapsulated in IPv6 headers and forwarded via IPv6. However, since SRv6 has two working modes, SRv6 TE Policy (Segment Routing IPv6 Traffic Engineering Policy) and SRv6 BE (Segment Routing IPv6 Best Effort), the service flows to the same network device will have different destination addresses encapsulated at the egress when the aggregation device is in different working modes. In a point-to-multipoint scenario, how to provide QoS (Quality of Service) guarantee for the service flows of all network points at the egress of the aggregation device is an urgent problem to be solved in the SRv6 access network solution.

[0005] In order to provide QoS guarantee for the service flows of all nodes at the point-to-multipoint WAN egress of the aggregation device, a point-to-multipoint message transmission method that does not care about the SRv6 working mode and IPv6 header encapsulation is very necessary. Summary of the invention

[0006] In view of this, an object of the present invention is to provide a point-to-multipoint message transmission method and related devices, which can achieve service quality assurance for point-to-multipoint messages.

[0007] In order to achieve the above purpose, the technical solution adopted by the embodiment of the present invention is as follows:

[0008] In a first aspect, the present invention provides a point-to-multipoint message transmission method, which is applied to a first network device in a point-to-multipoint network, wherein the first network device is communicatively connected with a plurality of second network devices, and the method comprises:

[0009] Determine matching role information according to the destination address of the message to be transmitted; the matching role information is the role information of the second network device corresponding to the destination address;

[0010] Determine a matched guaranteed bandwidth according to the matched role information and the QoS policy; the matched guaranteed bandwidth is the maximum bandwidth between the first network device and the second network device corresponding to the destination address;

[0011] Determine a matching primary queue according to the matching role information, and save the message to be transmitted into the primary queue; the primary queue is provided with a plurality of secondary queues;

[0012] Distributing the to-be-transmitted message from the primary queue to a matching secondary queue for transmission according to the DSCP priority of the to-be-transmitted message;

[0013] When the total service flow of each of the secondary queues under the primary queue exceeds the matched guaranteed bandwidth, the messages in the secondary queues are discarded in order of DSCP priority from low to high.

[0014] In an optional implementation manner, a forwarding table is provided on the first network device, and the forwarding table records a one-to-one correspondence between addresses and role information; and determining the matching role information according to the destination address of the message to be transmitted includes:

[0015] Acquire the destination address according to the message to be transmitted;

[0016] The forwarding table is searched based on the destination address to obtain the matching role information.

[0017] In an optional implementation manner, before the step of acquiring the destination address according to the message to be transmitted, the method further includes:

[0018] When establishing a neighbor relationship with the second network device, sending its own role information to the second network device, so that the second network device updates the forwarding table according to the address of the first network device and the received role information;

[0019] receiving the role information sent by the second network device;

[0020] The address of the second network device and the role information of the second network device are saved in the forwarding table.

[0021] In an optional implementation manner, the first network device is further communicatively connected to the controller, and before the step of sending its own role information to the second network device when establishing a neighbor relationship with the second network device, the method further includes:

[0022] Obtaining role information corresponding to the first network device from the configuration instruction issued by the controller;

[0023] The role information corresponding to the first network device is saved locally.

[0024] In a second aspect, the present invention provides a point-to-multipoint message transmission device, which is applied to a first network device in a point-to-multipoint network, wherein the first network device is communicatively connected with a plurality of second network devices, and the device comprises:

[0025] A processing module, configured to determine matching role information according to a destination address of a message to be transmitted; the matching role information is role information of a second network device corresponding to the destination address; determine a matching guaranteed bandwidth according to the matching role information and a QoS policy; the matching guaranteed bandwidth is a maximum bandwidth between the first network device and the second network device corresponding to the destination address;

[0026] A scheduling module, used to determine a matching primary queue according to the matching role information, and save the message to be transmitted into the primary queue; the primary queue is provided with multiple secondary queues; according to the DSCP priority of the message to be transmitted, the message to be transmitted is distributed from the primary queue to the matching secondary queue for transmission; the DSCP priority corresponds to the secondary queue one by one;

[0027] The traffic monitoring module is used to discard the messages in the secondary queues according to the order of DSCP priority from low to high when the total service flow of each secondary queue under the primary queue exceeds the matched guaranteed bandwidth.

[0028] In an optional implementation, a forwarding table is provided on the first network device, wherein the forwarding table records a one-to-one correspondence between addresses and role information; the processing module is used to obtain the destination address according to the message to be transmitted; and the forwarding table is searched based on the destination address to obtain the matching role information.

[0029] In an optional embodiment, the processing module is also used to send its own role information to the second network device when establishing a neighbor relationship with the second network device, so that the second network device updates the forwarding table according to the address of the first network device and the received role information; receives the role information sent by the second network device; and saves the address of the second network device and the role information of the second network device in the forwarding table.

[0030] In a third aspect, the present invention provides a network device, comprising a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement the point-to-multipoint message transmission method described in any of the aforementioned implementation modes.

[0031] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements a point-to-multipoint message transmission method as described in any one of the aforementioned embodiments.

[0032] In a fifth aspect, the present invention provides a program product, which, when executed by a processor, implements a point-to-multipoint message transmission method as described in any one of the aforementioned implementations.

[0033] Compared with the prior art, the point-to-multipoint message transmission method and related devices provided by the embodiments of the present invention do not need to care about the SRv6 working mode and IPv6 header encapsulation for point-to-multipoint message transmission. It only needs to match the corresponding role information according to the destination address of the message to be transmitted before encapsulation, thereby distinguishing the first-level queues corresponding to the service flows of different sites, so as to achieve service quality assurance for the service flows of all sites. When ensuring the quality of service, it is only necessary to introduce role information in the QoS policy to distinguish the network points and guarantee the bandwidth. There is no need to configure complicated IP address segments to distinguish the network points, which is simple to implement. At the same time, differential services can be provided according to the guaranteed bandwidth and the DSCP priority of the message, effectively ensuring that high-priority service flows are scheduled in a timely manner.

[0034] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0036] Figure 1 A schematic diagram of a network structure of a point-to-multipoint network provided by an embodiment of the present invention is shown.

[0037] Figure 2 Another schematic diagram of the network structure of a point-to-multipoint network provided by an embodiment of the present invention is shown.

[0038] Figure 3 A schematic flow chart of a point-to-multipoint message transmission method provided in an embodiment of the present invention is shown.

[0039] Figure 4 Another schematic flow chart of a point-to-multipoint message transmission method provided in an embodiment of the present invention is shown.

[0040] Figure 5 A block diagram of a point-to-multipoint message transmission device provided by an embodiment of the present invention is shown.

[0041] Figure 6 A block diagram of a network device provided by an embodiment of the present invention is shown.

[0042] icon:

[0043] 100 - network device; 110 - memory; 120 - processor; 130 - communication module; 200 - point-to-multipoint message transmission device; 201 - processing module; 202 - scheduling module; 203 - traffic monitoring module. DETAILED DESCRIPTION

[0044] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0045] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.

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

[0047] For the access network SRv6 scenario, when the original message is forwarded via IPv6, the headers encapsulated in different working modes will be different. The destination address of the IPv6 header encapsulated in the SRv6 TE mode is the path SID (Segment Identifier) ​​of the next device node, while the destination address of the IPv6 header encapsulated in the SRv6 BE mode is the service SID of the destination device node. The existing technology only cares about the original message, and the message encapsulated by SRv6 cannot distinguish the network points. In particular, for the scenario where the encapsulated IPv6 header is not fixed, it is impossible to provide an effective QoS strategy for different services at different network points.

[0048] Based on this, the point-to-multipoint message transmission method and related devices provided by the embodiments of the present invention do not need to care about the SRv6 working mode and IPv6 header encapsulation for point-to-multipoint message transmission. It only needs to match the corresponding role information according to the destination address of the message to be transmitted before encapsulation, thereby distinguishing the first-level queues corresponding to the service flows of different sites, so as to achieve service quality assurance for the service flows of all sites. When ensuring the quality of service, it is only necessary to introduce role information in the QoS policy to distinguish the network points and guarantee the bandwidth. There is no need to configure complicated IP address segments to distinguish the network points, which is simple to implement. At the same time, differential services can be provided according to the guaranteed bandwidth and the DSCP priority of the message, effectively ensuring that high-priority service flows are scheduled in a timely manner.

[0049] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0050] As an implementation method, please refer to Figure 1 , Figure 1 A schematic diagram of a network structure of a point-to-multipoint network provided by an embodiment of the present invention is shown. Figure 1 The networking environment includes controllers, switches, aggregation devices, and network point devices. Assume that the user area includes two aggregation groups (aggregation group 1 and aggregation group 2), each of which contains two aggregation devices. The aggregation devices included in aggregation group 1 are RTP_PE11 and RTP_PE12, and the aggregation devices included in aggregation group 2 are RTP_PE21 and RTP_PE22. The aggregation devices of the B plane in each aggregation group (i.e., RTP_PE12 and RTP_PE22) are connected to the operator's MV dedicated line or 5G dedicated line through a physical exit, which can be expanded to multiple network points. The physical exit uses the same IPv6 address to communicate with network points 1, ..., network point N, and belongs to a point-to-multipoint network.

[0051] As the "brain" of the centralized control network, the controller collects the global network topology through SNMP (Simple Network Management Protocol) or Ethernet Discovery Protocol, and sets the link type in the topology view to be consistent with the actual link type of the operator, including setting the physical line type of the aggregation device on the B plane in the aggregation group to MV dedicated line or 5G dedicated line, and the outbound interface of the link is set to point-to-multipoint type.

[0052] by Figure 1For example, assume that RTP_PE11 is connected to multiple network devices through MSTP, RTP_PE12 is connected to multiple network devices through MSTP, and RTP_PE12 is also connected to multiple network devices through MV dedicated line or 5G dedicated line. Set RTP_PE21 and RTP_PE22 in the same way. When the MSTP line is interrupted or the user specifies the MV dedicated line or 5G dedicated line when the bandwidth demand is large (such as video conferencing), the message will be transmitted in point-to-multipoint type.

[0053] In the application scenario where the aggregation device sends messages to the network point device through the MV dedicated line or the 5G dedicated line, the aggregation device is the first network device in the point-to-multipoint network, and the network point device is the second network device in the point-to-multipoint network.

[0054] In the application scenario where the network point device sends a message to the aggregation device through the MV dedicated line or the 5G dedicated line, the network point device is the first network device in the point-to-multipoint network, and the aggregation device is the second network device in the point-to-multipoint network. In other words, the device that sends messages using the MV dedicated line or the 5G dedicated line is defined as the first network device, and the device that receives messages using the MV dedicated line or the 5G dedicated line is defined as the second network device.

[0055] As another implementation method, please refer to Figure 2 , Figure 2 Another schematic diagram of the network structure of a point-to-multipoint network provided by an embodiment of the present invention is shown. Figure 2 The aggregation devices in the networking environment include provincial aggregation devices and municipal aggregation devices. Assume that the user area includes two provincial aggregation groups (provincial aggregation group 1 and provincial aggregation group 2) and two prefecture-level aggregation groups (prefecture-level aggregation group 1 and prefecture-level aggregation group 2). Among them, the aggregation devices included in provincial aggregation group 1 are provincial 1_PE1 and provincial 1_PE2, the aggregation devices included in provincial aggregation group 2 are provincial 2_PE1 and provincial 2_PE2, the aggregation devices included in prefecture-level aggregation group 1 are prefecture-level 1_PE1 and prefecture-level 1_PE2, and the aggregation devices included in prefecture-level aggregation group 2 are prefecture-level 2_PE1 and prefecture-level 2_PE2.

[0056] The aggregation devices of the B plane in the municipal aggregation group (such as municipal 1_PE2 and municipal 2_PE2) are connected to the aggregation devices of the B plane in the provincial aggregation group (such as provincial 1_PE2 and provincial 2_PE2) and the network point devices of the B plane in the network point (such as network point 1_PE2 and network point N_PE2) through the operator's MV dedicated line or 5G dedicated line to transmit messages to each other.

[0057] In the application scenario where the provincial aggregation device sends messages to the municipal aggregation device or network point device through the MV dedicated line or 5G dedicated line, the provincial aggregation device is the first network device in the point-to-multipoint network, and the municipal aggregation device or network point device is the second network device in the point-to-multipoint network.

[0058] In the application scenario where the municipal aggregation device sends messages to the provincial aggregation device or network device through the MV dedicated line or 5G dedicated line, the municipal aggregation device is the first network device in the point-to-multipoint network, and the provincial aggregation device or network device is the second network device in the point-to-multipoint network.

[0059] In the application scenario where the network point device sends a message to the provincial aggregation device or the municipal aggregation device through the MV dedicated line or the 5G dedicated line, the network point device is the first network device in the point-to-multipoint network, and the provincial aggregation device or the municipal aggregation device is the second network device in the point-to-multipoint network. The point-to-multipoint network can be configured according to the actual application, which is not limited by the present invention.

[0060] Please refer to Figure 3 , Figure 3 A schematic flow chart of a point-to-multipoint message transmission method provided by an embodiment of the present invention is shown, and the method is applied to the first network device mentioned above, and the first network device is communicatively connected with multiple second network devices. The method comprises the following steps:

[0061] Step S10, determining matching role information according to the destination address of the message to be transmitted; the matching role information is the role information of the second network device corresponding to the destination address.

[0062] In the embodiment of the present invention, after receiving the message to be transmitted, the first network device obtains the role information of the corresponding second network device according to the destination address of the message to be transmitted to obtain the matching role information. The destination address may be a destination IP address.

[0063] Optionally, the role information includes a device role, a site number, and a plane number. Among them, the device roles include provincial aggregation devices, municipal aggregation devices, and network point devices. When the device role is a provincial aggregation device or a municipal aggregation device, the site number is the number of the aggregation group, such as 1 represents aggregation group 1. When the device role is a network point device, the site number is the number of the network point, for example, 1 represents network point 1, and 2 represents network point 2. The plane number is used to identify the plane in the site corresponding to the site number. Assume that the two network point devices in network point 1 are network point device 1 of plane A and network point device 2 of plane B, respectively. Plane A represents the left side of network point 1, and plane B represents the right side of standard network point 1.

[0064] Step S20, determining a matched guaranteed bandwidth according to the matched role information and the QoS policy; the matched guaranteed bandwidth is the maximum bandwidth between the first network device and the second network device corresponding to the destination address.

[0065] In the embodiment of the present invention, the QoS policy records the mapping relationship between role information and guaranteed bandwidth. The QoS policy is searched based on the matched role information to obtain the matched guaranteed bandwidth, that is, the guaranteed bandwidth corresponding to the matched role information.

[0066] The controller centrally calculates paths according to business needs and deploys SRv6 tunnels. The controller performs application group scheduling and directs the defined business flows to the SRv6 tunnel for SRv6 forwarding. To ensure that the business flows from the first network device to the second network device can be guaranteed by service quality. The controller sends a service quality policy (i.e., QoS policy) to the first network device, introduces role information in the QoS policy, and sets the guaranteed bandwidth of the site corresponding to each role information.

[0067] The total guaranteed bandwidth recorded in the QoS policy of the first network device is consistent with the line bandwidth opened by the operator, that is, the total guaranteed bandwidth of each site recorded in the QoS policy is consistent with the aggregate bandwidth corresponding to the physical exit of the first network device, so as to ensure that the total traffic to each site does not exceed the line bandwidth of the operator.

[0068] It should be noted that a site includes devices on plane A and plane B, and each of the devices on plane A and plane B has its own role information. The device roles and site numbers in the two role information of the same site are the same, but the plane numbers are different. The guaranteed bandwidths set for the two role information belonging to the same site in the QoS policy are the same.

[0069] Step S30, determining a matching primary queue according to the matching role information, and saving the message to be transmitted into the primary queue; the primary queue is provided with a plurality of secondary queues.

[0070] In the embodiment of the present invention, the first network device sets a separate first-level queue for each site, and the site number corresponds to the first-level queue one by one. The matching first-level queue is found according to the site number in the matching role information, that is, the service flow of the site to be transmitted is identified. The encapsulated message to be transmitted is saved in the matching first-level queue to ensure that the service flow of each site can be scheduled.

[0071] In network communications, DSCP (Differentiated Services Code Point) is a field used to mark the priority of packets in the IP header so that network devices can process packets according to these priorities. DSCP priority can be used to implement QoS in the network to ensure that critical traffic (such as voice and video conferencing) can obtain the necessary bandwidth and low latency while reducing packet loss.

[0072] It should be noted that the correspondence between the DSCP priority and the secondary queue can be set according to the actual application scenario. Assuming that 4 secondary queues are set under the primary queue of each site, the DSCP priority can be divided into 4 parts, and the messages corresponding to multiple DSCP priorities in each part are stored in the corresponding secondary queue. It is also possible to set corresponding secondary queues for high-priority DSCP priorities, and other DSCP priorities share the remaining secondary queues. The correspondence between the DSCP priority and the secondary queue is not limited in the embodiment of the present invention.

[0073] Step S40: Distribute the message to be transmitted from the primary queue to a matching secondary queue for transmission according to the DSCP priority of the message to be transmitted.

[0074] In the embodiment of the present invention, when the encapsulated message to be transmitted enters the matching primary queue, the matching secondary queue is determined according to the DSCP priority of the message to be transmitted, and the encapsulated message to be transmitted is distributed from the matching primary queue to the matching secondary queue.

[0075] Specifically, the larger the DSCP value, the higher the priority. Messages entering the high-priority queue are transmitted first to ensure different scheduling priorities for different services at the same site.

[0076] Step S50: When the total traffic volume of each secondary queue under the primary queue exceeds the matched guaranteed bandwidth, the packets in the secondary queue are discarded in the order of DSCP priority from low to high.

[0077] In the embodiment of the present invention, the first network device takes out the message from the secondary queue according to the pre-configured scheduling strategy, and transmits the message using the MV dedicated line or the 5G dedicated line. The messages in all the secondary queues under the primary queue are counted to obtain the total service flow of the corresponding site. When the total service flow does not exceed the matching guaranteed bandwidth, the messages are taken out from the secondary queues in turn for transmission according to the pre-configured scheduling strategy.

[0078] When the total service traffic exceeds the matched guaranteed bandwidth, in order to avoid packet loss of high-priority packets, the packets exceeding the total service traffic are discarded starting from the low priority level to ensure that differentiated services are provided according to the different priorities of the site service flows.

[0079] In summary, the point-to-multipoint message transmission method provided by the embodiment of the present invention does not need to care about the SRv6 working mode and IPv6 header encapsulation for point-to-multipoint message transmission. It only needs to match the corresponding role information according to the destination address of the message to be transmitted before encapsulation, thereby distinguishing the first-level queues corresponding to the service flows of different sites, so as to achieve service quality assurance for the service flows of all sites. When ensuring the quality of service, it is only necessary to introduce role information in the QoS policy to distinguish the network points and guarantee the bandwidth. There is no need to configure complicated IP address segments to distinguish the network points, which is simple to implement. At the same time, differential services can be provided according to the guaranteed bandwidth and the DSCP priority of the message, effectively ensuring that high-priority service flows are scheduled in time.

[0080] Optionally, in actual application, a forwarding table is provided on the first network device, and the forwarding table records a one-to-one correspondence between the address and the role information. As to how to obtain the matching role information, a possible implementation is provided below. Figure 3 The sub-steps of step S10 may include:

[0081] The destination address is obtained according to the message to be transmitted; and a forwarding table is searched based on the destination address to obtain the matching role information.

[0082] In the embodiment of the present invention, when the first network device receives the message to be transmitted, it obtains the destination IP address, i.e., the destination address, from the IP header of the message to be transmitted, searches for the forwarding entry with the longest match to the destination IP address in the forwarding table, and obtains the matching role information from the matching forwarding entry.

[0083] It can be seen that the embodiment of the present invention quickly identifies to which site the message to be transmitted is transmitted by setting the correspondence between the neighbor address and the role information in the local service routing (ie, the forwarding table), and implements service quality assurance based on each site.

[0084] Optionally, in actual application, the first network device is also connected to the controller for communication. Figure 4 , the method further comprises the following steps:

[0085] Step S60: Acquire role information corresponding to the first network device from the configuration instruction sent by the controller.

[0086] Step S70: Save the role information corresponding to the first network device locally.

[0087] In an embodiment of the present invention, when performing global network planning, the controller sets the role information of the aggregation device and the network point device in the network topology, that is, configures corresponding role information for the first network device and the second network device in the network topology to complete the management of all network devices.

[0088] When setting the link bandwidth of the MSTP line, the controller sets the link bandwidth in the network topology according to the line bandwidth provided by the operator, that is, the link bandwidth is consistent with the line bandwidth. When setting the aggregation bandwidth of the MV dedicated line or 5G dedicated line, the controller sets the aggregation bandwidth of the first network device (that is, the physical export bandwidth of the first network device) according to the line bandwidth provided by the operator. The traffic shaping policy is issued at the physical export, and the shaping rate is the same as the aggregation bandwidth to ensure that the total traffic to each site does not exceed the line bandwidth provided by the operator.

[0089] The controller sends configuration instructions to the aggregation device and the network point device, and the configuration instructions carry the role information of the aggregation device or the network device. In other words, the controller sends the configured role information to the corresponding aggregation device or network point device respectively. After receiving the role information, the aggregation device or the network point device saves its own role information locally, that is, the first network device or the second network device saves the received role information locally.

[0090] Optionally, the following provides a possible implementation method for how to construct the correspondence between the address and role information in the forwarding table. Figure 4 , the method further comprises the following steps:

[0091] Step S80, when establishing a neighbor relationship with the second network device, sending its own role information to the second network device, so that the second network device updates the forwarding table according to the address of the first network device and the received role information.

[0092] In an embodiment of the present invention, the controller deploys a service network and completes the mutual redistribution of routes between the underlay network and the overlay network. When establishing an EVPN BGP neighbor, the first network device and the second network device send their role information to the neighbor by announcing the service route. Specifically, the role information can be transmitted to the neighbor through the extended community attribute of BGP.

[0093] After the first network device sends its role information to the second network device, the second network device saves the address of the first network device and the role information of the first network device in the forwarding table of the second network device.

[0094] Step S90: receiving role information sent by the second network device.

[0095] Step S100: save the address of the second network device and the role information of the second network device into a forwarding table.

[0096] In an embodiment of the present invention, when the first network device receives the role information sent by the second network device, the address of the second network device and the role information of the second network device are saved in the forwarding table of the first network device, so that the first network device can match the corresponding role information according to the destination address of the message, and then identify the service flow to a certain site. For example, after the aggregation device learns the above routing information from the network point device, it generates a corresponding forwarding table according to the routing information. The forwarding table mainly includes key information such as the service flow prefix IP address, gateway, next hop, SRv6 information, role information, etc.

[0097] It can be seen that the embodiment of the present invention notifies the role information corresponding to the device to the neighbor device through the extended group attribute of BGP, and constructs a forwarding table based on the received role information, that is, the first network device notifies its own role information to the second network device, and the second network device notifies its own role information to the first network device. When the first network device receives the message, it directly obtains the matching role information according to the forwarding table, thereby distinguishing the service flows to different sites.

[0098] Based on the same inventive concept, an embodiment of the present invention also provides a point-to-multipoint message transmission device, whose basic principles and technical effects are the same as those of the above embodiments. For the sake of brief description, for parts not mentioned in this embodiment, reference may be made to the corresponding contents in the above embodiments.

[0099] Please refer to Figure 5 , Figure 5 A block diagram of a point-to-multipoint message transmission device 200 provided by an embodiment of the present invention is shown. Applied to a first network device in a point-to-multipoint network, the first network device is communicatively connected with a plurality of second network devices, and the point-to-multipoint message transmission device 200 includes a processing module 201, a scheduling module 202 and a traffic monitoring module 203.

[0100] Processing module 201, used to determine matching role information according to the destination address of the message to be transmitted; the matching role information is the role information of the second network device corresponding to the destination address; determine the matching guaranteed bandwidth according to the matching role information and the QoS policy; the matching guaranteed bandwidth is the maximum bandwidth between the first network device and the second network device corresponding to the destination address;

[0101] The scheduling module 202 is used to determine a matching primary queue according to the matching role information, and save the message to be transmitted in the primary queue; the primary queue is provided with multiple secondary queues; and the message to be transmitted is distributed from the primary queue to the matching secondary queue for transmission according to the DSCP priority of the message to be transmitted;

[0102] The traffic monitoring module 203 is used to discard the messages in the secondary queues according to the order of DSCP priority from low to high when the total traffic of the services in the secondary queues under the primary queue exceeds the matched guaranteed bandwidth.

[0103] In summary, the point-to-multipoint message transmission device provided by the embodiment of the present invention does not need to care about the SRv6 working mode and IPv6 header encapsulation for point-to-multipoint message transmission. It only needs to match the corresponding role information according to the destination address of the message to be transmitted before encapsulation, thereby distinguishing the first-level queues corresponding to the service flows of different sites, so as to achieve service quality assurance for the service flows of all sites. When ensuring the quality of service, it is only necessary to introduce role information in the QoS policy to distinguish the network points and guarantee the bandwidth. There is no need to configure complicated IP address segments to distinguish the network points, which is simple to implement. At the same time, differential services can be provided according to the guaranteed bandwidth and the DSCP priority of the message, effectively ensuring that high-priority service flows are scheduled in time.

[0104] Optionally, a forwarding table is provided on the first network device, and a one-to-one correspondence between addresses and role information is recorded in the forwarding table; the processing module 201 is used to obtain a destination address according to a message to be transmitted; and search the forwarding table based on the destination address to obtain matching role information.

[0105] Optionally, the processing module 201 is also used to send its own role information to the second network device when establishing a neighbor relationship with the second network device, so that the second network device updates the forwarding table according to the address of the first network device and the received role information; receive the role information sent by the second network device; and save the address of the second network device and the role information of the second network device in the forwarding table.

[0106] Optionally, the first network device is also in communication connection with the controller, and the processing module 201 is further configured to obtain role information corresponding to the first network device from a configuration instruction issued by the controller; and save the role information corresponding to the first network device locally.

[0107] See also Figure 6 , Figure 6 A block diagram of a network device 100 provided in an embodiment of the present invention. The network device 100 includes a memory 110, a processor 120, and a communication module 130. The memory 110, the processor 120, and the communication module 130 are electrically connected to each other directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.

[0108] The memory 110 is used to store programs or data. The memory 110 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc.

[0109] The processor 120 is used to read / write data or programs stored in the memory 110 and execute corresponding functions. For example, when the computer program stored in the memory 110 is executed by the processor 120, the point-to-multipoint message transmission method disclosed in the above embodiments can be implemented.

[0110] The communication module 130 is used to establish a communication connection between the network device 100 and other communication terminals through the network, and to send and receive data through the network.

[0111] It should be understood that Figure 6 The structure shown is only a schematic diagram of the structure of the network device 100. The network device 100 may also include Figure 6 More or fewer components as shown, or with Figure 6 Different configurations shown. Figure 6 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0112] Combination Figure 2 The network device can be a provincial aggregation device, a municipal aggregation device or a network point device, that is, the first network device mentioned in the above embodiment, to achieve the corresponding technical effect.

[0113] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by the processor 120, the point-to-multipoint message transmission method disclosed in the above embodiments is implemented.

[0114] The embodiment of the present invention further provides a program product, which, when executed by the processor 120, implements the point-to-multipoint message transmission method disclosed in the above embodiments.

[0115] In several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0116] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0117] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0118] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A point-to-multipoint message transmission method, characterized in that: A method for applying a first network device in a point-to-multipoint network, wherein the first network device is communicatively connected with a plurality of second network devices, comprises: Determine matching role information according to the destination address of the message to be transmitted; the matching role information is the role information of the second network device corresponding to the destination address; Determine a matched guaranteed bandwidth according to the matched role information and the QoS policy; the matched guaranteed bandwidth is the maximum bandwidth between the first network device and the second network device corresponding to the destination address; Determine a matching primary queue according to the matching role information, and save the message to be transmitted into the primary queue; the primary queue is provided with a plurality of secondary queues; Distributing the to-be-transmitted message from the primary queue to a matching secondary queue for transmission according to the DSCP priority of the to-be-transmitted message; When the total service flow of each of the secondary queues under the primary queue exceeds the matched guaranteed bandwidth, the messages in the secondary queues are discarded in order of DSCP priority from low to high.

2. The point-to-multipoint message transmission method according to claim 1, characterized in that: The first network device is provided with a forwarding table, wherein the forwarding table records a one-to-one correspondence between addresses and role information; The determining of matching role information according to the destination address of the message to be transmitted includes: Acquire the destination address according to the message to be transmitted; The forwarding table is searched based on the destination address to obtain the matching role information.

3. The point-to-multipoint message transmission method according to claim 2, characterized in that: Before the step of acquiring the destination address according to the message to be transmitted, the method further includes: When establishing a neighbor relationship with the second network device, sending its own role information to the second network device, so that the second network device updates the forwarding table according to the address of the first network device and the received role information; receiving the role information sent by the second network device; The address of the second network device and the role information of the second network device are saved in the forwarding table.

4. The point-to-multipoint message transmission method according to claim 3, characterized in that: The first network device is also in communication connection with the controller. Before the step of sending its own role information to the second network device when establishing a neighbor relationship with the second network device, the method further includes: Obtaining role information corresponding to the first network device from the configuration instruction issued by the controller; The role information corresponding to the first network device is saved locally.

5. A point-to-multipoint message transmission device, characterized in that: A first network device applied to a point-to-multipoint network, wherein the first network device is communicatively connected with a plurality of second network devices, the apparatus comprising: A processing module, configured to determine matching role information according to a destination address of a message to be transmitted; the matching role information is role information of a second network device corresponding to the destination address; determine a matching guaranteed bandwidth according to the matching role information and a QoS policy; the matching guaranteed bandwidth is a maximum bandwidth between the first network device and the second network device corresponding to the destination address; A scheduling module, used to determine a matching primary queue according to the matching role information, and save the message to be transmitted into the primary queue; the primary queue is provided with multiple secondary queues; and the message to be transmitted is distributed from the primary queue to the matching secondary queue for transmission according to the DSCP priority of the message to be transmitted; The traffic monitoring module is used to discard the messages in the secondary queues according to the order of DSCP priority from low to high when the total service flow of each secondary queue under the primary queue exceeds the matched guaranteed bandwidth.

6. The point-to-multipoint message transmission device according to claim 5, characterized in that: The first network device is provided with a forwarding table, wherein the forwarding table records a one-to-one correspondence between addresses and role information; the processing module is used to obtain the destination address according to the message to be transmitted; The forwarding table is searched based on the destination address to obtain the matching role information.

7. The point-to-multipoint message transmission device according to claim 6, characterized in that: The processing module is also used to send its own role information to the second network device when establishing a neighbor relationship with the second network device, so that the second network device updates the forwarding table according to the address of the first network device and the received role information; receive the role information sent by the second network device; The address of the second network device and the role information of the second network device are saved in the forwarding table.

8. A network device, characterized in that: It comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor can execute the machine executable instructions to implement the point-to-multipoint message transmission method described in any one of claims 1-4.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the point-to-multipoint message transmission method according to any one of claims 1 to 4 is implemented.

10. A program product, characterized in that When the program product is executed by a processor, the point-to-multipoint message transmission method according to any one of claims 1 to 4 is implemented.