Message forwarding method, device, storage medium and electronic device

By configuring the default media access control route and sending routing information in the EVPN network, the problem of high hardware resources and performance overhead in the packet forwarding process is solved, the optimization and compatibility of packet forwarding is achieved, and the device performance and communication overhead are reduced. .

CN115277309BActive Publication Date: 2024-08-27CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210887692.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-26
Publication Date
2024-08-27
Estimated Expiration
2042-07-26

AI Technical Summary

Technical Problem

Under the new leaf-spine network architecture, during the packet forwarding process of EVPN, the device needs to perform a large number of packet copies and MAC route learning, resulting in excessive hardware resource requirements and high performance overhead.

Method used

By configuring a default media access control route (UMR) for VPLS on the first leaf node device and sending UMR routing information to the second leaf node device, the second leaf node device can forward user packets by searching for the routing information corresponding to the UMR. , the message carries the service payload and virtual LAN identifier when forwarding to avoid duplication of broadcast messages.

Benefits of technology

Without changing the network architecture, it reduces the device's need for MAC route learning, reduces hardware resources and performance overhead, reduces the network broadcast domain, and reduces device performance overhead and communication overhead.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115277309B
    Figure CN115277309B
Patent Text Reader

Abstract

The present disclosure provides a message forwarding method, device, storage medium and electronic device, which relate to the field of communication technology. Among them, a message forwarding method includes: configuring a default media access control route UMR for a virtual private LAN service VPLS, and sending routing information corresponding to the UMR to a second leaf node device; if a user message is obtained, forwarding the user message to the second leaf node device, so that the second leaf node device forwards the user message by searching for the routing information corresponding to the UMR, and the user message carries a service payload, a virtual LAN identifier, and a media access control header when forwarding. The present disclosure can reduce the hardware resource requirements, performance overhead and communication overhead required in the message forwarding process by configuring the UMR route and carrying the virtual LAN identifier in the user message.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In order to meet the development needs of communication services, the traditional metropolitan area network architecture has undergone a transformation and adopted a new spine-leaf network architecture. In addition, with the continuous development of virtualization technology, the MSE (MultiService Edge) devices in the original metropolitan area network have been continuously deployed in a centralized pool.

[0003] In the related art, under the new leaf-spine network architecture, EVPN (Ethernet Virtual Private Network) divides BD (Bridge Domain) according to AC (Access Circuit) interface. When there are multiple VLAN (Virtual Local Area Network) sub-interfaces in the AC physical interface or the VLAN of the sub-interface is a range, the forwarding of user messages needs to rely on a large amount of message copy processing and message broadcast processing, which makes the performance overhead and communication overhead of related equipment large. In addition, in the related art, user messages also rely on specific MAC (Media Access Control) routes for forwarding during the forwarding process, so that the leaf node devices need to learn a large number of MAC routes, resulting in excessive demand for hardware resources.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The present disclosure provides a message forwarding method, a message forwarding device, a computer-readable storage medium and an electronic device, thereby at least to a certain extent solving the problem in the related art that the hardware resource demand is too large and the performance overhead and communication overhead are large when forwarding messages.

[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0007] According to a first aspect of the present disclosure, a message forwarding method is provided, which is applied to a first leaf node device, wherein the first leaf node device is located on the access side of an Ethernet virtual private network EVPN, and the EVPN also includes a second leaf node device, wherein the second leaf node device is located on the service side of the EVPN, and the method includes: configuring a default media access control route UMR for a virtual private LAN service VPLS, and sending routing information corresponding to the UMR to the second leaf node device; if a user message is obtained, forwarding the user message to the second leaf node device, so that the second leaf node device forwards the user message by searching for the routing information corresponding to the UMR, and the user message carries a service payload, a virtual LAN identifier, and a media access control header when forwarding.

[0008] In an exemplary embodiment of the present disclosure, the user message is obtained from the optical line terminal OLT through an access link AC interface.

[0009] In an exemplary embodiment of the present disclosure, the sending the routing information corresponding to the UMR to the second leaf node device includes: sending the routing information corresponding to the UMR to the second leaf node device via a border gateway protocol BGP.

[0010] According to a second aspect of the present disclosure, another message forwarding method is provided, which is applied to a second leaf node device, wherein the second leaf node device is located on the service side of EVPN, and the EVPN also includes a first leaf node device, wherein the first leaf node device is located on the access side of the EVPN, and the method includes: obtaining routing information corresponding to the UMR sent by the first leaf node device, wherein the UMR is configured by the first leaf node device for VPLS; if a user message forwarded by the first leaf node device is received, the user message is forwarded by searching for the routing information corresponding to the UMR, and the user message carries a service payload, a virtual LAN identifier, and a media access control header when forwarding.

[0011] In an exemplary embodiment of the present disclosure, forwarding the user message by searching for routing information corresponding to the UMR includes: forwarding the user message to a broadband remote access server BRAS by searching for routing information corresponding to the UMR.

[0012] In an exemplary embodiment of the present disclosure, the user message is forwarded to the BRAS through an AC interface.

[0013] According to a third aspect of the present disclosure, a message forwarding device is provided, which is applied to a first leaf node device, wherein the first leaf node device is located on the access side of an Ethernet virtual private network EVPN, and the EVPN also includes a second leaf node device, wherein the second leaf node device is located on the service side of the EVPN, and the device includes: a routing information forwarding module, which is used to configure a default media access control route UMR for a virtual private LAN service VPLS, and send routing information corresponding to the UMR to the second leaf node device; a first message forwarding module, which is used to forward the user message to the second leaf node device if a user message is obtained, so that the second leaf node device forwards the user message by looking up the routing information corresponding to the UMR, and the user message carries a service payload, a virtual LAN identifier, and a media access control header when forwarding.

[0014] According to a fourth aspect of the present disclosure, another message forwarding device is provided, which is applied to a second leaf node device, wherein the second leaf node device is located on the service side of EVPN, and the EVPN also includes a first leaf node device, wherein the first leaf node device is located on the access side of the EVPN, and the device includes: a routing information acquisition module, which is used to acquire routing information corresponding to a UMR sent by the first leaf node device, wherein the UMR is configured by the first leaf node device for VPLS; and a second message forwarding module, which is used to forward a user message forwarded by the first leaf node device by searching for routing information corresponding to the UMR, if the user message is received, wherein the user message carries a service payload, a virtual LAN identifier, and a media access control header when forwarding.

[0015] According to a fifth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned message forwarding method is implemented.

[0016] According to a sixth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-mentioned message forwarding method by executing the executable instructions.

[0017] The technical solution disclosed in this disclosure has the following beneficial effects:

[0018] In the above-mentioned message forwarding process, without changing the network architecture, the message forwarding process is optimized and has good compatibility. On the one hand, the first leaf node device configures the UMR (Unknown MAC Route, default media access control route) for VPLS, and forwards the routing information corresponding to the UMR to the second leaf node device, so that the leaf node device does not need to learn a large number of MAC routes, and has low requirements on device capacity and device performance, which can reduce the hardware resource requirements required for message forwarding and reduce device performance overhead; on the other hand, by carrying the virtual LAN identifier in the user message, it can avoid the need for a large number of broadcast message replications due to the inability to distinguish VLANs during message forwarding, which reduces the network broadcast domain to a certain extent and reduces the device performance overhead and communication overhead.

[0019] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 A system architecture for message forwarding in this exemplary embodiment is shown;

[0022] Figure 2 A flowchart of a message forwarding method applied to a first leaf node device in this exemplary embodiment is shown;

[0023] Figure 3 An example diagram of interaction between leaf node devices during message forwarding in this exemplary embodiment is shown;

[0024] Figure 4 A flowchart of a message forwarding method applied to a second leaf node device in this exemplary embodiment is shown;

[0025] Figure 5 A network topology diagram in an SRv6 application scenario in this exemplary embodiment is shown;

[0026] Figure 6 A structural block diagram of a message forwarding device applied to a first leaf node device in this exemplary embodiment is shown;

[0027] Figure 7A structural block diagram of a message forwarding device applied to a second leaf node device in this exemplary embodiment is shown;

[0028] Figure 8 An electronic device for implementing the above-mentioned message forwarding method in this exemplary embodiment is shown. DETAILED DESCRIPTION

[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0030] The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.

[0031] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0032] In the related technology, the leaf node devices on the service side serve as the aggregation of regional user access. The number of MAC addresses on the devices may reach millions. In the process of message forwarding, a large number of MAC routes need to be learned, which easily exceeds the performance capacity of the device and places excessive demands on hardware resources. In addition, when OLT (Optical Line Termination) and UP (User Plane) access the leaf node devices, since the VLAN of the OLT was not planned in the early stage, there is an EVPN AC on the leaf node device that contains a large VLAN range. These VLANs will copy the user messages that need to be broadcast to multiple points, which not only increases the performance overhead and communication overhead of related equipment, but also affects the use of terminal services such as OLT.

[0033] In view of one or more of the above problems, an exemplary embodiment of the present disclosure provides a message forwarding method and a message forwarding apparatus applied to a leaf node device, which can be applicable to EVPN VPLS service scenarios.

[0034] First, the system architecture of the message method and the message forwarding device operating environment is described. Figure 1 As shown, the system architecture 100 may include: a first leaf node device 110, a second leaf node device 120, an OLT 130, and a BRAS 140. The first leaf node device 110 may be a leaf node device located at the EVPN access side, such as an A-leaf node device, which may configure UMR routing and forward information such as UMR routing and user messages to the second leaf node device; the second leaf node device 120 may be a leaf node device located at the EVPN service side, such as an S-leaf node device, which may receive information such as UMR routing and user messages sent by the first leaf node device and may forward user messages to the BRAS 140; the OLT 130 is a service node side device of the access network, which may be used to complete service access to the access network and forward user messages to the first leaf node device 110; the BRAS 140 is a new access gateway for broadband networks, which serves as a bridge between the broadband access network and the backbone network and provides basic access means and management functions of the broadband access network.

[0035] It should be noted that both A-leaf node devices and S-leaf node devices are leaf node devices under the leaf-spine network architecture. The two are deployed at different locations in the network. A-leaf node devices are deployed on the access side of the EVPN network, and S-leaf node devices are deployed on the service side of the EVPN network. In order to ensure normal access to the network, A-leaf node devices can be deployed in pairs, and S-leaf node devices can also be deployed in pairs. A-leaf node devices and S-leaf node devices can establish a connection through RR (Route Reflector) or VRR (Virtual Route Reflector).

[0036] An exemplary embodiment of the present disclosure provides a message forwarding method applied to a first leaf node device, the first leaf node device is located at the access side of an Ethernet virtual private network EVPN, the EVPN further includes a second leaf node device, the second leaf node device is located at the service side of the EVPN, such as Figure 2 As shown, the message forwarding method applied to the first leaf node device may specifically include the following steps S210 to S220:

[0037] Step S210, configuring a default media access control route UMR for the virtual private local area network service VPLS, and sending routing information corresponding to the UMR to the second leaf node device;

[0038] Step S220, if the user message is obtained, the user message is forwarded to the second leaf node device, so that the second leaf node device forwards the user message by searching the routing information corresponding to the UMR. The user message carries the service payload, virtual LAN identifier, and media access control header when forwarding.

[0039] The above message forwarding process optimizes the message forwarding process without changing the network architecture, and has good compatibility. On the one hand, the UMR is configured for VPLS through the first leaf node device, and the routing information corresponding to the UMR is forwarded to the second leaf node device, so that the leaf node device does not need to learn a large number of MAC routes, and the requirements for device capacity and device performance are low, which can reduce the hardware resource requirements required for message forwarding and reduce device performance overhead; on the other hand, by carrying the virtual LAN identifier in the user message, it can avoid the need for a large number of broadcast message replications due to the inability to distinguish VLANs during message forwarding, which reduces the network broadcast domain to a certain extent and reduces the device performance overhead and communication overhead.

[0040] The following are Figure 2 Each step in the procedure is described in detail.

[0041] Step S210: configuring a default media access control route UMR for the virtual private local area network service VPLS, and sending routing information corresponding to the UMR to the second leaf node device.

[0042] VPLS is a service provided by packet switching networks, which can provide users with dedicated LAN interconnection services.

[0043] When configuring the route, the first leaf node device can configure a UMR route for the VPLS on the first leaf node device. The first leaf node device can publish the UMR route to the second leaf node device or between RR / VRR devices, so as to synchronize the route information corresponding to the UMR to the second leaf node device.

[0044] In an optional implementation, when the first leaf node device sends the routing information corresponding to the UMR to the second leaf node device, it can be implemented in the following manner: sending the routing information corresponding to the UMR to the second leaf node device via BGP (Border Gateway Protocol).

[0045] The first leaf node device and the second leaf node device can synchronize the routing information corresponding to the UMR through the BGP protocol. In this process, the RR device is unaware of the user MAC, thereby avoiding the need for the second leaf node device to learn a large number of MAC routes, resulting in excessive pressure on the MAC routing table entries, thereby reducing the occupancy of hardware resources.

[0046] For example, Figure 3 As shown, the A-leaf node device may send a configured default media access control route UMR to the S-leaf node device for use by the S-leaf node device.

[0047] Step S220, if the user message is obtained, the user message is forwarded to the second leaf node device, so that the second leaf node device forwards the user message by searching the routing information corresponding to the UMR. The user message carries the service payload, virtual LAN identifier, and media access control header when forwarding.

[0048] The user message can be obtained from the optical line terminal OLT through the AC interface. The user message can carry information such as service payload, virtual local area network identifier, media access control header (MAC header) when forwarding.

[0049] For example, Figure 3As shown, the A-leaf node device can obtain user messages from the optical line terminal OLT through the access link interface (AC interface). During the forwarding process, the user message can carry information such as service payload, virtual LAN identifier and media access control header.

[0050] It should be noted that Figure 3 An example diagram of interaction between leaf node devices during message forwarding in this exemplary embodiment is shown, wherein the range of the virtual local area network VLAN is only an exemplary description, and the present disclosure does not make any specific limitation on this.

[0051] The service payload here refers to the user data part of the transmission forwarding. Since VPLS needs to forward according to the media access control header, the user message can carry the media access control header information here to facilitate the forwarding processing of the user message. The virtual local area network identifier can be used to distinguish the virtual local area network. Exemplarily, when the message data of VLAN 10 is forwarded between the first leaf node device and the second leaf node device, the VLAN 10 information can be carried.

[0052] In addition, the first leaf node device may directly forward the virtual LAN identifier in the user message coming from the AC side without performing any additional processing.

[0053] An exemplary embodiment of the present disclosure provides a message forwarding method applied to a second leaf node device, the second leaf node device is located at the service side of the EVPN, the EVPN also includes a first leaf node device, the first leaf node device is located at the access side of the EVPN, such as Figure 4 As shown, the process specifically includes the following steps S410 to S420:

[0054] Step S410, obtaining routing information corresponding to the UMR sent by the first leaf node device, where the UMR is configured by the first leaf node device for VPLS;

[0055] Step S420: If a user message forwarded by the first leaf node device is received, the user message is forwarded by searching for routing information corresponding to the UMR. The user message carries a service payload, a virtual local area network identifier, and a media access control header when forwarded.

[0056] The above message forwarding process optimizes the message forwarding process without changing the network architecture, and has good compatibility. On the one hand, the UMR is configured for VPLS through the first leaf node device, and the routing information corresponding to the UMR is forwarded to the second leaf node device, so that the leaf node device does not need to learn a large number of MAC routes, and the requirements for device capacity and device performance are low, which can reduce the hardware resource requirements required for message forwarding and reduce device performance overhead; on the other hand, by carrying the virtual LAN identifier in the user message, it can avoid the need for a large number of broadcast message replications due to the inability to distinguish VLANs during message forwarding, which reduces the network broadcast domain to a certain extent and reduces the device performance overhead and communication overhead.

[0057] The following are Figure 4 Each step in the procedure is described in detail.

[0058] Step S410, obtaining routing information corresponding to the UMR sent by the first leaf node device, where the UMR is configured by the first leaf node device for VPLS.

[0059] VPLS is a service provided by a packet switching network, which can provide users with dedicated LAN interconnection services. The UMR can be a route configured by the first leaf node device for the VPLS on the first leaf node device.

[0060] The second leaf node device can obtain the routing information corresponding to the UMR published by the first leaf node from the first leaf node device or the RR device. When the second leaf node device obtains the UMR route, it can synchronize the routing information corresponding to the UMR with the first leaf node device through the BGP protocol. In this process, the RR device is unaware of the user's MAC, which can avoid the second leaf node device needing to learn a large number of MAC routes, resulting in excessive pressure on the MAC routing table, thereby reducing the occupancy of hardware resources.

[0061] For example, Figure 3 As shown, the S-leaf node device can obtain a configured default media access control route UMR from the A-leaf node device.

[0062] Step S420: If a user message forwarded by the first leaf node device is received, the user message is forwarded by searching for routing information corresponding to the UMR. The user message carries a service payload, a virtual local area network identifier, and a media access control header when forwarded.

[0063] For example, Figure 3 As shown, the user message can carry information such as service payload, virtual LAN identifier and media access control header during the forwarding process.

[0064] The service payload here refers to the user data part of the transmission forwarding. Since VPLS needs to forward according to the media access control header, the user message can carry the media access control header information here to facilitate the forwarding processing of the user message. The virtual local area network identifier can be used to distinguish the virtual local area network. Exemplarily, when the message data of VLAN 10 is forwarded between the first leaf node device and the second leaf node device, the VLAN 10 information can be carried.

[0065] In an optional implementation manner, the above-mentioned forwarding of the user message by searching for routing information corresponding to the UMR can be achieved in the following manner: forwarding the user message to the broadband remote access server BRAS by searching for routing information corresponding to the UMR.

[0066] like Figure 3 As shown, the S-leaf node device can forward user message data to the broadband access server BRAS so as to access the user to the core network.

[0067] The above process can reduce the duplication of network broadcast messages by forwarding user messages to the BRAS device in combination with the UMR route, thereby reducing the performance overhead and communication overhead of the UMR route accessing the BRAS device.

[0068] The user message can be forwarded to the BRAS through the AC interface. The user message can carry information such as service payload, virtual local area network identifier, media access control header, etc. when forwarding. For example, Figure 3 As shown, the S-leaf node device can forward the user message carrying the service payload, the virtual local area network identifier, and the media access control header to the broadband access server BRAS through the access link interface (AC interface).

[0069] In addition, when the second leaf node device forwards the user message from the AC side, it can search for the corresponding virtual LAN according to the virtual LAN identifier carried in the user message to forward the user message, and does not perform broadcast processing on other messages to reduce network broadcast message duplication.

[0070] The above-mentioned message forwarding method can be applied to scenarios where EVPN services are deployed in the network, including but not limited to SRv6 (Segment Routing IPv6, segment routing based on IPv6), SR (Segement Routing), MPLS (Multi-Protocol Label Switching) and other application scenarios.

[0071] like Figure 5As shown, a network topology diagram under an SRv6 application scenario is provided. An optical line terminal OLT can be responsible for forwarding message data of multiple user terminals. The message data of a user can be forwarded through the same port of the optical line terminal OLT, or through different ports of the optical line terminal OLT. After obtaining the user message carrying the service payload, virtual LAN identifier, and media access control header, the A-leaf node device can forward the user message to the S-leaf node device through the route reflector RR or the virtual route reflector VRR. It should be noted that before forwarding the user message, the A-leaf node device can notify the S-leaf node device of the default media access control route UMR. After receiving the user message, the S-leaf node device can forward the user message to the broadband remote access server BRAS according to the virtual LAN identifier and the default media access control route UMR carried in the user message. The broadband remote access server BRAS can correspond to multiple user plane UP pools.

[0072] exist Figure 5 In the present invention, the default media access control route UMR of EVPN VPLS and the virtual LAN identifier carried by the forwarding plane are combined, and the one-to-one correspondence of the forwarding of multiple virtual LAN identifier messages is realized through a single route of the control plane, thereby reducing the network broadcast domain.

[0073] The exemplary embodiment of the present disclosure also provides a message forwarding device applied to a first leaf node device, the first leaf node device is located at the access side of the Ethernet virtual private network EVPN, the EVPN also includes a second leaf node device, the second leaf node device is located at the service side of the EVPN, such as Figure 6 As shown, the message forwarding device 600 may include:

[0074] The routing information forwarding module 610 is used to configure a default media access control route UMR for the virtual private local area network service VPLS, and send routing information corresponding to the UMR to the second leaf node device;

[0075] The first message forwarding module 620 is used to forward the user message to the second leaf node device if the user message is obtained, so that the second leaf node device forwards the user message by searching the routing information corresponding to the UMR. The user message carries the service payload, virtual LAN identifier, and media access control header when forwarding.

[0076] In an optional implementation manner, the user message is obtained from the optical line terminal OLT through an access link AC interface.

[0077] In an optional implementation, the upper routing information forwarding module 610 may be configured to send routing information corresponding to the UMR to the second leaf node device via the Border Gateway Protocol BGP.

[0078] The exemplary embodiment of the present disclosure also provides a message forwarding device applied to a second leaf node device, the second leaf node device is located at the service side of the EVPN, and the EVPN also includes a first leaf node device, the first leaf node device is located at the access side of the EVPN, such as Figure 7 As shown, the message forwarding device 700 may include:

[0079] The routing information acquisition module 710 is used to acquire routing information corresponding to the UMR sent by the first leaf node device, where the UMR is configured by the first leaf node device for VPLS;

[0080] The second message forwarding module 720 is used to forward the user message by searching the routing information corresponding to the UMR if the user message forwarded by the first leaf node device is received. The user message carries the service payload, virtual LAN identifier, and media access control header when forwarding.

[0081] In an optional implementation, the second message forwarding module 720 may be configured to forward the user message to the broadband remote access server BRAS by searching for routing information corresponding to the UMR.

[0082] In an optional implementation manner, the user message is forwarded to the broadband access server BRAS through the AC interface.

[0083] The specific details of each part of the above-mentioned message forwarding device 600 and message forwarding device 700 have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, and thus will not be repeated here.

[0084] The exemplary embodiments of the present disclosure also provide a computer-readable storage medium on which a program product capable of implementing the message forwarding method described above in this specification is stored. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps described in the above "Exemplary Method" section of this specification according to various exemplary embodiments of the present disclosure.

[0085] The program product may be in the form of a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on an electronic device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0086] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0087] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0088] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0089] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0090] The exemplary embodiment of the present disclosure also provides an electronic device capable of implementing the above-mentioned message forwarding method. Figure 8 800 according to this exemplary embodiment of the present disclosure will be described. Figure 8 The electronic device 800 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0091] like Figure 8 As shown, the electronic device 800 may be in the form of a general-purpose computing device. The components of the electronic device 800 may include, but are not limited to: at least one processing unit 810, at least one storage unit 820, a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810), and a display unit 840.

[0092] The storage unit 820 stores program codes, which can be executed by the processing unit 810, so that the processing unit 810 executes the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 810 can execute Figure 1 , Figure 2 , Figure 4 Any one or more method steps.

[0093] The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 821 and / or a cache memory unit 822 , and may further include a read-only memory unit (ROM) 823 .

[0094] The storage unit 820 may also include a program / utility 824 having a set (at least one) of program modules 825, such program modules 825 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0095] Bus 830 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0096] The electronic device 800 may also communicate with one or more external devices 900 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 800, and / or any device that enables the electronic device 800 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 850. Furthermore, the electronic device 800 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 860. Figure 8 As shown, the network adapter 860 communicates with other modules of the electronic device 800 via the bus 830. It should be understood that although Figure 8 Not shown, other hardware and / or software modules may be used in conjunction with electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0097] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the exemplary implementation of the present disclosure.

[0098] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiment of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0099] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0100] It will be appreciated by those skilled in the art that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or implementations combining hardware and software aspects, which may be collectively referred to herein as "circuit", "module" or "system". Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any variations, uses or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and implementation are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0101] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A message forwarding method, It is characterized in that Applied to a first leaf node device, the first leaf node device is located at an access side of an Ethernet virtual private network EVPN, the EVPN further includes a second leaf node device, the second leaf node device is located at a service side of the EVPN, the method includes: Configuring a default media access control route UMR for a virtual private local area network service VPLS, and sending routing information corresponding to the UMR to the second leaf node device through a border gateway protocol BGP; If a user message is obtained, the user message is forwarded to the second leaf node device, so that the second leaf node device forwards the user message by searching for the routing information corresponding to the UMR. The user message carries the service payload, virtual LAN identifier, and media access control header when forwarding; wherein, when the second leaf node device forwards the user message in the direction of the AC side of the access link, it searches for the corresponding virtual LAN for the virtual LAN identifier carried in the user message to forward the user message, and no other broadcast processing is performed.

2. The method according to claim 1, It is characterized in that The user message is obtained from the optical line terminal OLT through the access link AC interface.

3. A message forwarding method, It is characterized in that Applied to a second leaf node device, the second leaf node device is located on a service side of an EVPN, the EVPN further includes a first leaf node device, the first leaf node device is located on an access side of the EVPN, the method comprising: Obtaining routing information corresponding to the UMR sent by the first leaf node device through the border gateway protocol BGP, where the UMR is configured by the first leaf node device for VPLS; If a user message forwarded by the first leaf node device is received, the user message is forwarded by searching the routing information corresponding to the UMR, and the user message carries the service payload, the virtual LAN identifier, and the media access control header when forwarding; wherein, when the second leaf node device forwards the user message in the direction of the AC side of the access link, it searches for the corresponding virtual LAN for the virtual LAN identifier carried in the user message to forward the user message, and no other broadcast processing is performed.

4. The method according to claim 3, It is characterized in that The forwarding of the user message by searching for routing information corresponding to the UMR includes: The user message is forwarded to a broadband remote access server BRAS by searching for routing information corresponding to the UMR.

5. The method according to claim 4, It is characterized in that The user message is forwarded to the BRAS through the AC interface.

6. A message forwarding device, It is characterized in that Applied to a first leaf node device, the first leaf node device is located at an access side of an Ethernet virtual private network EVPN, the EVPN further includes a second leaf node device, the second leaf node device is located at a service side of the EVPN, the apparatus includes: A routing information forwarding module, used for configuring a default media access control route UMR for a virtual private local area network service VPLS, and sending routing information corresponding to the UMR to the second leaf node device; The first message forwarding module is used to forward the user message to the second leaf node device through the border gateway protocol BGP if the user message is obtained, so that the second leaf node device forwards the user message by searching the routing information corresponding to the UMR, and the user message carries the service payload, virtual LAN identifier, and media access control header when forwarding; wherein, when the second leaf node device forwards the user message in the direction of the AC side of the access link, it searches for the corresponding virtual LAN for the virtual LAN identifier carried in the user message to forward the user message, and does not perform other broadcast processing.

7. A message forwarding device, It is characterized in that Applied to a second leaf node device, the second leaf node device is located at a service side of an EVPN, the EVPN further includes a first leaf node device, the first leaf node device is located at an access side of the EVPN, the apparatus includes: A routing information acquisition module, used to acquire routing information corresponding to the UMR sent by the first leaf node device through the border gateway protocol BGP, wherein the UMR is configured by the first leaf node device for VPLS; The second message forwarding module is used to forward the user message by searching the routing information corresponding to the UMR if the user message forwarded by the first leaf node device is received. The user message carries the service payload, the virtual LAN identifier, and the media access control header when forwarded. When the second leaf node device forwards the user message in the direction of the AC side of the access link, it searches for the corresponding virtual LAN for the virtual LAN identifier carried in the user message to forward the user message, and no other broadcast processing is performed.

8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

9. An electronic device, It is characterized in that include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 5 by executing the executable instructions.