WO2019056239A1 - Packet synchronization method and device - Google Patents

Packet synchronization method and device Download PDF

Info

Publication number
WO2019056239A1
WO2019056239A1 PCT/CN2017/102550 CN2017102550W WO2019056239A1 WO 2019056239 A1 WO2019056239 A1 WO 2019056239A1 CN 2017102550 W CN2017102550 W CN 2017102550W WO 2019056239 A1 WO2019056239 A1 WO 2019056239A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
esi
tunnel
virtual link
link tunnel
Prior art date
Application number
PCT/CN2017/102550
Other languages
French (fr)
Chinese (zh)
Inventor
黎景棠
李志强
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780093339.2A priority Critical patent/CN110945835B/en
Priority to PCT/CN2017/102550 priority patent/WO2019056239A1/en
Publication of WO2019056239A1 publication Critical patent/WO2019056239A1/en

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/4633Interconnection of networks using encapsulation techniques, e.g. tunneling

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a message synchronization method and apparatus.
  • FIG. 1 is a schematic diagram of a CE dual-homing network in the prior art.
  • a customer edge device CE
  • PORT port
  • PE provider edge device
  • the PE1 and the PE2 are connected to the PE3 through the network (for example, the WAN), and the PE3 and the CE2 are connected. Therefore, two data will exist between the CE2 and the CE1.
  • the forwarding path of the packets is CE2->PE3->PE1->(PORT)1->CE1 and CE2->PE3->PE2->(PORT)2->CE1.
  • ARP local address resolution protocol
  • the embodiment of the present invention provides a packet synchronization method and device, which solves the technical problem that the data packet forwarding fails, and the service in the network cannot be normally operated.
  • a first aspect of the present application provides a packet synchronization method, including the following steps: First, a first service provider edge router PE receives a first packet sent by a user border device CE; and then, the first PE is in the first Adding an Ethernet segment identifier ESI to the packet, and obtaining a second packet, where the ESI is an ESI corresponding to an access port of the first PE; and then, the first PE is configured according to an ESI and a virtual link tunnel.
  • the first PE sends the second packet to the second PE by using the virtual link tunnel, where the second packet
  • the second PE is configured to send a data packet to the CE, where the first PE and the second PE are both connected to the CE.
  • the first packet may be a control packet, a protocol packet, or a service packet, where the service packet is, for example, ARP, Dynamic Host Configuration Protocol (DHCP), or Internet Group Management Protocol ( Internet Group Management Protocol (IGMP), etc.
  • ARP Dynamic Host Configuration Protocol
  • IGMP Internet Group Management Protocol
  • a point-to-point virtual link tunnel is established between the first PE and the second PE, so that the first PE and the first PE There is no need for a direct link connection between the two PEs.
  • the first PE adds the ESI identifier to the first packet to obtain the second packet, and then passes the first PE and the second PE after establishing a point-to-point virtual link tunnel between the first PE and the second PE.
  • the virtual link tunnel sends the second packet to the second PE, so that the second PE sends the data packet to the CE according to the second packet, so that the data packet can be correctly forwarded. It ensures the normal operation of the business in the network.
  • the method before the first service provider edge router PE receives the first packet sent by the user border device CE, the method further includes:
  • the first PE receives a request message sent by the second PE, where the request message includes an ESI corresponding to an access port of the second PE.
  • the first PE adds the ESI to obtain the second packet after receiving the first packet sent by the CE.
  • the second packet is sent to the second PE through the virtual link tunnel, so that the first PE and the second PE can process the service in time.
  • the method before the first PE determines the virtual link tunnel corresponding to the ESI according to the correspondence between the ESI and the virtual link tunnel, the method further includes:
  • the first PE establishes a correspondence between the ESI and the virtual link tunnel, where the ESI is the access port of the first PE and the access port of the second PE distributed.
  • the ESI is allocated to the access port of the first PE and the access port of the second PE, respectively, and the first PE and the second PE are both connected to the CE, and will be the first when the network is connected.
  • the access port of the PE and the access port of the second PE are assigned the same ESI.
  • the virtual link tunnel includes a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel, or a universal route encapsulated GRE tunnel.
  • Vxlan tunnel virtual extended local area network
  • MPLS tunnel multi-protocol label switched MPLS tunnel
  • GRE tunnel universal route encapsulated GRE tunnel
  • the aggregation network in the dual-homing network is an MPLS network
  • the virtual link tunnel is a GRE tunnel
  • the aggregation network in the dual-homing network is an IP network.
  • a second aspect of the present application provides a packet synchronization method, including:
  • the second service provider edge router PE receives the second packet sent by the first PE through the virtual link tunnel, where the virtual link tunnel is corresponding to the Ethernet segment identifier ESI corresponding to the access port of the first PE.
  • a link tunnel the second packet is a packet obtained by the first PE after receiving the first packet sent by the user border device CE, and the first PE and the first PE Two PEs are connected to the CE;
  • the second PE parses the second packet to obtain the first packet and the ESI;
  • the second PE sends a data packet to the CE according to the first packet and the ESI.
  • both the first PE and the second PE can simultaneously receive and process the packet, so that the first PE and the second PE are obtained. Both can maintain the software data entry of this machine.
  • the first PE adds the ESI identifier to the first packet to obtain the second packet, and then passes the first PE and the second PE after establishing a point-to-point virtual link tunnel between the first PE and the second PE.
  • the virtual link tunnel sends the second packet to the second PE, so that the second PE sends the data packet to the CE according to the second packet, so that the data packet can be correctly forwarded, thereby ensuring that the data packet is correctly forwarded.
  • the method before the second PE receives the second packet sent by the first PE by using the link tunnel, the method further includes:
  • the second PE sends a request message to the first PE, where the request message includes an ESI corresponding to the access port of the second PE, and the request message is used to request to obtain all the packets corresponding to the ESI.
  • the virtual link tunnel includes a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel, or a universal route encapsulated GRE tunnel.
  • Vxlan tunnel virtual extended local area network
  • MPLS tunnel multi-protocol label switched MPLS tunnel
  • GRE tunnel universal route encapsulated GRE tunnel
  • the aggregation network in the dual-homing network is an MPLS network
  • the virtual link tunnel is a GRE tunnel
  • the aggregation network in the dual-homing network is an IP network.
  • a third aspect of the present application provides a message synchronization apparatus, including:
  • a receiving unit configured to receive a first packet sent by the user border device CE
  • a processing unit configured to add an Ethernet segment identifier ESI to the first packet to obtain a second packet; the ESI is an ESI corresponding to an access port of the first PE;
  • a determining unit configured to determine a virtual link tunnel corresponding to the ESI according to a correspondence between the ESI and the virtual link tunnel;
  • a sending unit configured to send, by using the virtual link tunnel, the second packet to the second PE, where the second packet is used to instruct the second PE to send a data packet to the user border device CE, where The first PE and the second PE are both connected to the CE.
  • the device further includes:
  • the receiving unit is configured to receive a request message sent by the second PE, where the request message includes an ESI corresponding to an access port of the second PE.
  • the device further includes:
  • a establishing unit configured to establish a virtual link tunnel between the first PE and the second PE
  • the establishing unit is further configured to establish a correspondence between the ESI and the virtual link tunnel, where the ESI is the access port of the first PE and the second PE respectively.
  • the access port is assigned.
  • the virtual link tunnel includes a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel, or a universal route encapsulated GRE tunnel.
  • Vxlan tunnel virtual extended local area network
  • MPLS tunnel multi-protocol label switched MPLS tunnel
  • GRE tunnel universal route encapsulated GRE tunnel
  • a fourth aspect of the present application provides a message synchronization apparatus, including:
  • a receiving unit configured to receive, by using a virtual link tunnel, a second packet sent by the first PE, where the virtual link tunnel is a link corresponding to an Ethernet segment identifier ESI corresponding to an access port of the first PE a tunnel, the second packet is sent by the first PE after receiving the first packet sent by the user border device CE, and the first PE and the second PE are added.
  • the CE Connected to the CE;
  • the parsing unit is configured to parse the second packet to obtain the first packet and the ESI;
  • a sending unit configured to send a data packet to the CE according to the first packet and the ESI.
  • the sending unit is further configured to send a request message to the first PE, where the request message includes an ESI corresponding to an access port of the second PE, where the request message is used by Request for access All messages corresponding to ESI.
  • the virtual link tunnel includes a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel, or a universal route encapsulated GRE tunnel.
  • Vxlan tunnel virtual extended local area network
  • MPLS tunnel multi-protocol label switched MPLS tunnel
  • GRE tunnel universal route encapsulated GRE tunnel
  • a fifth aspect of the present application provides a message synchronization apparatus, the apparatus comprising a processor and a memory, the memory is for storing a program, and the processor calls a program stored in the memory to execute the method provided by the first aspect of the application.
  • a sixth aspect of the present application provides a message synchronization apparatus, the apparatus comprising a processor and a memory, the memory is for storing a program, and the processor calls a program stored in the memory to perform the method provided by the second aspect of the present application.
  • a seventh aspect of the present application provides a PE comprising at least one processing element (or chip) for performing the method of the above first aspect.
  • An eighth aspect of the present application provides a PE comprising at least one processing element (or chip) for performing the method of the above second aspect.
  • a ninth aspect of the present application provides a message synchronization program for performing the method of the above first aspect when executed by a processor.
  • a tenth aspect of the present application provides a program product, such as a computer readable storage medium, comprising the program of the ninth aspect.
  • An eleventh aspect of the present application provides a message synchronization program for performing the method of the above second aspect when executed by a processor.
  • a twelfth aspect of the present application provides a program product, such as a computer readable storage medium, comprising the program of the eleventh aspect.
  • the packet synchronization method and device after receiving the first packet sent by the CE, the first PE adds an ESI to the first packet to obtain a second packet, where the ESI is the first PE.
  • the ESI corresponding to the access port determines the virtual link tunnel corresponding to the ESI according to the correspondence between the ESI and the virtual link tunnel, and sends the second to the second PE through the determined virtual link tunnel.
  • the packet is sent to the second PE to send a data packet to the CE according to the second packet.
  • the first PE adds the ESI identifier to the first packet to obtain the second packet, and the virtual link between the first PE and the second PE is established after the first PE adds the ESI identifier to obtain the second packet.
  • the second tunnel sends the second packet to the second PE, so that the second PE sends the data packet to the CE. This ensures that the data packet is correctly forwarded, thus ensuring normal operation of the network.
  • FIG. 1 is a schematic diagram of a CE dual-homing networking in the prior art
  • FIG. 2 is a schematic diagram of a usage scenario of a packet synchronization method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a CE multi-homing networking
  • Embodiment 4 is a signaling flowchart of Embodiment 1 of a message synchronization method of the present application
  • FIG. 5 is a signaling flowchart of Embodiment 2 of a message synchronization method of the present application
  • FIG. 6 is a schematic structural diagram of Embodiment 1 of a packet synchronization apparatus according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of Embodiment 2 of a packet synchronization apparatus according to an embodiment of the present disclosure
  • FIG. 8 is a schematic structural diagram of Embodiment 3 of a packet synchronization apparatus according to an embodiment of the present disclosure
  • 9A is a schematic structural diagram of a PE of the present application.
  • FIG. 9B is another schematic structural diagram of a PE of the present application.
  • Multi-homed networking which is an emergency disaster recovery mechanism that can provide normal communication in the event of a sudden disaster.
  • the multi-homing function means that one CE can belong to multiple different PEs at the same time. When one of the PEs fails, the services of the CE can also be forwarded through other PEs.
  • a unit in this application refers to a functional unit or a logical unit. It can be in the form of software, which is implemented by the processor executing program code; it can also be in hardware form.
  • Multiple means two or more, and other quantifiers are similar. "and/or”, describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately.
  • the character “/” generally indicates that the contextual object is an "or” relationship.
  • the ranges described in “above” or “below” and the like include boundary points.
  • FIG. 2 is a schematic diagram of a usage scenario of the packet synchronization method according to the embodiment of the present application.
  • the CE dual-homing network is configured. CE1, CE2, PE1, PE2, and PE3, where CE1 is connected to PE1 through port (PORT)1, and connected to PE2 through port (PORT)2. Both PE1 and PE2 are connected to PE3 through a network (such as a wide area network). CE2 is connected.
  • a virtual link tunnel exists between PE1 and PE2 to forward packets between PE1 and PE2.
  • PE1 and PE2 are configured with the same virtual local area network (vlan) and interface IP.
  • vlan virtual local area network
  • EVPN Ethernet virtual private network
  • CE2 forwards data packets to CE1
  • CE2->PE3->PE1->(PORT)1->CE1 CE2->PE3->PE2->(PORT) 2->CE1
  • CE1->(PORT)2- CE2->PE3->CE2
  • CE1 When CE1 forwards the data packet to CE2, CE1 will randomly select a path from the two paths to forward the data packet to CE2.
  • CE2 forwards the data packet to CE1, CE2 sends the data packet to PE3.
  • the PE3 forwards the data packet to the CE1 from the two paths.
  • PE1 or PE2 finds the corresponding port based on the local ARP and forwards the data packet to CE1. If the uplink data packet sent from CE1 to CE2 passes only through PE1, there is no ARP on CE1. At this time, if PE3 forwards the data packet to CE1 through PE2, PE2 sends an ARP request message to all CE1s connected to it.
  • the ARP request carries the destination network protocol (IP) address of the data packet.
  • IP network protocol
  • CE1 when CE1 receives the ARP request message and determines that the IP address carried in the ARP request message is its own address, the packet will be sent.
  • the number of packets sent by CE1 is two. If CE1 sends a packet through PE1, PE1 will not receive the packet from CE1. Therefore, PE3 fails to forward data packets to CE1 through PE2. The services in the network are not working properly.
  • a message synchronization method is proposed on the basis of the system architecture shown in FIG. 2, in which the PE1 receives the first packet sent by the CE, and then the first packet.
  • the Ethernet segment identifier (ESI) corresponding to the access port of the PE1 is added to obtain the second packet, and the virtual link corresponding to the ESI is determined according to the correspondence between the ESI and the virtual link tunnel. Tunnel, ok
  • the PE1 sends the second packet to the PE2 through the virtual link tunnel.
  • the PE2 sends a data packet to the CE1 according to the second packet.
  • the virtual link tunnel exists between the PE1 and the PE2. Both the PE1 and the PE2 can synchronize the packets through the virtual link tunnel. Therefore, whether the CE1 sends the packet to the PE1 or the PE2, the device can ensure the correct transmission of data packets, thus ensuring the normal operation of services on the network.
  • FIG. 3 is a schematic diagram of a CE multi-homing network.
  • CE 1 is mostly assigned to PE 1 and PE 2
  • CE 2 is mostly returned to PE 2 and PE 3
  • CE 1 and CE 2 are both Configure a B-type protection (TypeB) dual-homing/relay (Trunk) group.
  • PE 1 and PE 2 are configured with the same user-side vlan and interface IP, such as vlan 50 and IP: 50.1.1.1/24, that is, PE 1 and PE. 2
  • CE 1 is virtualized into a PE
  • PE 2 and PE 3 are configured with the same user-side vlan and interface IP, such as vlan 60 and IP: 60.1.1.1/24, that is, PE 2 and PE 3 are virtualized into one PE for CE 2.
  • a virtual link tunnel exists between PE 1 and PE 2, and a virtual link tunnel exists between PE 2 and PE 3. In this way, packets between PE 1 and PE 2 can be synchronized through the virtual link tunnel. Packets can be synchronized between PEs through virtual link tunnels.
  • the PE2 can determine the virtual link tunnel to forward packets through the correspondence between the ESI and the virtual link tunnel.
  • the dual-homing network is used for the description, and the method for synchronizing the packets in the multi-homing network is similar to the method for synchronizing the packets in the dual-homing network, and details are not described herein again.
  • FIG. 4 is a signaling flowchart of Embodiment 1 of a message synchronization method of the present application.
  • the method in this embodiment may include:
  • Step 401 The first PE receives the first packet sent by the CE.
  • the first packet may be a control packet, a protocol packet, or a service packet, where the service packet is, for example, an ARP, a dynamic host configuration protocol (DHCP), or an internet group management protocol. (internet group management protocol, IGMP), etc., of course, the first packet may also be other packets.
  • the specific format of the first packet is not limited in this embodiment.
  • the first PE and the second PE When the first PE and the second PE perform packet synchronization, they can perform real-time synchronization or batch synchronization.
  • the first PE triggers the synchronization of the packet after receiving the first packet sent by the CE.
  • the second PE may not exist when the first PE sends the first packet sent by the CE. After the second PE is working normally, the first PE has finished receiving the first packet. At this time, the real-time synchronization of the packet cannot be performed between the first PE and the second PE, but the batch synchronization is performed.
  • the second PE after the second PE works normally, the second PE sends a request message to the first PE, where the request message includes an ESI corresponding to the access port of the second PE, and the first PE The first packet is obtained locally according to the received request message, where the first packet includes information of all users corresponding to the ESI.
  • the first PE when the first PE receives the report sent by the CE After the text, the user information is generated by using the message, and after receiving the request message sent by the second PE, the first PE learns all the user information corresponding to the ESI corresponding to the access port of the first PE, and learns The obtained user information is encapsulated into the first message.
  • the ESI corresponding to the access port of the first PE is the same as the ESI corresponding to the access port of the second PE. Therefore, the first PE may be configured according to the ESI corresponding to the access port of the second PE in the request message. Obtaining a first packet corresponding to the ESI of the access port of the first PE.
  • Step 402 The first PE adds an ESI to the first packet to obtain a second packet.
  • the ESI is an ESI corresponding to an access port of the first PE.
  • the first PE after acquiring the first packet, the first PE adds the ESI corresponding to the access port of the first PE to the first packet according to the access link, and obtains the second packet.
  • the first PE may add an ESI in the packet header of the first packet, or may add an ESI at the end of the first packet, and of course, may also be in the first packet.
  • ESI is added to the field.
  • the specific manner of the ESI addition is not limited in this embodiment.
  • Step 403 The first PE determines a virtual link tunnel corresponding to the ESI according to the correspondence between the ESI and the virtual link tunnel.
  • a point-to-point virtual link tunnel is established between the first PE and the second PE, so that no direct link connection is needed between the first PE and the second PE.
  • the virtual link tunnel between the first PE and the second PE includes a virtual eXtensible LAN (Vxlan) tunnel and a multi-protocol label switching (MPLS) virtual private line service (virtual private wire service). , VWPS) tunnel or general routing encapsulation (GRE) tunnel.
  • Vxlan virtual eXtensible LAN
  • MPLS multi-protocol label switching
  • VRE virtual private line service
  • the aggregation network in the dual-homing network is an MPLS network.
  • the aggregation network in the dual-homing network is an IP network.
  • the first PE needs to establish the relationship between the ESI and the virtual link tunnel.
  • the first PE first establishes a virtual link tunnel between the first PE and the second PE, and after the establishment is completed, a correspondence between the ESI and the virtual link tunnel is established, where the ESI is the first for the CE.
  • the access port of the PE and the access port of the second PE are allocated, the first PE and the second PE are both connected to the CE, and when the network is connected, the access port of the first PE and the access of the second PE are The ports are assigned the same ESI.
  • a virtual link tunnel may be established independently for each ESI, that is, each ESI corresponds to a different virtual
  • the link tunnel can also be multiplexed with the same virtual link tunnel. That is, only one virtual link tunnel exists between the first PE and the second PE, and multiple ESIs correspond to the same virtual link tunnel.
  • step 402 and the step 403 are not performed in the sequence, and the step 402 is performed first, and then the step 403 is performed; or the step 403 is performed first, and then the step 402 is performed; This is not particularly limited.
  • Step 404 The first PE sends a second packet to the second PE by using the virtual link tunnel.
  • the second packet is used to instruct the second PE to send a data packet to the CE, and the first PE and the second PE are both connected to the CE.
  • the first PE and the second PE are both connected to the CE, and the link connecting the first PE or the second PE to the CE not only supports Ethernet Ethernet access but also supports passive optical network (passive optical network) Network, PON) access, which can increase the flexibility of access.
  • passive optical network passive optical network
  • the first PE After determining the virtual link tunnel corresponding to the ESI according to the ESI corresponding to the access port of the first PE, the first PE sends a second packet to the second PE by using the determined virtual link tunnel. After receiving the second packet, the second PE sends a data packet to the CE according to the second packet.
  • the second packet is not only used to indicate that the second PE sends a data packet to the CE, but also may be used to indicate that the second PE performs access security control for the CE information, and other services related to the user CE.
  • Step 405 The second PE parses the second packet to obtain the first packet and the ESI.
  • the second PE after receiving the second packet sent by the first PE, the second PE parses the second packet to obtain the first packet and the ESI.
  • Step 406 The second PE sends a data packet to the CE according to the first packet and the ESI.
  • the second PE may obtain the access port information of the local device according to the ESI obtained by the parsing.
  • the first packet includes a media access control (MAC) address of the CE
  • the first PE sends the second packet to the second PE by using the virtual link tunnel.
  • the second PE restores the first packet and the ESI, and obtains the MAC address of the CE by parsing the first packet, and then sends a data packet to the corresponding CE according to the access port information of the local device and the MAC address. Therefore, for the second PE, it is equivalent to directly receiving the packet sent by the CE, thereby ensuring correct forwarding of the data packet.
  • MAC media access control
  • the first packet may include other information that can uniquely identify the CE.
  • the content of the content in the first packet is not limited herein.
  • the CE can only receive one packet, but the first PE and the second PE can simultaneously receive and process the packet, so that the first PE and the first PE The second PE can maintain the software data entry of the machine.
  • the first PE and the second PE are peer-to-peer, that is, after the second PE obtains the first packet, the second PE adds the access port of the second PE to the first packet.
  • ESI and according to the virtual link tunnel corresponding to the ESI, the first message of the added ESI is sent to the first PE through the virtual link tunnel, so as to achieve packet synchronization between the first PE and the second PE.
  • the first PE after receiving the first packet sent by the CE, the first PE adds an ESI to the first packet to obtain a second packet, where the ESI is the first PE.
  • the ESI corresponding to the access port determines the virtual link tunnel corresponding to the ESI according to the correspondence between the ESI and the virtual link tunnel, and sends the second to the second PE through the determined virtual link tunnel.
  • the packet is sent to the second PE to send a data packet to the CE according to the second packet.
  • the first PE adds the ESI identifier to the first packet to obtain the second packet, and the virtual link between the first PE and the second PE is established after the first PE adds the ESI identifier to obtain the second packet.
  • the second tunnel sends the second packet to the second PE, so that the second PE sends the data packet to the CE. This ensures that the data packet is correctly forwarded, thus ensuring normal operation of the network.
  • FIG. 5 is a signaling flowchart of Embodiment 2 of a message synchronization method of the present application.
  • the first PE receives the first packet sent by the CE, and the first packet is the first ARP packet.
  • the method in this embodiment may include:
  • Step 501 The first PE receives the first ARP packet sent by the CE.
  • the first ARP packet carries the MAC address information of the CE, where the first ARP packet is used to indicate that the first PE or the second PE forwards the data packet to the CE corresponding to the MAC address information.
  • Step 502 The first PE adds an ESI corresponding to the access port of the first PE in the first ARP packet to obtain a second ARP packet.
  • Step 503 The first PE determines a virtual link tunnel corresponding to the ESI according to the correspondence between the ESI and the virtual link tunnel.
  • the virtual link tunnel corresponding to the ESI is a point-to-point virtual link tunnel between the first PE and the second PE, such as a Vxlan tunnel, an MPLS tunnel, or a GRE tunnel.
  • Step 504 The first PE sends a second ARP packet to the second PE by using the virtual link tunnel.
  • the first PE and the second PE are both connected to the CE, and the second ARP packet is used to instruct the second PE to send a data packet to the CE.
  • Step 505 The second PE parses the second ARP packet to obtain the first ARP packet and the ESI.
  • Step 506 The second PE sends a data packet to the CE according to the first ARP packet and the ESI.
  • the ESI corresponding to the access port of the first PE and the second PE is the same. Therefore, after obtaining the ESI, the second PE obtains the access port information of the local device according to the ESI, and parses the first ARP packet. The MAC address carried in the first ARP packet is obtained, so that the second PE will correctly send the data packet to the CE through the access port information and the MAC address.
  • the first PE after the first PE obtains the first packet, the first PE adds an ESI to the first packet to obtain a second packet, where the ESI is the access of the first PE.
  • the ESI corresponding to the port the first PE determines the virtual link tunnel corresponding to the ESI according to the correspondence between the ESI and the virtual link tunnel, and sends the second packet to the second PE by using the determined virtual link tunnel.
  • the second PE sends a data packet to the CE according to the second packet.
  • the first PE adds the ESI identifier to the first packet to obtain the second packet, and the virtual link between the first PE and the second PE is established after the first PE adds the ESI identifier to obtain the second packet.
  • the second tunnel sends the second packet to the second PE, so that the second PE sends the data packet to the CE. This ensures that the data packet is correctly forwarded, thus ensuring normal operation of the network.
  • FIG. 6 is a schematic structural diagram of Embodiment 1 of a packet synchronization apparatus according to an embodiment of the present disclosure.
  • the synchronization apparatus includes: a receiving unit 11, a processing unit 12, a determining unit 13, and a sending unit 14, where:
  • the receiving unit 11 is configured to receive the first packet sent by the user border device CE;
  • the processing unit 12 is configured to add an Ethernet segment identifier ESI to the first packet to obtain a second packet, where the ESI is an ESI corresponding to an access port of the first PE;
  • the determining unit 13 is configured to determine a virtual link tunnel corresponding to the ESI according to a correspondence between the ESI and the virtual link tunnel;
  • the sending unit 14 is configured to send the second packet to the second PE by using the virtual link tunnel, where the second packet is used to instruct the second PE to send a data packet to the user border device CE, where The first PE and the second PE are both connected to the CE.
  • the foregoing apparatus may be used to perform the method provided by the foregoing corresponding method embodiment, and the specific implementation manner and the technical effect are similar, and details are not described herein again.
  • the receiving unit 15 is further configured to receive a request message sent by the second PE, where the request message includes an ESI corresponding to an access port of the second PE.
  • the foregoing apparatus may be used to perform the method provided by the foregoing corresponding method embodiment, and the specific implementation manner and the technical effect are similar, and details are not described herein again.
  • FIG. 7 is a schematic structural diagram of Embodiment 2 of a packet synchronization apparatus according to an embodiment of the present disclosure.
  • the apparatus further includes: an establishing unit 15.
  • the establishing unit 15 is configured to establish a virtual link tunnel between the first PE and the second PE.
  • the establishing unit 15 is further configured to establish a correspondence between the ESI and the virtual link tunnel, where the ESI is the access port of the first PE and the second PE respectively.
  • the access port is assigned.
  • the virtual link tunnel includes a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel, or a universal route encapsulated GRE tunnel.
  • Vxlan tunnel virtual extended local area network
  • MPLS tunnel multi-protocol label switched MPLS tunnel
  • GRE tunnel universal route encapsulated GRE tunnel
  • the foregoing apparatus may be used to perform the method provided by the foregoing corresponding method embodiment, and the specific implementation manner and the technical effect are similar, and details are not described herein again.
  • each unit of the above message synchronization device is only a division of a logical function, and the actual implementation may be integrated into one physical entity in whole or in part, or may be physically separated.
  • these units may all be implemented in the form of software by means of processing component calls; or may be implemented entirely in hardware; some units may be implemented by software in the form of processing component calls, and some units may be implemented in the form of hardware.
  • the obtaining unit may be a separately set processing element, or may be integrated in one chip of the PE, or may be stored in a memory of the PE in the form of a program, which is called and executed by a processing element of the PE. Get the function of the unit.
  • the implementation of other units is similar.
  • processing unit described herein can be an integrated circuit with signal processing capabilities.
  • each step of the above method or each of the above units may be completed by an integrated logic circuit of hardware in the processor element or an instruction in a form of software.
  • the above units may be one or more integrated circuits configured to implement the above methods, such as: one or more application specific integrated circuits (ASICs), or one or more microprocessors (digital signal processor) , DSP), or, one or more field programmable gate arrays (FPGAs), and the like.
  • ASICs application specific integrated circuits
  • DSP digital signal processor
  • FPGAs field programmable gate arrays
  • the computing unit may be a general purpose processor, such as a central processing unit (CPU) or other processor that can invoke the program.
  • CPU central processing unit
  • these units can be integrated and implemented in the form of a system-on-a-chip (SOC).
  • SOC system-on-a-chip
  • FIG. 8 is a schematic structural diagram of Embodiment 3 of a packet synchronization apparatus according to an embodiment of the present disclosure.
  • the synchronization apparatus includes: a receiving unit 21, a parsing unit 22, and a sending unit 23, where:
  • the receiving unit 21 is configured to receive, by using a virtual link tunnel, a second packet sent by the first PE, where the virtual link tunnel is a link corresponding to the Ethernet segment identifier ESI corresponding to the access port of the first PE. a tunnel, the second packet is sent by the first PE after receiving the first packet sent by the user border device CE, and the first PE and the second PE are added. Connected to the CE;
  • the parsing unit 22 is configured to parse the second packet to obtain the first packet and the ESI;
  • the sending unit 23 is configured to send a data message to the CE according to the first packet and the ESI.
  • the foregoing apparatus may be used to perform the method provided by the foregoing corresponding method embodiment, the specific implementation manner and the technical effect. Similar, no more details here.
  • the sending unit 23 is further configured to send a request message to the first PE, where the request message includes an ESI corresponding to an access port of the second PE, where the request message is used to request to obtain the All messages corresponding to ESI.
  • the virtual link tunnel includes a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel, or a universal route encapsulated GRE tunnel.
  • Vxlan tunnel virtual extended local area network
  • MPLS tunnel multi-protocol label switched MPLS tunnel
  • GRE tunnel universal route encapsulated GRE tunnel
  • the foregoing apparatus may be used to perform the method provided by the foregoing corresponding method embodiment, and the specific implementation manner and the technical effect are similar, and details are not described herein again.
  • each unit of the above message synchronization device is only a division of a logical function, and the actual implementation may be integrated into one physical entity in whole or in part, or may be physically separated.
  • these units may all be implemented in the form of software by means of processing component calls; or may be implemented entirely in hardware; some units may be implemented by software in the form of processing component calls, and some units may be implemented in the form of hardware.
  • the receiving unit may be a separately set processing component, or may be integrated in one of the PE chips, or may be stored in the memory of the PE in the form of a program, which is called and executed by a certain processing component of the PE. The function of the receiving unit.
  • the implementation of other units is similar.
  • each step of the above method or each of the above units may be completed by an integrated logic circuit of hardware in the processor element or an instruction in a form of software.
  • the above units may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors (digital signal processor) , DSP), or, one or more field programmable gate arrays (FPGAs), and the like.
  • ASICs application specific integrated circuits
  • DSP digital signal processor
  • FPGAs field programmable gate arrays
  • the computing unit may be a general purpose processor, such as a central processing unit (CPU) or other processor that can invoke the program.
  • CPU central processing unit
  • these units can be integrated and implemented in the form of a system-on-a-chip (SOC).
  • SOC system-on-a-chip
  • FIG. 9A is a schematic structural diagram of a PE of the present application.
  • the PE 100 includes a processing unit 102 and a communication unit 103.
  • the processing unit 102 is configured to perform control management on the actions of the PE 100.
  • the processing unit 102 is configured to support the PE 100 to perform the steps in the foregoing packet synchronization method embodiment and/or other processes for the techniques described in this application.
  • the communication unit 103 is used to support communication between the PE 100 and other network entities, such as communication with terminal devices.
  • the PE 100 may also include a storage unit 101 for storing program codes and data of the PE 100.
  • the processing unit 102 may be a processor or a controller, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application specific integrated circuit. Circuit, ASIC), field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication unit 103 can be a communication interface, transceiver The transceiver, the transceiver circuit, and the like, wherein the communication interface is a collective name and may include one or more interfaces.
  • the storage unit 101 can be a memory.
  • the processing unit 102 is a processor
  • the communication unit 103 is a communication interface
  • the storage unit 101 is a memory
  • the PE involved in the present application may be the PE shown in FIG. 9B.
  • the PE 110 includes a processor 112, a communication interface 113, and a memory 111.
  • the PE 110 may also include a bus 114.
  • the communication interface 113, the processor 112, and the memory 111 may be connected to each other through a bus 114.
  • the bus 114 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA). Bus, etc.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus 114 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 9B, but it does not mean that there is only one bus or one type of bus.
  • the memory 111 is used to store instructions executable by the processor 112, and the processor 112 is configured to call instructions stored in the memory 111 to perform the steps in the foregoing message synchronization method.
  • the present application further provides a message synchronization system, including the message synchronization device according to any of the above embodiments.
  • the present application further provides a storage medium, comprising: a readable storage medium and a computer program, the computer program being used to implement the message synchronization method provided by any of the foregoing embodiments.
  • the application also provides a program product comprising a computer program (ie, an execution instruction) stored in a readable storage medium.
  • a computer program ie, an execution instruction
  • At least one processor of the PE can read the computer program from a readable storage medium, and the at least one processor executes the computer program such that the PE implements the message synchronization method provided by the various embodiments described above.
  • the embodiment of the present application further provides a message synchronization apparatus, including at least one storage element and at least one processing element, wherein the at least one storage element is used to store a program, when the program is executed, causing the message synchronization apparatus to execute The operation of the PE in any of the above embodiments.
  • All or part of the steps of implementing the above method embodiments may be performed by hardware associated with the program instructions.
  • the aforementioned program can be stored in a readable memory.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state hard disk, tape (magnetic tape), floppy disk, optical disc, and any combination thereof.

Landscapes

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

Abstract

The present application provides a packet synchronization method and device. The method comprises: a first provider edge router (PE) receiving a first packet sent by a customer edge device (CE); the first PE adding an Ethernet Segment Identifier (ESI) in the first packet to obtain a second packet, the ESI being an ESI corresponding to an access port of the first PE; the first PE determining, according to a correspondence between the ESI and a virtual link tunnel, a virtual link tunnel corresponding to the ESI; the first PE sending the second packet to a second PE by means of the virtual link tunnel, the second packet being used to instruct the second PE to send a data packet to the CE, and the first PE and the second PE both being connected to the CE. The packet synchronization method provided by the present application ensures accurate forwarding of data packets, thereby ensuring normal operation of services in networks.

Description

报文同步方法和装置Message synchronization method and device 技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种报文同步方法和装置。The present application relates to the field of communications technologies, and in particular, to a message synchronization method and apparatus.
背景技术Background technique
随着通信技术的发展,用户对网络中数据传输的可靠性要求越来越高,对于传输过程中发生的故障,现有技术中存在多种保护的手段,其中,双归属技术就是很重要的一种方式。With the development of communication technology, users have higher and higher requirements for the reliability of data transmission in the network. For the failures occurring in the transmission process, there are various protection methods in the prior art. Among them, the dual-homing technology is very important. a method.
图1为现有技术中CE双归属组网示意图,如图1所示,在该组网中,用户边界设备1(customer edge device,CE)通过端口(PORT)1和服务商边缘路由器1(provider edge device,PE)相连,通过端口(PORT)2和PE2相连,PE1和PE2均通过网络(如广域网)与PE3相连,PE3和CE2相连,这样,在CE2和CE1之间将存在两条数据报文的转发路径,分别为CE2->PE3->PE1->(PORT)1->CE1和CE2->PE3->PE2->(PORT)2->CE1,在进行数据报文转发时,PE3将从上述两条路径中随机选择一条路径向CE1转发数据报文,PE1或PE2在接收到数据报文之后,将根据本地的地址解析协议(address resolution protocol,ARP)找到对应的端口将数据报文转发给CE1。FIG. 1 is a schematic diagram of a CE dual-homing network in the prior art. As shown in FIG. 1 , in the network, a customer edge device (CE) passes through a port (PORT) 1 and a service provider edge router 1 ( The provider edge device (PE) is connected, and is connected to the PE2 through the port (PORT) 2. The PE1 and the PE2 are connected to the PE3 through the network (for example, the WAN), and the PE3 and the CE2 are connected. Therefore, two data will exist between the CE2 and the CE1. The forwarding path of the packets is CE2->PE3->PE1->(PORT)1->CE1 and CE2->PE3->PE2->(PORT)2->CE1. When data packets are forwarded, After receiving a data packet, PE1 or PE2 will find the corresponding port according to the local address resolution protocol (ARP). The packet is forwarded to CE1.
然而,若从CE1发送到CE2的上行数据报文只经过PE1时,PE2中将不存在到达CE1的ARP,此时,若PE3通过PE2向CE1转发数据报文时,将会转发失败,导致网络中业务不能正常运行。However, if the uplink data packet sent from CE1 to CE2 passes only through PE1, there will be no ARP to CE1 in PE2. If PE3 forwards the data packet to CE1 through PE2, the forwarding fails. The business is not working properly.
发明内容Summary of the invention
本申请实施例提供一种报文同步方法和装置,以解决数据报文转发失败,导致网络中业务不能正常运行的技术问题。The embodiment of the present invention provides a packet synchronization method and device, which solves the technical problem that the data packet forwarding fails, and the service in the network cannot be normally operated.
本申请第一方面提供一种报文同步方法,包括以下步骤:首先,第一服务商边缘路由器PE接收用户边界设备CE发送的第一报文;接着,所述第一PE在所述第一报文中添加以太网段标识符ESI,得到第二报文,其中所述ESI为所述第一PE的接入端口对应的ESI;然后,所述第一PE根据ESI与虚拟链路隧道之间的对应关系,确定与所述ESI对应的虚拟链路隧道;最后,所述第一PE通过所述虚拟链路隧道向第二PE发送所述第二报文,其中所述第二报文用于指示所述第二PE向所述CE发送数据报文,所述第一PE和所述第二PE均与所述CE连接。A first aspect of the present application provides a packet synchronization method, including the following steps: First, a first service provider edge router PE receives a first packet sent by a user border device CE; and then, the first PE is in the first Adding an Ethernet segment identifier ESI to the packet, and obtaining a second packet, where the ESI is an ESI corresponding to an access port of the first PE; and then, the first PE is configured according to an ESI and a virtual link tunnel. Corresponding relationship, determining a virtual link tunnel corresponding to the ESI; finally, the first PE sends the second packet to the second PE by using the virtual link tunnel, where the second packet And the second PE is configured to send a data packet to the CE, where the first PE and the second PE are both connected to the CE.
在本方案中,第一报文可以为控制报文、协议报文或业务报文,其中,业务报文例如为ARP、动态主机配置协议(Dynamic Host Configuration Protocol,DHCP)或网际组管理协议(Internet Group Management Protocol,IGMP)等。In this solution, the first packet may be a control packet, a protocol packet, or a service packet, where the service packet is, for example, ARP, Dynamic Host Configuration Protocol (DHCP), or Internet Group Management Protocol ( Internet Group Management Protocol (IGMP), etc.
另外,第一PE与第二PE之间建立有点到点的虚拟链路隧道,使得第一PE与第 二PE之间无须直连链路连接。In addition, a point-to-point virtual link tunnel is established between the first PE and the second PE, so that the first PE and the first PE There is no need for a direct link connection between the two PEs.
在上述方案中,由于在第一PE和第二PE之间建立点对点的虚拟链路隧道,第一PE将第一报文添加ESI标识获得第二报文之后,通过第一PE和第二PE之间的该虚拟链路隧道将第二报文发送给第二PE,以使第二PE根据第二报文将数据报文正确发送给CE,由此可以保证数据报文的正确转发,从而保证了网络中业务的正常运行。In the foregoing solution, the first PE adds the ESI identifier to the first packet to obtain the second packet, and then passes the first PE and the second PE after establishing a point-to-point virtual link tunnel between the first PE and the second PE. The virtual link tunnel sends the second packet to the second PE, so that the second PE sends the data packet to the CE according to the second packet, so that the data packet can be correctly forwarded. It ensures the normal operation of the business in the network.
在一种可能的实现方式中,所述第一服务商边缘路由器PE接收用户边界设备CE发送的第一报文之前,所述方法还包括:In a possible implementation manner, before the first service provider edge router PE receives the first packet sent by the user border device CE, the method further includes:
所述第一PE接收所述第二PE发送的请求消息,所述请求消息包括所述第二PE的接入端口对应的ESI。The first PE receives a request message sent by the second PE, where the request message includes an ESI corresponding to an access port of the second PE.
在上述方案中,在TypeB双归/Trunk组成员的增加/删除,或者是第二PE新加入/复位重启时,第一PE和第二PE之间将要进行批量同步,当第一PE接收到CE发送的报文之后,会通过报文生成用户信息,当第一PE在接收到第二PE发送的请求消息后,将从本地学习第一PE的接入端口对应的ESI对应的所有用户信息,并将学习到的用户信息封装为第一报文。In the above solution, when the TypeB dual-homing/trunk group member is added/deleted, or the second PE is newly added/reset and restarted, batch synchronization is performed between the first PE and the second PE, when the first PE receives After the packet sent by the CE, the user information is generated by the packet. After receiving the request message sent by the second PE, the first PE learns all the user information corresponding to the ESI corresponding to the access port of the first PE. And encapsulating the learned user information into the first message.
另外,第一PE与第二PE之间进行报文的实时同步时,第一PE每当接收到CE发送的第一报文后,在第一报文中添加ESI获得第二报文后,就会将第二报文通过虚拟链路隧道发送给第二PE,这样,可以保证第一PE和第二PE对业务进行及时处理。In addition, when the first PE and the second PE perform the real-time synchronization of the packet, the first PE adds the ESI to obtain the second packet after receiving the first packet sent by the CE. The second packet is sent to the second PE through the virtual link tunnel, so that the first PE and the second PE can process the service in time.
在一种可能的实现方式中,所述第一PE根据ESI与虚拟链路隧道之间的对应关系,确定与所述ESI对应的虚拟链路隧道之前,所述方法还包括:In a possible implementation manner, before the first PE determines the virtual link tunnel corresponding to the ESI according to the correspondence between the ESI and the virtual link tunnel, the method further includes:
所述第一PE建立所述第一PE和所述第二PE之间的虚拟链路隧道;Establishing, by the first PE, a virtual link tunnel between the first PE and the second PE;
所述第一PE建立所述ESI与所述虚拟链路隧道之间的对应关系,所述ESI为所述CE分别为所述第一PE的接入端口和所述第二PE的接入端口分配的。The first PE establishes a correspondence between the ESI and the virtual link tunnel, where the ESI is the access port of the first PE and the access port of the second PE distributed.
在上述方案中,ESI为CE分别为第一PE的接入端口和第二PE的接入端口分配的,由于第一PE和第二PE均与CE连接,在组网时,将为第一PE的接入端口和第二PE的接入端口分配相同的ESI。In the above solution, the ESI is allocated to the access port of the first PE and the access port of the second PE, respectively, and the first PE and the second PE are both connected to the CE, and will be the first when the network is connected. The access port of the PE and the access port of the second PE are assigned the same ESI.
在一种可能的实现方式中,所述虚拟链路隧道包括虚拟扩展局域网Vxlan隧道、多协议标签交换MPLS隧道或通用路由封装GRE隧道。In a possible implementation manner, the virtual link tunnel includes a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel, or a universal route encapsulated GRE tunnel.
在上述方案中,若虚拟链路隧道为MPLS VWPS隧道时,双归组网中汇聚网络为MPLS网络,虚拟链路隧道为GRE隧道时,双归组网中汇聚网络为IP网络。In the above solution, if the virtual link tunnel is an MPLS VWPS tunnel, and the aggregation network in the dual-homing network is an MPLS network, and the virtual link tunnel is a GRE tunnel, the aggregation network in the dual-homing network is an IP network.
本申请第二方面提供一种报文同步方法,包括:A second aspect of the present application provides a packet synchronization method, including:
第二服务商边缘路由器PE通过虚拟链路隧道接收第一PE发送的第二报文,所述虚拟链路隧道为与所述第一PE的接入端口对应的以太网段标识符ESI对应的链路隧道,所述第二报文为所述第一PE在接收到用户边界设备CE发送的所述第一报文后添加所述ESI得到的报文,所述第一PE和所述第二PE与所述CE连接;The second service provider edge router PE receives the second packet sent by the first PE through the virtual link tunnel, where the virtual link tunnel is corresponding to the Ethernet segment identifier ESI corresponding to the access port of the first PE. a link tunnel, the second packet is a packet obtained by the first PE after receiving the first packet sent by the user border device CE, and the first PE and the first PE Two PEs are connected to the CE;
所述第二PE对所述第二报文进行解析,获得所述第一报文和所述ESI;The second PE parses the second packet to obtain the first packet and the ESI;
所述第二PE根据所述第一报文和所述ESI向所述CE发送数据报文。The second PE sends a data packet to the CE according to the first packet and the ESI.
在本方案中,在进行报文的同步后,虽然CE只发送了一份报文,但是第一PE和第二PE均可以同时接收并处理该报文,从而使得第一PE和第二PE都可以维护本机的软件数据表项。 In this solution, after the message is synchronized, although the CE sends only one packet, both the first PE and the second PE can simultaneously receive and process the packet, so that the first PE and the second PE are obtained. Both can maintain the software data entry of this machine.
在上述方案中,由于在第一PE和第二PE之间建立点对点的虚拟链路隧道,第一PE将第一报文添加ESI标识获得第二报文之后,通过第一PE和第二PE之间的虚拟链路隧道将第二报文发送给第二PE,以使第二PE根据第二报文将数据报文正确发送给CE,由此可以保证数据报文的正确转发,从而保证了网络中业务的正常运行。In the foregoing solution, the first PE adds the ESI identifier to the first packet to obtain the second packet, and then passes the first PE and the second PE after establishing a point-to-point virtual link tunnel between the first PE and the second PE. The virtual link tunnel sends the second packet to the second PE, so that the second PE sends the data packet to the CE according to the second packet, so that the data packet can be correctly forwarded, thereby ensuring that the data packet is correctly forwarded. The normal operation of the business in the network.
在一种可能的实现方式中,所述第二PE通过链路隧道接收第一PE发送的第二报文之前,所述方法还包括:In a possible implementation manner, before the second PE receives the second packet sent by the first PE by using the link tunnel, the method further includes:
所述第二PE向所述第一PE发送请求消息,所述请求消息包括所述第二PE的接入端口对应的ESI,所述请求消息用于请求获取所述ESI对应的所有报文。The second PE sends a request message to the first PE, where the request message includes an ESI corresponding to the access port of the second PE, and the request message is used to request to obtain all the packets corresponding to the ESI.
在一种可能的实现方式中,所述虚拟链路隧道包括虚拟扩展局域网Vxlan隧道、多协议标签交换MPLS隧道或通用路由封装GRE隧道。In a possible implementation manner, the virtual link tunnel includes a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel, or a universal route encapsulated GRE tunnel.
在上述方案中,若虚拟链路隧道为MPLS VWPS隧道时,双归组网中汇聚网络为MPLS网络,虚拟链路隧道为GRE隧道时,双归组网中汇聚网络为IP网络。In the above solution, if the virtual link tunnel is an MPLS VWPS tunnel, and the aggregation network in the dual-homing network is an MPLS network, and the virtual link tunnel is a GRE tunnel, the aggregation network in the dual-homing network is an IP network.
本申请第三方面提供一种报文同步装置,包括:A third aspect of the present application provides a message synchronization apparatus, including:
接收单元,用于接收用户边界设备CE发送的第一报文;a receiving unit, configured to receive a first packet sent by the user border device CE;
处理单元,用于在所述第一报文中添加以太网段标识符ESI,得到第二报文;所述ESI为所述第一PE的接入端口对应的ESI;a processing unit, configured to add an Ethernet segment identifier ESI to the first packet to obtain a second packet; the ESI is an ESI corresponding to an access port of the first PE;
确定单元,用于根据ESI与虚拟链路隧道之间的对应关系,确定与所述ESI对应的虚拟链路隧道;a determining unit, configured to determine a virtual link tunnel corresponding to the ESI according to a correspondence between the ESI and the virtual link tunnel;
发送单元,用于通过所述虚拟链路隧道向第二PE发送所述第二报文,所述第二报文用于指示所述第二PE向用户边界设备CE发送数据报文,所述第一PE和所述第二PE均与所述CE连接。a sending unit, configured to send, by using the virtual link tunnel, the second packet to the second PE, where the second packet is used to instruct the second PE to send a data packet to the user border device CE, where The first PE and the second PE are both connected to the CE.
在一种可能的实现方式中,所述装置还包括:In a possible implementation, the device further includes:
接收单元,用于接收所述第二PE发送的请求消息,所述请求消息包括所述第二PE的接入端口对应的ESI。The receiving unit is configured to receive a request message sent by the second PE, where the request message includes an ESI corresponding to an access port of the second PE.
在一种可能的实现方式中,所述装置还包括:In a possible implementation, the device further includes:
建立单元,用于建立所述第一PE和所述第二PE之间的虚拟链路隧道;a establishing unit, configured to establish a virtual link tunnel between the first PE and the second PE;
所述建立单元,还用于建立所述ESI与所述虚拟链路隧道之间的对应关系,所述ESI为所述CE分别为所述第一PE的接入端口和所述第二PE的接入端口分配的。The establishing unit is further configured to establish a correspondence between the ESI and the virtual link tunnel, where the ESI is the access port of the first PE and the second PE respectively. The access port is assigned.
在一种可能的实现方式中,所述虚拟链路隧道包括虚拟扩展局域网Vxlan隧道、多协议标签交换MPLS隧道或通用路由封装GRE隧道。In a possible implementation manner, the virtual link tunnel includes a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel, or a universal route encapsulated GRE tunnel.
本申请第四方面提供一种报文同步装置,包括:A fourth aspect of the present application provides a message synchronization apparatus, including:
接收单元,用于通过虚拟链路隧道接收第一PE发送的第二报文,所述虚拟链路隧道为与所述第一PE的接入端口对应的以太网段标识符ESI对应的链路隧道,所述第二报文为所述第一PE在接收到用户边界设备CE发送的所述第一报文后添加所述ESI得到的报文,所述第一PE和所述第二PE与所述CE连接;a receiving unit, configured to receive, by using a virtual link tunnel, a second packet sent by the first PE, where the virtual link tunnel is a link corresponding to an Ethernet segment identifier ESI corresponding to an access port of the first PE a tunnel, the second packet is sent by the first PE after receiving the first packet sent by the user border device CE, and the first PE and the second PE are added. Connected to the CE;
解析单元,用于对所述第二报文进行解析,获得所述第一报文和所述ESI;The parsing unit is configured to parse the second packet to obtain the first packet and the ESI;
发送单元,用于根据所述第一报文和所述ESI向所述CE发送数据报文。And a sending unit, configured to send a data packet to the CE according to the first packet and the ESI.
在一种可能的实现方式中,所述发送单元,还用于向所述第一PE发送请求消息,所述请求消息包括所述第二PE的接入端口对应的ESI,所述请求消息用于请求获取所 述ESI对应的所有报文。In a possible implementation manner, the sending unit is further configured to send a request message to the first PE, where the request message includes an ESI corresponding to an access port of the second PE, where the request message is used by Request for access All messages corresponding to ESI.
在一种可能的实现方式中,所述虚拟链路隧道包括虚拟扩展局域网Vxlan隧道、多协议标签交换MPLS隧道或通用路由封装GRE隧道。In a possible implementation manner, the virtual link tunnel includes a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel, or a universal route encapsulated GRE tunnel.
本申请第五方面提供一种报文同步装置,该装置包括处理器和存储器,存储器用于存储程序,处理器调用存储器存储的程序,以执行本申请第一方面提供的方法。A fifth aspect of the present application provides a message synchronization apparatus, the apparatus comprising a processor and a memory, the memory is for storing a program, and the processor calls a program stored in the memory to execute the method provided by the first aspect of the application.
本申请第六方面提供一种报文同步装置,该装置包括处理器和存储器,存储器用于存储程序,处理器调用存储器存储的程序,以执行本申请第二方面提供的方法。A sixth aspect of the present application provides a message synchronization apparatus, the apparatus comprising a processor and a memory, the memory is for storing a program, and the processor calls a program stored in the memory to perform the method provided by the second aspect of the present application.
本申请第七方面提供一种PE,包括用于执行以上第一方面的方法的至少一个处理元件(或芯片)。A seventh aspect of the present application provides a PE comprising at least one processing element (or chip) for performing the method of the above first aspect.
本申请第八方面提供一种PE,包括用于执行以上第二方面的方法的至少一个处理元件(或芯片)。An eighth aspect of the present application provides a PE comprising at least one processing element (or chip) for performing the method of the above second aspect.
本申请第九方面提供一种报文同步程序,该程序在被处理器执行时用于执行以上第一方面的方法。A ninth aspect of the present application provides a message synchronization program for performing the method of the above first aspect when executed by a processor.
本申请第十方面提供一种程序产品,例如计算机可读存储介质,包括第九方面的程序。A tenth aspect of the present application provides a program product, such as a computer readable storage medium, comprising the program of the ninth aspect.
本申请第十一方面提供一种报文同步程序,该程序在被处理器执行时用于执行以上第二方面的方法。An eleventh aspect of the present application provides a message synchronization program for performing the method of the above second aspect when executed by a processor.
本申请第十二方面提供一种程序产品,例如计算机可读存储介质,包括第十一方面的程序。A twelfth aspect of the present application provides a program product, such as a computer readable storage medium, comprising the program of the eleventh aspect.
本申请提供的报文同步方法和装置,第一PE在接收到CE发送的第一报文后,在该第一报文中添加ESI,得到第二报文,其中,该ESI为第一PE的接入端口对应的ESI,第一PE根据ESI与虚拟链路隧道之间的对应关系,确定与ESI对应的虚拟链路隧道,并通过确定出的虚拟链路隧道向第二PE发送第二报文,以使第二PE根据该第二报文向CE发送数据报文。由于在第一PE和第二PE之间建立点对点的虚拟链路隧道,第一PE将第一报文添加ESI标识获得第二报文之后,通过第一PE和第二PE之间的虚拟链路隧道将第二报文发送给第二PE,以使第二PE将数据报文正确发送给CE,由此可以保证数据报文的正确转发,从而保证了网络中业务的正常运行。The packet synchronization method and device provided by the present application, after receiving the first packet sent by the CE, the first PE adds an ESI to the first packet to obtain a second packet, where the ESI is the first PE. The ESI corresponding to the access port determines the virtual link tunnel corresponding to the ESI according to the correspondence between the ESI and the virtual link tunnel, and sends the second to the second PE through the determined virtual link tunnel. The packet is sent to the second PE to send a data packet to the CE according to the second packet. The first PE adds the ESI identifier to the first packet to obtain the second packet, and the virtual link between the first PE and the second PE is established after the first PE adds the ESI identifier to obtain the second packet. The second tunnel sends the second packet to the second PE, so that the second PE sends the data packet to the CE. This ensures that the data packet is correctly forwarded, thus ensuring normal operation of the network.
附图说明DRAWINGS
图1为现有技术中CE双归属组网示意图;FIG. 1 is a schematic diagram of a CE dual-homing networking in the prior art;
图2为本申请实施例提供的报文同步方法的使用场景示意图;FIG. 2 is a schematic diagram of a usage scenario of a packet synchronization method according to an embodiment of the present disclosure;
图3为CE多归属组网的示意图;3 is a schematic diagram of a CE multi-homing networking;
图4为本申请报文同步方法实施例一的信令流程图;4 is a signaling flowchart of Embodiment 1 of a message synchronization method of the present application;
图5为本申请报文同步方法实施例二的信令流程图;FIG. 5 is a signaling flowchart of Embodiment 2 of a message synchronization method of the present application;
图6为本申请实施例提供的报文同步装置实施例一的结构示意图;FIG. 6 is a schematic structural diagram of Embodiment 1 of a packet synchronization apparatus according to an embodiment of the present disclosure;
图7为本申请实施例提供的报文同步装置实施例二的结构示意图;FIG. 7 is a schematic structural diagram of Embodiment 2 of a packet synchronization apparatus according to an embodiment of the present disclosure;
图8为本申请实施例提供的报文同步装置实施例三的结构示意图;FIG. 8 is a schematic structural diagram of Embodiment 3 of a packet synchronization apparatus according to an embodiment of the present disclosure;
图9A为本申请PE的一种可能的结构示意图;9A is a schematic structural diagram of a PE of the present application;
图9B为本申请PE的另一种可能的结构示意图。 FIG. 9B is another schematic structural diagram of a PE of the present application.
具体实施方式Detailed ways
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some of the terms in the present application will be explained to be understood by those skilled in the art.
1)多归属组网,其是在及时突发灾害事故时能够提供正常通信的一种紧急容灾机制。多归属功能即为一个CE可以同时归属于多个不同的PE。当其中一个PE发生故障,CE的业务还可以通过其他的PE转发。1) Multi-homed networking, which is an emergency disaster recovery mechanism that can provide normal communication in the event of a sudden disaster. The multi-homing function means that one CE can belong to multiple different PEs at the same time. When one of the PEs fails, the services of the CE can also be forwarded through other PEs.
2)本申请中的单元是指功能单元或逻辑单元。其可以为软件形式,通过处理器执行程序代码来实现其功能;也可以为硬件形式。2) A unit in this application refers to a functional unit or a logical unit. It can be in the form of software, which is implemented by the processor executing program code; it can also be in hardware form.
3)“多个”是指两个或两个以上,其它量词与之类似。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。“以上”或“以下”等所描述的范围包括边界点。3) "Multiple" means two or more, and other quantifiers are similar. "and/or", describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately. The character "/" generally indicates that the contextual object is an "or" relationship. The ranges described in "above" or "below" and the like include boundary points.
本申请实施例提供的报文同步方法,可以适用于多归属组网中,图2为本申请实施例提供的报文同步方法的使用场景示意图,如图2所示,该CE双归属组网中包括CE1、CE2、PE1、PE2和PE3,其中CE1通过端口(PORT)1和PE1相连,通过端口(PORT)2和PE2相连,PE1和PE2均通过网络(如广域网)与PE3相连,PE3和CE2相连,另外,PE1和PE2之间存在虚拟链路隧道,以进行PE1和PE2之间报文的转发,PE1和PE2配置相同的用户侧虚拟局域网(virtual local area network,vlan)和接口IP。按照以太网虚拟专用网(ethernet virtual private network,EVPN)标准,为PE1和PE2双归接入的端口分配相同的ESI。The packet synchronization method provided by the embodiment of the present application can be applied to a multi-homing network. FIG. 2 is a schematic diagram of a usage scenario of the packet synchronization method according to the embodiment of the present application. As shown in FIG. 2, the CE dual-homing network is configured. CE1, CE2, PE1, PE2, and PE3, where CE1 is connected to PE1 through port (PORT)1, and connected to PE2 through port (PORT)2. Both PE1 and PE2 are connected to PE3 through a network (such as a wide area network). CE2 is connected. In addition, a virtual link tunnel exists between PE1 and PE2 to forward packets between PE1 and PE2. PE1 and PE2 are configured with the same virtual local area network (vlan) and interface IP. According to the Ethernet virtual private network (EVPN) standard, the same ESI is allocated for the ports that PE1 and PE2 are dual-homed.
参照图2,CE2向CE1转发数据报文时将存在两条转发路径,分别为CE2->PE3->PE1->(PORT)1->CE1和CE2->PE3->PE2->(PORT)2->CE1,同样的,CE1向CE2转发数据报文时也存在两条转发路径,分别为CE1->(PORT)1->PE1->PE3->CE2和CE1->(PORT)2->PE2->PE3->CE2。Referring to Figure 2, when CE2 forwards data packets to CE1, there are two forwarding paths: CE2->PE3->PE1->(PORT)1->CE1 and CE2->PE3->PE2->(PORT) 2->CE1. Similarly, when CE1 forwards data packets to CE2, there are two forwarding paths: CE1->(PORT)1->PE1->PE3->CE2 and CE1->(PORT)2- >PE2->PE3->CE2.
当CE1向CE2转发数据报文时,CE1将从上述两条路径中随机选择一条路径向CE2转发该数据报文,当CE2向CE1转发数据报文时,CE2将数据报文发送给PE3后,PE3将从前述两条路径中随机选择一条路径向CE1转发该数据报文,PE1或PE2在接收到数据报文之后,会根据本地的ARP找到对应的端口将数据报文转发给CE1。若从CE1发送到CE2的上行数据报文只经过PE1时,PE2中将不存在到达CE1的ARP。此时,若PE3通过PE2向CE1转发数据报文时,PE2将会向所有与其连接的CE1发送ARP请求消息,由于该ARP请求中携带有数据报文的目的网络协议(internet protocol,IP)地址,因此当CE1接收到ARP请求消息,并确定出ARP请求消息中携带的IP地址即为自身的地址后,将会发送报文。由于CE1发送报文的路径有两条,若CE1通过PE1发送报文,对于PE2来说,将不会接收到CE1发送的报文,因此,PE3通过PE2向CE1转发数据报文将会失败,导致网络中业务不能正常运行。When CE1 forwards the data packet to CE2, CE1 will randomly select a path from the two paths to forward the data packet to CE2. When CE2 forwards the data packet to CE1, CE2 sends the data packet to PE3. The PE3 forwards the data packet to the CE1 from the two paths. After receiving the data packet, PE1 or PE2 finds the corresponding port based on the local ARP and forwards the data packet to CE1. If the uplink data packet sent from CE1 to CE2 passes only through PE1, there is no ARP on CE1. At this time, if PE3 forwards the data packet to CE1 through PE2, PE2 sends an ARP request message to all CE1s connected to it. The ARP request carries the destination network protocol (IP) address of the data packet. Therefore, when CE1 receives the ARP request message and determines that the IP address carried in the ARP request message is its own address, the packet will be sent. The number of packets sent by CE1 is two. If CE1 sends a packet through PE1, PE1 will not receive the packet from CE1. Therefore, PE3 fails to forward data packets to CE1 through PE2. The services in the network are not working properly.
本申请实施例考虑到这些情况,在图2所示的系统架构的基础上,提出一种报文同步方法,该方法中PE1在接收到CE发送的第一报文后,在第一报文中添加PE1的接入端口对应的以太网段标识符(ethernet segment identifier,ESI),得到第二报文,并根据ESI与虚拟链路隧道之间的对应关系,确定与ESI对应的虚拟链路隧道,确定 出虚拟链路隧道之后,PE1通过该虚拟链路隧道向PE2发送该第二报文,PE2将根据该第二报文向CE1发送数据报文,由于PE1和PE2之间存在虚拟链路隧道,PE1和PE2可以通过该虚拟链路隧道进行报文的同步,因此,无论CE1将报文发送给PE1还是PE2,都可以保证数据报文的正确发送,从而确保了网络中业务的正常运行。In the embodiment of the present application, in consideration of the above, a message synchronization method is proposed on the basis of the system architecture shown in FIG. 2, in which the PE1 receives the first packet sent by the CE, and then the first packet. The Ethernet segment identifier (ESI) corresponding to the access port of the PE1 is added to obtain the second packet, and the virtual link corresponding to the ESI is determined according to the correspondence between the ESI and the virtual link tunnel. Tunnel, ok After the virtual link tunnel is sent, the PE1 sends the second packet to the PE2 through the virtual link tunnel. The PE2 sends a data packet to the CE1 according to the second packet. The virtual link tunnel exists between the PE1 and the PE2. Both the PE1 and the PE2 can synchronize the packets through the virtual link tunnel. Therefore, whether the CE1 sends the packet to the PE1 or the PE2, the device can ensure the correct transmission of data packets, thus ensuring the normal operation of services on the network.
另外,图3为CE多归属组网的示意图,如图3所示,CE 1多归到PE 1和PE 2上,CE 2多归到PE 2和PE 3上,CE 1和CE 2上均配置一个B类型保护(TypeB)双归/中继(Trunk)组,PE 1和PE 2配置相同的用户侧vlan和接口IP,如vlan 50和IP:50.1.1.1/24,即PE 1和PE 2对CE 1虚拟成一个PE,PE 2和PE 3配置相同的用户侧vlan和接口IP,如vlan 60和IP:60.1.1.1/24,即PE 2和PE 3对CE 2虚拟成一个PE。PE 1和PE 2之间存在虚拟链路隧道,PE 2和PE 3之间存在虚拟链路隧道,这样,PE 1和PE 2之间可以通过虚拟链路隧道实现报文的同步,PE 2和PE 3之间也可以通过虚拟链路隧道实现报文的同步。In addition, FIG. 3 is a schematic diagram of a CE multi-homing network. As shown in FIG. 3, CE 1 is mostly assigned to PE 1 and PE 2, and CE 2 is mostly returned to PE 2 and PE 3, and CE 1 and CE 2 are both Configure a B-type protection (TypeB) dual-homing/relay (Trunk) group. PE 1 and PE 2 are configured with the same user-side vlan and interface IP, such as vlan 50 and IP: 50.1.1.1/24, that is, PE 1 and PE. 2 CE 1 is virtualized into a PE, and PE 2 and PE 3 are configured with the same user-side vlan and interface IP, such as vlan 60 and IP: 60.1.1.1/24, that is, PE 2 and PE 3 are virtualized into one PE for CE 2. A virtual link tunnel exists between PE 1 and PE 2, and a virtual link tunnel exists between PE 2 and PE 3. In this way, packets between PE 1 and PE 2 can be synchronized through the virtual link tunnel. Packets can be synchronized between PEs through virtual link tunnels.
另外,如图3所示,由于PE 1和PE 2之间存在虚拟链路隧道,PE 2和PE 3之间也存在虚拟链路隧道,而且PE 2上将存在两个接入端口对应的ESI,因此,PE2在进行报文转发时,可以通过ESI与虚拟链路隧道之间的对应关系,确定通过哪条虚拟链路隧道进行报文转发。In addition, as shown in FIG. 3, since there is a virtual link tunnel between PE 1 and PE 2, a virtual link tunnel exists between PE 2 and PE 3, and there are two ESIs corresponding to the access ports on PE 2 . Therefore, when the packet is forwarded, the PE2 can determine the virtual link tunnel to forward packets through the correspondence between the ESI and the virtual link tunnel.
需要说明的是,本申请实施例中均以双归属组网进行说明,多归属组网中报文同步的方法与双归属组网中报文同步的方法类似,此处不再赘述。It should be noted that, in the embodiment of the present application, the dual-homing network is used for the description, and the method for synchronizing the packets in the multi-homing network is similar to the method for synchronizing the packets in the dual-homing network, and details are not described herein again.
下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solutions of the present application and the technical solutions of the present application are described in detail in the following specific embodiments to solve the above technical problems. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
图4为本申请报文同步方法实施例一的信令流程图。在上述图2所示系统架构的基础上,如图4所示,本实施例的方法可以包括:FIG. 4 is a signaling flowchart of Embodiment 1 of a message synchronization method of the present application. On the basis of the system architecture shown in FIG. 2, as shown in FIG. 4, the method in this embodiment may include:
步骤401、第一PE接收CE发送的第一报文。Step 401: The first PE receives the first packet sent by the CE.
在本实施例中,第一报文可以为控制报文、协议报文或业务报文,其中,业务报文例如为ARP、动态主机配置协议(dynamic host configuration protocol,DHCP)或网际组管理协议(internet group management protocol,IGMP)等,当然,第一报文还可以为其他的报文,对于第一报文的具体形式,本实施例在此不作限制。In this embodiment, the first packet may be a control packet, a protocol packet, or a service packet, where the service packet is, for example, an ARP, a dynamic host configuration protocol (DHCP), or an internet group management protocol. (internet group management protocol, IGMP), etc., of course, the first packet may also be other packets. The specific format of the first packet is not limited in this embodiment.
第一PE和第二PE在进行报文同步时,可以进行实时同步,也可以进行批量同步。When the first PE and the second PE perform packet synchronization, they can perform real-time synchronization or batch synchronization.
具体地,第一PE和第二PE的报文需要进行实时同步时,第一PE在接收到CE发送的第一报文后,就会触发报文的同步。Specifically, when the first PE and the second PE need to perform real-time synchronization, the first PE triggers the synchronization of the packet after receiving the first packet sent by the CE.
另外,在TypeB双归/Trunk组成员的增加/删除,或者是第二PE新加入/复位重启时,由于第一PE在接收到CE发送的第一报文时,第二PE可能并不存在,当第二PE正常工作后,第一PE已经结束接收第一报文,此时,第一PE和第二PE之间将不能进行报文的实时同步,而是要进行批量同步。在一种可能的实现方式中,当第二PE正常工作后,第二PE会向第一PE发送请求消息,其中,该请求消息中包括第二PE的接入端口对应的ESI,第一PE根据接收到的请求消息,将从本地获取第一报文,其中,第一报文包括ESI对应的所有用户的信息。另外,当第一PE接收到CE发送的报 文之后,会通过报文生成用户信息,当第一PE在接收到第二PE发送的请求消息后,将从本地学习第一PE的接入端口对应的ESI对应的所有用户信息,并将学习到的用户信息封装为第一报文。需要进行说明的是,第一PE的接入端口对应的ESI与第二PE的接入端口对应的ESI相同,因此,第一PE可以根据请求消息中的第二PE的接入端口对应的ESI,获取第一PE的接入端口的ESI对应的第一报文。In addition, when the first PE receives the first packet sent by the CE, the second PE may not exist when the first PE sends the first packet sent by the CE. After the second PE is working normally, the first PE has finished receiving the first packet. At this time, the real-time synchronization of the packet cannot be performed between the first PE and the second PE, but the batch synchronization is performed. In a possible implementation manner, after the second PE works normally, the second PE sends a request message to the first PE, where the request message includes an ESI corresponding to the access port of the second PE, and the first PE The first packet is obtained locally according to the received request message, where the first packet includes information of all users corresponding to the ESI. In addition, when the first PE receives the report sent by the CE After the text, the user information is generated by using the message, and after receiving the request message sent by the second PE, the first PE learns all the user information corresponding to the ESI corresponding to the access port of the first PE, and learns The obtained user information is encapsulated into the first message. It should be noted that the ESI corresponding to the access port of the first PE is the same as the ESI corresponding to the access port of the second PE. Therefore, the first PE may be configured according to the ESI corresponding to the access port of the second PE in the request message. Obtaining a first packet corresponding to the ESI of the access port of the first PE.
步骤402、第一PE在第一报文中添加ESI,得到第二报文。Step 402: The first PE adds an ESI to the first packet to obtain a second packet.
其中,该ESI为第一PE的接入端口对应的ESI。The ESI is an ESI corresponding to an access port of the first PE.
在本实施例中,第一PE在获取到第一报文之后,将根据接入链路,在第一报文中添加第一PE的接入端口对应的ESI,获得第二报文。In this embodiment, after acquiring the first packet, the first PE adds the ESI corresponding to the access port of the first PE to the first packet according to the access link, and obtains the second packet.
在一种可能的实现方式中,第一PE可以在第一报文的报文头中添加ESI,也可以在第一报文结束时添加ESI,当然,还可以在第一报文中的其他字段中添加ESI,对于ESI添加的具体方式,本实施例在此不作限制。In a possible implementation manner, the first PE may add an ESI in the packet header of the first packet, or may add an ESI at the end of the first packet, and of course, may also be in the first packet. ESI is added to the field. The specific manner of the ESI addition is not limited in this embodiment.
步骤403、第一PE根据ESI与虚拟链路隧道之间的对应关系,确定与ESI对应的虚拟链路隧道。Step 403: The first PE determines a virtual link tunnel corresponding to the ESI according to the correspondence between the ESI and the virtual link tunnel.
在本实施例中,第一PE与第二PE之间建立有点到点虚拟链路隧道,使得第一PE与第二PE之间无须直连链路连接。In this embodiment, a point-to-point virtual link tunnel is established between the first PE and the second PE, so that no direct link connection is needed between the first PE and the second PE.
其中,第一PE与第二PE之间的虚拟链路隧道包括虚拟扩展局域网(virtual eXtensible LAN,Vxlan)隧道、多协议标签交换(multi-protocol label switching,MPLS)虚拟专线服务(virtual private wire service,VWPS)隧道或通用路由封装(generic routing encapsulation,GRE)隧道等。其中,虚拟链路隧道为MPLS VWPS隧道时,双归组网中汇聚网络为MPLS网络,虚拟链路隧道为GRE隧道时,双归组网中汇聚网络为IP网络。The virtual link tunnel between the first PE and the second PE includes a virtual eXtensible LAN (Vxlan) tunnel and a multi-protocol label switching (MPLS) virtual private line service (virtual private wire service). , VWPS) tunnel or general routing encapsulation (GRE) tunnel. When the virtual link tunnel is an MPLS VWPS tunnel, the aggregation network in the dual-homing network is an MPLS network. When the virtual link tunnel is a GRE tunnel, the aggregation network in the dual-homing network is an IP network.
在一种可能的实施方式中,第一PE根据ESI与虚拟链路隧道之间的对应关系,确定与ESI对应的虚拟链路隧道之前,第一PE需要先建立ESI与虚拟链路隧道之间的对应关系。具体地,第一PE首先建立第一PE和第二PE之间的虚拟链路隧道,建立完成之后,将建立ESI与虚拟链路隧道之间的对应关系,其中,ESI为CE分别为第一PE的接入端口和第二PE的接入端口分配的,由于第一PE和第二PE均与CE连接,在组网时,将为第一PE的接入端口和第二PE的接入端口分配相同的ESI。In a possible implementation manner, before the first PE determines the virtual link tunnel corresponding to the ESI according to the correspondence between the ESI and the virtual link tunnel, the first PE needs to establish the relationship between the ESI and the virtual link tunnel. Correspondence. Specifically, the first PE first establishes a virtual link tunnel between the first PE and the second PE, and after the establishment is completed, a correspondence between the ESI and the virtual link tunnel is established, where the ESI is the first for the CE. When the access port of the PE and the access port of the second PE are allocated, the first PE and the second PE are both connected to the CE, and when the network is connected, the access port of the first PE and the access of the second PE are The ports are assigned the same ESI.
值得注意的是,若第一PE或第二PE与多个CE连接,即存在多个接入端口时,可以为每个ESI独立建立一条虚拟链路隧道,即每个ESI均对应不同的虚拟链路隧道,也可以复用同一条虚拟链路隧道,即第一PE和第二PE之间只存在一条虚拟链路隧道,多个ESI均对应相同的虚拟链路隧道。It should be noted that if the first PE or the second PE is connected to multiple CEs, that is, when multiple access ports exist, a virtual link tunnel may be established independently for each ESI, that is, each ESI corresponds to a different virtual The link tunnel can also be multiplexed with the same virtual link tunnel. That is, only one virtual link tunnel exists between the first PE and the second PE, and multiple ESIs correspond to the same virtual link tunnel.
另外,可以理解,以上的步骤402及步骤403的执行顺序仅是一种示意。步骤402与步骤403没有执行的先后顺序的区分,可以先执行步骤402,再执行步骤403;也可以先执行步骤403,再执行步骤402;也可以同时执行这两个步骤,本申请实施例对此不做特别限定。In addition, it can be understood that the execution order of the above steps 402 and 403 is only an indication. The step 402 and the step 403 are not performed in the sequence, and the step 402 is performed first, and then the step 403 is performed; or the step 403 is performed first, and then the step 402 is performed; This is not particularly limited.
步骤404、第一PE通过虚拟链路隧道向第二PE发送第二报文。Step 404: The first PE sends a second packet to the second PE by using the virtual link tunnel.
其中,该第二报文用于指示第二PE向CE发送数据报文,第一PE和第二PE均与CE连接。 The second packet is used to instruct the second PE to send a data packet to the CE, and the first PE and the second PE are both connected to the CE.
在本实施例中,第一PE和第二PE均与CE连接,且第一PE或第二PE与CE相连的链路,不仅支持以太网Ethernet接入,而且支持无源光网络(passive optical network,PON)接入,由此可以提高接入的灵活性。In this embodiment, the first PE and the second PE are both connected to the CE, and the link connecting the first PE or the second PE to the CE not only supports Ethernet Ethernet access but also supports passive optical network (passive optical network) Network, PON) access, which can increase the flexibility of access.
第一PE在根据自身的接入端口对应的ESI,确定出该ESI对应的虚拟链路隧道之后,将通过确定出的虚拟链路隧道向第二PE发送第二报文。第二PE在接收到第二报文后,会根据第二报文向CE发送数据报文。另外,第二报文不仅用于指示第二PE向CE发送数据报文,还可以用于指示第二PE针对CE的信息做接入安全控制,以及其他跟用户CE相关的业务。After determining the virtual link tunnel corresponding to the ESI according to the ESI corresponding to the access port of the first PE, the first PE sends a second packet to the second PE by using the determined virtual link tunnel. After receiving the second packet, the second PE sends a data packet to the CE according to the second packet. In addition, the second packet is not only used to indicate that the second PE sends a data packet to the CE, but also may be used to indicate that the second PE performs access security control for the CE information, and other services related to the user CE.
步骤405、第二PE对第二报文进行解析,获得第一报文和ESI。Step 405: The second PE parses the second packet to obtain the first packet and the ESI.
在本实施例中,第二PE在接收到第一PE发送的第二报文后,将对第二报文进行解析,获得第一报文和ESI。In this embodiment, after receiving the second packet sent by the first PE, the second PE parses the second packet to obtain the first packet and the ESI.
步骤406、第二PE根据第一报文和ESI向CE发送数据报文。Step 406: The second PE sends a data packet to the CE according to the first packet and the ESI.
在本实施例中,由于第一PE的接入端口的ESI与第二PE的接入端口的ESI相同,因此,第二PE可以根据解析获得的ESI得到本机的接入端口信息。In this embodiment, since the ESI of the access port of the first PE is the same as the ESI of the access port of the second PE, the second PE may obtain the access port information of the local device according to the ESI obtained by the parsing.
在一种可能的实现方式中,第一报文中包括有CE的媒体访问控制(media access control,MAC)地址,当第一PE通过虚拟链路隧道向第二PE发送第二报文,第二PE还原出第一报文和ESI,并通过解析第一报文获得CE的MAC地址后,将可以根据本机的接入端口信息以及前述MAC地址向对应的CE发送数据报文。因此,对于第二PE来说,相当于直接接收到CE发送的报文,由此可以保证数据报文的正确转发。In a possible implementation, the first packet includes a media access control (MAC) address of the CE, and the first PE sends the second packet to the second PE by using the virtual link tunnel. The second PE restores the first packet and the ESI, and obtains the MAC address of the CE by parsing the first packet, and then sends a data packet to the corresponding CE according to the access port information of the local device and the MAC address. Therefore, for the second PE, it is equivalent to directly receiving the packet sent by the CE, thereby ensuring correct forwarding of the data packet.
另外,第一报文中还可以包括其他可以唯一标识CE的信息,对于第一报文中包含的内容,本申请实施例在此不作限制。In addition, the first packet may include other information that can uniquely identify the CE. The content of the content in the first packet is not limited herein.
另外,通过本实施例中的方式进行报文的同步后,虽然CE只发送了一份报文,但是第一PE和第二PE均可以同时接收并处理该报文,从而使得第一PE和第二PE都可以维护本机的软件数据表项。In addition, after the packet is synchronized in the manner of the embodiment, the CE can only receive one packet, but the first PE and the second PE can simultaneously receive and process the packet, so that the first PE and the first PE The second PE can maintain the software data entry of the machine.
需要进行说明的是,第一PE和第二PE是对等的,即也可以是第二PE在获取到第一报文之后,在第一报文中添加第二PE的接入端口对应的ESI,并根据确定出ESI对应的虚拟链路隧道,通过该虚拟链路隧道将添加ESI的第一报文发送给第一PE,以达到第一PE和第二PE之间的报文同步。It should be noted that the first PE and the second PE are peer-to-peer, that is, after the second PE obtains the first packet, the second PE adds the access port of the second PE to the first packet. ESI, and according to the virtual link tunnel corresponding to the ESI, the first message of the added ESI is sent to the first PE through the virtual link tunnel, so as to achieve packet synchronization between the first PE and the second PE.
本申请实施例提供的报文同步方法,第一PE在接收到CE发送的第一报文后,在该第一报文中添加ESI,得到第二报文,其中,该ESI为第一PE的接入端口对应的ESI,第一PE根据ESI与虚拟链路隧道之间的对应关系,确定与ESI对应的虚拟链路隧道,并通过确定出的虚拟链路隧道向第二PE发送第二报文,以使第二PE根据该第二报文向CE发送数据报文。由于在第一PE和第二PE之间建立点对点的虚拟链路隧道,第一PE将第一报文添加ESI标识获得第二报文之后,通过第一PE和第二PE之间的虚拟链路隧道将第二报文发送给第二PE,以使第二PE将数据报文正确发送给CE,由此可以保证数据报文的正确转发,从而保证了网络中业务的正常运行。In the packet synchronization method provided by the embodiment of the present application, after receiving the first packet sent by the CE, the first PE adds an ESI to the first packet to obtain a second packet, where the ESI is the first PE. The ESI corresponding to the access port determines the virtual link tunnel corresponding to the ESI according to the correspondence between the ESI and the virtual link tunnel, and sends the second to the second PE through the determined virtual link tunnel. The packet is sent to the second PE to send a data packet to the CE according to the second packet. The first PE adds the ESI identifier to the first packet to obtain the second packet, and the virtual link between the first PE and the second PE is established after the first PE adds the ESI identifier to obtain the second packet. The second tunnel sends the second packet to the second PE, so that the second PE sends the data packet to the CE. This ensures that the data packet is correctly forwarded, thus ensuring normal operation of the network.
图5为本申请报文同步方法实施例二的信令流程图。在上述各实施例以及图2所示系统架构的基础上,本实施例中以第一PE接收CE发送的第一报文,且第一报文为第一ARP报文为例进行说明。如图5所示,本实施例的方法可以包括: FIG. 5 is a signaling flowchart of Embodiment 2 of a message synchronization method of the present application. On the basis of the foregoing embodiments and the system architecture shown in FIG. 2, in this embodiment, the first PE receives the first packet sent by the CE, and the first packet is the first ARP packet. As shown in FIG. 5, the method in this embodiment may include:
步骤501、第一PE接收CE发送的第一ARP报文。Step 501: The first PE receives the first ARP packet sent by the CE.
在一种可能的实施方式中,第一ARP报文中携带有CE的MAC地址信息,第一ARP报文用于指示第一PE或第二PE将数据报文转发到MAC地址信息对应的CE。In a possible implementation manner, the first ARP packet carries the MAC address information of the CE, where the first ARP packet is used to indicate that the first PE or the second PE forwards the data packet to the CE corresponding to the MAC address information. .
步骤502、第一PE在第一ARP报文中添加第一PE的接入端口对应的ESI,得到第二ARP报文。Step 502: The first PE adds an ESI corresponding to the access port of the first PE in the first ARP packet to obtain a second ARP packet.
步骤503、第一PE根据ESI与虚拟链路隧道之间的对应关系,确定与ESI对应的虚拟链路隧道。Step 503: The first PE determines a virtual link tunnel corresponding to the ESI according to the correspondence between the ESI and the virtual link tunnel.
其中,与ESI对应的虚拟链路隧道即为第一PE与第二PE之间的点对点虚拟链路隧道,如Vxlan隧道、MPLS隧道或GRE隧道等。The virtual link tunnel corresponding to the ESI is a point-to-point virtual link tunnel between the first PE and the second PE, such as a Vxlan tunnel, an MPLS tunnel, or a GRE tunnel.
步骤504、第一PE通过虚拟链路隧道向第二PE发送第二ARP报文。Step 504: The first PE sends a second ARP packet to the second PE by using the virtual link tunnel.
其中,第一PE和第二PE均与CE连接,第二ARP报文用于指示第二PE向CE发送数据报文。The first PE and the second PE are both connected to the CE, and the second ARP packet is used to instruct the second PE to send a data packet to the CE.
步骤505、第二PE对第二ARP报文进行解析,获得第一ARP报文和ESI。Step 505: The second PE parses the second ARP packet to obtain the first ARP packet and the ESI.
步骤506、第二PE根据第一ARP报文和ESI向CE发送数据报文。Step 506: The second PE sends a data packet to the CE according to the first ARP packet and the ESI.
其中,第一PE和第二PE的接入端口对应的ESI相同,因此,第二PE在获得ESI之后,将会根据该ESI得到本机的接入端口信息,并通过解析第一ARP报文,获取到第一ARP报文中携带的MAC地址,这样,第二PE将会通过接入端口信息以及MAC地址,将数据报文正确的发送给CE。The ESI corresponding to the access port of the first PE and the second PE is the same. Therefore, after obtaining the ESI, the second PE obtains the access port information of the local device according to the ESI, and parses the first ARP packet. The MAC address carried in the first ARP packet is obtained, so that the second PE will correctly send the data packet to the CE through the access port information and the MAC address.
本申请实施例提供的报文同步方法,第一PE在获取到第一报文后,在该第一报文中添加ESI,得到第二报文,其中,该ESI为第一PE的接入端口对应的ESI,第一PE根据ESI与虚拟链路隧道之间的对应关系,确定与ESI对应的虚拟链路隧道,并通过确定出的虚拟链路隧道向第二PE发送第二报文,以使第二PE根据该第二报文向CE发送数据报文。由于在第一PE和第二PE之间建立点对点的虚拟链路隧道,第一PE将第一报文添加ESI标识获得第二报文之后,通过第一PE和第二PE之间的虚拟链路隧道将第二报文发送给第二PE,以使第二PE将数据报文正确发送给CE,由此可以保证数据报文的正确转发,从而保证了网络中业务的正常运行。In the packet synchronization method provided by the embodiment, after the first PE obtains the first packet, the first PE adds an ESI to the first packet to obtain a second packet, where the ESI is the access of the first PE. The ESI corresponding to the port, the first PE determines the virtual link tunnel corresponding to the ESI according to the correspondence between the ESI and the virtual link tunnel, and sends the second packet to the second PE by using the determined virtual link tunnel. The second PE sends a data packet to the CE according to the second packet. The first PE adds the ESI identifier to the first packet to obtain the second packet, and the virtual link between the first PE and the second PE is established after the first PE adds the ESI identifier to obtain the second packet. The second tunnel sends the second packet to the second PE, so that the second PE sends the data packet to the CE. This ensures that the data packet is correctly forwarded, thus ensuring normal operation of the network.
图6为本申请实施例提供的报文同步装置实施例一的结构示意图,参见图6,该同步装置包括:接收单元11、处理单元12、确定单元13和发送单元14,其中:FIG. 6 is a schematic structural diagram of Embodiment 1 of a packet synchronization apparatus according to an embodiment of the present disclosure. Referring to FIG. 6, the synchronization apparatus includes: a receiving unit 11, a processing unit 12, a determining unit 13, and a sending unit 14, where:
接收单元11用于接收用户边界设备CE发送的第一报文;The receiving unit 11 is configured to receive the first packet sent by the user border device CE;
处理单元12用于在所述第一报文中添加以太网段标识符ESI,得到第二报文;所述ESI为所述第一PE的接入端口对应的ESI;The processing unit 12 is configured to add an Ethernet segment identifier ESI to the first packet to obtain a second packet, where the ESI is an ESI corresponding to an access port of the first PE;
确定单元13用于根据ESI与虚拟链路隧道之间的对应关系,确定与所述ESI对应的虚拟链路隧道;The determining unit 13 is configured to determine a virtual link tunnel corresponding to the ESI according to a correspondence between the ESI and the virtual link tunnel;
发送单元14用于通过所述虚拟链路隧道向第二PE发送所述第二报文,所述第二报文用于指示所述第二PE向用户边界设备CE发送数据报文,所述第一PE和所述第二PE均与所述CE连接。The sending unit 14 is configured to send the second packet to the second PE by using the virtual link tunnel, where the second packet is used to instruct the second PE to send a data packet to the user border device CE, where The first PE and the second PE are both connected to the CE.
上述装置可用于执行上述对应方法实施例提供的方法,具体实现方式和技术效果类似,这里不再赘述。 The foregoing apparatus may be used to perform the method provided by the foregoing corresponding method embodiment, and the specific implementation manner and the technical effect are similar, and details are not described herein again.
可选地,所述接收单元15还用于接收所述第二PE发送的请求消息,所述请求消息包括所述第二PE的接入端口对应的ESI。Optionally, the receiving unit 15 is further configured to receive a request message sent by the second PE, where the request message includes an ESI corresponding to an access port of the second PE.
上述装置可用于执行上述对应方法实施例提供的方法,具体实现方式和技术效果类似,这里不再赘述。The foregoing apparatus may be used to perform the method provided by the foregoing corresponding method embodiment, and the specific implementation manner and the technical effect are similar, and details are not described herein again.
图7为本申请实施例提供的报文同步装置实施例二的结构示意图,参见图7,在图6所示实施例的基础上,所述装置还包括:建立单元15。FIG. 7 is a schematic structural diagram of Embodiment 2 of a packet synchronization apparatus according to an embodiment of the present disclosure. Referring to FIG. 7, on the basis of the embodiment shown in FIG. 6, the apparatus further includes: an establishing unit 15.
建立单元15用于建立所述第一PE和所述第二PE之间的虚拟链路隧道;The establishing unit 15 is configured to establish a virtual link tunnel between the first PE and the second PE.
所述建立单元15还用于建立所述ESI与所述虚拟链路隧道之间的对应关系,所述ESI为所述CE分别为所述第一PE的接入端口和所述第二PE的接入端口分配的。The establishing unit 15 is further configured to establish a correspondence between the ESI and the virtual link tunnel, where the ESI is the access port of the first PE and the second PE respectively. The access port is assigned.
可选地,所述虚拟链路隧道包括虚拟扩展局域网Vxlan隧道、多协议标签交换MPLS隧道或通用路由封装GRE隧道。Optionally, the virtual link tunnel includes a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel, or a universal route encapsulated GRE tunnel.
上述装置可用于执行上述对应方法实施例提供的方法,具体实现方式和技术效果类似,这里不再赘述。The foregoing apparatus may be used to perform the method provided by the foregoing corresponding method embodiment, and the specific implementation manner and the technical effect are similar, and details are not described herein again.
需要说明的是,应理解以上报文同步装置的各个单元的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些单元可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分单元通过软件通过处理元件调用的形式实现,部分单元通过硬件的形式实现。例如,获取单元可以为单独设立的处理元件,也可以集成在PE的某一个芯片中实现,此外,也可以以程序的形式存储于PE的存储器中,由PE的某一个处理元件调用并执行该获取单元的功能。其它单元的实现与之类似。此外这些单元全部或部分可以集成在一起,也可以独立实现。这里所述的处理单元可以是一种集成电路,具有信号的处理能力。在实现过程中,上述方法的各步骤或以上各个单元可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be noted that the division of each unit of the above message synchronization device is only a division of a logical function, and the actual implementation may be integrated into one physical entity in whole or in part, or may be physically separated. Moreover, these units may all be implemented in the form of software by means of processing component calls; or may be implemented entirely in hardware; some units may be implemented by software in the form of processing component calls, and some units may be implemented in the form of hardware. For example, the obtaining unit may be a separately set processing element, or may be integrated in one chip of the PE, or may be stored in a memory of the PE in the form of a program, which is called and executed by a processing element of the PE. Get the function of the unit. The implementation of other units is similar. In addition, all or part of these units can be integrated or implemented independently. The processing unit described herein can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above units may be completed by an integrated logic circuit of hardware in the processor element or an instruction in a form of software.
以上这些单元可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(application specific integrated circuit,ASIC),或,一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA)等。再如,当以上某个单元通过处理元件调度程序的形式实现时,该计算单元可以是通用处理器,例如中央处理器(central processing unit,CPU)或其它可以调用程序的处理器。再如,这些单元可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。The above units may be one or more integrated circuits configured to implement the above methods, such as: one or more application specific integrated circuits (ASICs), or one or more microprocessors (digital signal processor) , DSP), or, one or more field programmable gate arrays (FPGAs), and the like. For another example, when one of the above units is implemented in the form of a processing component scheduler, the computing unit may be a general purpose processor, such as a central processing unit (CPU) or other processor that can invoke the program. As another example, these units can be integrated and implemented in the form of a system-on-a-chip (SOC).
图8为本申请实施例提供的报文同步装置实施例三的结构示意图,参见图8,该同步装置包括:接收单元21、解析单元22和发送单元23,其中:FIG. 8 is a schematic structural diagram of Embodiment 3 of a packet synchronization apparatus according to an embodiment of the present disclosure. Referring to FIG. 8, the synchronization apparatus includes: a receiving unit 21, a parsing unit 22, and a sending unit 23, where:
接收单元21用于通过虚拟链路隧道接收第一PE发送的第二报文,所述虚拟链路隧道为与所述第一PE的接入端口对应的以太网段标识符ESI对应的链路隧道,所述第二报文为所述第一PE在接收到用户边界设备CE发送的所述第一报文后添加所述ESI得到的报文,所述第一PE和所述第二PE与所述CE连接;The receiving unit 21 is configured to receive, by using a virtual link tunnel, a second packet sent by the first PE, where the virtual link tunnel is a link corresponding to the Ethernet segment identifier ESI corresponding to the access port of the first PE. a tunnel, the second packet is sent by the first PE after receiving the first packet sent by the user border device CE, and the first PE and the second PE are added. Connected to the CE;
解析单元22用于对所述第二报文进行解析,获得所述第一报文和所述ESI;The parsing unit 22 is configured to parse the second packet to obtain the first packet and the ESI;
发送单元23用于根据所述第一报文和所述ESI向所述CE发送数据报文。The sending unit 23 is configured to send a data message to the CE according to the first packet and the ESI.
上述装置可用于执行上述对应方法实施例提供的方法,具体实现方式和技术效果 类似,这里不再赘述。The foregoing apparatus may be used to perform the method provided by the foregoing corresponding method embodiment, the specific implementation manner and the technical effect. Similar, no more details here.
可选地,所述发送单元23还用于向所述第一PE发送请求消息,所述请求消息包括所述第二PE的接入端口对应的ESI,所述请求消息用于请求获取所述ESI对应的所有报文。Optionally, the sending unit 23 is further configured to send a request message to the first PE, where the request message includes an ESI corresponding to an access port of the second PE, where the request message is used to request to obtain the All messages corresponding to ESI.
可选地,所述虚拟链路隧道包括虚拟扩展局域网Vxlan隧道、多协议标签交换MPLS隧道或通用路由封装GRE隧道。Optionally, the virtual link tunnel includes a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel, or a universal route encapsulated GRE tunnel.
上述装置可用于执行上述对应方法实施例提供的方法,具体实现方式和技术效果类似,这里不再赘述。The foregoing apparatus may be used to perform the method provided by the foregoing corresponding method embodiment, and the specific implementation manner and the technical effect are similar, and details are not described herein again.
需要说明的是,应理解以上报文同步装置的各个单元的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些单元可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分单元通过软件通过处理元件调用的形式实现,部分单元通过硬件的形式实现。例如,接收单元可以为单独设立的处理元件,也可以集成在PE的某一个芯片中实现,此外,也可以以程序的形式存储于PE的存储器中,由PE的某一个处理元件调用并执行该接收单元的功能。其它单元的实现与之类似。此外这些单元全部或部分可以集成在一起,也可以独立实现。这里所述的解析单元可以是一种集成电路,具有信号的处理能力。在实现过程中,上述方法的各步骤或以上各个单元可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be noted that the division of each unit of the above message synchronization device is only a division of a logical function, and the actual implementation may be integrated into one physical entity in whole or in part, or may be physically separated. Moreover, these units may all be implemented in the form of software by means of processing component calls; or may be implemented entirely in hardware; some units may be implemented by software in the form of processing component calls, and some units may be implemented in the form of hardware. For example, the receiving unit may be a separately set processing component, or may be integrated in one of the PE chips, or may be stored in the memory of the PE in the form of a program, which is called and executed by a certain processing component of the PE. The function of the receiving unit. The implementation of other units is similar. In addition, all or part of these units can be integrated or implemented independently. The parsing unit described herein can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above units may be completed by an integrated logic circuit of hardware in the processor element or an instruction in a form of software.
以上这些单元可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(application specific integrated Circuit,ASIC),或,一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA)等。再如,当以上某个单元通过处理元件调度程序的形式实现时,该计算单元可以是通用处理器,例如中央处理器(central processing unit,CPU)或其它可以调用程序的处理器。再如,这些单元可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。The above units may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors (digital signal processor) , DSP), or, one or more field programmable gate arrays (FPGAs), and the like. For another example, when one of the above units is implemented in the form of a processing component scheduler, the computing unit may be a general purpose processor, such as a central processing unit (CPU) or other processor that can invoke the program. As another example, these units can be integrated and implemented in the form of a system-on-a-chip (SOC).
图9A为本申请PE的一种可能的结构示意图。参见图9A所示,该PE 100包括:处理单元102和通信单元103。处理单元102用于对PE 100的动作进行控制管理,例如,处理单元102用于支持PE 100执行前述报文同步方法实施例中的各步骤和/或用于本申请所描述的技术的其它过程。通信单元103用于支持PE 100与其它网络实体的通信,例如与终端设备之间的通信。PE 100还可以包括存储单元101,用于存储PE 100的程序代码和数据。FIG. 9A is a schematic structural diagram of a PE of the present application. Referring to FIG. 9A, the PE 100 includes a processing unit 102 and a communication unit 103. The processing unit 102 is configured to perform control management on the actions of the PE 100. For example, the processing unit 102 is configured to support the PE 100 to perform the steps in the foregoing packet synchronization method embodiment and/or other processes for the techniques described in this application. . The communication unit 103 is used to support communication between the PE 100 and other network entities, such as communication with terminal devices. The PE 100 may also include a storage unit 101 for storing program codes and data of the PE 100.
其中,处理单元102可以是处理器或控制器,例如可以是中央处理器(central processing unit,CPU),通用处理器,数字信号处理器(digital signal processor,DSP),专用集成电路(application specific integrated circuit,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元103可以是通信接口、收发 器、收发电路等,其中,通信接口是统称,可以包括一个或多个接口。存储单元101可以是存储器。The processing unit 102 may be a processor or a controller, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application specific integrated circuit. Circuit, ASIC), field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication unit 103 can be a communication interface, transceiver The transceiver, the transceiver circuit, and the like, wherein the communication interface is a collective name and may include one or more interfaces. The storage unit 101 can be a memory.
当处理单元102为处理器,通信单元103为通信接口,存储单元101为存储器时,本申请所涉及的PE可以为图9B所示的PE。When the processing unit 102 is a processor, the communication unit 103 is a communication interface, and the storage unit 101 is a memory, the PE involved in the present application may be the PE shown in FIG. 9B.
参见图9B所示,该PE 110包括:处理器112、通信接口113、存储器111。可选的,PE 110还可以包括总线114。其中,通信接口113、处理器112以及存储器111可以通过总线114相互连接;总线114可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。所述总线114可以分为地址总线、数据总线、控制总线等。为便于表示,图9B中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 9B, the PE 110 includes a processor 112, a communication interface 113, and a memory 111. Alternatively, the PE 110 may also include a bus 114. The communication interface 113, the processor 112, and the memory 111 may be connected to each other through a bus 114. The bus 114 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA). Bus, etc. The bus 114 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 9B, but it does not mean that there is only one bus or one type of bus.
其中,存储器111用于存储可由处理器112执行的指令,处理器112用于调用存储器111中存储的指令,以执行前述报文同步方法中的各步骤。The memory 111 is used to store instructions executable by the processor 112, and the processor 112 is configured to call instructions stored in the memory 111 to perform the steps in the foregoing message synchronization method.
本申请还提供一种报文同步系统,包括如上任一实施例所述的报文同步装置。The present application further provides a message synchronization system, including the message synchronization device according to any of the above embodiments.
本申请还提供一种存储介质,包括:可读存储介质和计算机程序,所述计算机程序用于实现前述任一实施例提供的报文同步方法。The present application further provides a storage medium, comprising: a readable storage medium and a computer program, the computer program being used to implement the message synchronization method provided by any of the foregoing embodiments.
本申请还提供一种程序产品,该程序产品包括计算机程序(即执行指令),该计算机程序存储在可读存储介质中。PE的至少一个处理器可以从可读存储介质读取该计算机程序,至少一个处理器执行该计算机程序使得PE实施前述各种实施方式提供的报文同步方法。The application also provides a program product comprising a computer program (ie, an execution instruction) stored in a readable storage medium. At least one processor of the PE can read the computer program from a readable storage medium, and the at least one processor executes the computer program such that the PE implements the message synchronization method provided by the various embodiments described above.
本申请实施例还提供了一种报文同步装置,包括至少一个存储元件和至少一个处理元件、所述至少一个存储元件用于存储程序,该程序被执行时,使得所述报文同步装置执行上述任一实施例中的PE的操作。The embodiment of the present application further provides a message synchronization apparatus, including at least one storage element and at least one processing element, wherein the at least one storage element is used to store a program, when the program is executed, causing the message synchronization apparatus to execute The operation of the PE in any of the above embodiments.
实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一可读取存储器中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储器(存储介质)包括:只读存储器(read-only memory,ROM)、RAM、快闪存储器、硬盘、固态硬盘、磁带(magnetic tape)、软盘(floppy disk)、光盘(optical disc)及其任意组合。 All or part of the steps of implementing the above method embodiments may be performed by hardware associated with the program instructions. The aforementioned program can be stored in a readable memory. The program, when executed, performs the steps including the foregoing method embodiments; and the foregoing memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state hard disk, tape (magnetic tape), floppy disk, optical disc, and any combination thereof.

Claims (14)

  1. 一种报文同步方法,其特征在于,包括:A message synchronization method, comprising:
    第一服务商边缘路由器PE接收用户边界设备CE发送的第一报文;The first service provider edge router PE receives the first packet sent by the user border device CE;
    所述第一PE在所述第一报文中添加以太网段标识符ESI,得到第二报文;所述ESI为所述第一PE的接入端口对应的ESI;The first PE adds an Ethernet segment identifier ESI to the first packet to obtain a second packet; the ESI is an ESI corresponding to an access port of the first PE;
    所述第一PE根据ESI与虚拟链路隧道之间的对应关系,确定与所述ESI对应的虚拟链路隧道;Determining, by the first PE, a virtual link tunnel corresponding to the ESI according to a correspondence between the ESI and the virtual link tunnel;
    所述第一PE通过所述虚拟链路隧道向第二PE发送所述第二报文,所述第二报文用于指示所述第二PE向所述CE发送数据报文,所述第一PE和所述第二PE均与所述CE连接。Transmitting, by the first PE, the second packet to the second PE by using the virtual link tunnel, where the second packet is used to instruct the second PE to send a data packet to the CE, where the A PE and the second PE are both connected to the CE.
  2. 根据权利要求1所述的方法,其特征在于,所述第一服务商边缘路由器PE接收用户边界设备CE发送的第一报文之前,所述方法还包括:The method according to claim 1, wherein before the first service provider edge router PE receives the first packet sent by the user border device CE, the method further includes:
    所述第一PE接收所述第二PE发送的请求消息,所述请求消息包括所述第二PE的接入端口对应的ESI。The first PE receives a request message sent by the second PE, where the request message includes an ESI corresponding to an access port of the second PE.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一PE根据ESI与虚拟链路隧道之间的对应关系,确定与所述ESI对应的虚拟链路隧道之前,所述方法还包括:The method according to claim 1 or 2, wherein the method further determines, according to a correspondence between the ESI and the virtual link tunnel, a virtual link tunnel corresponding to the ESI include:
    所述第一PE建立所述第一PE和所述第二PE之间的虚拟链路隧道;Establishing, by the first PE, a virtual link tunnel between the first PE and the second PE;
    所述第一PE建立所述ESI与所述虚拟链路隧道之间的对应关系,所述ESI为所述CE分别为所述第一PE的接入端口和所述第二PE的接入端口分配的。The first PE establishes a correspondence between the ESI and the virtual link tunnel, where the ESI is the access port of the first PE and the access port of the second PE distributed.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述虚拟链路隧道包括虚拟扩展局域网Vxlan隧道、多协议标签交换MPLS隧道或通用路由封装GRE隧道。The method according to any one of claims 1-3, wherein the virtual link tunnel comprises a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel or a universal route encapsulated GRE tunnel.
  5. 一种报文同步方法,其特征在于,包括:A message synchronization method, comprising:
    第二服务商边缘路由器PE通过虚拟链路隧道接收第一PE发送的第二报文,所述虚拟链路隧道为与所述第一PE的接入端口对应的以太网段标识符ESI对应的链路隧道,所述第二报文为所述第一PE在接收到用户边界设备CE发送的所述第一报文后添加所述ESI得到的报文,所述第一PE和所述第二PE与所述CE连接;The second service provider edge router PE receives the second packet sent by the first PE through the virtual link tunnel, where the virtual link tunnel is corresponding to the Ethernet segment identifier ESI corresponding to the access port of the first PE. a link tunnel, the second packet is a packet obtained by the first PE after receiving the first packet sent by the user border device CE, and the first PE and the first PE Two PEs are connected to the CE;
    所述第二PE对所述第二报文进行解析,获得所述第一报文和所述ESI;The second PE parses the second packet to obtain the first packet and the ESI;
    所述第二PE根据所述第一报文和所述ESI向所述CE发送数据报文。The second PE sends a data packet to the CE according to the first packet and the ESI.
  6. 根据权利要求5所述的方法,其特征在于,所述第二PE通过虚拟链路隧道接收第一PE发送的第二报文之前,所述方法还包括:The method according to claim 5, wherein before the second PE receives the second packet sent by the first PE by using the virtual link tunnel, the method further includes:
    所述第二PE向所述第一PE发送请求消息,所述请求消息包括所述第二PE的接入端口对应的ESI,所述请求消息用于请求获取所述ESI对应的所有报文。The second PE sends a request message to the first PE, where the request message includes an ESI corresponding to the access port of the second PE, and the request message is used to request to obtain all the packets corresponding to the ESI.
  7. 根据权利要求5或6所述的方法,其特征在于,所述虚拟链路隧道包括虚拟扩展局域网Vxlan隧道、多协议标签交换MPLS隧道或通用路由封装GRE隧道。The method according to claim 5 or 6, wherein the virtual link tunnel comprises a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel or a universal route encapsulated GRE tunnel.
  8. 一种报文同步装置,其特征在于,包括:A message synchronization device, comprising:
    接收单元,用于接收用户边界设备CE发送的第一报文;a receiving unit, configured to receive a first packet sent by the user border device CE;
    处理单元,用于在所述第一报文中添加以太网段标识符ESI,得到第二报文;所 述ESI为所述第一PE的接入端口对应的ESI;a processing unit, configured to add an Ethernet segment identifier ESI to the first packet to obtain a second packet; ESI is an ESI corresponding to an access port of the first PE;
    确定单元,用于根据ESI与虚拟链路隧道之间的对应关系,确定与所述ESI对应的虚拟链路隧道;a determining unit, configured to determine a virtual link tunnel corresponding to the ESI according to a correspondence between the ESI and the virtual link tunnel;
    发送单元,用于通过所述虚拟链路隧道向第二PE发送所述第二报文,所述第二报文用于指示所述第二PE向用户边界设备CE发送数据报文,所述第一PE和所述第二PE均与所述CE连接。a sending unit, configured to send, by using the virtual link tunnel, the second packet to the second PE, where the second packet is used to instruct the second PE to send a data packet to the user border device CE, where The first PE and the second PE are both connected to the CE.
  9. 根据权利要求8所述的装置,其特征在于,所述接收单元,还用于接收所述第二PE发送的请求消息,所述请求消息包括所述第二PE的接入端口对应的ESI。The apparatus according to claim 8, wherein the receiving unit is further configured to receive a request message sent by the second PE, where the request message includes an ESI corresponding to an access port of the second PE.
  10. 根据权利要求8或9所述的装置,其特征在于,所述装置还包括:The device according to claim 8 or 9, wherein the device further comprises:
    建立单元,用于建立所述第一PE和所述第二PE之间的虚拟链路隧道;a establishing unit, configured to establish a virtual link tunnel between the first PE and the second PE;
    所述建立单元,还用于建立所述ESI与所述虚拟链路隧道之间的对应关系,所述ESI为所述CE分别为所述第一PE的接入端口和所述第二PE的接入端口分配的。The establishing unit is further configured to establish a correspondence between the ESI and the virtual link tunnel, where the ESI is the access port of the first PE and the second PE respectively. The access port is assigned.
  11. 根据权利要求8-10任一项所述的装置,其特征在于,所述虚拟链路隧道包括虚拟扩展局域网Vxlan隧道、多协议标签交换MPLS隧道或通用路由封装GRE隧道。The apparatus according to any one of claims 8 to 10, wherein the virtual link tunnel comprises a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel or a universal route encapsulated GRE tunnel.
  12. 一种报文同步装置,其特征在于,包括:A message synchronization device, comprising:
    接收单元,用于通过虚拟链路隧道接收第一PE发送的第二报文,所述虚拟链路隧道为与所述第一PE的接入端口对应的以太网段标识符ESI对应的链路隧道,所述第二报文为所述第一PE在接收到用户边界设备CE发送的所述第一报文后添加所述ESI得到的报文,所述第一PE和所述第二PE与所述CE连接;a receiving unit, configured to receive, by using a virtual link tunnel, a second packet sent by the first PE, where the virtual link tunnel is a link corresponding to an Ethernet segment identifier ESI corresponding to an access port of the first PE a tunnel, the second packet is sent by the first PE after receiving the first packet sent by the user border device CE, and the first PE and the second PE are added. Connected to the CE;
    解析单元,用于对所述第二报文进行解析,获得所述第一报文和所述ESI;The parsing unit is configured to parse the second packet to obtain the first packet and the ESI;
    发送单元,用于根据所述第一报文和所述ESI向所述CE发送数据报文。And a sending unit, configured to send a data packet to the CE according to the first packet and the ESI.
  13. 根据权利要求12所述的装置,其特征在于,The device according to claim 12, characterized in that
    所述发送单元,还用于向所述第一PE发送请求消息,所述请求消息包括所述第二PE的接入端口对应的ESI,所述请求消息用于请求获取所述ESI对应的所有报文。The sending unit is further configured to send a request message to the first PE, where the request message includes an ESI corresponding to an access port of the second PE, where the request message is used to request to acquire all the corresponding ESIs. Message.
  14. 根据权利要求12或13所述的装置,其特征在于,所述虚拟链路隧道包括虚拟扩展局域网Vxlan隧道、多协议标签交换MPLS隧道或通用路由封装GRE隧道。 The apparatus according to claim 12 or 13, wherein the virtual link tunnel comprises a virtual extended local area network (Vxlan tunnel), a multi-protocol label switched MPLS tunnel or a universal route encapsulated GRE tunnel.
PCT/CN2017/102550 2017-09-21 2017-09-21 Packet synchronization method and device WO2019056239A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780093339.2A CN110945835B (en) 2017-09-21 2017-09-21 Message synchronization method and device
PCT/CN2017/102550 WO2019056239A1 (en) 2017-09-21 2017-09-21 Packet synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/102550 WO2019056239A1 (en) 2017-09-21 2017-09-21 Packet synchronization method and device

Publications (1)

Publication Number Publication Date
WO2019056239A1 true WO2019056239A1 (en) 2019-03-28

Family

ID=65809980

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/102550 WO2019056239A1 (en) 2017-09-21 2017-09-21 Packet synchronization method and device

Country Status (2)

Country Link
CN (1) CN110945835B (en)
WO (1) WO2019056239A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024016799A1 (en) * 2022-07-19 2024-01-25 中兴通讯股份有限公司 Data transmission method, provider edge device and computer-readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973045B (en) * 2020-07-24 2024-02-23 中移(苏州)软件技术有限公司 Message transmission method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815006A (en) * 2010-03-02 2010-08-25 中兴通讯股份有限公司 aggregation control method of links passing through provider network and system
CN102571426A (en) * 2011-12-29 2012-07-11 杭州华三通信技术有限公司 Double-homing protection method and device
CN104202184A (en) * 2014-08-22 2014-12-10 中国联合网络通信集团有限公司 Quick service switchover method and device
US9100213B1 (en) * 2011-06-08 2015-08-04 Juniper Networks, Inc. Synchronizing VPLS gateway MAC addresses
CN105591988A (en) * 2015-09-24 2016-05-18 杭州华三通信技术有限公司 MAC address synchronization method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599964A (en) * 2009-06-25 2009-12-09 电子科技大学 A kind of user controlled L 1 OVPN access method based on the port information table (PIT) configuration
CN105790996A (en) * 2014-12-26 2016-07-20 北京华为朗新科技有限公司 Distributed gateway backup processing method and network equipment
US20170093611A1 (en) * 2015-09-29 2017-03-30 Juniper Networks, Inc. Egress node protection in evpn all-active topology
CN106656843A (en) * 2015-10-30 2017-05-10 华为技术有限公司 Load sharing method and related device
CN106789635B (en) * 2016-03-25 2020-08-14 新华三技术有限公司 Message forwarding method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815006A (en) * 2010-03-02 2010-08-25 中兴通讯股份有限公司 aggregation control method of links passing through provider network and system
US9100213B1 (en) * 2011-06-08 2015-08-04 Juniper Networks, Inc. Synchronizing VPLS gateway MAC addresses
CN102571426A (en) * 2011-12-29 2012-07-11 杭州华三通信技术有限公司 Double-homing protection method and device
CN104202184A (en) * 2014-08-22 2014-12-10 中国联合网络通信集团有限公司 Quick service switchover method and device
CN105591988A (en) * 2015-09-24 2016-05-18 杭州华三通信技术有限公司 MAC address synchronization method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024016799A1 (en) * 2022-07-19 2024-01-25 中兴通讯股份有限公司 Data transmission method, provider edge device and computer-readable storage medium

Also Published As

Publication number Publication date
CN110945835B (en) 2021-08-20
CN110945835A (en) 2020-03-31

Similar Documents

Publication Publication Date Title
CN109873760B (en) Method and device for processing route, and method and device for data transmission
EP3588872B1 (en) Evpn packet processing method, device, system, and computer program product
CN108574616B (en) Method, equipment and system for processing route
US11349687B2 (en) Packet processing method, device, and system
KR102342286B1 (en) DCN message processing method, network device, and network system
WO2018120798A1 (en) Vxlan packet processing method, device and system
CN109218178A (en) A kind of message processing method and the network equipment
CN112565046B (en) Synchronizing multicast router capabilities
WO2015165311A1 (en) Method for transmitting data packet and provider edge device
WO2018184496A1 (en) Multi-home access method, apparatus, and multi-home node
WO2018058639A1 (en) Pseudo wire load sharing method and apparatus
JP7536093B2 (en) Packet forwarding method, first network device, and first device group
US9071457B2 (en) Provider network and provider edge apparatus
WO2016197950A1 (en) Route detection method, router device and system
WO2013166911A1 (en) Method for processing conflict of identifiers of device groups in network, and route bridge
CN110945835B (en) Message synchronization method and device
WO2016095571A1 (en) Method and device for establishing a multicast channel
EP4325777A1 (en) Method and device for electing designated forwarder (df)
US20220247598A1 (en) Packet Detection Method, Connectivity Negotiation Relationship Establishment Method, and Related Device
WO2021179979A1 (en) Method for generating segment identifier (sid), and network device
CN102104529B (en) Method and equipment for realizing message transmission in provider bridge transfer (PBT) network
CN104378245A (en) Method and device for implementing OAM (operation, administration and maintenance) on AC (attachment circuit) port of L2VPN (layer 2 virtual private network) architecture
WO2023143186A1 (en) Data transmission method, system and apparatus
WO2023125774A1 (en) Vxlan packet transmission method, network device, and system
WO2022183927A1 (en) Packet transmission method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17926325

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17926325

Country of ref document: EP

Kind code of ref document: A1