CN112422398B - Message transmission method and communication device - Google Patents

Message transmission method and communication device Download PDF

Info

Publication number
CN112422398B
CN112422398B CN202011423837.9A CN202011423837A CN112422398B CN 112422398 B CN112422398 B CN 112422398B CN 202011423837 A CN202011423837 A CN 202011423837A CN 112422398 B CN112422398 B CN 112422398B
Authority
CN
China
Prior art keywords
olt
bras
gateway device
identifier
gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011423837.9A
Other languages
Chinese (zh)
Other versions
CN112422398A (en
Inventor
王泽林
王光全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202011423837.9A priority Critical patent/CN112422398B/en
Publication of CN112422398A publication Critical patent/CN112422398A/en
Application granted granted Critical
Publication of CN112422398B publication Critical patent/CN112422398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a message transmission method and a communication device, relates to the technical field of communication, and is used for ensuring normal transmission of messages between gateway equipment and a BRAS. The method is applied to a gateway device, the gateway device is bridged with a plurality of BRASs through EVPN-VPLS, and is previously bridged with each OLT device in a plurality of OLT devices through EVPN-VPWS, and the method comprises the following steps: the gateway equipment receives a first request message from a first OLT equipment in a plurality of OLT equipment, wherein the first request message comprises address information of a target BRAS, and the target BRAS is one of the plurality of BRAS; and the gateway equipment sends the first request message to the target BRAS according to the address information of the target BRAS and a preset corresponding relation used for determining a transmission path between the gateway equipment and the target BRAS. The embodiment of the application is applied to a message transmission process.

Description

Message transmission method and communication device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a message transmission method and a communication device.
Background
In the field of convergence of fixed networks and mobile networks, a Broadband Remote Access Server (BRAS) is generally deployed according to regional distribution, and a gateway device connected with the BRAS needs to learn the MAC address of a user device in the region. After BRAS pooling, an area may deploy multiple BRAS pools, each of which may include MAC addresses of multiple user devices (e.g., routers). For example, there may be millions of user devices in an area, and the multiple BRAS pools deployed in the area may include MAC addresses of millions of user devices. How to ensure the normal transmission of the message between the gateway device and the BRAS becomes an urgent problem to be solved.
Disclosure of Invention
The application provides a message transmission method and a communication device, which are used for ensuring the normal transmission of messages between gateway equipment and a BRAS.
In order to achieve the purpose, the following technical scheme is adopted in the application:
in a first aspect, a message transmission method is provided, where the message transmission method is applied to a gateway device, and the gateway device is bridged with multiple BRASs through EVPN-VPLS and previously bridged with each OLT device in multiple OLT devices through EVPN-VPWS, and the method includes: the gateway equipment receives a first request message from a first OLT equipment in a plurality of OLT equipment, wherein the first request message comprises address information of a target BRAS, and the target BRAS is one of the plurality of BRAS; and the gateway equipment sends the first request message to the target BRAS according to the address information of the target BRAS and a preset corresponding relation used for determining a transmission path between the gateway equipment and the target BRAS.
Based on the technical scheme provided by the application, the gateway device is bridged with the BRAS through VPN-VPLS, and is bridged with each OLT in the OLT devices through VPN-VPWS. Equivalently, a plurality of transmission paths have been established between the GW and a plurality of BRAS and a plurality of OLT devices. Therefore, after receiving the request message of the OLT device, the gateway device only needs to determine the transmission path between the gateway device and the target BRAS according to the address information (such as MAC address) of the BRAS carried in the request message, and then transmits the request message to the BRAS through the transmission path, so that the normal transmission of the message between the gateway device and the BRAS is ensured, and the method is timely and efficient.
In a second aspect, a communication apparatus is provided, which is applied to a gateway device or a chip or a system on chip in the gateway device, and may also be a functional module in the gateway device for implementing the method according to any possible design of the first aspect or the first aspect. The communication means may implement the functions performed by the gateway device in the aspects or possible designs described above, which may be implemented by hardware executing the corresponding software. The hardware or software comprises one or more modules corresponding to the functions. Such as: the communication device includes a processing unit and a communication unit.
The communication unit is used for receiving a first request message from a first OLT device in the plurality of OLT devices, wherein the first request message comprises address information of a target BRAS, and the target BRAS is one of the plurality of BRASs;
the communication unit is also used for sending the first request message to the target BRAS according to the address information of the target BRAS and the preset corresponding relation used for determining the transmission path between the gateway equipment and the target BRAS.
The specific implementation manner of the communication apparatus may refer to the first aspect or a behavior function of the gateway device in the message transmission method provided by any possible design of the first aspect, and will not be described repeatedly herein. Thus, the communication device provided may achieve the same advantageous effects as the first aspect or any of the possible designs of the first aspect.
In a third aspect, a communication apparatus is provided, which may be a gateway device or a chip or a system on chip in the gateway device. The communication apparatus may implement the functions performed by the gateway device in the above aspects or possible designs, and the functions may be implemented by hardware, such as: in one possible design, the communication device may include: a processor and a communications interface, the processor being operable to support a communications device to implement the functionality referred to in the first aspect above or in any one of the possible designs of the first aspect, for example: the processor is configured to receive a first request message from a first OLT device of the plurality of OLT devices via the communication interface.
In yet another possible design, the communication device may further include a memory for storing computer-executable instructions and data necessary for the communication device. The processor executes the computer executable instructions stored by the memory when the communication device is operating to cause the communication device to perform the message transmission method of the first aspect or any one of the possible designs of the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, which may be a readable non-volatile storage medium, and which stores a computer instruction or a program, which when executed on a computer, enables the computer to perform the message transmission method according to the first aspect or any one of the above possible designs.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the message transmission method of the first aspect described above or any one of the possible designs of the above aspects.
In a sixth aspect, a communication apparatus is provided, which may be a gateway device or a chip or system on a chip in a gateway device, and includes one or more processors and one or more memories. The one or more memories are coupled to the one or more processors for storing computer program code comprising computer instructions which, when executed by the one or more processors, cause the gateway device to perform the message transmission method as set forth in the first aspect above or any possible design of the first aspect.
In a seventh aspect, a chip system is provided, where the chip system includes a processor and a communication interface, and the chip system may be configured to implement the function performed by the gateway device in the first aspect or any possible design of the first aspect, for example, where the processor is configured to receive a service request from a terminal device through the communication interface. In one possible design, the system-on-chip further includes a memory to hold program instructions and/or data. The chip system may be formed by a chip, and may also include a chip and other discrete devices, without limitation.
For technical effects brought by any design manner of the second aspect to the seventh aspect, reference may be made to the technical effects brought by the first aspect or any possible design of the first aspect, and details are not repeated.
Drawings
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of another communication system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of another communication system according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a communication device 400 according to an embodiment of the present disclosure;
fig. 5 is a schematic flowchart of a message transmission method according to an embodiment of the present application;
fig. 6 is a flowchart illustrating another message transmission method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a communication device 70 according to an embodiment of the present disclosure.
Detailed Description
Before describing the embodiments of the present application, the terms referred to in the embodiments of the present application are explained:
virtual Private Lan Service (VPLS) technology: refers to a point-to-multipoint two-Layer Virtual Private Network (L2 VPN) technology in the Network. The VPLS can enable geographically isolated devices to be communicatively connected to each other via a Metropolitan Area Network (MAN) or a Wide Area Network (WAN), and can enable the communication connection between the devices to be similar to that in one LAN.
VPLS techniques may provide two-layer VPN services. In a network applying VPLS technology, devices are connected by a multi-point network, which is different from a point-to-point (P2P) connection service provided by a traditional VPN.
In one example, in a network employing VPLS techniques, devices may learn message reachability through a media access control address (MAC) address. Each service provider network edge (PE) device in the network may have a MAC address table that may include MAC addresses of multiple devices.
To avoid the loop problem in the network, both layer networks require the Spanning Tree Protocol (STP) Protocol to be enabled. In a network applying VPLS, the mode of full connection and horizontal split forwarding can be used to avoid using STP protocol of VPLS private network side on Internet Service Provider (ISP). The method for avoiding the loop of the network applying the VPLS comprises the following steps:
1. the PE devices are logically fully connected (PW). That is, each PE device needs Wie to create a tree per VPLS forwarding instance to the other PE devices under that instance.
2. Each PE device supports a horizontal split strategy to avoid loops. That is, the PE devices cannot forward messages between PWs having the same VSI (because each PE device is directly connected in the same VSI), that is, a data packet received from the PW on the public network side is not forwarded to other PWs, but only forwarded to the PW on the private network side.
Virtual Private Wire Service (VPWS) technology: refers to a point-to-point L2VPN technology provided in a packet switched network. The VPWS technology allows a connection between two devices to be used as if it were a direct line connection.
For example, providing VPWS techniques may use a unique virtual link identifier (VCID) for the same type of port of two PE devices. The two PE devices may perform data transmission through a Label Switched Path (LSP). The VCID may be a number or a character, or a combination of a number and a character, for example, 10061, 1060a, without limitation.
In an example, as shown in fig. 1, an MPLS network provided in an embodiment of the present application is shown. The devices in the MPLS network may have been previously communicatively connected based on VPWS techniques. For example, a plurality of Customer Edge (CE) routers (e.g., CE router 1, CE router 2) and a plurality of PE devices (e.g., PE device 1, PE device 2) are included. The CE router 1 is in communication connection with the PE device 1, and the CE router 2 is in communication connection with the PE device 2. For example, CE router 1 may be communicatively coupled to PE device 1 via an access link (AC) 1, and CE router 2 may be communicatively coupled to PE device 2 via an access link (AC) 2. The PE device 1 and the PE device may be connected by LSP tunnel communication.
The following will briefly describe the packet transmission process between the CE router 1 and the CE router 2, taking the example that the CE router 1 transmits data to the CE router 2:
s1, the CE router encapsulates the original packet to obtain a first data packet, and sends the first data packet to the PE device 1.
The original packet may refer to a packet from CE router 1 to CE router 2. The packet encapsulation method of the CE router may include Virtual Local Area Network (VLAN) access and Ethernet (Ethernet) access.
In one example, to determine the port on which the PE device 1 sends the first packet, the first packet may carry a virtual local area network TAG (VLAN-TAG).
S2, after receiving the first data packet from the CE router 1, the PE device 1 may encapsulate the encapsulated packet again to obtain a second data packet.
The second encapsulation of the first packet by the PE device 1 may mean that the PE device 1 may mark the first packet with two layers. For example, the PE device 1 may mark the first packet with an outer label and an inner label. The outer label may be used to indicate the transmission path from the PE device 1 to the PE device 2, for example, the outer label may be a label of a tunnel between the PE device 1 and the PE device 2. The inner layer flag may be used to indicate the port of the PE device 1 and the port of the PE device 2 corresponding to the transmission path. For example, the inner layer flag may be a virtual link (PW) flag.
In one example, the PE device 1 may determine a tunnel label and a virtual link label corresponding to the VCID from the matching VCID. For example, the PE device 1 may be preset with a Virtual Switch Instance (VSI) entry, where the VSI entry may include a correspondence between the VCID and the tunnel tag and the virtual link tag. The PE device 1 may determine the tunnel flag and the virtual link flag corresponding to the VCID through the correspondence.
S3, the PE device 1 sends the second packet to the PE device 2. Accordingly, the PE device 2 receives the second packet from the PE device 1.
For example, the PE device 1 may send the second packet to the PE device 2 according to the transmission path (tunnel) corresponding to the outer layer flag in S2.
And S4, the PE device 2 decapsulates the second data packet to obtain an original message.
The decapsulating processing performed by the PE device 2 on the second data may refer to the PE device 2 removing the inner layer flag and the outer layer flag of the second data packet. The second data packet is subjected to decapsulation processing to obtain an original message.
S5, the PE device 2 sends the original packet to the CE router 2. Accordingly, the CE router 2 receives the original packet from the PE device 2.
Hierarchical VPLW (Hierarchical-VPLWW, H-VPLS): H-VPLS is a networking mode. In the VPLS technique, PE devices are all connected, so the relationship between the number of PWs of a VPLS instance and the number of PE devices is: the number of PW was equal to the number of PE × (number of PE-1)/2. Under the condition of large VPLS network scale, the number of PW is very large, PW signaling overhead is very large, and network management and expansion become complex. In order to simplify network management and improve network expansibility, a networking mode of an H-VPLS is introduced.
The H-VPLS may divide PE devices into UPE and NPE. The UPE is mainly used as a multi-tenant unit (MTU) for accessing the VPN by the user and is used for connecting the CE router and the service provider network; the network-oriented PE equipment (NPE) is positioned at the edge of a core domain of the VPLS network and provides a transparent transmission service of user messages on the core network. The user facing PE device (UPE) does not need to establish full connection with all NPEs, but only needs to establish full connection between NPEs. The H-VPLS reduces the number of PW and the burden of PW signaling through classification.
Ethernet Virtual Private Network (EVPN) architecture: the EVPN architecture is proposed by referring to the architecture of BGP/MPLS L3 VPN (RFC4364) on the basis of the existing Border Gateway Protocol (BGP) VPLS (RFC4761) scheme. The EVPN control layer is MP-BGP, and EVPN can be considered as an application built on MP-BGP. EVPN is not just a technology and architecture, it also has a definition of application scenarios. More specifically, EVPN not only defines an improvement scheme of L2VPN, but also defines behaviors in various application scenarios, such as multi-homing (multi-homing), fast convergence (fast convergence), auto-discovery (auto-discovery), MAC migration (MAC mobility), and the like.
The control layer of EVPN is used for the transfer of MAC forwarding information and the writing of MAC-Virtual routing forwarding table (MAC-VRF). Inside EVPN, MAC forwarding information is transmitted through the control plane. This is the most core difference between EVPN and VPLS. MP-BGP is an extension of BGP-4, and MP-BGP in EVPN is also an IBGP in essence. EVPN defines its own address family (AFI 25, SAFI 70) in MP-BGP. Under this address family, different Network Layer Reachability Information (NLRI) is defined. And the PE device writes the MAC forwarding information to the opposite-end PE device through the MP-BGP. The forwarding layer may forward the packet in any one of three manners, i.e., multi-protocol label switching (MPLS), Provider Backbone Bridging (PBB), and virtual extensible local area network (VXLAN).
As can be seen from the above description, the VPWS technique is a point-to-point transparent transmission technique, and does not need to be based on MAC address forwarding. Therefore, the VPWS technology can ensure the safe and reliable transmission of message forwarding. However, the VPWS technology has certain limitation, is suitable for special line bearing and is not suitable for a TREE/LAN model service model.
The VPLS technology is a multipoint-to-multipoint service bearing technology and is also suitable for the point-to-multipoint TREE service. VPLS techniques rely on MAC address forwarding. However, the VPLS technique has certain risks, such as high requirements on MAC performance indicators of devices in the network, risk of broadcast loops, and DDOS attack risk, which are disadvantageous to network security. In order to reduce the influence of the risk on the network, a networking model based on the H-VPLS technology is introduced based on the VPLS technology, and the networking model based on the H-VPLS technology reduces the safety influence of MAC forwarding on the network to a certain extent, but cannot thoroughly solve the problem.
As BRAS pooling speeds up, communications carriers have all chosen to be able to carry BRAS traffic via full Service Router (SR)/EVPN based forwarding technology. Such as EVPN-VPLS techniques. Devices connected based on EVPN-VPLS technology all need to learn MAC addresses. And only one device on one side of the two devices connected based on the H-VPLS technology needs to learn the MAC address.
In the SR/EVPN forwarding technology, L2 EVPN also defines EVPN-VPWS and EVPN-VPLS forwarding models, corresponding to the conventional MPLS VPN VPWS technology and VPLS technology. However, as the BGP protocol is adopted by the EVPN, the current standard has no traditional H-VPLS model, and only the modes of EVPN-VPWS bridging and EVPN-VPLS bridging can be adopted.
The EVPN-VPWS bridging is a point-to-point connection mode. EVPN-VPLS bridging is a point-to-multipoint connection. Both bridging methods can realize communication connection between devices.
In the field of convergence of fixed networks and mobile networks, a Broadband Remote Access Server (BRAS) is generally deployed according to regional distribution, and a gateway device connected with the BRAS needs to learn the MAC address of a user device in the region. After BRAS pooling, an area may deploy multiple BRAS pools, each of which may include MAC addresses of multiple user devices (e.g., routers). For example, there may be millions of user devices in an area, and the multiple BRAS pools deployed in the area may include MAC addresses of millions of user devices. The gateway device and other devices need to learn the MAC addresses of millions of user devices, which puts high demands on the gateway device and other devices.
In view of this, an embodiment of the present application provides a message transmission method, which is applied to a gateway device, where the gateway device is bridged with multiple BRASs through EVPN-VPLS, and the gateway device is bridged with multiple OLT devices through EVPN-VPLS. The method comprises the following steps: the gateway equipment receives a first request message from a first OLT equipment in a plurality of OLT equipment, wherein the first request message comprises address information of a target BRAS, and the target BRAS is one of the plurality of BRAS; and the gateway equipment sends the first request message to the target BRAS according to the address information of the target BRAS and a preset corresponding relation used for determining a transmission path between the gateway equipment and the target BRAS.
The target BRAS may refer to a primary BRAS or a designated BRAS. The primary BRAS may refer to a BRAS in a primary state. When the primary BRAS sends a fault, the standby BRAS can replace the original primary BRAS and is called as the primary BRAS. And the normal communication of data is ensured. Therefore, the OLT equipment can flexibly select a proper BRAS according to the main/standby states of a plurality of BRASs. The determination method of the primary and secondary BRAS may refer to the prior art and is not described in detail.
It should be noted that, the gateway device is bridged with multiple BRASs through EVPN-VPLS, and is bridged with multiple OLT devices through EVPN-VPLS, as shown in fig. 2, and in fig. 2, the gateway device may have multiple first ports (e.g., first port 1, first port 2, and first port 3 in fig. 2), and one or more second ports (e.g., second port 1). The plurality of first ports and the at least one second port may be physical ports or virtual ports, without limitation. An OLT device may be coupled to each of the plurality of first ports. For example, the first port 1 is connected to the OLT apparatus 1, the first port 2 is connected to the OLT apparatus 2, and the first port 3 is connected to the OLT apparatus 3. Each of the at least one second port has a plurality of BRAS connected thereto. For example, the second port 2 may be connected with the BRAS1 and BRAS2, respectively.
It should be noted that, compared with the VPWS scheme of the conventional L2VPN, EVPN-VPWS bridging can simplify the control and data models, BGP is used as a unified control plane, the routing and next hop iteration functions of BGP are used to select a backbone network traffic path, and a PW does not need to be designated any more, which is more convenient for data transmission. The EVPN VPLS technology adopts MP-BGP to announce EVPN routing information at the control layer and adopts MPLS-encapsulated two-layer VPN technology at the data layer. EVPN-VPLS bridging may enable data plane and control plane separation. The separation of the data plane and the control plane can reduce the cost of network equipment and control software to a certain extent, and meanwhile, the network system can have expandability and reliability.
For example, the separation of the control plane and the forwarding plane enables the system design to be modularized, easy to maintain and convenient to expand. The forwarding plane may also continue to operate, for example, when the control plane of the network system temporarily fails. Therefore, the original service in the network system is not influenced by the system fault, and the reliability of the whole network system is improved.
Based on the technical scheme provided by the embodiment of the application, the gateway device is bridged with the plurality of BRASs through the VPN-VPLS, and is bridged with each OLT in the plurality of OLT devices through the VPN-VPWS. Equivalently, a plurality of transmission paths have been established between the GW and a plurality of BRAS and a plurality of OLT devices. Therefore, after receiving the request message of the OLT device, the gateway device only needs to determine the transmission path between the gateway device and the target BRAS according to the address information (such as MAC address) of the BRAS carried in the request message, and then transmits the request message to the BRAS through the transmission path, so that the normal transmission of the message between the gateway device and the BRAS is ensured, and the method is timely and efficient.
Further, EVPN-VPLS bridging with BRAS through gateway device, and RVPN-VPWS bridging with multiple OLT devices. In the communication system, only the gateway equipment needs MAC learning, and other equipment does not need MAC learning, so that the safety of the communication system is improved.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
The message transmission method provided by the embodiment of the present application may be used in any communication system supporting communication, which may be an optical fiber communication system, such as fiber to the x (FTTx); the mobile communication system defined by the 3rd generation partnership project (3 GPP), such as a Long Term Evolution (LTE) communication system, a 5G mobile communication system, and other next generation communication systems, is not limited. The following describes a message transmission method provided in the embodiment of the present application, with reference to fig. 1 as an example.
It should be noted that the communication system described in the embodiment of the present application is for more clearly illustrating the technical solution of the embodiment of the present application, and does not constitute a limitation to the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows along with the evolution of the communication system and the appearance of other communication systems, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
Fig. 3 is a schematic diagram illustrating a communication system according to an embodiment of the present application. As shown in fig. 3, the communication system may include one or more gateway devices (e.g., gateway device 1, gateway device 2), one or more BRAS (e.g., BRAS1, BRAS2), and OLT devices (e.g., OLT device 1, OLT device 2) communicatively coupled to the one or more gateway devices. Each OLT device is further connected with one or more user devices (e.g., the OLT device 1 is connected with a user device 1, a user device 2, and a user device 3).
The gateway device may be configured to complete conversion of a network protocol and routing forwarding of a packet.
BRAS may be used to provide broadband services to user equipment. A BRAS may also be a multi-service edge router (MSE).
The OLT equipment is important local side equipment, can be connected with a front-end (convergence layer) switch through a network cable, is converted into an optical signal, and is interconnected with an optical splitter of user equipment through a single optical fiber; the control, management and ranging of the user equipment are realized.
The user equipment may be a router or the like, and may be configured to provide data, IPTV (i.e., interactive network television), voice, and other services for the user terminal. The UE may be a UE, a Mobile Station (MS), a Mobile Terminal (MT), or the like. Specifically, the Terminal device may be a mobile phone (mobile phone), a Personal Computer (PC), a Terminal Controller (TC), a tablet PC or a computer with a wireless transceiving function, or may be a Virtual Reality (VR) device, an Augmented Reality (AR) device, a wireless Terminal in industrial control, a wireless Terminal in unmanned driving, a wireless Terminal in telemedicine, a wireless Terminal in a smart grid, a wireless Terminal in a smart city (smart city), a smart home, a vehicle-mounted Terminal, or the like. Without limitation.
It should be noted that fig. 3 is only an exemplary framework diagram, the number of the BRAS, the gateway device, the OLT device, and the user equipment included in fig. 3 is not limited, the names of the respective devices are not limited, and other devices may be included in addition to the above devices. For example, multiple core devices and multiple edge devices may also be included. The connection mode of the above devices can be as shown in fig. 3, and is not described in detail. The functions of the above devices can refer to the prior art, and are not described in detail.
The embodiment of the present application does not limit an application scenario of the gateway device. The system architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person of ordinary skill in the art knows that along with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
In a specific implementation, the apparatuses in fig. 1, 2 and 3 may adopt the composition structure shown in fig. 4, or include the components shown in fig. 4. Fig. 4 is a schematic composition diagram of a communication apparatus 400 according to an embodiment of the present application, where the communication apparatus 400 may be a gateway device or a chip or a system on a chip in the gateway device. Alternatively, the communication device 400 may be a VSGW or a chip in a VSGW or a system on a chip. As shown in fig. 4, the communication device 400 includes a processor 401, a communication interface 402, and a communication line 403.
Further, the communication device 400 may also include a memory 404. The processor 401, the memory 404 and the communication interface 402 may be connected by a communication line 403.
The processor 401 is a Central Processing Unit (CPU), a general purpose processor Network (NP), a Digital Signal Processor (DSP), a microprocessor, a microcontroller, a Programmable Logic Device (PLD), or any combination thereof. The processor 401 may also be other means having processing functionality, such as, without limitation, a circuit, a device, or a software module.
A communication interface 402 for communicating with other devices or other communication networks. The other communication network may be an ethernet, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), or the like. The communication interface 403 may be a module, a circuit, a communication interface, or any device capable of enabling communication.
A communication line 403 for transmitting information between the respective components included in the communication apparatus 400.
A memory 404 for storing instructions. Wherein the instructions may be a computer program.
The memory 404 may be a read-only memory (ROM) or other types of static storage devices that can store static information and/or instructions, a Random Access Memory (RAM) or other types of dynamic storage devices that can store information and/or instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disc storage medium or other magnetic storage devices, and the like, without limitation.
It is noted that the memory 404 may exist separately from the processor 401 or may be integrated with the processor 401. The memory 404 may be used for storing instructions or program code or some data or the like. The memory 404 may be located within the communication device 400 or may be located outside the communication device 400, without limitation. A processor 401 for executing the instructions stored in the memory 404 to implement the measurement method provided by the following embodiments of the present application.
In one example, processor 401 may include one or more CPUs, such as CPU0 and CPU1 in fig. 4.
As an alternative implementation, the communication device 400 includes multiple processors, for example, the processor 407 may be included in addition to the processor 401 in fig. 4.
As an alternative implementation, the communication apparatus 400 further includes an output device 405 and an input device 406. Illustratively, the input device 406 is a keyboard, mouse, microphone, or joystick, among other devices, and the output device 405 is a display screen, speaker (spaker), among other devices.
It is noted that the communication apparatus 400 may be a desktop computer, a portable computer, a network server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system or a device with a similar structure as that in fig. 4. Further, the constituent structure shown in fig. 4 does not constitute a limitation of the terminal device, and the terminal device may include more or less components than those shown in fig. 4, or combine some components, or a different arrangement of components, in addition to the components shown in fig. 4.
In the embodiment of the present application, the chip system may be composed of a chip, and may also include a chip and other discrete devices.
In addition, acts, terms, and the like referred to between the embodiments of the present application may be mutually referenced and are not limited. In the embodiment of the present application, the name of the message exchanged between the devices or the name of the parameter in the message, etc. are only an example, and other names may also be used in the specific implementation, which is not limited.
In the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same or similar items having substantially the same function and action. For example, the first terminal and the second terminal are only used for distinguishing different terminals, and the sequence order thereof is not limited. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
It is noted that, in the present application, words such as "exemplary" or "for example" are used to mean exemplary, illustrative, or descriptive. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
The following describes a positioning method provided in an embodiment of the present application with reference to the communication system shown in fig. 1. In the following description, the terms and the like used in the embodiments of the present application are not limited to the specific embodiments described above. In the embodiment of the present application, the name of the message exchanged between the devices or the name of the parameter in the message, etc. are only an example, and other names may also be used in the specific implementation, which is not limited. The actions related to the embodiments of the present application are only an example, and other names may also be used in the specific implementation, for example: the term "comprising" in the embodiments of the present application may also be replaced by "carrying" or the like.
Fig. 5 provides a message transmission method for an embodiment of the present application, where the method may include:
step 501, the gateway device receives a first request message from a first OLT device.
The gateway device may be the gateway device in fig. 2 or fig. 3. For example, the gateway device 1 or the gateway device 2 in fig. 3 may be used, without limitation. The first OLT apparatus may be the OLT apparatus in fig. 2 or fig. 3. For example, the OLT apparatus 1 or the OLT apparatus 2 in fig. 3 may be used without limitation.
The first request message may be a request message from the user equipment. The user equipment may be the user equipment in fig. 3. For example, it may be user equipment 1, user equipment 2 or user equipment 2 in fig. 3, without limitation. The first request message may be for requesting first data. For example, the first request message may include address information (e.g. MAC address) of the target BRAS, and an IP address corresponding to the first data. Of course, the first request message may further include other information, for example, an identifier of the first OLT device and a VCID of the second port of the first OLT device, which is not limited. The VCID of the second port of the first OLT device may refer to the above description, and is not described in detail.
The target BRAS refers to the BRAS which receives the first request message. The target BRAS may be the BRAS of fig. 2 or fig. 3. For example, there may be no limitation to BRAS1 or BRAS2 in fig. 2.
Step 502, the gateway device sends a first request message to the target BRAS according to the address information of the target BRAS and the preset corresponding relation.
The preset corresponding relation can be used for determining a transmission path between the gateway device and the target BRAS. The preset correspondence may include the VCID of the second port, address information of the corresponding plurality of BRASs, and the VCID of the port. For example, the preset correspondence may be configured in the gateway device in a table form, or may be configured in the gateway device in an array form, without limitation. In one example, the preset correspondence relationship in the gateway device 1 may be as shown in table 1.
TABLE 1
Figure BDA0002823768340000131
It should be noted that the information in table 1 is only exemplary, the descriptions of the VCIDs 1 through 3 may refer to the above descriptions, and the VCIDs 1 through 3 may be the same VCID or different VCIDs, which is not limited. The MAC1 may be used to uniquely represent the BRAS 1. The MAC2 may be used to uniquely represent the BRAS 2. The preset corresponding relationship configured by the gateway device 2 may be as shown in table 1, which is not described in detail.
In a possible implementation manner, the gateway device may determine a transmission path between the gateway device and the target BRAS according to address information of the target BRAS carried in the first request message. For example, the gateway device may look up table 1 to determine the VCID of the port of the target BRAS that matches the VCID of the second port of the gateway device (which may be referred to as the target VCID for ease of description). The gateway device can confirm the transmission path between the gateway device and the target BRAS according to the VCID of the second port of the gateway device and the target VCID of the port of the target BRAS. The gateway device may send a first request message to the target BRAS over the transmission path.
Based on the technical scheme of fig. 5, the gateway device is bridged with a plurality of BRASs through VPN-VPLS, and is bridged with each OLT in a plurality of OLT devices through VPN-VPWS. Equivalently, a plurality of transmission paths have been established between the GW and a plurality of BRAS and a plurality of OLT devices. Therefore, after receiving the request message of the OLT device, the gateway device only needs to determine the transmission path between the gateway device and the target BRAS according to the address information (such as MAC address) of the BRAS carried in the request message, and then transmits the request message to the BRAS through the transmission path, so that the normal transmission of the message between the gateway device and the BRAS is ensured, and the method is timely and efficient.
With reference to the technical solution of fig. 5, as shown in fig. 6, in a possible implementation manner, before step 501, the method provided in the embodiment of the present application may further include:
step 601, the first OLT device receives a first request message from the user equipment.
The first OLT device and the first request message may refer to the description of step 501, and are not described in detail. The user equipment may be the user equipment in fig. 3. For example, when the first OLT apparatus is the OLT apparatus 1 in fig. 3, the user apparatus may be the user apparatus 1, the user apparatus 2, or the user apparatus 3 in fig. 3, which is not limited.
Step 602, the first OLT device sends a first request message to the gateway device.
Taking the user equipment as the user equipment 1 as an example, the user equipment 1 may send a first request message to the OLT apparatus 1 after receiving a request message of the user terminal.
It should be noted that, since the user equipment 1 and the OLT apparatus 1 are bridged by the EVPN-VPWS, that is, the user equipment 1 and the OLT apparatus 1 may have a direct transmission channel/path therebetween, and the user equipment 1 may send the first request information to the OLT apparatus 1 through the direct transmission channel/path.
For example, the user equipment 1 may determine, according to the VCID of the port of the user equipment 1, the VCID of the port of the OLT equipment 1 that matches the VCID. Further, the user equipment 1 may determine a transmission path between the user equipment 1 and the OLT equipment 1. The user equipment 1 may send a first request message to the OLT apparatus 1 via the transmission path.
For another example, the user equipment 1 may be previously provided with information of other devices connected to each of the plurality of ports of the user equipment 1. For example, the user equipment 1 is configured with a plurality of ports, port 1, port 2 and port 3 respectively. The port 1 is bridged with the first port 1 of the OLT apparatus 1, and the ports 2 and 3 are respectively bridged with other types of apparatuses, such as an optical splitter, an ONU apparatus, and the like. The user equipment 1 may determine, by the device information connected to each port, a port connected to the OLT device 1, and further send the first request information to the OLT device through the port.
Certainly, in this embodiment of the application, the user equipment 1 and the OLT equipment 1 may also perform message transmission according to a preset communication protocol, for example, the first request message may carry an identifier of the OLT equipment 1 or a verification identifier, and then flood the first request message. Thus, after receiving the first request message, the OLT device 1 may determine that the first request message is from the user device 1 according to the identifier or the verification identifier carried in the first request message. The identification of the OLT apparatus 1 and the authentication identification may be preset character strings or a combination of numbers and characters, without limitation.
It should be noted that, in the embodiment of the present application, when the BRAS redundancy protection is deployed, after a user equipment, an OLT equipment, and a gateway equipment are online (for example, powered on), an identifier of the user equipment, the OLT equipment, and the gateway equipment may be broadcasted to the BRAS through an ARP broadcast, so that the BRAS obtains a topology diagram of the equipment, and subsequent message forwarding is facilitated.
Based on the possible implementation mode, the OLT device can receive the request message of the user equipment through EVPN-VPWS bridging between the OLT device and the user equipment, so that the normal transmission of the message is ensured, and the safety of the message transmission is also ensured.
In another possible implementation manner, as shown in fig. 6, the method provided in the embodiment of the present application may further include:
step 603, the target BRAS acquires the first data.
The first data is data of the first request message. For example, the data may be picture data, video data, etc., without limitation.
In one example, the target BRAS may send a request message to a corresponding server according to an IP address in the first request message, so as to obtain the first data.
Step 604, the target BRAS sends a first message to the gateway equipment. Correspondingly, the gateway equipment receives a first message from the target BRAS.
Wherein the first message corresponds to the first request message. The correspondence between the first packet and the first request message may mean that the first packet carries data (e.g., first data) requested by the first request message. The first message further comprises a first identifier and a second identifier. The first identifier may be used to identify a first OLT device (e.g., OLT device 1), and the second identifier may be used to identify a user device (e.g., user device 1) corresponding to the first request message. Each OLT device may have a unique first identity and each user device may also have a unique second identity.
In one example, the first identifier may be a Service Virtual Local Area Network (SVLAN) identifier, and the second identifier may be a Client Virtual Local Area Network (CVLAN) identifier. For example, the target BRAS may perform double-layer encapsulation on the first data to obtain the first packet. The outer layer identifier of the first message may be an SVLAN identifier, and the inner layer identifier of the first message may be a CVLAN identifier.
It should be noted that, in the embodiment of the present application, service forwarding between the BRAS, the gateway device, the OLT device, and the user equipment is in a north-south direction, that is, service forwarding may not be performed between devices of the same type. For example, no traffic forwarding may be performed between the OLT apparatus 1 and the OLT apparatus 2.
Further, based on the schematic diagram of fig. 3, a plurality of gateway devices may be connected to each BRAS, for example, a primary BRAS and a secondary BRAS are respectively connected to the gateway device 1 and the gateway device 2. However, the gateway device 2 does not establish a communication connection with the OLT device 1 and the OLT device 2, and the sink device of the first message is the user device 1, that is, the target BRAS needs to send the first message to the user device 1 through the gateway device 1. In order to avoid that the gateway device 1 does not receive the first message, the target BRAS may flood the first message, that is, send the first message to all gateway devices connected to the target BRAS.
Step 605, the gateway device sends a first message to the first OLT device according to the first identifier. Correspondingly, the first OLT receives a first message from the gateway device.
The gateway device may be preset with a service forwarding table. The traffic forwarding table may be used to determine a transmission path between the gateway device and the first OLT device. For example, the traffic forwarding table may comprise information of a plurality of second ports of the gateway device and an identification of the OLT device to which each of the plurality of second ports is connected. The gateway device may search the service forwarding table according to the first identifier carried in the first packet, and determine a transmission path between the first OLT port and the gateway device. For example, the transmission path may comprise a port of the gateway device and a port of the first OLT device. In one example, the transmission path may be a VCID of a port of the network device and a VCID of a port of the first OLT device.
The service forwarding table may also be referred to as a Port + Svlan (Port + Svlan) forwarding table or an Access Controller (AC) forwarding table. The service forwarding table may be configured to the gateway device for the worker, or may be generated by the gateway device. Without limitation.
For example, the control plane of the gateway device receives the SVLAN identifier sent from each OLT device, and writes the SVLAN identifier of each OLT device into a preset table. And obtaining a service forwarding table based on the table and the identifier of the second port of the SVLAN of the OLT equipment received by the gateway equipment.
Further, the gateway device may send the traffic forwarding table to an OLT device connected to the gateway device. The OLT device may store the service forwarding table after receiving the service forwarding table. It should be noted that, when the gateway device sends the message to the OLT device, the forwarding of the message may be implemented based on the SVLAN identifier of the OLT device. Therefore, the gateway device does not need to learn the MAC address of the OLT device, nor does it need to broadcast the first message.
And step 606, the first OLT device sends the first data to the user equipment according to the second identifier. Accordingly, the user equipment receives the first data from the first OLT device.
After receiving the first message, the first OLT apparatus may perform outer layer decapsulation on the first message to obtain a message including the second identifier. For example, the first OLT device may strip the first identifier (that is, the outer identifier) of the first packet, and obtain the packet with the first identifier stripped. The message with the outer identifier stripped off may be a message including the second identifier.
In a possible implementation manner, the first OLT device may determine, according to the second identifier, a transmission path corresponding to the second identifier, where the other side of the transmission path is the user device corresponding to the first data. The first OLT apparatus may transmit the first data to the user equipment through the transmission path.
All the schemes in the above embodiments of the present application can be combined without contradiction.
In the embodiment of the present application, the gateway device may be divided into the functional modules or the functional units according to the above method examples, for example, each functional module or functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software functional module or a functional unit. The division of the modules or units in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of dividing each functional module according to each function, fig. 7 shows a schematic structural diagram of a communication device 70, where the communication device 70 may be a gateway device, and may also be a chip applied to the gateway device, and the communication device 70 may be configured to execute the functions of the gateway device in the above-described embodiments. The communication device 70 shown in fig. 7 may include: a processing unit 701 and a communication unit 702.
A processing unit 701, configured to control the communication unit 702 to receive the first request message from the first OLT apparatus.
The first request message is used for including the address information of the target BRAS.
The processing unit 701 is further configured to control the communication unit 502 to send a first request message to the target BRAS according to the address information of the target BRAS and a preset correspondence, where the preset correspondence is used to determine a transmission path between the gateway device and the BRAS.
The specific implementation manner of the communication device 70 may refer to the behavior function of the gateway device in the message transmission method shown in fig. 5 or fig. 6.
In one possible design, the communication device 50 shown in fig. 5 may further include a storage unit 503. The memory unit 503 is used for storing program codes and instructions.
In one possible design, the preset correspondence includes information of at least one first port of the gateway device and address information of a BRAS connected to the at least one first port.
In a possible design, the processing unit 501 is further configured to receive a first packet from a target BRAS, where the first packet corresponds to the first request message, and the first packet includes a first identifier, a second identifier, and first data, where the first identifier is used to identify the first OLT device, and the second identifier is used to identify a user device corresponding to the first request message. The processing unit 501 is further configured to control the communication unit 502 to send a first message to the first OLT device according to the first identifier, so that the first OLT device sends the first data to the user equipment according to the second identifier after receiving the first message.
In a possible design, the processing unit 701 is specifically configured to send a first message to the first OLT device according to the first identifier and a service forwarding table, where the service forwarding table is used to determine a transmission path between the first OLT device and the gateway device, and the service forwarding table includes information of a plurality of second ports of the gateway device and identifiers of a plurality of OLT devices connected to the plurality of second ports.
As yet another implementation, the processing unit 701 in FIG. 7 may be replaced by a processor, which may integrate the functions of the processing unit 701. The communication unit 702 in fig. 7 may be replaced by a transceiver or transceiver unit, which may integrate the functionality of the communication unit 702.
Further, when the processing unit 701 is replaced by a processor and the communication unit 702 is replaced by a transceiver or a transceiver unit, the communication device 70 according to the embodiment of the present application may be the communication device shown in fig. 4.
The embodiment of the application also provides a computer readable storage medium. All or part of the processes in the above method embodiments may be performed by relevant hardware instructed by a computer program, which may be stored in the above computer-readable storage medium, and when executed, may include the processes in the above method embodiments. The computer readable storage medium may be an internal storage unit of the communication device (including the data sending end and/or the data receiving end) of any previous embodiment, such as a hard disk or a memory of the communication device. The computer readable storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a Smart Memory Card (SMC), a Secure Digital (SD) card, a flash memory card (flash card), and the like, which are provided on the terminal device. Further, the computer-readable storage medium may include both an internal storage unit and an external storage device of the communication apparatus. The computer-readable storage medium stores the computer program and other programs and data required by the communication apparatus. The above-described computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
It should be noted that the terms "first" and "second" and the like in the description, claims and drawings of the present application are used for distinguishing different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more, "at least two" means two or three and three or more, "and/or" for describing an association relationship of associated objects, meaning that three relationships may exist, for example, "a and/or B" may mean: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A message transmission method applied to a gateway device, wherein the gateway device is bridged with a plurality of broadband remote access servers BRAS through an ethernet virtual private network-virtual private local area network service EVPN-VPLS, and the gateway device is bridged with each OLT device in a plurality of OLT devices through an ethernet virtual private network-virtual private line service EVPN-VPWS, wherein the method comprises the following steps:
the gateway equipment receives a first request message from first OLT equipment, wherein the first OLT is one of the plurality of OLTs, the first request message comprises address information of a target BRAS, and the target BRAS is one of the plurality of BRASs;
and the gateway equipment sends the first request message to the target BRAS according to the address information of the target BRAS and a preset corresponding relation, wherein the preset corresponding relation is used for determining a transmission path between the gateway equipment and the target BRAS.
2. The method according to claim 1, wherein the preset correspondence includes information of at least one first port of the gateway device and address information of a BRAS connected to the at least one first port.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
the gateway device receives a first message from the target BRAS, wherein the first message corresponds to the first request message, the first message comprises a first identifier, a second identifier and first data, the first identifier is used for identifying the first OLT device, and the second identifier is used for identifying user equipment corresponding to the first request message;
and the gateway device sends the first message to the first OLT device according to the first identifier, so that the first OLT device sends the first data to the user equipment according to the second identifier after receiving the first message.
4. The method according to claim 3, wherein the sending, by the gateway device, the first packet to the first OLT device according to the first identifier comprises:
the gateway device sends the first packet to the first OLT device according to the first identifier and a service forwarding table, where the service forwarding table is used to determine a transmission path between the first OLT device and the gateway device, and the service forwarding table includes information of multiple second ports of the gateway device and identifiers of the multiple OLT devices connected to the multiple second ports.
5. A communication device is applied to a gateway device, wherein the gateway device is bridged with a plurality of BRASs through an EVPN-VPLS, the gateway device is bridged with each OLT device in the plurality of OLT devices through the EVPN-VPWS, and the communication device comprises a communication unit;
the communication unit is configured to receive a first request message from a first OLT device, where the first OLT is one of the multiple OLTs, the first request message includes address information of a target BRAS, and the target BRAS is one of the multiple BRASs;
the communication unit is further configured to send the first request message to the BRAS according to address information of the BRAS and a preset corresponding relationship, where the preset corresponding relationship is used to determine a transmission path between the gateway device and the target BRAS.
6. The apparatus of claim 5, wherein the preset correspondence comprises information of at least one first port of the gateway device and address information of a BRAS connected to the at least one first port.
7. The apparatus of claim 5 or 6,
the communication unit is further configured to receive a first packet from the target BRAS, where the first packet corresponds to the first request message, and the first packet includes a first identifier, a second identifier, and first data, where the first identifier is used to identify the first OLT device, and the second identifier is used to represent a user device corresponding to the first request message;
the communication unit is further configured to send the first packet to the first OLT according to the first identifier, so that the first OLT sends the first data to the user equipment according to the second identifier after receiving the first packet.
8. The apparatus of claim 7,
the communication unit is specifically configured to send the first packet to the first OLT device according to the first identifier and a service forwarding table, where the service forwarding table is configured to determine a transmission path between the first OLT device and the gateway device, and the service forwarding table includes information of a plurality of second ports of the gateway device and identifiers of the plurality of OLT devices connected to the plurality of second ports.
9. Computer-readable storage medium, characterized in that it has stored therein instructions which, when executed, implement the method according to any one of claims 1-4.
10. A communications apparatus, comprising: a processor, a memory, and a communication interface; wherein, the communication interface is used for the communication device to communicate with other equipment or networks; the memory is used for storing one or more programs, the one or more programs including computer executable instructions, which when executed by the communication device, are executed by the processor to cause the communication device to perform the method of any of claims 1-4.
CN202011423837.9A 2020-12-08 2020-12-08 Message transmission method and communication device Active CN112422398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011423837.9A CN112422398B (en) 2020-12-08 2020-12-08 Message transmission method and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011423837.9A CN112422398B (en) 2020-12-08 2020-12-08 Message transmission method and communication device

Publications (2)

Publication Number Publication Date
CN112422398A CN112422398A (en) 2021-02-26
CN112422398B true CN112422398B (en) 2022-04-15

Family

ID=74776376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011423837.9A Active CN112422398B (en) 2020-12-08 2020-12-08 Message transmission method and communication device

Country Status (1)

Country Link
CN (1) CN112422398B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114039811B (en) * 2021-10-18 2023-07-25 南京邮电大学 Quick communication method in local area network
WO2023133880A1 (en) * 2022-01-17 2023-07-20 华为技术有限公司 Communication system, communication method, and related device
CN114710465B (en) * 2022-04-07 2023-05-02 中国联合网络通信集团有限公司 Network address translation method, device, equipment and storage medium
CN114900756B (en) * 2022-05-10 2024-04-09 中国联合网络通信集团有限公司 Data transmission method and device and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040442A (en) * 2015-12-30 2017-08-11 丛林网络公司 The cache routing device of communication means, communication system and Metropolitan Area Transmission Network
CN107645431A (en) * 2016-07-20 2018-01-30 新华三技术有限公司 Message forwarding method and device
CN109245984A (en) * 2018-07-13 2019-01-18 华为技术有限公司 A kind of message transmitting method, a kind of information processing method and its relevant device
CN110635935A (en) * 2018-06-25 2019-12-31 丛林网络公司 Using multiple EVPN routes for respective service interfaces of a user interface
CN110838963A (en) * 2018-08-15 2020-02-25 上海诺基亚贝尔股份有限公司 Apparatus, method and device for communication, and computer-readable storage medium
WO2020156105A1 (en) * 2019-01-30 2020-08-06 华为技术有限公司 Data forwarding method and related device
CN111740907A (en) * 2020-05-29 2020-10-02 新华三信息安全技术有限公司 Message transmission method, device, equipment and machine readable storage medium
CN111917461A (en) * 2019-05-09 2020-11-10 上海诺基亚贝尔股份有限公司 MC-PON protection method and device based on DF election mechanism

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9917774B2 (en) * 2015-09-30 2018-03-13 Juniper Networks, Inc. Content caching in metro access networks
CN108199945B (en) * 2017-12-23 2019-10-01 华为技术有限公司 Message transmitting method, the network equipment and message handling system
US10693679B2 (en) * 2018-06-25 2020-06-23 Juniper Networks, Inc. Using multiple ethernet virtual private network (EVPN) routes for corresponding service interfaces of a subscriber interface
CN110113260B (en) * 2019-04-28 2021-07-06 新华三技术有限公司 Forwarding table updating method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040442A (en) * 2015-12-30 2017-08-11 丛林网络公司 The cache routing device of communication means, communication system and Metropolitan Area Transmission Network
CN107645431A (en) * 2016-07-20 2018-01-30 新华三技术有限公司 Message forwarding method and device
CN110635935A (en) * 2018-06-25 2019-12-31 丛林网络公司 Using multiple EVPN routes for respective service interfaces of a user interface
CN109245984A (en) * 2018-07-13 2019-01-18 华为技术有限公司 A kind of message transmitting method, a kind of information processing method and its relevant device
CN110838963A (en) * 2018-08-15 2020-02-25 上海诺基亚贝尔股份有限公司 Apparatus, method and device for communication, and computer-readable storage medium
WO2020156105A1 (en) * 2019-01-30 2020-08-06 华为技术有限公司 Data forwarding method and related device
CN111510387A (en) * 2019-01-30 2020-08-07 华为技术有限公司 Data forwarding method and related device
CN111917461A (en) * 2019-05-09 2020-11-10 上海诺基亚贝尔股份有限公司 MC-PON protection method and device based on DF election mechanism
CN111740907A (en) * 2020-05-29 2020-10-02 新华三信息安全技术有限公司 Message transmission method, device, equipment and machine readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
VXLAN and EVPN for data center network transformation;Talvinder Singh,Varun Jain,G Satish Babu;《2017 8th International Conference on Computing, Communication and Networking Technologies (ICCCNT)》;20171214;全文 *
面向云网一体的新型城域网演进探讨;陈运清,雷波,解云鹏;《中兴通讯技术》;20190430;全文 *

Also Published As

Publication number Publication date
CN112422398A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN110784411B (en) Method, device and system for establishing BIER forwarding table item
CN112422398B (en) Message transmission method and communication device
CN109218178B (en) Message processing method and network equipment
CN111510379B (en) EVPN message processing method, device and system
CN108574630B (en) EVPN message processing method, device and system
CN106936777B (en) Cloud computing distributed network implementation method and system based on OpenFlow
CN110445649B (en) Method and apparatus for implementing connections between edge devices via a switching fabric
CN105308913B (en) For supporting Packet Data Unit (PDU) structure of distributed relay control protocol (DRCP)
CN110050445B (en) Method, device and system for sending and receiving message
CN104471899A (en) 802.1AQ support over IETF EVPN
CN105049360A (en) Method and system for facilitating switch virtualization in network of interconnected switches
CN104219147A (en) Implementation method and device of VPN (virtual private network) for edge equipment
CN112511444A (en) Multicast traffic transmission method, device, communication node and storage medium
CN114465946B (en) Method, device and system for acquiring forwarding table item
WO2018058639A1 (en) Pseudo wire load sharing method and apparatus
CN108092890B (en) Route establishing method and device
WO2013139159A1 (en) Method for forwarding packet in network and provider edge device
EP2822238B1 (en) Method and device for establishing a pseudo wire
CN105763439B (en) The interconnected method and device of data center in a kind of multilink transparent internet
US10212075B1 (en) Convergence optimization of local switching for flexible cross-connect in ethernet virtual private network (EVPN) environments
CN113726653B (en) Message processing method and device
CN112822097A (en) Message forwarding method, first network device and first device group
CN114598635A (en) Message transmission method and device
CN113923162B (en) Message forwarding method, device, equipment and storage medium
CN110572326A (en) Method, device, network equipment and system for establishing forwarding path

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant