Message sending method and network equipment
By slicing into multiple logical rings in the enhanced Ethernet ring network and matching the slice forwarding interface according to the packet attribute information, the problems of low resource utilization and service isolation are solved, and efficient bandwidth resource management and network expansion are achieved.
Patent Information
- Application Number
- CN202510716409.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-07-25
AI Technical Summary
In the enhanced Ethernet ring network, all services share bandwidth resources of the same physical ring network, resulting in low resource utilization, unable to dynamically adjust according to service priority and needs, and there is a lack of isolation mechanism between different services, resulting in limited network scalability and increased operation and maintenance complexity.
By obtaining the attribute information of the message to be sent, using the attribute information to match the corresponding relationship to obtain the slice forwarding interface, and sending messages through the interface, the physical ring is sliced into multiple logical rings, and each logical ring independently allocates bandwidth resources according to demand, realizing service isolation and multi-service ring converged deployment.
It realizes mutual isolation between various logical rings, independently allocates bandwidth resources, improves resource utilization, and simplifies network expansion and operation and maintenance processes.
Smart Images

Figure CN120378249A_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of communication technologies, and in particular, to a method for sending packets and a network device. Background Art
[0002] As Figure 1 shown, in an EERN (Enhanced Ethernet Ring Network), all services share the bandwidth resources of the same physical ring network and cannot be dynamically adjusted according to the priorities and requirements of services, resulting in low resource utilization. The traffic between different services is mixed, and there is no effective isolation mechanism. The congestion or failure of one service may affect the normal operation of other services. As the network scale expands, the scalability of a single physical ring network is limited. When adding new services or devices, the entire network needs to be re-planned, increasing the operation and maintenance complexity. Summary of the Invention
[0003] To overcome the problems in the related art, this specification provides a method for sending packets and a network device.
[0004] According to a first aspect of the embodiments of this specification, a method for sending packets is provided. The method is applied to an enhanced Ethernet ring network (EERN), and the method includes:
[0005] Obtain a packet to be sent, and obtain first attribute information of the packet to be sent;
[0006] Match the first attribute information with a corresponding relationship to obtain a first slice forwarding interface corresponding to the first attribute information;
[0007] Send the packet to be sent through the first slice forwarding interface;
[0008] Wherein, the corresponding relationship records the corresponding relationship between each attribute information and a slice forwarding interface.
[0009] Wherein, the first attribute information includes one or more combinations of: VLAN information, VSI information, VXLAN information, and DSCP information.
[0010] Wherein, the corresponding relationship records the corresponding relationship between each attribute information and a slice forwarding interface, including:
[0011] The corresponding relationship records the corresponding relationship between each attribute information and a SliceId, where different Slice Ids correspond to different slice forwarding interfaces.
[0012] Wherein, the obtaining of the first slice forwarding interface corresponding to the first attribute information includes:
[0013] Obtain the first SliceId corresponding to the first slice forwarding interface.
[0014] Among them, sending the message to be sent through the first slice forwarding interface includes:
[0015] Encapsulate the obtained first SliceId in the message to be sent, and send the message to be sent encapsulated with the first SliceId through the first slice forwarding interface corresponding to the first SliceId.
[0016] It can be seen from the above embodiments that by slicing a physical ring into multiple logical rings, each logical ring independently allocates bandwidth resources according to requirements, and the services between each logical ring are isolated from each other, realizing the integrated deployment of multi-service rings.
[0017] According to the second aspect of the embodiments of the present specification, a network device is provided. The network device enables the Enhanced Ethernet Ring Network (EERN). The network device includes:
[0018] An obtaining module, configured to obtain a message to be sent and obtain the first attribute information of the message to be sent;
[0019] A matching module, configured to match the first attribute information with the corresponding relationship to obtain the first slice forwarding interface corresponding to the first attribute information;
[0020] A sending module, configured to send the message to be sent through the first slice forwarding interface;
[0021] Among them, the corresponding relationship records the corresponding relationship between each attribute information and the slice forwarding interface.
[0022] Among them, the first attribute information includes one or a combination of: VLAN information, VSI information, VXLAN information, and DSCP information.
[0023] Among them, the corresponding relationship records the corresponding relationship between each attribute information and the slice forwarding interface, including:
[0024] The corresponding relationship records the corresponding relationship between each attribute information and the SliceId. Among them, different SliceIds correspond to different slice forwarding interfaces.
[0025] Among them, the matching module is specifically configured to obtain the first SliceId corresponding to the first slice forwarding interface.
[0026] Among them, the sending module is specifically configured to encapsulate the obtained first SliceId in the message to be sent, and send the message to be sent encapsulated with the first SliceId through the first slice forwarding interface corresponding to the first SliceId.
[0027] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and should not limit this specification. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with this specification, and are used together with the specification to explain the principles of this specification.
[0029] Figure 1 is a schematic diagram of an EERN ring network shown according to an exemplary embodiment of this specification.
[0030] Figure 2 is a schematic flowchart of a method for sending a message shown according to an exemplary embodiment of this specification.
[0031] Figure 3 is a schematic flowchart of a method for sending a message shown according to an exemplary embodiment of this specification. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0032] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this specification. On the contrary, they are merely examples of devices and methods consistent with some aspects of this specification as detailed in the appended claims.
[0033] The terms used in this specification are for the purpose of describing particular embodiments only and are not intended to limit this specification. The singular forms "a", "the", and "said" used in this specification and the appended claims are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0034] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining".
[0035] The enhanced Ethernet Ring technology is a new technology developed based on the standard IEEE802.17 protocol, integrating the intelligence of IP, the economy of Ethernet, and the high bandwidth and high reliability of SONET / SDH, providing an efficient and flexible IP network solution.
[0036] The enhanced Ethernet Ring is an Ethernet transmission technology operating at Layer 1.5. It integrates the full-stack Ethernet in its architecture, naturally inherits Ethernet services, and provides a highly reliable transparent transmission platform for full-stack Ethernet services. The enhanced Ethernet Ring supports sub-millisecond slicing performance, is completely decoupled from services, and provides enhanced functions such as ring-level QoS and load balancing.
[0037] Currently, as Figure 1 shown, the enhanced Ethernet Ring adopts a reverse dual-ring structure, and data is forwarded between stations along the ring. Among them,
[0038] Ring 0: In the dual-ring of the enhanced Ethernet Ring, the ring in which the data frame transmission direction is clockwise is called Ring 0, also known as the Outer Ring.
[0039] Ring 1: In the dual-ring of the enhanced Ethernet Ring, the ring in which the data frame transmission direction is counterclockwise is called Ring 1, also known as the Inner Ring.
[0040] Station: The device on the enhanced Ethernet Ring, responsible for receiving and forwarding data frames.
[0041] Link: A unidirectional channel connecting adjacent stations.
[0042] Span: The link between two adjacent stations on the enhanced Ethernet Ring, consisting of two links with opposite directions.
[0043] West interface: The physical interface that receives data frames on Ring 0 and sends data frames on Ring 1.
[0044] East interface: The physical interface that sends data frames on Ring 0 and receives data frames on Ring 1.
[0045] Edge: When a segment or the station adjacent to the segment fails, the segment cannot forward data and becomes an edge.
[0046] Ring state: Divided into closed loop and open loop. A ring without edges is a closed loop, and a ring with edges is an open loop.
[0047] Currently, since all services share the bandwidth resources of the same physical ring network, dynamic adjustment cannot be performed according to the priorities and requirements of services, resulting in low resource utilization. The traffic between different services is mixed, and there is no effective isolation mechanism. The congestion or failure of one service may affect the normal operation of other services. As the network scale expands, the scalability of a single physical ring network is limited. When adding new services or devices, the entire network needs to be re-planned, increasing the operation and maintenance complexity.
[0048] To solve the above technical problems, embodiments of the present disclosure provide a method for sending a message. The method is applied to an Enhanced Ethernet Ring Network (EERN), as Figure 2 shown. The method includes:
[0049] S201 Obtain the message to be sent, and obtain the first attribute information of the message to be sent;
[0050] S202 Use the first attribute information to match the corresponding relationship, and obtain the first slice forwarding interface corresponding to the first attribute information;
[0051] S203 Send the message to be sent through the first slice forwarding interface;
[0052] Wherein, the corresponding relationship records the corresponding relationship between each attribute information and the slice forwarding interface.
[0053] In this embodiment, the administrator can first configure the corresponding relationship between the attribute information of the message and the slice forwarding interface. In this embodiment, the attribute information of the message can be the forwarding information of the message. For example, it can be one or a combination of VLAN information, VSI information, VXLAN information, and DSCP information.
[0054] In this embodiment, the administrator can use the main interface corresponding to the EERN logical sub-interface as the slice base interface for the encapsulation and forwarding of network slice messages. The EERN logical sub-interface is used as the slice forwarding interface for the forwarding of specific network slice channels. That is, the physical ring of the EERN is sliced into multiple logical rings, and each logical ring independently allocates bandwidth resources according to requirements. The services between each logical ring are isolated from each other, realizing the integrated deployment of multiple service rings.
[0055] The soft slice function is supported on the EERN logical sub-interface, and the sliced bandwidth and network slice channel ID are configured. Each sub-interface configures a network slice channel, and each channel corresponds to a corresponding Slice Id. Bandwidth resources are independently allocated between each channel to achieve service isolation.
[0056] In this embodiment, the administrator can also add a Slice Id identifier, which corresponds to different slice interfaces through the Slice Id identifier. It can also be understood that different slice interfaces are represented by the SliceId identifier.
[0057] Finally, the administrator can configure the correspondence between the attribute information of each message and the SliceId identifier.
[0058] In one example, the ATD frame in the EERN control frame can broadcast multiple attributes of the local site at the same time. Define the following attributes in the custom field of the ATD frame:
[0059] The slice bandwidth of each logical sub-interface and the corresponding SliceId, and establish the corresponding relationship.
[0060] Specifically, (1) Configure the slice bandwidth information for each logical sub-interface and broadcast it through the ATD frame.
[0061] (2) After the device receives the ATD frame, parse the slice bandwidth and Slice Id information in it, and update the local slice bandwidth table.
[0062] (3) The device adds up the bandwidths of the sites with the same Slice Id according to the Slice Id attribute in the received ATD frame to obtain the total bandwidth of the slice ring.
[0063] (4) Notify the total bandwidth of the slice ring to the corresponding EERN logical sub-interface as the slice queue rate limit and use the A0 bandwidth.
[0064] (5) The remaining bandwidth on the ring is used as the default slice bandwidth for forwarding through the default slice channel.
[0065] For example, in one example, the bandwidth occupied by slice ring 1 is 1G + 2G + 4G = 7G; the bandwidth occupied by slice ring 2 is 1G + 1G + 3G = 5G; the bandwidth occupied by slice ring 3 is 1G + 5G + 4G = 10G; the remaining bandwidth on the ring is used as the default slice bandwidth.
[0066] In this embodiment, when the network device receives a message to be forwarded, it obtains the first attribute information of the message to be sent through step S201. For example, obtain the VLAN information of the message to be forwarded (in other embodiments, it can also be other attribute information, which is defined according to the administrator's requirements here), query the above corresponding relationship through the VLAN information, and obtain the first SliceId corresponding to the first attribute information.
[0067] In this embodiment, after obtaining the first Slice Id according to the above method, when encapsulating in EERN, encapsulate the first SliceId attribute of the message.
[0068] The network device looks up the MAC address table according to the destination MAC address of the packet, and the EERN logical interface of the destination site matched is the slice basic interface.
[0069] When querying whether there is a network slice channel corresponding to the SliceId carried in the network slice packet on the slice forwarding interface of the slice basic interface, the following two situations may occur.
[0070] One: If the corresponding slice forwarding interface is not found or there is no corresponding network slice channel on the slice forwarding interface, the device defaults to ignoring the first SliceId carried in the packet and routes through the default slice channel.
[0071] Two: If the corresponding slice forwarding interface is found, that is, the first Slice Id carried in the packet is the same as the network slice channel ID configured on the slice forwarding interface, the network slice packet will be forwarded through the network slice channel on this slice forwarding interface.
[0072] Based on the above embodiments, the present disclosure also provides an example of packet forwarding, as Figure 3 shown:
[0073] The network device of EERN receives the upper-ring packet, queries the corresponding relationship according to the first attribute information (VLAN / VSI / VXLAN / DSCP) of the data packet, obtains the corresponding Slice Id, and encapsulates the Slice Id into the EERN packet.
[0074] Find the destination site according to the destination MAC address of the EERN packet. When a forwarding interface of the slice is found, check whether the channel ID of the slice interface matches the Slice Id carried in the EERN of the packet. If it matches, forward through the network slice channel on this slice forwarding interface; if it does not match, forward through the default slice channel.
[0075] It can be seen from the above embodiments that by slicing a physical ring into multiple logical rings and corresponding different slices through Slice Id, different packets can be forwarded through the slices corresponding to the Slice Id, realizing independent allocation of bandwidth resources for each logical ring, isolation of services between each logical ring, and realizing the integrated deployment of multiple service rings.
[0076] Based on the above method embodiments, the embodiments of the present disclosure also provide a network device. The network can be a routing device, a switching device, etc. The network setting enables the enhanced Ethernet ring network EERN. The network device includes:
[0077] An obtaining module, configured to obtain a packet to be sent and obtain the first attribute information of the packet to be sent;
[0078] A matching module, configured to perform matching by using the first attribute information and the corresponding relationship, and obtain a first slice forwarding interface corresponding to the first attribute information;
[0079] A sending module, configured to send the message to be sent through the first slice forwarding interface;
[0080] Wherein, the corresponding relationship records the corresponding relationship between each attribute information and the slice forwarding interface.
[0081] Wherein, the first attribute information includes one or a combination of the following: VLAN information, VSI information, VXLAN information, and DSCP information.
[0082] Wherein, the corresponding relationship records the corresponding relationship between each attribute information and the slice forwarding interface, including:
[0083] The corresponding relationship records the corresponding relationship between each attribute information and the SliceId, wherein different Slice Ids correspond to different slice forwarding interfaces.
[0084] Wherein, the matching module is specifically configured to obtain a first SliceId corresponding to the first slice forwarding interface.
[0085] Wherein, the sending module is specifically configured to encapsulate the obtained first SliceId in the message to be sent, and send the message to be sent encapsulated with the first SliceId through the first slice forwarding interface corresponding to the first SliceId.
[0086] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial descriptions of the method embodiments. The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in this specification. Those of ordinary skill in the art can understand and implement it without creative efforts.
[0087] The specific embodiments of this specification are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the particular order or sequential order shown to achieve the desired result. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0088] Those skilled in the art will readily conceive of other embodiments of the present specification after considering the specification and practicing the invention claimed herein. This specification is intended to cover any variations, uses, or adaptations of the present specification that follow the general principles of the present specification and include the common general knowledge or conventional technical means in the technical field not claimed in the present specification. The specification and examples are only regarded as exemplary, and the true scope and spirit of the present specification are pointed out by the following claims.
[0089] It should be understood that the present specification is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present specification is only limited by the appended claims.
[0090] The above are only the preferred embodiments of the present specification and are not intended to limit the present specification. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present specification shall be included within the scope of protection of the present specification.
Claims
1. A method for sending a message, characterized in that, The method is applied to an Enhanced Ethernet Ring Network (EERN), and the method includes: Obtain a packet to be sent, and obtain first attribute information of the packet to be sent; Match the first attribute information with a corresponding relationship to obtain a first slice forwarding interface corresponding to the first attribute information; Send the packet to be sent through the first slice forwarding interface; Wherein, the corresponding relationship records the corresponding relationship between each attribute information and the slice forwarding interface.
2. The method according to claim 1, wherein The first attribute information includes one or a combination of the following: VLAN information, VSI information, VXLAN information, and DSCP information.
3. The method according to claim 1, wherein The corresponding relationship records the corresponding relationship between each attribute information and the slice forwarding interface, including: The corresponding relationship records the corresponding relationship between each attribute information and a SliceId, where different SliceIds correspond to different slice forwarding interfaces.
4. The method according to claim 3, characterized in that The obtaining of the first slice forwarding interface corresponding to the first attribute information includes: Obtain a first SliceId corresponding to the first slice forwarding interface.
5. The method according to claim 4, characterized in that, The sending of the packet to be sent through the first slice forwarding interface includes: Encapsulate the obtained first SliceId in the packet to be sent, and send the packet to be sent encapsulated with the first SliceId through the first slice forwarding interface corresponding to the first SliceId.
6. A network device, characterized in that, The network setup enables the Enhanced Ethernet Ring Network (EERN), and the network device includes: An obtaining module, configured to obtain a packet to be sent and obtain first attribute information of the packet to be sent; A matching module, configured to match the first attribute information with a corresponding relationship to obtain a first slice forwarding interface corresponding to the first attribute information; A sending module, configured to send the packet to be sent through the first slice forwarding interface; Wherein, the corresponding relationship records the corresponding relationship between each attribute information and the slice forwarding interface.
7. The network device according to claim 6, wherein The first attribute information includes one or a combination of the following: VLAN information, VSI information, VXLAN information, and DSCP information.
8. The network device according to claim 6, wherein The corresponding relationship records the corresponding relationship between each attribute information and the slice forwarding interface, including: The corresponding relationship records the corresponding relationship between each attribute information and a SliceId, where different SliceIds correspond to different slice forwarding interfaces.
9. The network device according to claim 8, wherein The matching module is specifically configured to obtain a first SliceId corresponding to the first slice forwarding interface.
10. The network device according to claim 9, wherein The sending module is specifically configured to encapsulate the obtained first SliceId in the packet to be sent, and send the packet to be sent encapsulated with the first SliceId through the first slice forwarding interface corresponding to the first SliceId.