WO2016206432A1 - Time-division multiplexed data transmission method and device, and network-side edge device - Google Patents

Time-division multiplexed data transmission method and device, and network-side edge device Download PDF

Info

Publication number
WO2016206432A1
WO2016206432A1 PCT/CN2016/077783 CN2016077783W WO2016206432A1 WO 2016206432 A1 WO2016206432 A1 WO 2016206432A1 CN 2016077783 W CN2016077783 W CN 2016077783W WO 2016206432 A1 WO2016206432 A1 WO 2016206432A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
label
vlan tag
mpls
edge device
Prior art date
Application number
PCT/CN2016/077783
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 中兴通讯股份有限公司
Publication of WO2016206432A1 publication Critical patent/WO2016206432A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/68Pseudowire emulation, e.g. IETF WG PWE3

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and device for transmitting time division multiplexed data and a network side edge device.
  • TDM Time Division Multiplex
  • PWE3 Pseudo-Wire Emulation Edge to Edge (PWE3) Layer 2 service bearer technology.
  • PWE3 is a type of Virtual Private Wire Service (VPWS). It is a Layer 2 Virtual Private Network (L2VPN) technology.
  • VPWS Virtual Private Wire Service
  • L2VPN Layer 2 Virtual Private Network
  • User Layer 2 packets are transparently transmitted between Pseudo Wires (PWs). After the PW virtual link is established, the mapping between the user-side AC (Access Circuit) interface and the PW is completely determined. For the core P device, only the MPLS label needs to be forwarded based on the MPLS label. It does not care about Layer 2 user packets encapsulated in MPLS packets.
  • An object of the present invention is to provide a method and device for transmitting time division multiplexed data and a network side edge device, which solves the problem of insufficient PW tag resources in the existing TDM service emulation technology.
  • an embodiment of the present invention provides a method for transmitting time-division multiplexed data, which is applied to a first network side edge device, and includes:
  • the MPLS label is exchanged, and the IP packet is encapsulated into an MPLS packet according to the MPLS label, and sent to the second network edge device by using the packet switching network PSN, where the second network edge device pairs the MPLS
  • the packet is decapsulated to obtain the TDM data stream.
  • the step of performing the encapsulation process on the TDM data stream according to the VLAN tag to obtain an IP packet includes:
  • the MPLS label includes: a PW label and a tunnel label corresponding to the PW label;
  • the multi-protocol label switching MPLS label corresponding to the VLAN tag including:
  • the PW label corresponding to the VLAN tag is obtained, and the tunnel label corresponding to the PW label is obtained.
  • the encapsulating the IP packet into an MPLS packet according to the MPLS label includes:
  • the VLAN tag includes a first VLAN tag and a second VLAN tag
  • the 0th-5th bit of the first VLAN tag is used to indicate the length of the packet payload, the 6th-10th bit is used to identify the packet service type, the 11th bit is used to indicate the packet transmission direction, and the 12th bit is the standard. Field, the 13th-15bit is used to indicate the priority of the packet;
  • the 0th-7th bit of the second VLAN tag is used to identify the number of the user side link
  • the 8th bit is used to identify the aggregation class attribute of the packet service
  • the 9th-11th bit is used to indicate the number of the physical interface of the user side link.
  • the 12th bit indicates the standard field
  • the 13th-15bit is used to indicate the priority of the message.
  • the embodiment of the invention further provides a time-division multiplexed data transmission device, which is applied to the first network side edge device, and includes:
  • a first acquiring module configured to acquire, from the user side link established by the client side edge device and the first network side edge device, a TDM that the user needs to transmit from the first network side edge device to the second network edge device Data flow, and obtaining a virtual local area network VLAN tag for identifying the user side link;
  • the first processing module is configured to perform encapsulation processing on the TDM data stream according to the VLAN tag to obtain an IP packet;
  • the second processing module is configured to obtain a multi-protocol label switching MPLS label corresponding to the VLAN tag in a pre-stored pseudo-line PW routing table, and encapsulate the IP packet into an MPLS packet according to the MPLS label. And sending, by the PSN network, the second network edge device, where the second network edge device decapsulates the MPLS packet to obtain the TDM data stream.
  • the first processing module includes:
  • a first processing unit configured to perform demultiplexing on the TDM data stream to obtain an E1 frame
  • the second processing unit is configured to add the VLAN tag, the Ethernet header, and the link layer header in the E1 frame to obtain the IP packet.
  • the MPLS label includes: a PW label and a tunnel label corresponding to the PW label;
  • the second processing module includes:
  • the first searching unit is configured to: in the pre-stored PW routing table, find whether there is a PW label corresponding to the VLAN tag;
  • the first acquiring unit is configured to acquire a PW label corresponding to the VLAN tag, and obtain a tunnel label corresponding to the PW label, if a PW label corresponding to the VLAN tag exists in the PW routing table.
  • the second processing module includes:
  • the third processing unit is configured to strip the VLAN tag of the IP packet, and encapsulate the tunnel label and the PW label into the IP packet to obtain the MPLS packet.
  • the embodiment of the invention further provides a network side edge device, comprising the transmission device of the time division multiplexed data as described above.
  • the embodiment of the invention further provides a method for transmitting time division multiplexed data, which is applied to the first network side edge device, and includes:
  • the data stream is obtained by encapsulation processing
  • VLAN tag corresponding to the MPLS label carried in the MPLS packet, and encapsulating the MPLS packet into an IP packet according to the VLAN tag in the pre-stored pseudowire PW routing table, where the VLAN tag is a user side link for identifying a client side edge device and the first network side edge device;
  • the MPLS label includes: a PW label and a tunnel label corresponding to the PW label;
  • VLAN tag corresponding to the PW tag carried in the MPLS packet is obtained.
  • the encapsulating the MPLS packet into an IP packet according to the VLAN tag includes:
  • the tunnel label and the PW label in the MPLS packet are stripped, and the VLAN tag is encapsulated into the MPLS packet to obtain the IP packet.
  • the step of performing decapsulation processing on the IP packet to obtain the TDM data stream includes:
  • the E1 frame is multiplexed to obtain the TDM data stream.
  • the VLAN tag includes a first VLAN tag and a second VLAN tag
  • the 0th-5th bit of the first VLAN tag is used to indicate the length of the packet payload, the 6th-10th bit is used to identify the packet service type, the 11th bit is used to indicate the packet transmission direction, and the 12th bit is the standard. Field, the 13th-15bit is used to indicate the priority of the packet;
  • the 0th-7th bit of the second VLAN tag is used to identify the number of the user side link
  • the 8th bit is used to identify the aggregation class attribute of the packet service
  • the 9th-11th bit is used to indicate the number of the physical interface of the user side link.
  • the 12th bit indicates the standard field
  • the 13th-15bit is used to indicate the priority of the message.
  • the embodiment of the invention further provides a time-division multiplexed data transmission device, which is applied to the first network side edge device, and includes:
  • a second acquiring module configured to acquire a multi-protocol label switching MPLS packet sent by the PSN network, where the MPLS packet is sent by the second network side edge device to the user from the second network side edge device to the first
  • the TDM data stream of the network edge device is obtained by encapsulation processing
  • the third processing module is configured to: obtain, in the pre-stored pseudo-wire PW routing table, a VLAN tag corresponding to the MPLS label carried by the MPLS packet, and encapsulate the MPLS packet into an IP according to the VLAN tag. a packet, the VLAN tag is used to identify a user side link established between the client side edge device and the first network side edge device;
  • the fourth processing module is configured to perform decapsulation processing on the IP packet, obtain the TDM data stream, and send the TDM data stream to the corresponding client side edge device by using a user side link identified by the VLAN tag.
  • the MPLS label includes: a PW label and a tunnel label corresponding to the PW label;
  • the third processing module includes:
  • a second search unit configured to: in the PW routing table, find a VLAN tag corresponding to the PW label carried in the MPLS packet;
  • the second obtaining unit is configured to: if the VLAN tag corresponding to the PW tag carried in the MPLS packet exists in the PW routing table, obtain a VLAN tag corresponding to the PW tag carried in the MPLS packet .
  • the third processing module includes:
  • the fourth processing unit is configured to strip the tunnel label and the PW label in the MPLS packet, and encapsulate the VLAN tag into the MPLS packet to obtain the IP packet.
  • the fourth processing module includes:
  • the third searching unit is configured to: in the pre-saved VLAN routing table, find whether the IP packet exists The VLAN tag carried in the text;
  • the fifth processing unit is configured to: if the VLAN tag carried by the IP packet exists in the VLAN routing table, strip the VLAN tag, the Ethernet header, and the link layer header in the IP packet to obtain the E1 frame;
  • the sixth processing unit is configured to perform multiplexing processing on the E1 frame to obtain the TDM data stream.
  • the embodiment of the invention further provides a network side edge device, comprising the transmission device of the time division multiplexed data as described above.
  • the TDM data is encapsulated into an IP packet by using a VLAN tag, and then the MPLS label corresponding to the VLAN tag is obtained in the pre-stored PW routing table, and according to the MPLS label
  • the IP packet is encapsulated into an MPLS packet to complete the TDM service encapsulation, and the TDM service is restored in the reverse process on the other side to implement the TDM service simulation.
  • the IP packet is forwarded in the PE device by using the VLAN tag, so that the PE device does not need to reserve a certain number of PW private network labels for the TDM emulation service, thereby solving the pseudo-line label resource in the TDM service emulation technology. Insufficient problems.
  • FIG. 1 is a schematic diagram of a network of PWE3 in a related TDM service emulation technology
  • FIG. 2 is a schematic diagram showing the format of a PWE3 message in a related TDM service emulation technology
  • FIG. 3 is a schematic diagram showing the format of an MPLS packet in a related TDM service emulation technology
  • FIG. 4 is a schematic diagram of a TDM data stream package in the related art
  • FIG. 5 is a schematic diagram showing decapsulation of a TDM data stream in the related art
  • FIG. 6 is a first working flowchart of a method for transmitting time division multiplexed data according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram showing the format of an IP packet of a method for transmitting time division multiplexed data according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of packet forwarding inside a PE device in a method for transmitting time-division multiplexed data according to an embodiment of the present invention
  • FIG. 9 is a schematic diagram of packet encapsulation in an ingress direction of a PE device in a method for transmitting time division multiplexed data according to an embodiment of the present invention.
  • FIG. 10 is a block diagram showing a first structure of a time division multiplexed data transmission apparatus according to an embodiment of the present invention.
  • 11 is a second working flow chart showing a method for transmitting time division multiplexed data according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram showing the decapsulation of packets in the egress direction of the PE device in the method for transmitting time-division multiplexed data according to the embodiment of the present invention
  • Figure 13 is a block diagram showing a second structure of a time division multiplexed data transmission apparatus according to an embodiment of the present invention.
  • FIG. 14 is a block diagram showing the structure of a third processing module in a time division multiplexed data transmission apparatus according to an embodiment of the present invention.
  • FIG. 15 is a block diagram showing a structure of a fourth processing module in a time division multiplexed data transmission apparatus according to an embodiment of the present invention.
  • the traditional TDM service function is implemented in the PSN network through the PWE3 Layer 2 service bearer technology.
  • the AC link (which can be a TDM link) between CE1 and CE2 is implemented on the IP/MPLS packet switching network by using PWE3 technology between PE1 and PE2.
  • PWE3 technology between PE1 and PE2.
  • PE1 and PE2 and IP/MPLS packet switching networks are transparent.
  • the PE at the edge of the IP/MPLS packet-switched network encapsulates the AC link and the PW to encapsulate the TDM service, and restores the TDM service in the reverse process at the other end.
  • the TDM service board needs to include a TDM interface module and a network processor module.
  • the TDM interface module encapsulates the TDM data stream received from the AC port into a PWE3 packet according to the configured PW label (private label, which is only used to forward packets inside the TDM service board).
  • the format of the PWE3 packet in the existing TDM service emulation technology is shown in Figure 2.
  • the TDM interface module forwards the encapsulated PWE3 packet to the network processor module.
  • the network processor module strips the PW private network label and then encapsulates the tunnel label from the PWE3 packet received by the TDM interface module according to the configured tunnel tunnel label and the PW label (the public network label is used to forward the packet on the PSN network).
  • the packet is a standard MPLS packet.
  • the format of the MPLS packet in the existing TDM service emulation technology is shown in Figure 3.
  • the encapsulated MPLS packet is forwarded to the PSN network.
  • the TDM data stream encapsulation in the related art is shown in FIG. 4 .
  • the network processor module forwards the MPLS packet received from the PSN network to the TW interface module by first decapsulating the tunnel label and the PW public network label and then encapsulating the PW private network label.
  • the TDM interface module strips the received PWE3 packet from the PW private network label, and sends the decapsulated TDM data stream to the AC port.
  • the TDM data stream decapsulation process in the related art is shown in FIG. 5.
  • the PE device needs to reserve a certain number of PW private network labels for the TDM emulation service. This part of the PW private network label cannot be used on the public network, causing the resource bottleneck of the PW public network label and the PW appearing. The problem of insufficient tag resources.
  • an embodiment of the present invention provides a method and device for transmitting time division multiplexed data and a network side edge device, which solves the problem that the existing time division multiplexing service has insufficient pseudo line label resources in the simulation technology.
  • the method for transmitting time division multiplexed data in the embodiment of the present invention, as shown in FIG. 6, includes:
  • Step S61 Obtain time-division multiplexed TDM data that the user needs to transmit from the first network side edge device to the second network edge device, from the user side link established by the client side edge device and the first network side edge device. Streaming, and obtaining a virtual local area network VLAN tag for identifying the user side link.
  • Step S62 Perform encapsulation processing on the TDM data stream according to the VLAN tag to obtain an IP packet.
  • Step S63 Obtain a multi-protocol label switching MPLS label corresponding to the VLAN tag in a pre-stored pseudo-line PW routing table, and encapsulate the IP packet into an MPLS packet according to the MPLS label, and pass the grouping.
  • the switching network PSN is sent to the second network edge device, and the second network edge device decapsulates the MPLS packet to obtain the TDM data stream.
  • the TDM data stream is encapsulated into an IP packet by using a VLAN tag, and then the MPLS label corresponding to the VLAN tag is obtained in the pre-stored PW routing table, and according to the MPLS
  • the tag encapsulates the IP packet into an MPLS packet, completes the TDM service encapsulation, and restores the TDM service on the other side to implement the simulation of the TDM service.
  • the IP packet is forwarded in the PE device by using the VLAN tag, so that the PE device does not need to reserve a certain number of PW private network labels for the TDM emulation service, thereby solving the pseudo-line label resource in the TDM service emulation technology. Insufficient problems.
  • the VLAN tag includes a first VLAN tag and a second VLAN tag
  • the 0th-5th bit of the first VLAN tag is used to indicate the length of the packet payload, the 6th-10th bit is used to identify the packet service type, the 11th bit is used to indicate the packet transmission direction, and the 12th bit is the standard. Field, the 13th-15bit is used to indicate the priority of the packet;
  • the 0th-7th bit of the second VLAN tag is used to identify the number of the user side link
  • the 8th bit is used to identify the aggregation class attribute of the packet service
  • the 9th-11th bit is used to indicate the number of the physical interface of the user side link.
  • the 12th bit indicates the standard field
  • the 13th-15bit is used to indicate the priority of the message.
  • the TDM service board of the PE device includes two modules, that is, a TDM interface module and a network processor module, and the two are connected through an SGMII interface or an XGMII interface.
  • the method to be implemented by the embodiment of the present invention is jointly performed by the TDM interface module and the network processor module.
  • the embodiment of the present invention uses a two-layer VLAN tag (private network label) to forward the Ethernet IP packet between the TDM interface module and the network processor module, and the IP of the time division multiplexing data transmission method.
  • the packet format is as shown in Figure 7.
  • the packet header is a custom header.
  • the DMAC indicates the MAC address of the device and can be configured.
  • the SMAC indicates the MAC address of the card.
  • the MAC address can be any MAC address.
  • the 802.1Q standard defines the format; Packet Payload represents the content of the message.
  • the embodiment of the present invention defines two layers of VLAN tags as VLAN 1 and VLAN 2. In order to implement the forwarding of the message between the TDM interface module and the network processor module, the embodiment of the present invention needs to redefine the VLAN tag.
  • the embodiment of the present invention uses a VLAN 1 tag plus a VLAN 2 tag to uniquely identify an AC link.
  • VLAN 1 tag in the embodiment of the present invention is defined as follows:
  • the bit 0 to bit 5 of the VLAN 1 tag are defined as the PKT_LEN field, which is used to fill and unfill the packet. It indicates the length of the packet payload (including the link layer header and the actual content of the packet). If the PKT_LEN field is 0, Indicates that the payload length of the packet is greater than 60 bytes. Otherwise, the actual payload length of the packet except the padding field is degree.
  • Bits 6 to 10 are defined as the ENCAP_TYPE field, indicating the packet service type (when the value of the ENCAP_TYPE field is 0xa, it indicates a TDM service packet).
  • Bit 11 is defined as the CPU_PKT_INDICATOR field.
  • Bit 12 is defined as a CFI field, a standard field.
  • Bits 13 to 15 are defined as PRIORITY (802.1p) fields, indicating priority, and are used for scheduling.
  • VLAN 2 tag in the embodiment of the present invention is defined as follows:
  • the bit 0 to bit 7 of the VLAN 2 tag are defined as the CHANNEL_NO field, which indicates the number of a TDM link on the AC port.
  • the value of the CHANNEL_NO field is unique.
  • Bit 8 is defined as the AGGREGATION field.
  • the value of the AGGREGATION field is 0x0, which indicates that the service has no aggregation attribute.
  • the value of 0x1 indicates the service of the aggregation class attribute.
  • the AGGREGATION field takes the value 0x0.
  • Bits 9 to 11 are defined as the PORT_ID field, which indicates the number of the AC physical port. If the AC port is a PDH port, the value of the PORT_ID field is 0.
  • Bit 12 is defined as a CFI field, a standard field.
  • Bits 13 to 15 are defined as PRIORITY (802.1p) fields, indicating priority, due to scheduling.
  • the step of performing the encapsulation process on the TDM data stream according to the VLAN tag to obtain an IP packet includes:
  • the Ethernet header may include: a destination MAC address DMAC (defined as a MAC address of a PE device) and a source MAC address SMAC (the invention is defined as any MAC address except a broadcast address)
  • DMAC destination MAC address of a PE device
  • SMAC source MAC address
  • the link layer header is encapsulated according to standard RFC4385.
  • the MPLS label includes: a PW label and a tunnel label corresponding to the PW label;
  • the multi-protocol label switching MPLS label corresponding to the VLAN tag including:
  • the PW label corresponding to the VLAN tag is obtained, and the tunnel label corresponding to the PW label is obtained.
  • a virtual connection PW public network PW
  • a PW label public network label
  • a tunnel tunnel is created
  • a tunnel label is allocated, and the PW and the tunnel are performed. Bind.
  • the AC link is bound to the virtual link PW, that is, the VLAN 1/VLAN 2 label is mapped to the PW label, and the PW routing table is obtained.
  • the PW routing table stores the PW label stored according to the corresponding relationship. The first VLAN tag, the second VLAN tag, and the tunnel tag.
  • the encapsulating the IP packet into an MPLS packet according to the MPLS label includes:
  • the TDM interface module receives the TDM data stream from the AC port, demultiplexes the TDM data stream into an E1 frame, and The E1 frame is encapsulated into an Ethernet IP packet, and the Ethernet IP packet is forwarded to the network processor module through the SGMII interface or the XGMII interface.
  • the network processor module receives the Ethernet IP packet, and searches for the PW routing table according to the two-layer VLAN tag (private network label) of the Ethernet IP packet. If the corresponding tunnel label and the PW label are found, the Ethernet IP packet is stripped. The two-layer VLAN tag (the private network label) is then encapsulated with the tunnel label and the PW label. The link layer header of the Ethernet IP packet remains unchanged (the link layer header is part of the packet payload) to complete the MPLS packet encapsulation. The encapsulated MPLS packet is forwarded to the PSN network. If the tunnel tag and PW tag are not found, The Ethernet IP packet is discarded, and FIG. 9 is a schematic diagram of packet encapsulation in the ingress direction of the PE device in the method for transmitting time-division multiplexed data.
  • the first PE device encapsulates the TDM data stream into an IP packet according to the two-layer VLAN tag and forwards the packet to the network processor module, and the network processor module according to the PW label and the PW
  • the tunnel label corresponding to the label encapsulates the IP packet into an MPLS packet and forwards the packet to the PSN network.
  • the MPLS packet is sent by the PSN network to the second PE device, and the second PE device pairs the MPLS packet.
  • the packet is decapsulated, and the TDM data stream is obtained to complete the TDM emulation service.
  • An embodiment of the present invention further provides a time-division multiplexed data transmission apparatus, which is applied to a first network side edge device, as shown in FIG. 10, and includes:
  • the first obtaining module 101 is configured to acquire, from the user side link established by the client side edge device and the first network side edge device, that the user needs to transmit from the first network side edge device to the second network edge device. TDM data stream, and obtaining a virtual local area network VLAN tag for identifying the user side link;
  • the first processing module 102 is configured to perform encapsulation processing on the TDM data stream according to the VLAN tag to obtain an IP packet.
  • the second processing module 103 is configured to obtain a multi-protocol label switching MPLS label corresponding to the VLAN tag in a pre-stored pseudo-line PW routing table, and encapsulate the IP packet into an MPLS packet according to the MPLS label.
  • the packet is sent to the second network edge device by using the PSN network, and the MPLS packet is decapsulated by the second network edge device to obtain the TDM data stream.
  • the first processing module 102 includes:
  • a first processing unit configured to perform demultiplexing on the TDM data stream to obtain an E1 frame
  • the second processing unit is configured to add the VLAN tag, the Ethernet header, and the link layer header in the E1 frame to obtain the IP packet.
  • the MPLS label includes: a PW label and a tunnel label corresponding to the PW label;
  • the second processing module 103 includes:
  • the first searching unit is configured to: in the pre-stored PW routing table, find whether there is a PW label corresponding to the VLAN tag;
  • the first acquiring unit is configured to acquire a PW label corresponding to the VLAN tag, and obtain a tunnel label corresponding to the PW label, if a PW label corresponding to the VLAN tag exists in the PW routing table.
  • the second processing module 103 includes:
  • the third processing unit is configured to strip the VLAN tag of the IP packet, and encapsulate the tunnel label and the PW label into the IP packet to obtain the MPLS packet.
  • the embodiment of the invention further provides a network side edge device, comprising the transmission device of the time division multiplexed data as described above.
  • the device and the network side edge device are devices and devices corresponding to the foregoing method embodiments, and all implementation manners in the foregoing method embodiments are applicable to the device and device embodiments, and can also achieve the same technology. effect.
  • the embodiment of the present invention further provides a method for transmitting time division multiplexed data, which is applied to the first network side edge device, as shown in FIG. include:
  • Step 111 Acquire a multi-protocol label switching MPLS packet sent by the packet switching network PSN, where the MPLS packet is sent by the second network side edge device to the user from the second network side edge device to the first network edge.
  • the TDM data stream of the device is obtained by encapsulation processing;
  • Step 112 Obtain a VLAN tag corresponding to the MPLS label carried in the MPLS packet, and encapsulate the MPLS packet into an IP packet according to the VLAN tag in the pre-stored pseudowire PW routing table.
  • the VLAN tag is used to identify a user side link established by the client side edge device and the first network side edge device;
  • Step 113 Perform decapsulation processing on the IP packet, obtain the TDM data stream, and send the TDM data stream to the corresponding client side edge device by using the user side link identified by the VLAN tag.
  • the method for transmitting time-division multiplexed data obtains a VLAN tag corresponding to the MPLS label carried in the MPLS packet in the PW routing table after acquiring the MPLS packet, and according to the VLAN tag, The MPLS packet is encapsulated into an IP packet, and the IP packet is decapsulated. The TDM data stream is obtained, and the MPLS packet is decapsulated.
  • the IP packet is forwarded in the PE device through the VLAN tag, so that the PE device does not need to reserve a certain number of PW private network labels for the TDM emulation service, which solves the problem of the pseudo-line label in the TDM service emulation technology. The problem of insufficient resources.
  • the MPLS label includes: a PW label and a tunnel label corresponding to the PW label;
  • VLAN tag corresponding to the PW tag carried in the MPLS packet is obtained.
  • the encapsulating the MPLS packet into an IP packet according to the VLAN tag includes:
  • the tunnel label and the PW label in the MPLS packet are stripped, and the VLAN tag is encapsulated into the MPLS packet to obtain the IP packet.
  • the network processor module receives the MPLS packet of the PSN network, and searches the PW routing table according to the PW label, if the VLAN 1 is found. And the VLAN 2 label (the private network label), the MPLS packet tunnel label and the PW label are stripped, and then the two VLAN tags (VLAN 1 label and VLAN 2 label, private network label) are encapsulated.
  • the Ethernet IP packet is encapsulated, and the Ethernet IP packet is forwarded to the TDM interface module through the SGMII interface or the XGMII interface. If the corresponding VLAN1 and VLAN2 labels are not found, the MPLS packet is discarded.
  • the step of performing decapsulation processing on the IP packet to obtain the TDM data stream includes:
  • the E1 frame is multiplexed to obtain the TDM data stream.
  • the TDM interface module receives an Ethernet IP packet from the SGMII interface or the XGMII interface, and searches for a VLAN routing table. If VLAN 1 is found, The VLAN2 tag strips the Ethernet header (DMAC and SMAC) of the Ethernet packet, the two-layer VLAN tag (VLAN1 tag and VLAN2 tag), the link layer header (Control word), decapsulates the E1 frame, and then sets the E1 frame. The multiplexed into TDM data stream is forwarded to the AC port. If the VLAN 1 and the VLAN 2 label are not found, the Ethernet IP packet is discarded.
  • FIG. 12 is a schematic diagram of packet decapsulation in the egress direction of the PE device in the method for transmitting time division multiplexed data.
  • the following describes the simulation process of the TDM data service in the embodiment of the present invention in combination with the above description of the encapsulation and decapsulation process of the TDM data stream.
  • the TDM interface module receives the TDM data stream, and adds two layers of VLAN tags (private network labels) to be encapsulated into Ethernet IP packets, which are forwarded through the SGMII interface or the XGMII interface.
  • Network processor module receives the Ethernet IP packet, strips the two VLAN tags, adds the tunnel label and the PW label to the MPLS packet, and forwards the packet to the PSN network.
  • the network processor module receives the MPLS packet, strips the tunnel label and the PW label, and adds two VLAN tags (private network labels) to be encapsulated into Ethernet IP packets, through the SGMII interface or the XGMII interface. Forward to the TDM interface module.
  • the TDM interface module receives the Ethernet IP packet, strips the two VLAN tags of the packet, decapsulates the packet into a TDM data stream, and completes the simulation of the TDM service.
  • the embodiment of the present invention further provides a device for transmitting time-division multiplexed data, which is applied to the first network side edge device, as shown in FIG.
  • the second obtaining module 131 is configured to obtain a multi-protocol label switching MPLS packet sent by the PSN network, where the MPLS packet is sent by the second network side edge device to the user from the second network side edge device to the first a TDM data stream of a network edge device is encapsulated and processed;
  • the third processing module 132 is configured to: obtain a VLAN tag corresponding to the MPLS label carried in the MPLS packet, and encapsulate the MPLS packet into a VLAN tag according to the VLAN tag in a pre-stored pseudowire PW routing table.
  • the fourth processing module 133 is configured to perform decapsulation processing on the IP packet to obtain the TDM data. And transmitting, by the user side link identified by the VLAN tag, the TDM data stream to the corresponding client side edge device.
  • the MPLS label includes: a PW label and a tunnel label corresponding to the PW label;
  • the third processing module 132 includes:
  • the second searching unit 1321 is configured to: in the PW routing table, search for a VLAN tag corresponding to the PW label carried by the MPLS packet;
  • the second obtaining unit 1322 is configured to: if the VLAN tag corresponding to the PW label carried in the MPLS packet exists in the PW routing table, obtain a VLAN corresponding to the PW label carried in the MPLS packet label.
  • the third processing module 132 further includes:
  • the fourth processing unit 1323 is configured to strip the tunnel label and the PW label in the MPLS packet, and encapsulate the VLAN tag into the MPLS packet to obtain the IP packet.
  • the fourth processing module 133 includes:
  • the third search unit 1331 is configured to: in the pre-stored VLAN routing table, find whether the VLAN tag carried by the IP packet exists.
  • the fifth processing unit 1332 is configured to remove the VLAN tag, the Ethernet header, and the link layer header in the IP packet if the VLAN tag carried by the IP packet exists in the VLAN routing table. E1 frame;
  • the sixth processing unit 1333 is configured to perform multiplexing processing on the E1 frame to obtain the TDM data stream.
  • Embodiments of the present invention also provide a network side edge device including a transmission device for time division multiplexed data as described above.
  • the device and the network side edge device are devices and devices corresponding to the foregoing method embodiments. All the implementation manners in the foregoing method embodiments are applicable to the device and device embodiments, and can also achieve the same technology. effect.
  • the network side edge devices include, but are not limited to, switches, routers, routing switches, integrated access devices (IADs), and various metropolitan area network/wide area network (MAN/WAN) devices.
  • the method for transmitting time-division multiplexed data obtains a VLAN tag corresponding to the MPLS label carried in the MPLS packet in the PW routing table after acquiring the MPLS packet, and according to the VLAN tag, The MPLS packet is encapsulated into an IP packet, and the IP packet is decapsulated. The TDM data stream is obtained, and the MPLS packet is decapsulated.
  • the IP packet is forwarded in the PE device through the VLAN tag, so that the PE device does not need to reserve a certain number of PW private network labels for the TDM emulation service, which solves the problem of the pseudo-line label in the TDM service emulation technology. The problem of insufficient resources.
  • the present invention also provides a non-transitory computer readable storage medium comprising instructions, such as a memory including instructions executable by a processor in a network side edge device to perform the above method.
  • a non-transitory computer readable storage medium described above may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • the present invention is applicable to the field of communication technologies, and is used to implement the forwarding of IP packets in the PE device by using the VLAN tag, so that the PE device does not reserve a certain number of PW private network labels for the TDM emulation service.

Abstract

The present invention provides a time-division multiplexed data transmission method and device, and a network-side edge device. The method comprises: acquiring, from a user-side link established by a user-side edge device and a first network-side edge device, a time-division multiplexed data stream of a user needed to be sent from the first network-side edge device to a second network-side edge device and acquiring a VLAN tag for identifying the user-side link; packaging the time-division multiplexed data stream according to the VLAN tag to obtain an IP packet; acquiring, from a pre-stored pseudo wire (PW) routing table, a multi-protocol label switching (MPLS) tag corresponding to the VLAN tag, and packaging the IP packet into an MPLS packet according to the MPLS tag and sending to the second network-side edge device via a packet switched network (PSN); unpackaging, by the second network-side edge device, the MPLS packet to obtain the time-division multiplexed data stream. The present invention solves the problem in the field of emulation in which the time-division multiplexing service has insufficient resources of pseudo wire tags.

Description

一种时分复用数据的传输方法、装置及网络侧边缘设备Method, device and network side edge device for transmitting time division multiplexed data 技术领域Technical field
本发明涉及通信技术领域,特别是指一种时分复用数据的传输方法、装置及网络侧边缘设备。The present invention relates to the field of communications technologies, and in particular, to a method and device for transmitting time division multiplexed data and a network side edge device.
背景技术Background technique
随着用户对带宽的要求越来越高,通信网络全IP化趋势越来越明显。这就需要对传统通信网络进行改造,而已经存在的网络资源又不能浪费,因此仍然需要对传统的时分复用(Time Division Multiplex,TDM)链路具备业务支持能力。As users' requirements for bandwidth become higher and higher, the trend of all-IP of communication networks becomes more and more obvious. This requires the transformation of the traditional communication network, and the existing network resources can not be wasted, so it still needs to have the business support capability for the traditional Time Division Multiplex (TDM) link.
为了在分组交换网络(Packet Switched Network,PSN),如IP网络或者多协议标签交换(Multi-Protocol Label Switching,MPLS)网络中实现传统的TDM业务功能,需要采用一种端到端伪线仿真(Pseudo-Wire Emulation Edge to Edge,PWE3)的二层业务承载技术。PWE3是虚拟专用线服务(Virtual Private Wire Service,VPWS)的一种,属于点到点的L2VPN(Layer2 Virtual Private Network)技术,用户二层报文在伪线(Pseudo Wire,PW)间透传,对于网络侧边缘设备(Provider Edge,PE),PW虚连接建立后,用户侧AC(Access Circuit)接口和PW的映射关系就已经完全确定了;对于核心P设备,只需要依据MPLS标签进行MPLS转发,不关心MPLS报文内部封装的二层用户报文。In order to implement traditional TDM service functions in a Packet Switched Network (PSN), such as an IP network or a Multi-Protocol Label Switching (MPLS) network, an end-to-end pseudowire simulation is required ( Pseudo-Wire Emulation Edge to Edge (PWE3) Layer 2 service bearer technology. PWE3 is a type of Virtual Private Wire Service (VPWS). It is a Layer 2 Virtual Private Network (L2VPN) technology. User Layer 2 packets are transparently transmitted between Pseudo Wires (PWs). After the PW virtual link is established, the mapping between the user-side AC (Access Circuit) interface and the PW is completely determined. For the core P device, only the MPLS label needs to be forwarded based on the MPLS label. It does not care about Layer 2 user packets encapsulated in MPLS packets.
在目前的TDM业务仿真功能设计中,为了实现TDM业务的端到端仿真,需要将一条AC链路与两个PW标签(PW私网标签和PW公网标签)进行绑定。这样的话,PE设备需要给TDM仿真业务预留一定数量的PW私网标签,这一部分的PW私网标签就浪费掉了,无法在公网上使用,造成PW公网标签的资源瓶颈,出现PW标签资源不足的问题。In the current TDM service simulation function design, in order to implement the end-to-end simulation of the TDM service, an AC link and two PW labels (PW private network labels and PW public network labels) are bound. In this case, the PE device needs to reserve a certain number of PW private network labels for the TDM emulation service. This part of the PW private network label is wasted and cannot be used on the public network. This causes the PW label of the PW public network label and the PW label. The problem of insufficient resources.
发明内容Summary of the invention
本发明的目的在于提供一种时分复用数据的传输方法、装置及网络侧边缘设备,解决现有TDM业务仿真技术中PW标签资源不足的问题。An object of the present invention is to provide a method and device for transmitting time division multiplexed data and a network side edge device, which solves the problem of insufficient PW tag resources in the existing TDM service emulation technology.
为了实现上述目的,本发明实施例提供了一种时分复用数据的传输方法,应用于第一网络侧边缘设备,包括:In order to achieve the above object, an embodiment of the present invention provides a method for transmitting time-division multiplexed data, which is applied to a first network side edge device, and includes:
从客户侧边缘设备与所述第一网络侧边缘设备建立的用户侧链路中,获取用户需要从所述第一网络侧边缘设备传送到第二网络边缘设备的时分复用TDM数据流,并获取用于标识所述用户侧链路的虚拟局域网VLAN标签;Obtaining, from the user side link established by the client side edge device and the first network side edge device, a time division multiplexing TDM data stream that the user needs to transmit from the first network side edge device to the second network edge device, and Obtaining a virtual local area network VLAN tag for identifying the user side link;
根据所述VLAN标签,对所述TDM数据流进行封装处理,得到IP报文;Encapsulating the TDM data stream according to the VLAN tag to obtain an IP packet;
在预先保存的伪线PW路由表中,获取与所述VLAN标签对应的多协议标签交 换MPLS标签,并根据所述MPLS标签将所述IP报文封装成MPLS报文,并通过分组交换网络PSN发送给所述第二网络边缘设备,由所述第二网络边缘设备对所述MPLS报文进行解封装处理得到所述TDM数据流。Obtaining a multi-protocol label corresponding to the VLAN tag in a pre-stored pseudowire PW routing table The MPLS label is exchanged, and the IP packet is encapsulated into an MPLS packet according to the MPLS label, and sent to the second network edge device by using the packet switching network PSN, where the second network edge device pairs the MPLS The packet is decapsulated to obtain the TDM data stream.
可选地,所述根据所述VLAN标签,对所述TDM数据流进行封装处理,得到IP报文的步骤包括:Optionally, the step of performing the encapsulation process on the TDM data stream according to the VLAN tag to obtain an IP packet includes:
对所述TDM数据流进行解复用处理,得到E1帧;Demultiplexing the TDM data stream to obtain an E1 frame;
在所述E1帧中增加所述VLAN标签、以太头及链路层头部,得到所述IP报文。Adding the VLAN tag, the Ethernet header, and the link layer header to the E1 frame to obtain the IP packet.
可选地,所述MPLS标签包括:PW标签和与所述PW标签对应的隧道标签;及Optionally, the MPLS label includes: a PW label and a tunnel label corresponding to the PW label; and
在预先保存的伪线PW路由表中,获取与所述VLAN标签对应的多协议标签交换MPLS标签,包括:Obtaining, in the pre-stored pseudo-wire PW routing table, the multi-protocol label switching MPLS label corresponding to the VLAN tag, including:
在预先保存的PW路由表中,查找是否存在与所述VLAN标签对应的PW标签;In the pre-stored PW routing table, it is found whether there is a PW label corresponding to the VLAN tag;
若存在,则获取与所述VLAN标签对应的PW标签,并获取与所述PW标签对应的隧道标签。If yes, the PW label corresponding to the VLAN tag is obtained, and the tunnel label corresponding to the PW label is obtained.
可选地,所述根据所述MPLS标签将所述IP报文封装成MPLS报文,包括:Optionally, the encapsulating the IP packet into an MPLS packet according to the MPLS label includes:
剥离所述IP报文的VLAN标签,并将所述隧道标签和所述PW标签封装到所述IP报文中,得到所述MPLS报文。Stripping the VLAN tag of the IP packet, and encapsulating the tunnel label and the PW label into the IP packet to obtain the MPLS packet.
可选地,所述VLAN标签包括第一VLAN标签和第二VLAN标签;Optionally, the VLAN tag includes a first VLAN tag and a second VLAN tag;
其中,所述第一VLAN标签的第0bit-5bit用于指示报文净荷的长度,第6bit-10bit用于标识报文业务类型,第11bit用于指示报文的传送方向,第12bit表示标准字段,第13bit-15bit用于表示报文的优先级;The 0th-5th bit of the first VLAN tag is used to indicate the length of the packet payload, the 6th-10th bit is used to identify the packet service type, the 11th bit is used to indicate the packet transmission direction, and the 12th bit is the standard. Field, the 13th-15bit is used to indicate the priority of the packet;
所述第二VLAN标签的第0bit-7bit用于标识用户侧链路的编号,第8bit用于标识报文业务的聚合类属性,第9bit-11bit用于表示用户侧链路的物理接口的编号,第12bit表示标准字段,第13bit-15bit用于表示报文的优先级。The 0th-7th bit of the second VLAN tag is used to identify the number of the user side link, the 8th bit is used to identify the aggregation class attribute of the packet service, and the 9th-11th bit is used to indicate the number of the physical interface of the user side link. The 12th bit indicates the standard field, and the 13th-15bit is used to indicate the priority of the message.
本发明实施例还提供了一种时分复用数据的传输装置,应用于第一网络侧边缘设备,包括:The embodiment of the invention further provides a time-division multiplexed data transmission device, which is applied to the first network side edge device, and includes:
第一获取模块,设置为从客户侧边缘设备与所述第一网络侧边缘设备建立的用户侧链路中,获取用户需要从所述第一网络侧边缘设备传送到第二网络边缘设备的TDM数据流,并获取用于标识所述用户侧链路的虚拟局域网VLAN标签;a first acquiring module, configured to acquire, from the user side link established by the client side edge device and the first network side edge device, a TDM that the user needs to transmit from the first network side edge device to the second network edge device Data flow, and obtaining a virtual local area network VLAN tag for identifying the user side link;
第一处理模块,设置为根据所述VLAN标签,对所述TDM数据流进行封装处理,得到IP报文;The first processing module is configured to perform encapsulation processing on the TDM data stream according to the VLAN tag to obtain an IP packet;
第二处理模块,设置为在预先保存的伪线PW路由表中,获取与所述VLAN标签对应的多协议标签交换MPLS标签,并根据所述MPLS标签将所述IP报文封装成MPLS报文,并通过PSN网络发送给所述第二网络边缘设备,由所述第二网络边缘设备对所述MPLS报文进行解封装处理得到所述TDM数据流。The second processing module is configured to obtain a multi-protocol label switching MPLS label corresponding to the VLAN tag in a pre-stored pseudo-line PW routing table, and encapsulate the IP packet into an MPLS packet according to the MPLS label. And sending, by the PSN network, the second network edge device, where the second network edge device decapsulates the MPLS packet to obtain the TDM data stream.
可选地,所述第一处理模块包括: Optionally, the first processing module includes:
第一处理单元,设置为对所述TDM数据流进行解复用处理,得到E1帧;a first processing unit, configured to perform demultiplexing on the TDM data stream to obtain an E1 frame;
第二处理单元,设置为在所述E1帧中增加所述VLAN标签、以太头及链路层头部,得到所述IP报文。The second processing unit is configured to add the VLAN tag, the Ethernet header, and the link layer header in the E1 frame to obtain the IP packet.
可选地,所述MPLS标签包括:PW标签和与所述PW标签对应的隧道标签;及Optionally, the MPLS label includes: a PW label and a tunnel label corresponding to the PW label; and
所述第二处理模块包括:The second processing module includes:
第一查找单元,设置为在预先保存的PW路由表中,查找是否存在与所述VLAN标签对应的PW标签;The first searching unit is configured to: in the pre-stored PW routing table, find whether there is a PW label corresponding to the VLAN tag;
第一获取单元,设置为若所述PW路由表中,存在与所述VLAN标签对应PW标签,则获取与所述VLAN标签对应的PW标签,并获取与所述PW标签对应的隧道标签。The first acquiring unit is configured to acquire a PW label corresponding to the VLAN tag, and obtain a tunnel label corresponding to the PW label, if a PW label corresponding to the VLAN tag exists in the PW routing table.
可选地,所述第二处理模块包括:Optionally, the second processing module includes:
第三处理单元,设置为剥离所述IP报文的VLAN标签,并将所述隧道标签和所述PW标签封装到所述IP报文中,得到所述MPLS报文。The third processing unit is configured to strip the VLAN tag of the IP packet, and encapsulate the tunnel label and the PW label into the IP packet to obtain the MPLS packet.
本发明实施例还提供了一种网络侧边缘设备,包括如上所述的时分复用数据的传输装置。The embodiment of the invention further provides a network side edge device, comprising the transmission device of the time division multiplexed data as described above.
本发明实施例还提供了一种时分复用数据的传输方法,应用于第一网络侧边缘设备,包括:The embodiment of the invention further provides a method for transmitting time division multiplexed data, which is applied to the first network side edge device, and includes:
获取分组交换网络PSN发送的多协议标签交换MPLS报文,所述MPLS报文为所述第二网络侧边缘设备对用户需要从第二网络侧边缘设备传送到所述第一网络边缘设备的TDM数据流进行封装处理得到的;Obtaining a multi-protocol label switching MPLS packet sent by the packet switching network PSN, where the MPLS packet is a TDM that the second network side edge device needs to transmit from the second network side edge device to the first network edge device The data stream is obtained by encapsulation processing;
在预先保存的伪线PW路由表中,获取与所述MPLS报文所携带的MPLS标签对应的VLAN标签,并根据所述VLAN标签将所述MPLS报文封装成IP报文,所述VLAN标签用于标识客户侧边缘设备与所述第一网络侧边缘设备建立的用户侧链路;Obtaining a VLAN tag corresponding to the MPLS label carried in the MPLS packet, and encapsulating the MPLS packet into an IP packet according to the VLAN tag in the pre-stored pseudowire PW routing table, where the VLAN tag is a user side link for identifying a client side edge device and the first network side edge device;
对所述IP报文进行解封装处理,得到所述TDM数据流,并通过VLAN标签标识的用户侧链路将所述TDM数据流发送给对应的客户侧边缘设备。Decapsulating the IP packet, obtaining the TDM data stream, and sending the TDM data stream to the corresponding client-side edge device by using a user-side link identified by the VLAN tag.
可选地,所述MPLS标签包括:PW标签和与所述PW标签对应的隧道标签;及Optionally, the MPLS label includes: a PW label and a tunnel label corresponding to the PW label; and
所述在预先保存的伪线PW路由表中,获取与所述MPLS报文所携带的MPLS标签对应的VLAN标签,包括:Obtaining, in the pre-stored pseudo-wire PW routing table, a VLAN tag corresponding to the MPLS label carried by the MPLS packet, including:
在所述PW路由表中,查找是否存在与所述MPLS报文所携带的PW标签对应的VLAN标签;Determining, in the PW routing table, a VLAN tag corresponding to the PW label carried in the MPLS packet;
若存在,则获取与所述MPLS报文所携带的PW标签对应的VLAN标签。If yes, the VLAN tag corresponding to the PW tag carried in the MPLS packet is obtained.
可选地,所述根据所述VLAN标签将所述MPLS报文封装成IP报文,包括:Optionally, the encapsulating the MPLS packet into an IP packet according to the VLAN tag includes:
剥离所述MPLS报文中的隧道标签和PW标签,并将所述VLAN标签封装到所述MPLS报文中,得到所述IP报文。The tunnel label and the PW label in the MPLS packet are stripped, and the VLAN tag is encapsulated into the MPLS packet to obtain the IP packet.
可选地,所述对所述IP报文进行解封装处理,得到所述TDM数据流的步骤包括: Optionally, the step of performing decapsulation processing on the IP packet to obtain the TDM data stream includes:
在预先保存的VLAN路由表中,查找是否存在所述IP报文所携带的VLAN标签;In the pre-saved VLAN routing table, it is found whether the VLAN tag carried by the IP packet exists.
若存在,则剥离所述IP报文中的VLAN标签、以太头及链路层头部,得到E1帧;If yes, stripping the VLAN tag, the Ethernet header, and the link layer header in the IP packet to obtain an E1 frame;
对所述E1帧进行复用处理,得到所述TDM数据流。The E1 frame is multiplexed to obtain the TDM data stream.
可选地,所述VLAN标签包括第一VLAN标签和第二VLAN标签;Optionally, the VLAN tag includes a first VLAN tag and a second VLAN tag;
其中,所述第一VLAN标签的第0bit-5bit用于指示报文净荷的长度,第6bit-10bit用于标识报文业务类型,第11bit用于指示报文的传送方向,第12bit表示标准字段,第13bit-15bit用于表示报文的优先级;The 0th-5th bit of the first VLAN tag is used to indicate the length of the packet payload, the 6th-10th bit is used to identify the packet service type, the 11th bit is used to indicate the packet transmission direction, and the 12th bit is the standard. Field, the 13th-15bit is used to indicate the priority of the packet;
所述第二VLAN标签的第0bit-7bit用于标识用户侧链路的编号,第8bit用于标识报文业务的聚合类属性,第9bit-11bit用于表示用户侧链路的物理接口的编号,第12bit表示标准字段,第13bit-15bit用于表示报文的优先级。The 0th-7th bit of the second VLAN tag is used to identify the number of the user side link, the 8th bit is used to identify the aggregation class attribute of the packet service, and the 9th-11th bit is used to indicate the number of the physical interface of the user side link. The 12th bit indicates the standard field, and the 13th-15bit is used to indicate the priority of the message.
本发明实施例还提供了一种时分复用数据的传输装置,应用于第一网络侧边缘设备,包括:The embodiment of the invention further provides a time-division multiplexed data transmission device, which is applied to the first network side edge device, and includes:
第二获取模块,设置为获取PSN网络发送的多协议标签交换MPLS报文,所述MPLS报文为所述第二网络侧边缘设备对用户需要从第二网络侧边缘设备传送到所述第一网络边缘设备的TDM数据流进行封装处理得到的;a second acquiring module, configured to acquire a multi-protocol label switching MPLS packet sent by the PSN network, where the MPLS packet is sent by the second network side edge device to the user from the second network side edge device to the first The TDM data stream of the network edge device is obtained by encapsulation processing;
第三处理模块,设置为在预先保存的伪线PW路由表中,获取与所述MPLS报文所携带的MPLS标签对应的VLAN标签,并根据所述VLAN标签将所述MPLS报文封装成IP报文,所述VLAN标签用于标识客户侧边缘设备与所述第一网络侧边缘设备建立的用户侧链路;The third processing module is configured to: obtain, in the pre-stored pseudo-wire PW routing table, a VLAN tag corresponding to the MPLS label carried by the MPLS packet, and encapsulate the MPLS packet into an IP according to the VLAN tag. a packet, the VLAN tag is used to identify a user side link established between the client side edge device and the first network side edge device;
第四处理模块,设置为对所述IP报文进行解封装处理,得到所述TDM数据流,并通过VLAN标签标识的用户侧链路将所述TDM数据流发送给对应的客户侧边缘设备。The fourth processing module is configured to perform decapsulation processing on the IP packet, obtain the TDM data stream, and send the TDM data stream to the corresponding client side edge device by using a user side link identified by the VLAN tag.
可选地,所述MPLS标签包括:PW标签和与所述PW标签对应的隧道标签;及Optionally, the MPLS label includes: a PW label and a tunnel label corresponding to the PW label; and
所述第三处理模块包括:The third processing module includes:
第二查找单元,设置为在所述PW路由表中,查找是否存在与所述MPLS报文所携带的PW标签对应的VLAN标签;a second search unit, configured to: in the PW routing table, find a VLAN tag corresponding to the PW label carried in the MPLS packet;
第二获取单元,设置为若在所述PW路由表中,存在与所述MPLS报文所携带的PW标签对应的VLAN标签,则获取与所述MPLS报文所携带的PW标签对应的VLAN标签。The second obtaining unit is configured to: if the VLAN tag corresponding to the PW tag carried in the MPLS packet exists in the PW routing table, obtain a VLAN tag corresponding to the PW tag carried in the MPLS packet .
可选地,所述第三处理模块包括:Optionally, the third processing module includes:
第四处理单元,设置为剥离所述MPLS报文中的隧道标签和PW标签,并将所述VLAN标签封装到所述MPLS报文中,得到所述IP报文。The fourth processing unit is configured to strip the tunnel label and the PW label in the MPLS packet, and encapsulate the VLAN tag into the MPLS packet to obtain the IP packet.
可选地,所述第四处理模块包括:Optionally, the fourth processing module includes:
第三查找单元,设置为在预先保存的VLAN路由表中,查找是否存在所述IP报 文所携带的VLAN标签;The third searching unit is configured to: in the pre-saved VLAN routing table, find whether the IP packet exists The VLAN tag carried in the text;
第五处理单元,设置为若所述VLAN路由表中,存在所述IP报文所携带的VLAN标签,则剥离所述IP报文中的VLAN标签、以太头及链路层头部,得到E1帧;The fifth processing unit is configured to: if the VLAN tag carried by the IP packet exists in the VLAN routing table, strip the VLAN tag, the Ethernet header, and the link layer header in the IP packet to obtain the E1 frame;
第六处理单元,设置为对所述E1帧进行复用处理,得到所述TDM数据流。The sixth processing unit is configured to perform multiplexing processing on the E1 frame to obtain the TDM data stream.
本发明实施例还提供了一种网络侧边缘设备,包括如上所述的时分复用数据的传输装置。The embodiment of the invention further provides a network side edge device, comprising the transmission device of the time division multiplexed data as described above.
本发明实施例具有以下有益效果:Embodiments of the present invention have the following beneficial effects:
本发明实施例的时分复用数据的传输方法,利用VLAN标签将TDM数据封装成IP报文,然后在预先保存的PW路由表中,获取与VLAN标签对应的MPLS标签,并根据所述MPLS标签将所述IP报文封装成MPLS报文,完成TDM业务封装,并在另一侧逆过程还原TDM业务,实现TDM业务的仿真。本发明实施例通过利用VLAN标签在PE设备内部进行IP报文的转发,从而不需PE设备为TDM仿真业务预留一定数量的PW私网标签,解决了在TDM业务仿真技术中伪线标签资源不足的问题。The method for transmitting time-division multiplexed data in the embodiment of the present invention, the TDM data is encapsulated into an IP packet by using a VLAN tag, and then the MPLS label corresponding to the VLAN tag is obtained in the pre-stored PW routing table, and according to the MPLS label The IP packet is encapsulated into an MPLS packet to complete the TDM service encapsulation, and the TDM service is restored in the reverse process on the other side to implement the TDM service simulation. In the embodiment of the present invention, the IP packet is forwarded in the PE device by using the VLAN tag, so that the PE device does not need to reserve a certain number of PW private network labels for the TDM emulation service, thereby solving the pseudo-line label resource in the TDM service emulation technology. Insufficient problems.
附图说明DRAWINGS
图1表示相关TDM业务仿真技术中PWE3的网络示意图;FIG. 1 is a schematic diagram of a network of PWE3 in a related TDM service emulation technology;
图2表示相关TDM业务仿真技术中PWE3报文的格式示意图;2 is a schematic diagram showing the format of a PWE3 message in a related TDM service emulation technology;
图3表示相关TDM业务仿真技术中MPLS报文的格式示意图;3 is a schematic diagram showing the format of an MPLS packet in a related TDM service emulation technology;
图4表示相关技术中TDM数据流封装示意图;4 is a schematic diagram of a TDM data stream package in the related art;
图5表示相关技术中TDM数据流解封装示意图;FIG. 5 is a schematic diagram showing decapsulation of a TDM data stream in the related art;
图6表示本发明实施例的时分复用数据的传输方法的第一工作流程图;6 is a first working flowchart of a method for transmitting time division multiplexed data according to an embodiment of the present invention;
图7表示本发明实施例的时分复用数据的传输方法的IP报文的格式示意图;FIG. 7 is a schematic diagram showing the format of an IP packet of a method for transmitting time division multiplexed data according to an embodiment of the present invention;
图8表示本发明实施例的时分复用数据的传输方法中PE设备内部的报文转发示意图;8 is a schematic diagram of packet forwarding inside a PE device in a method for transmitting time-division multiplexed data according to an embodiment of the present invention;
图9表示本发明实施例的时分复用数据的传输方法中PE设备内部的ingress方向的报文封装示意图;FIG. 9 is a schematic diagram of packet encapsulation in an ingress direction of a PE device in a method for transmitting time division multiplexed data according to an embodiment of the present invention;
图10表示本发明实施例的时分复用数据的传输装置的第一结构框图;FIG. 10 is a block diagram showing a first structure of a time division multiplexed data transmission apparatus according to an embodiment of the present invention; FIG.
图11表示本发明实施例的时分复用数据的传输方法的第二工作流程图;11 is a second working flow chart showing a method for transmitting time division multiplexed data according to an embodiment of the present invention;
图12表示本发明实施例的时分复用数据的传输方法中PE设备内部的egress方向的报文解封装示意图;FIG. 12 is a schematic diagram showing the decapsulation of packets in the egress direction of the PE device in the method for transmitting time-division multiplexed data according to the embodiment of the present invention;
图13表示本发明实施例的时分复用数据的传输装置的第二结构框图;Figure 13 is a block diagram showing a second structure of a time division multiplexed data transmission apparatus according to an embodiment of the present invention;
图14表示本发明实施例的时分复用数据的传输装置中第三处理模块的结构框图;14 is a block diagram showing the structure of a third processing module in a time division multiplexed data transmission apparatus according to an embodiment of the present invention;
图15表示本发明实施例的时分复用数据的传输装置中第四处理模块的结构框 图。15 is a block diagram showing a structure of a fourth processing module in a time division multiplexed data transmission apparatus according to an embodiment of the present invention; Figure.
具体实施方式detailed description
为使本发明实施例要解决的技术问题、技术方案和优点更加清楚,下面将结合具体实施例及附图进行详细描述。The technical problems, technical solutions, and advantages to be solved by the embodiments of the present invention will be more clearly described below in conjunction with the specific embodiments and the accompanying drawings.
相关技术中,通过PWE3二层业务承载技术在PSN网络中实现传统的TDM业务功能。可选地,如图1所示,PE1和PE2之间通过PWE3技术在IP/MPLS分组交换网上实现了CE1和CE2之间的AC链路(可为TDM链路)交换,对于CE1和CE2来说,PE1和PE2以及IP/MPLS分组交换网都是透明的。IP/MPLS分组交换网边缘的PE通过将AC链路和PW绑定,进行TDM业务封装,并在另一端逆过程还原TDM业务,从而实现TDM业务仿真。In the related art, the traditional TDM service function is implemented in the PSN network through the PWE3 Layer 2 service bearer technology. Optionally, as shown in FIG. 1, the AC link (which can be a TDM link) between CE1 and CE2 is implemented on the IP/MPLS packet switching network by using PWE3 technology between PE1 and PE2. For CE1 and CE2, Said that PE1 and PE2 and IP/MPLS packet switching networks are transparent. The PE at the edge of the IP/MPLS packet-switched network encapsulates the AC link and the PW to encapsulate the TDM service, and restores the TDM service in the reverse process at the other end.
为了在PE设备上实现TDM数据流封装及解封装功能,PE设备需要支持TDM业务单板。TDM业务单板需要包含TDM接口模块和网络处理器模块。根据RFC4553/RFC5086标准,在入口ingress方向,TDM接口模块根据配置的PW标签(私有标签,仅仅用来在TDM业务单板内部转发报文)将从AC端口接收到的TDM数据流封装成PWE3报文(现有TDM业务仿真技术中PWE3报文的格式示意图如图2所示),TDM接口模块将封装后的PWE3报文转发给网络处理器模块。网络处理器模块根据配置的隧道tunnel标签和PW标签(公网标签,用来在PSN网络转发报文),将从TDM接口模块接收到的PWE3报文剥掉PW私网标签然后再封装tunnel标签和PW公网标签,此时的报文已成为标准的MPLS报文(现有TDM业务仿真技术中MPLS报文的格式如图3所示),将封装后的MPLS报文转发给PSN网络。相关技术中TDM数据流封装如图4所示。在egress方向,网络处理器模块将从PSN网络接收到的MPLS报文先剥离tunnel标签和PW公网标签然后再封装PW私网标签,将封装后的PWE3报文转发给TDM接口模块。TDM接口模块将接收到的PWE3报文剥离PW私网标签,将解封装后的TDM数据流发送给AC端口。相关技术中TDM数据流解封装过程如图5所示。To implement the TDM data stream encapsulation and decapsulation function on the PE device, the PE device needs to support the TDM service card. The TDM service board needs to include a TDM interface module and a network processor module. According to the RFC4553/RFC5086 standard, in the ingress ingress direction, the TDM interface module encapsulates the TDM data stream received from the AC port into a PWE3 packet according to the configured PW label (private label, which is only used to forward packets inside the TDM service board). The format of the PWE3 packet in the existing TDM service emulation technology is shown in Figure 2. The TDM interface module forwards the encapsulated PWE3 packet to the network processor module. The network processor module strips the PW private network label and then encapsulates the tunnel label from the PWE3 packet received by the TDM interface module according to the configured tunnel tunnel label and the PW label (the public network label is used to forward the packet on the PSN network). And the PW public network label, the packet is a standard MPLS packet. The format of the MPLS packet in the existing TDM service emulation technology is shown in Figure 3. The encapsulated MPLS packet is forwarded to the PSN network. The TDM data stream encapsulation in the related art is shown in FIG. 4 . In the egress direction, the network processor module forwards the MPLS packet received from the PSN network to the TW interface module by first decapsulating the tunnel label and the PW public network label and then encapsulating the PW private network label. The TDM interface module strips the received PWE3 packet from the PW private network label, and sends the decapsulated TDM data stream to the AC port. The TDM data stream decapsulation process in the related art is shown in FIG. 5.
然而,上述TDM业务仿真过程中,PE设备需要给TDM仿真业务预留一定数量的PW私网标签,这一部分的PW私网标签不能在公网上使用,造成PW公网标签的资源瓶颈,出现PW标签资源不足的问题。However, in the above TDM service simulation process, the PE device needs to reserve a certain number of PW private network labels for the TDM emulation service. This part of the PW private network label cannot be used on the public network, causing the resource bottleneck of the PW public network label and the PW appearing. The problem of insufficient tag resources.
基于上述问题,本发明的实施例提供了一种时分复用数据的传输方法、装置及网络侧边缘设备,解决了现有时分复用业务在仿真技术中伪线标签资源不足的问题。Based on the above problem, an embodiment of the present invention provides a method and device for transmitting time division multiplexed data and a network side edge device, which solves the problem that the existing time division multiplexing service has insufficient pseudo line label resources in the simulation technology.
本发明实施例的时分复用数据的传输方法,如图6所示,包括:The method for transmitting time division multiplexed data in the embodiment of the present invention, as shown in FIG. 6, includes:
步骤S61:从客户侧边缘设备与所述第一网络侧边缘设备建立的用户侧链路中,获取用户需要从所述第一网络侧边缘设备传送到第二网络边缘设备的时分复用TDM数据流,并获取用于标识所述用户侧链路的虚拟局域网VLAN标签。 Step S61: Obtain time-division multiplexed TDM data that the user needs to transmit from the first network side edge device to the second network edge device, from the user side link established by the client side edge device and the first network side edge device. Streaming, and obtaining a virtual local area network VLAN tag for identifying the user side link.
步骤S62:根据所述VLAN标签,对所述TDM数据流进行封装处理,得到IP报文。Step S62: Perform encapsulation processing on the TDM data stream according to the VLAN tag to obtain an IP packet.
步骤S63:在预先保存的伪线PW路由表中,获取与所述VLAN标签对应的多协议标签交换MPLS标签,并根据所述MPLS标签将所述IP报文封装成MPLS报文,并通过分组交换网络PSN发送给所述第二网络边缘设备,由所述第二网络边缘设备对所述MPLS报文进行解封装处理得到所述TDM数据流。Step S63: Obtain a multi-protocol label switching MPLS label corresponding to the VLAN tag in a pre-stored pseudo-line PW routing table, and encapsulate the IP packet into an MPLS packet according to the MPLS label, and pass the grouping. The switching network PSN is sent to the second network edge device, and the second network edge device decapsulates the MPLS packet to obtain the TDM data stream.
本发明实施例的时分复用数据的传输方法,利用VLAN标签将TDM数据流封装成IP报文,然后在预先保存的PW路由表中,获取与VLAN标签对应的MPLS标签,并根据所述MPLS标签将所述IP报文封装成MPLS报文,完成TDM业务封装,并在另一侧逆过程还原TDM业务,实现TDM业务的仿真。本发明实施例通过利用VLAN标签在PE设备内部进行IP报文的转发,从而不需PE设备为TDM仿真业务预留一定数量的PW私网标签,解决了在TDM业务仿真技术中伪线标签资源不足的问题。The method for transmitting time-division multiplexed data in the embodiment of the present invention, the TDM data stream is encapsulated into an IP packet by using a VLAN tag, and then the MPLS label corresponding to the VLAN tag is obtained in the pre-stored PW routing table, and according to the MPLS The tag encapsulates the IP packet into an MPLS packet, completes the TDM service encapsulation, and restores the TDM service on the other side to implement the simulation of the TDM service. In the embodiment of the present invention, the IP packet is forwarded in the PE device by using the VLAN tag, so that the PE device does not need to reserve a certain number of PW private network labels for the TDM emulation service, thereby solving the pseudo-line label resource in the TDM service emulation technology. Insufficient problems.
进一步地,所述VLAN标签包括第一VLAN标签和第二VLAN标签;Further, the VLAN tag includes a first VLAN tag and a second VLAN tag;
其中,所述第一VLAN标签的第0bit-5bit用于指示报文净荷的长度,第6bit-10bit用于标识报文业务类型,第11bit用于指示报文的传送方向,第12bit表示标准字段,第13bit-15bit用于表示报文的优先级;The 0th-5th bit of the first VLAN tag is used to indicate the length of the packet payload, the 6th-10th bit is used to identify the packet service type, the 11th bit is used to indicate the packet transmission direction, and the 12th bit is the standard. Field, the 13th-15bit is used to indicate the priority of the packet;
所述第二VLAN标签的第0bit-7bit用于标识用户侧链路的编号,第8bit用于标识报文业务的聚合类属性,第9bit-11bit用于表示用户侧链路的物理接口的编号,第12bit表示标准字段,第13bit-15bit用于表示报文的优先级。The 0th-7th bit of the second VLAN tag is used to identify the number of the user side link, the 8th bit is used to identify the aggregation class attribute of the packet service, and the 9th-11th bit is used to indicate the number of the physical interface of the user side link. The 12th bit indicates the standard field, and the 13th-15bit is used to indicate the priority of the message.
在本发明的具体实施例中,PE设备的TDM业务单板包括两个模块,即TDM接口模块和网络处理器模块,两者之间通过SGMII接口或者XGMII接口连接。本发明实施例所要实现的方法是由TDM接口模块和网络处理器模块来共同完成。为了实现TDM业务端到端仿真,本发明实施例使用两层VLAN标签(私网标签)在TDM接口模块和网络处理器模块之间来转发以太IP报文,时分复用数据的传输方法的IP报文格式如图7所示,其中,除包有效载荷(Packet Payload)外均为自定义头,DMAC表示设备MAC,可以配置;SMAC表示自定义单板MAC,可为任意MAC;802.1Q表示802.1Q标准定义格式;Packet Payload表示报文内容。为了便于说明,本发明实施例将两层VLAN标签分别定义为VLAN1和VLAN2。为了实现报文在TDM接口模块和网络处理器模块之间的转发,本发明实施例需要对VLAN标签进行重新定义。本发明实施例使用VLAN1标签加VLAN2标签来唯一标识一条AC链路。In a specific embodiment of the present invention, the TDM service board of the PE device includes two modules, that is, a TDM interface module and a network processor module, and the two are connected through an SGMII interface or an XGMII interface. The method to be implemented by the embodiment of the present invention is jointly performed by the TDM interface module and the network processor module. In order to implement the end-to-end simulation of the TDM service, the embodiment of the present invention uses a two-layer VLAN tag (private network label) to forward the Ethernet IP packet between the TDM interface module and the network processor module, and the IP of the time division multiplexing data transmission method. The packet format is as shown in Figure 7. The packet header is a custom header. The DMAC indicates the MAC address of the device and can be configured. The SMAC indicates the MAC address of the card. The MAC address can be any MAC address. The 802.1Q standard defines the format; Packet Payload represents the content of the message. For convenience of description, the embodiment of the present invention defines two layers of VLAN tags as VLAN 1 and VLAN 2. In order to implement the forwarding of the message between the TDM interface module and the network processor module, the embodiment of the present invention needs to redefine the VLAN tag. The embodiment of the present invention uses a VLAN 1 tag plus a VLAN 2 tag to uniquely identify an AC link.
如表1所示,本发明实施例中的VLAN1标签定义如下:As shown in Table 1, the VLAN 1 tag in the embodiment of the present invention is defined as follows:
VLAN1标签的bit0~bit5定义为PKT_LEN字段,用于报文的填充和去填充,表示报文净荷(包括链路层头部和报文实际内容两部分)的长度,如果PKT_LEN字段为0,表示报文净荷的长度大于60字节;否则表示报文除填充字段外的实际净荷长 度。bit6~bit10定义为ENCAP_TYPE字段,表示报文业务类型(当ENCAP_TYPE字段的值为0xa时,表示TDM业务报文)。bit11定义为CPU_PKT_INDICATOR字段,当CPU_PKT_INDICATOR字段的值为0x1时,表示上送CPU报文,其它情况下,CPU_PKT_INDICATOR字段的值为0x0。bit12定义为CFI字段,标准字段。bit13~bit15定义为PRIORITY(802.1p)字段,表示优先级,用于调度。The bit 0 to bit 5 of the VLAN 1 tag are defined as the PKT_LEN field, which is used to fill and unfill the packet. It indicates the length of the packet payload (including the link layer header and the actual content of the packet). If the PKT_LEN field is 0, Indicates that the payload length of the packet is greater than 60 bytes. Otherwise, the actual payload length of the packet except the padding field is degree. Bits 6 to 10 are defined as the ENCAP_TYPE field, indicating the packet service type (when the value of the ENCAP_TYPE field is 0xa, it indicates a TDM service packet). Bit 11 is defined as the CPU_PKT_INDICATOR field. When the value of the CPU_PKT_INDICATOR field is 0x1, it indicates that the CPU message is sent. In other cases, the value of the CPU_PKT_INDICATOR field is 0x0. Bit 12 is defined as a CFI field, a standard field. Bits 13 to 15 are defined as PRIORITY (802.1p) fields, indicating priority, and are used for scheduling.
如表1所示,本发明实施例中的VLAN2标签定义如下:As shown in Table 1, the VLAN 2 tag in the embodiment of the present invention is defined as follows:
VLAN2标签的bit0~bit7定义为CHANNEL_NO字段,表示AC端口下的某条TDM链路的编号,对于某个AC端口,CHANNEL_NO字段的值是唯一的。bit8定义为AGGREGATION字段,AGGREGATION字段取值为0x0表示无聚合类属性的业务,取值为0x1表示聚合类属性的业务,对于TDM业务仿真,AGGREGATION字段取值为0x0。bit9~bit11定义为PORT_ID字段,表示AC物理端口的编号,如果AC端口是PDH端口的话则PORT_ID字段的值为0,如果AC端口是虚端口的话则PORT_ID字段的值为0。bit12定义为CFI字段,标准字段。bit13~bit15定义为PRIORITY(802.1p)字段,表示优先级,由于调度。The bit 0 to bit 7 of the VLAN 2 tag are defined as the CHANNEL_NO field, which indicates the number of a TDM link on the AC port. For an AC port, the value of the CHANNEL_NO field is unique. Bit 8 is defined as the AGGREGATION field. The value of the AGGREGATION field is 0x0, which indicates that the service has no aggregation attribute. The value of 0x1 indicates the service of the aggregation class attribute. For the TDM service simulation, the AGGREGATION field takes the value 0x0. Bits 9 to 11 are defined as the PORT_ID field, which indicates the number of the AC physical port. If the AC port is a PDH port, the value of the PORT_ID field is 0. If the AC port is a virtual port, the value of the PORT_ID field is 0. Bit 12 is defined as a CFI field, a standard field. Bits 13 to 15 are defined as PRIORITY (802.1p) fields, indicating priority, due to scheduling.
Figure PCTCN2016077783-appb-000001
Figure PCTCN2016077783-appb-000001
Figure PCTCN2016077783-appb-000002
Figure PCTCN2016077783-appb-000002
表1Table 1
进一步地,所述根据所述VLAN标签,对所述TDM数据流进行封装处理,得到IP报文的步骤包括:Further, the step of performing the encapsulation process on the TDM data stream according to the VLAN tag to obtain an IP packet includes:
对所述TDM数据流进行解复用处理,得到E1帧;Demultiplexing the TDM data stream to obtain an E1 frame;
在所述E1帧中增加所述VLAN标签、以太头及链路层头部,得到所述IP报文。Adding the VLAN tag, the Ethernet header, and the link layer header to the E1 frame to obtain the IP packet.
在本发明的具体实施例中,所述以太头可包括:目的MAC地址DMAC(本发明定义为PE设备的MAC地址)和源MAC地址SMAC(本发明定义为除广播地址之外的任意MAC地址);所述链路层头部根据标准RFC4385进行封装。In a specific embodiment of the present invention, the Ethernet header may include: a destination MAC address DMAC (defined as a MAC address of a PE device) and a source MAC address SMAC (the invention is defined as any MAC address except a broadcast address) The link layer header is encapsulated according to standard RFC4385.
进一步地,所述MPLS标签包括:PW标签和与所述PW标签对应的隧道标签;及Further, the MPLS label includes: a PW label and a tunnel label corresponding to the PW label; and
在预先保存的伪线PW路由表中,获取与所述VLAN标签对应的多协议标签交换MPLS标签,包括:Obtaining, in the pre-stored pseudo-wire PW routing table, the multi-protocol label switching MPLS label corresponding to the VLAN tag, including:
在预先保存的PW路由表中,查找是否存在与所述VLAN标签对应的PW标签;In the pre-stored PW routing table, it is found whether there is a PW label corresponding to the VLAN tag;
若存在,则获取与所述VLAN标签对应的PW标签,并获取与所述PW标签对应的隧道标签。If yes, the PW label corresponding to the VLAN tag is obtained, and the tunnel label corresponding to the PW label is obtained.
在本发明的具体实施例中,在PSN网络的PE设备上创建虚连接PW(公网PW)后,分配PW标签(公网标签),创建隧道tunnel,并分配tunnel标签,将PW与隧道进行绑定。同时,将AC链路与虚连接PW进行绑定,即将VLAN1/VLAN2标签与PW标签进行映射,得到所述PW路由表,其中,所述PW路由表中存储有按照对应关系存储的PW标签、第一VLAN标签、第二VLAN标签及隧道标签。In a specific embodiment of the present invention, after a virtual connection PW (public network PW) is created on the PE device of the PSN network, a PW label (public network label) is allocated, a tunnel tunnel is created, and a tunnel label is allocated, and the PW and the tunnel are performed. Bind. At the same time, the AC link is bound to the virtual link PW, that is, the VLAN 1/VLAN 2 label is mapped to the PW label, and the PW routing table is obtained. The PW routing table stores the PW label stored according to the corresponding relationship. The first VLAN tag, the second VLAN tag, and the tunnel tag.
进一步地,所述根据所述MPLS标签将所述IP报文封装成MPLS报文,包括:Further, the encapsulating the IP packet into an MPLS packet according to the MPLS label includes:
剥离所述IP报文的VLAN标签,并将所述隧道标签和所述PW标签封装到所述IP报文中,得到所述MPLS报文。Stripping the VLAN tag of the IP packet, and encapsulating the tunnel label and the PW label into the IP packet to obtain the MPLS packet.
在本发明的具体实施例中,如图8所示,在入口方向(AC→PSN方向),TDM接口模块从AC端口接收到TDM数据流,将TDM数据流解复用成E1帧,并将E1帧封装成以太IP报文,通过SGMII接口或者XGMII接口将以太IP报文转发给网络处理器模块。In a specific embodiment of the present invention, as shown in FIG. 8, in the ingress direction (AC→PSN direction), the TDM interface module receives the TDM data stream from the AC port, demultiplexes the TDM data stream into an E1 frame, and The E1 frame is encapsulated into an Ethernet IP packet, and the Ethernet IP packet is forwarded to the network processor module through the SGMII interface or the XGMII interface.
网络处理器模块接收到以太IP报文,根据以太IP报文的两层VLAN标签(私网标签),查找PW路由表,如果查找到相应的tunnel标签和PW标签,则剥离以太IP报文的两层VLAN标签(私网标签)然后封装tunnel标签及PW标签,以太IP报文的链路层头部保持不变(链路层头部作为报文净荷的一部分),完成MPLS报文封装,将封装后的MPLS报文转发给PSN网络。如果没有查找到tunnel标签和PW标签, 则将该以太IP报文丢弃,其中,图9表示时分复用数据的传输方法中PE设备内部的ingress方向的报文封装示意图。The network processor module receives the Ethernet IP packet, and searches for the PW routing table according to the two-layer VLAN tag (private network label) of the Ethernet IP packet. If the corresponding tunnel label and the PW label are found, the Ethernet IP packet is stripped. The two-layer VLAN tag (the private network label) is then encapsulated with the tunnel label and the PW label. The link layer header of the Ethernet IP packet remains unchanged (the link layer header is part of the packet payload) to complete the MPLS packet encapsulation. The encapsulated MPLS packet is forwarded to the PSN network. If the tunnel tag and PW tag are not found, The Ethernet IP packet is discarded, and FIG. 9 is a schematic diagram of packet encapsulation in the ingress direction of the PE device in the method for transmitting time-division multiplexed data.
在本发明的具体实施例中,第一PE设备根据两层VLAN标签将所述TDM数据流封装成IP报文并转发给网络处理器模块,由网络处理器模块根据PW标签和与所述PW标签对应的隧道标签将所述IP报文封装成MPLS报文,并转发给PSN网络,由PSN网络将所述MPLS报文发送给第二PE设备,由所述第二PE设备对所述MPLS报文进行解封装处理,得到所述TDM数据流,完成TDM仿真业务。In a specific embodiment of the present invention, the first PE device encapsulates the TDM data stream into an IP packet according to the two-layer VLAN tag and forwards the packet to the network processor module, and the network processor module according to the PW label and the PW The tunnel label corresponding to the label encapsulates the IP packet into an MPLS packet and forwards the packet to the PSN network. The MPLS packet is sent by the PSN network to the second PE device, and the second PE device pairs the MPLS packet. The packet is decapsulated, and the TDM data stream is obtained to complete the TDM emulation service.
本发明的实施例还提供了一种时分复用数据的传输装置,应用于第一网络侧边缘设备,如图10所示,包括:An embodiment of the present invention further provides a time-division multiplexed data transmission apparatus, which is applied to a first network side edge device, as shown in FIG. 10, and includes:
第一获取模块101,设置为从客户侧边缘设备与所述第一网络侧边缘设备建立的用户侧链路中,获取用户需要从所述第一网络侧边缘设备传送到第二网络边缘设备的TDM数据流,并获取用于标识所述用户侧链路的虚拟局域网VLAN标签;The first obtaining module 101 is configured to acquire, from the user side link established by the client side edge device and the first network side edge device, that the user needs to transmit from the first network side edge device to the second network edge device. TDM data stream, and obtaining a virtual local area network VLAN tag for identifying the user side link;
第一处理模块102,设置为根据所述VLAN标签,对所述TDM数据流进行封装处理,得到IP报文;The first processing module 102 is configured to perform encapsulation processing on the TDM data stream according to the VLAN tag to obtain an IP packet.
第二处理模块103,设置为在预先保存的伪线PW路由表中,获取与所述VLAN标签对应的多协议标签交换MPLS标签,并根据所述MPLS标签将所述IP报文封装成MPLS报文,并通过PSN网络发送给所述第二网络边缘设备,由所述第二网络边缘设备对所述MPLS报文进行解封装处理得到所述TDM数据流。The second processing module 103 is configured to obtain a multi-protocol label switching MPLS label corresponding to the VLAN tag in a pre-stored pseudo-line PW routing table, and encapsulate the IP packet into an MPLS packet according to the MPLS label. The packet is sent to the second network edge device by using the PSN network, and the MPLS packet is decapsulated by the second network edge device to obtain the TDM data stream.
本发明实施例的时分复用数据的传输装置,所述第一处理模块102包括:The apparatus for transmitting time division multiplexed data according to the embodiment of the present invention, the first processing module 102 includes:
第一处理单元,设置为对所述TDM数据流进行解复用处理,得到E1帧;a first processing unit, configured to perform demultiplexing on the TDM data stream to obtain an E1 frame;
第二处理单元,设置为在所述E1帧中增加所述VLAN标签、以太头及链路层头部,得到所述IP报文。The second processing unit is configured to add the VLAN tag, the Ethernet header, and the link layer header in the E1 frame to obtain the IP packet.
本发明实施例的时分复用数据的传输装置,所述MPLS标签包括:PW标签和与所述PW标签对应的隧道标签;及In the apparatus for transmitting time-division multiplexed data according to the embodiment of the present invention, the MPLS label includes: a PW label and a tunnel label corresponding to the PW label;
所述第二处理模块103包括:The second processing module 103 includes:
第一查找单元,设置为在预先保存的PW路由表中,查找是否存在与所述VLAN标签对应的PW标签;The first searching unit is configured to: in the pre-stored PW routing table, find whether there is a PW label corresponding to the VLAN tag;
第一获取单元,设置为若所述PW路由表中,存在与所述VLAN标签对应PW标签,则获取与所述VLAN标签对应的PW标签,并获取与所述PW标签对应的隧道标签。The first acquiring unit is configured to acquire a PW label corresponding to the VLAN tag, and obtain a tunnel label corresponding to the PW label, if a PW label corresponding to the VLAN tag exists in the PW routing table.
本发明实施例的时分复用数据的传输装置,所述第二处理模块103包括:The apparatus for transmitting time division multiplexed data according to the embodiment of the present invention, the second processing module 103 includes:
第三处理单元,设置为剥离所述IP报文的VLAN标签,并将所述隧道标签和所述PW标签封装到所述IP报文中,得到所述MPLS报文。The third processing unit is configured to strip the VLAN tag of the IP packet, and encapsulate the tunnel label and the PW label into the IP packet to obtain the MPLS packet.
本发明实施例还提供了一种网络侧边缘设备,包括如上所述的时分复用数据的传输装置。 The embodiment of the invention further provides a network side edge device, comprising the transmission device of the time division multiplexed data as described above.
需要说明的是,该装置及网络侧边缘设备是与上述方法实施例对应的装置和设备,上述方法实施例中所有实现方式均适用于该装置和设备的实施例中,也能达到相同的技术效果。It should be noted that the device and the network side edge device are devices and devices corresponding to the foregoing method embodiments, and all implementation manners in the foregoing method embodiments are applicable to the device and device embodiments, and can also achieve the same technology. effect.
为了实现PE设备根据VLAN标签实现对所述MPLS报文的解封装,本发明实施例还提供了一种时分复用数据的传输方法,应用于第一网络侧边缘设备,如图11所示,包括:In order to implement the decapsulation of the MPLS packet by the PE device according to the VLAN tag, the embodiment of the present invention further provides a method for transmitting time division multiplexed data, which is applied to the first network side edge device, as shown in FIG. include:
步骤111:获取分组交换网络PSN发送的多协议标签交换MPLS报文,所述MPLS报文为所述第二网络侧边缘设备对用户需要从第二网络侧边缘设备传送到所述第一网络边缘设备的TDM数据流进行封装处理得到的;Step 111: Acquire a multi-protocol label switching MPLS packet sent by the packet switching network PSN, where the MPLS packet is sent by the second network side edge device to the user from the second network side edge device to the first network edge. The TDM data stream of the device is obtained by encapsulation processing;
步骤112:在预先保存的伪线PW路由表中,获取与所述MPLS报文所携带的MPLS标签对应的VLAN标签,并根据所述VLAN标签将所述MPLS报文封装成IP报文,所述VLAN标签用于标识客户侧边缘设备与所述第一网络侧边缘设备建立的用户侧链路;Step 112: Obtain a VLAN tag corresponding to the MPLS label carried in the MPLS packet, and encapsulate the MPLS packet into an IP packet according to the VLAN tag in the pre-stored pseudowire PW routing table. The VLAN tag is used to identify a user side link established by the client side edge device and the first network side edge device;
步骤113:对所述IP报文进行解封装处理,得到所述TDM数据流,并通过VLAN标签标识的用户侧链路将所述TDM数据流发送给对应的客户侧边缘设备。Step 113: Perform decapsulation processing on the IP packet, obtain the TDM data stream, and send the TDM data stream to the corresponding client side edge device by using the user side link identified by the VLAN tag.
本发明实施例的时分复用数据的传输方法,获取MPLS报文后,在PW路由表中获取与所述MPLS报文所携带的MPLS标签对应的VLAN标签,并根据所述VLAN标签将所述MPLS报文封装成IP报文,最后对所述IP报文进行解封装处理,得到所述TDM数据流,完成对MPLS报文的解封装处理。在上述处理过程中,通过VLAN标签在PE设备内部进行IP报文的转发,从而不需PE设备为TDM仿真业务预留一定数量的PW私网标签,解决了在TDM业务仿真技术中伪线标签资源不足的问题。The method for transmitting time-division multiplexed data according to the embodiment of the present invention obtains a VLAN tag corresponding to the MPLS label carried in the MPLS packet in the PW routing table after acquiring the MPLS packet, and according to the VLAN tag, The MPLS packet is encapsulated into an IP packet, and the IP packet is decapsulated. The TDM data stream is obtained, and the MPLS packet is decapsulated. In the above process, the IP packet is forwarded in the PE device through the VLAN tag, so that the PE device does not need to reserve a certain number of PW private network labels for the TDM emulation service, which solves the problem of the pseudo-line label in the TDM service emulation technology. The problem of insufficient resources.
进一步地,所述MPLS标签包括:PW标签和与所述PW标签对应的隧道标签;及Further, the MPLS label includes: a PW label and a tunnel label corresponding to the PW label; and
所述在预先保存的伪线PW路由表中,获取与所述MPLS报文所携带的MPLS标签对应的VLAN标签,包括:Obtaining, in the pre-stored pseudo-wire PW routing table, a VLAN tag corresponding to the MPLS label carried by the MPLS packet, including:
在所述PW路由表中,查找是否存在与所述MPLS报文所携带的PW标签对应的VLAN标签;Determining, in the PW routing table, a VLAN tag corresponding to the PW label carried in the MPLS packet;
若存在,则获取与所述MPLS报文所携带的PW标签对应的VLAN标签。If yes, the VLAN tag corresponding to the PW tag carried in the MPLS packet is obtained.
进一步地,所述根据所述VLAN标签将所述MPLS报文封装成IP报文,包括:Further, the encapsulating the MPLS packet into an IP packet according to the VLAN tag includes:
剥离所述MPLS报文中的隧道标签和PW标签,并将所述VLAN标签封装到所述MPLS报文中,得到所述IP报文。The tunnel label and the PW label in the MPLS packet are stripped, and the VLAN tag is encapsulated into the MPLS packet to obtain the IP packet.
在本发明的具体实施例中,如图8所示,在出口方向(PSN→AC方向),网络处理器模块接收到PSN网络的MPLS报文,根据PW标签查找PW路由表,如果查找到VLAN1和VLAN2标签(私网标签),则剥离MPLS报文的tunnel标签和PW标签,然后封装两层VLAN标签(VLAN1标签和VLAN2标签,私网标签),完成 以太IP报文封装,通过SGMII接口或者XGMII接口将以太IP报文转发给TDM接口模块。如果没有查找到相应的VLAN1和VLAN2标签,则将该MPLS报文丢弃。In a specific embodiment of the present invention, as shown in FIG. 8, in the egress direction (PSN→AC direction), the network processor module receives the MPLS packet of the PSN network, and searches the PW routing table according to the PW label, if the VLAN 1 is found. And the VLAN 2 label (the private network label), the MPLS packet tunnel label and the PW label are stripped, and then the two VLAN tags (VLAN 1 label and VLAN 2 label, private network label) are encapsulated. The Ethernet IP packet is encapsulated, and the Ethernet IP packet is forwarded to the TDM interface module through the SGMII interface or the XGMII interface. If the corresponding VLAN1 and VLAN2 labels are not found, the MPLS packet is discarded.
进一步地,所述对所述IP报文进行解封装处理,得到所述TDM数据流的步骤包括:Further, the step of performing decapsulation processing on the IP packet to obtain the TDM data stream includes:
在预先保存的VLAN路由表中,查找是否存在所述IP报文所携带的VLAN标签;In the pre-saved VLAN routing table, it is found whether the VLAN tag carried by the IP packet exists.
若存在,则剥离所述IP报文中的VLAN标签、以太头及链路层头部,得到E1帧;If yes, stripping the VLAN tag, the Ethernet header, and the link layer header in the IP packet to obtain an E1 frame;
对所述E1帧进行复用处理,得到所述TDM数据流。The E1 frame is multiplexed to obtain the TDM data stream.
在本发明的具体实施例中,如图8所示,在出口方向(PSN→AC方向),TDM接口模块从SGMII接口或者XGMII接口接收以太IP报文,查找VLAN路由表,如果查找到VLAN1和VLAN2标签,则剥离以太IP报文的以太头(DMAC和SMAC)、两层VLAN标签(VLAN1标签和VLAN2标签)、链路层头部(Control word),解封装成E1帧,然后将E1帧复用成TDM数据流转发给AC端口。如果没有查找到VLAN1和VLAN2标签,则将该以太IP报文丢弃,其中,图12表示时分复用数据的传输方法中PE设备内部的egress方向的报文解封装示意图。In a specific embodiment of the present invention, as shown in FIG. 8, in the egress direction (PSN→AC direction), the TDM interface module receives an Ethernet IP packet from the SGMII interface or the XGMII interface, and searches for a VLAN routing table. If VLAN 1 is found, The VLAN2 tag strips the Ethernet header (DMAC and SMAC) of the Ethernet packet, the two-layer VLAN tag (VLAN1 tag and VLAN2 tag), the link layer header (Control word), decapsulates the E1 frame, and then sets the E1 frame. The multiplexed into TDM data stream is forwarded to the AC port. If the VLAN 1 and the VLAN 2 label are not found, the Ethernet IP packet is discarded. FIG. 12 is a schematic diagram of packet decapsulation in the egress direction of the PE device in the method for transmitting time division multiplexed data.
下面结合上述对TDM数据流的封装及解封装过程的描述,来说明本发明实施例中TDM数据业务的仿真过程。The following describes the simulation process of the TDM data service in the embodiment of the present invention in combination with the above description of the encapsulation and decapsulation process of the TDM data stream.
如图8所示,在入口方向(AC→PSN方向),TDM接口模块接收到TDM数据流,增加两层VLAN标签(私网标签)封装成以太IP报文,通过SGMII接口或者XGMII接口转发给网络处理器模块。网络处理器模块接收到以太IP报文,剥离两层VLAN标签,增加tunnel标签和PW标签封装成MPLS报文,转发给PSN网络。As shown in Figure 8, in the ingress direction (AC→PSN direction), the TDM interface module receives the TDM data stream, and adds two layers of VLAN tags (private network labels) to be encapsulated into Ethernet IP packets, which are forwarded through the SGMII interface or the XGMII interface. Network processor module. The network processor module receives the Ethernet IP packet, strips the two VLAN tags, adds the tunnel label and the PW label to the MPLS packet, and forwards the packet to the PSN network.
在出口方向(PSN→AC方向),网络处理器模块接收到MPLS报文,剥离tunnel标签和PW标签,增加两层VLAN标签(私网标签)封装成以太IP报文,通过SGMII接口或者XGMII接口转发给TDM接口模块。TDM接口模块接收到以太IP报文,剥离报文的两层VLAN标签,解封装成TDM数据流,完成TDM业务的仿真。In the egress direction (PSN→AC direction), the network processor module receives the MPLS packet, strips the tunnel label and the PW label, and adds two VLAN tags (private network labels) to be encapsulated into Ethernet IP packets, through the SGMII interface or the XGMII interface. Forward to the TDM interface module. The TDM interface module receives the Ethernet IP packet, strips the two VLAN tags of the packet, decapsulates the packet into a TDM data stream, and completes the simulation of the TDM service.
本发明实施例还提供了一种时分复用数据的传输装置,应用于第一网络侧边缘设备,如图13所示,包括:The embodiment of the present invention further provides a device for transmitting time-division multiplexed data, which is applied to the first network side edge device, as shown in FIG.
第二获取模块131,设置为获取PSN网络发送的多协议标签交换MPLS报文,所述MPLS报文为所述第二网络侧边缘设备对用户需要从第二网络侧边缘设备传送到所述第一网络边缘设备的TDM数据流进行封装处理得到的;The second obtaining module 131 is configured to obtain a multi-protocol label switching MPLS packet sent by the PSN network, where the MPLS packet is sent by the second network side edge device to the user from the second network side edge device to the first a TDM data stream of a network edge device is encapsulated and processed;
第三处理模块132,设置为在预先保存的伪线PW路由表中,获取与所述MPLS报文所携带的MPLS标签对应的VLAN标签,并根据所述VLAN标签将所述MPLS报文封装成IP报文,所述VLAN标签用于标识客户侧边缘设备与所述第一网络侧边缘设备建立的用户侧链路;The third processing module 132 is configured to: obtain a VLAN tag corresponding to the MPLS label carried in the MPLS packet, and encapsulate the MPLS packet into a VLAN tag according to the VLAN tag in a pre-stored pseudowire PW routing table. An IP packet, where the VLAN tag is used to identify a user side link established between the client side edge device and the first network side edge device;
第四处理模块133,设置为对所述IP报文进行解封装处理,得到所述TDM数据 流,并通过VLAN标签标识的用户侧链路将所述TDM数据流发送给对应的客户侧边缘设备。The fourth processing module 133 is configured to perform decapsulation processing on the IP packet to obtain the TDM data. And transmitting, by the user side link identified by the VLAN tag, the TDM data stream to the corresponding client side edge device.
本发明实施例的时分复用数据的传输装置,所述MPLS标签包括:PW标签和与所述PW标签对应的隧道标签;及In the apparatus for transmitting time-division multiplexed data according to the embodiment of the present invention, the MPLS label includes: a PW label and a tunnel label corresponding to the PW label;
如图14所示,所述第三处理模块132包括:As shown in FIG. 14, the third processing module 132 includes:
第二查找单元1321,设置为在所述PW路由表中,查找是否存在与所述MPLS报文所携带的PW标签对应的VLAN标签;The second searching unit 1321 is configured to: in the PW routing table, search for a VLAN tag corresponding to the PW label carried by the MPLS packet;
第二获取单元1322,设置为若在所述PW路由表中,存在与所述MPLS报文所携带的PW标签对应的VLAN标签,则获取与所述MPLS报文所携带的PW标签对应的VLAN标签。The second obtaining unit 1322 is configured to: if the VLAN tag corresponding to the PW label carried in the MPLS packet exists in the PW routing table, obtain a VLAN corresponding to the PW label carried in the MPLS packet label.
如图14所示,本发明实施例的时分复用数据的传输装置,所述第三处理模块132还包括:As shown in FIG. 14, the apparatus for transmitting time division multiplexed data according to the embodiment of the present invention, the third processing module 132 further includes:
第四处理单元1323,设置为剥离所述MPLS报文中的隧道标签和PW标签,并将所述VLAN标签封装到所述MPLS报文中,得到所述IP报文。The fourth processing unit 1323 is configured to strip the tunnel label and the PW label in the MPLS packet, and encapsulate the VLAN tag into the MPLS packet to obtain the IP packet.
如图15所示,本发明实施例的时分复用数据的传输装置,所述第四处理模块133包括:As shown in FIG. 15, the apparatus for transmitting time division multiplexed data according to the embodiment of the present invention, the fourth processing module 133 includes:
第三查找单元1331,设置为在预先保存的VLAN路由表中,查找是否存在所述IP报文所携带的VLAN标签;The third search unit 1331 is configured to: in the pre-stored VLAN routing table, find whether the VLAN tag carried by the IP packet exists.
第五处理单元1332,设置为若所述VLAN路由表中,存在所述IP报文所携带的VLAN标签,则剥离所述IP报文中的VLAN标签、以太头及链路层头部,得到E1帧;The fifth processing unit 1332 is configured to remove the VLAN tag, the Ethernet header, and the link layer header in the IP packet if the VLAN tag carried by the IP packet exists in the VLAN routing table. E1 frame;
第六处理单元1333,设置为对所述E1帧进行复用处理,得到所述TDM数据流。The sixth processing unit 1333 is configured to perform multiplexing processing on the E1 frame to obtain the TDM data stream.
本发明的实施例还提供了一种网络侧边缘设备,包括如上所述的时分复用数据的传输装置。Embodiments of the present invention also provide a network side edge device including a transmission device for time division multiplexed data as described above.
需要说明的是,该装置及网络侧边缘设备是与上述方法实施例对应的装置及设备,上述方法实施例中所有实现方式均适用于该装置及设备的实施例中,也能达到相同的技术效果。该网络侧边缘设备包括但不限于交换机、路由器、路由交换机、综合接入设备(IAD)以及各种城域网/广域网(MAN/WAN)设备。It should be noted that the device and the network side edge device are devices and devices corresponding to the foregoing method embodiments. All the implementation manners in the foregoing method embodiments are applicable to the device and device embodiments, and can also achieve the same technology. effect. The network side edge devices include, but are not limited to, switches, routers, routing switches, integrated access devices (IADs), and various metropolitan area network/wide area network (MAN/WAN) devices.
本发明实施例的时分复用数据的传输方法,获取MPLS报文后,在PW路由表中获取与所述MPLS报文所携带的MPLS标签对应的VLAN标签,并根据所述VLAN标签将所述MPLS报文封装成IP报文,最后对所述IP报文进行解封装处理,得到所述TDM数据流,完成对MPLS报文的解封装处理。在上述处理过程中,通过VLAN标签在PE设备内部进行IP报文的转发,从而不需PE设备为TDM仿真业务预留一定数量的PW私网标签,解决了在TDM业务仿真技术中伪线标签资源不足的问题。The method for transmitting time-division multiplexed data according to the embodiment of the present invention obtains a VLAN tag corresponding to the MPLS label carried in the MPLS packet in the PW routing table after acquiring the MPLS packet, and according to the VLAN tag, The MPLS packet is encapsulated into an IP packet, and the IP packet is decapsulated. The TDM data stream is obtained, and the MPLS packet is decapsulated. In the above process, the IP packet is forwarded in the PE device through the VLAN tag, so that the PE device does not need to reserve a certain number of PW private network labels for the TDM emulation service, which solves the problem of the pseudo-line label in the TDM service emulation technology. The problem of insufficient resources.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令 相关硬件完成,上述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art can understand that all or part of the above steps can be instructed by a program. The related hardware is completed, and the above program may be stored in a computer readable storage medium such as a read only memory, a magnetic disk or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
在示例性实施例中,本发明还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器,上述指令可由网络侧边缘设备中的处理器执行以完成上述方法。例如,上述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, the present invention also provides a non-transitory computer readable storage medium comprising instructions, such as a memory including instructions executable by a processor in a network side edge device to perform the above method. For example, the non-transitory computer readable storage medium described above may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are included in the spirit and scope of the present invention, should be included in the present invention. Within the scope of protection.
工业实用性Industrial applicability
本发明适用于通信技术领域,用以实现利用VLAN标签在PE设备内部进行IP报文的转发,从而不需PE设备为TDM仿真业务预留一定数量的PW私网标签。 The present invention is applicable to the field of communication technologies, and is used to implement the forwarding of IP packets in the PE device by using the VLAN tag, so that the PE device does not reserve a certain number of PW private network labels for the TDM emulation service.

Claims (21)

  1. 一种时分复用数据的传输方法,应用于第一网络侧边缘设备,包括:A method for transmitting time-division multiplexed data is applied to a first network side edge device, including:
    从客户侧边缘设备与所述第一网络侧边缘设备建立的用户侧链路中,获取用户需要从所述第一网络侧边缘设备传送到第二网络边缘设备的时分复用TDM数据流,并获取用于标识所述用户侧链路的虚拟局域网VLAN标签;Obtaining, from the user side link established by the client side edge device and the first network side edge device, a time division multiplexing TDM data stream that the user needs to transmit from the first network side edge device to the second network edge device, and Obtaining a virtual local area network VLAN tag for identifying the user side link;
    根据所述VLAN标签,对所述TDM数据流进行封装处理,得到IP报文;Encapsulating the TDM data stream according to the VLAN tag to obtain an IP packet;
    在预先保存的伪线PW路由表中,获取与所述VLAN标签对应的多协议标签交换MPLS标签,并根据所述MPLS标签将所述IP报文封装成MPLS报文,并通过分组交换网络PSN发送给所述第二网络边缘设备,由所述第二网络边缘设备对所述MPLS报文进行解封装处理得到所述TDM数据流。Acquiring a multi-protocol label switching MPLS label corresponding to the VLAN tag in a pre-stored pseudo-wire PW routing table, and encapsulating the IP packet into an MPLS packet according to the MPLS label, and passing the packet switching network PSN Sending to the second network edge device, the second network edge device decapsulating the MPLS packet to obtain the TDM data stream.
  2. 根据权利要求1所述的时分复用数据的传输方法,其中,所述根据所述VLAN标签,对所述TDM数据流进行封装处理,得到IP报文的步骤包括:The method for transmitting time-division multiplexed data according to claim 1, wherein the step of performing encapsulation processing on the TDM data stream according to the VLAN tag to obtain an IP packet comprises:
    对所述TDM数据流进行解复用处理,得到E1帧;Demultiplexing the TDM data stream to obtain an E1 frame;
    在所述E1帧中增加所述VLAN标签、以太头及链路层头部,得到所述IP报文。Adding the VLAN tag, the Ethernet header, and the link layer header to the E1 frame to obtain the IP packet.
  3. 根据权利要求1所述的时分复用数据的传输方法,其中,所述MPLS标签包括:PW标签和与所述PW标签对应的隧道标签;及The method of transmitting time division multiplexed data according to claim 1, wherein the MPLS label comprises: a PW label and a tunnel label corresponding to the PW label; and
    在预先保存的伪线PW路由表中,获取与所述VLAN标签对应的多协议标签交换MPLS标签,包括:Obtaining, in the pre-stored pseudo-wire PW routing table, the multi-protocol label switching MPLS label corresponding to the VLAN tag, including:
    在预先保存的PW路由表中,查找是否存在与所述VLAN标签对应的PW标签;In the pre-stored PW routing table, it is found whether there is a PW label corresponding to the VLAN tag;
    若存在,则获取与所述VLAN标签对应的PW标签,并获取与所述PW标签对应的隧道标签。If yes, the PW label corresponding to the VLAN tag is obtained, and the tunnel label corresponding to the PW label is obtained.
  4. 根据权利要求3所述的时分复用数据的传输方法,其中,所述根据所述MPLS标签将所述IP报文封装成MPLS报文,包括:The method for transmitting time-division multiplexed data according to claim 3, wherein the encapsulating the IP packet into an MPLS packet according to the MPLS label comprises:
    剥离所述IP报文的VLAN标签,并将所述隧道标签和所述PW标签封装到所述IP报文中,得到所述MPLS报文。Stripping the VLAN tag of the IP packet, and encapsulating the tunnel label and the PW label into the IP packet to obtain the MPLS packet.
  5. 根据权利要求1所述的时分复用数据的传输方法,其中,所述VLAN标签包括第一VLAN标签和第二VLAN标签;The method for transmitting time division multiplexed data according to claim 1, wherein the VLAN tag comprises a first VLAN tag and a second VLAN tag;
    其中,所述第一VLAN标签的第0bit-5bit用于指示报文净荷的长度,第6bit-10bit用于标识报文业务类型,第11bit用于指示报文的传送方向,第12bit表示标准字段,第13bit-15bit用于表示报文的优先级;The 0th-5th bit of the first VLAN tag is used to indicate the length of the packet payload, the 6th-10th bit is used to identify the packet service type, the 11th bit is used to indicate the packet transmission direction, and the 12th bit is the standard. Field, the 13th-15bit is used to indicate the priority of the packet;
    所述第二VLAN标签的第0bit-7bit用于标识用户侧链路的编号,第8bit用于标识报文业务的聚合类属性,第9bit-11bit用于表示用户侧链路的物理接口的编号,第12bit表示标准字段,第13bit-15bit用于表示报文的优先级。The 0th-7th bit of the second VLAN tag is used to identify the number of the user side link, the 8th bit is used to identify the aggregation class attribute of the packet service, and the 9th-11th bit is used to indicate the number of the physical interface of the user side link. The 12th bit indicates the standard field, and the 13th-15bit is used to indicate the priority of the message.
  6. 一种时分复用数据的传输装置,应用于第一网络侧边缘设备,包括:A time-division multiplexed data transmission device is applied to a first network side edge device, including:
    第一获取模块,设置为从客户侧边缘设备与所述第一网络侧边缘设备建立的用户 侧链路中,获取用户需要从所述第一网络侧边缘设备传送到第二网络边缘设备的TDM数据流,并获取用于标识所述用户侧链路的虚拟局域网VLAN标签;a first obtaining module, configured as a user established from the client side edge device and the first network side edge device In the side link, acquiring a TDM data stream that the user needs to transmit from the first network side edge device to the second network edge device, and acquiring a virtual local area network VLAN tag for identifying the user side link;
    第一处理模块,设置为根据所述VLAN标签,对所述TDM数据流进行封装处理,得到IP报文;The first processing module is configured to perform encapsulation processing on the TDM data stream according to the VLAN tag to obtain an IP packet;
    第二处理模块,设置为在预先保存的伪线PW路由表中,获取与所述VLAN标签对应的多协议标签交换MPLS标签,并根据所述MPLS标签将所述IP报文封装成MPLS报文,并通过PSN网络发送给所述第二网络边缘设备,由所述第二网络边缘设备对所述MPLS报文进行解封装处理得到所述TDM数据流。The second processing module is configured to obtain a multi-protocol label switching MPLS label corresponding to the VLAN tag in a pre-stored pseudo-line PW routing table, and encapsulate the IP packet into an MPLS packet according to the MPLS label. And sending, by the PSN network, the second network edge device, where the second network edge device decapsulates the MPLS packet to obtain the TDM data stream.
  7. 根据权利要求6所述的时分复用数据的传输装置,其中,所述第一处理模块包括:The apparatus for transmitting time division multiplexed data according to claim 6, wherein the first processing module comprises:
    第一处理单元,设置为对所述TDM数据流进行解复用处理,得到E1帧;a first processing unit, configured to perform demultiplexing on the TDM data stream to obtain an E1 frame;
    第二处理单元,设置为在所述E1帧中增加所述VLAN标签、以太头及链路层头部,得到所述IP报文。The second processing unit is configured to add the VLAN tag, the Ethernet header, and the link layer header in the E1 frame to obtain the IP packet.
  8. 根据权利要求6所述的时分复用数据的传输装置,其中,所述MPLS标签包括:PW标签和与所述PW标签对应的隧道标签;及The apparatus for transmitting time division multiplexed data according to claim 6, wherein the MPLS label comprises: a PW label and a tunnel label corresponding to the PW label; and
    所述第二处理模块包括:The second processing module includes:
    第一查找单元,设置为在预先保存的PW路由表中,查找是否存在与所述VLAN标签对应的PW标签;The first searching unit is configured to: in the pre-stored PW routing table, find whether there is a PW label corresponding to the VLAN tag;
    第一获取单元,设置为若所述PW路由表中,存在与所述VLAN标签对应PW标签,则获取与所述VLAN标签对应的PW标签,并获取与所述PW标签对应的隧道标签。The first acquiring unit is configured to acquire a PW label corresponding to the VLAN tag, and obtain a tunnel label corresponding to the PW label, if a PW label corresponding to the VLAN tag exists in the PW routing table.
  9. 根据权利要求8所述的时分复用数据的传输装置,其中,所述第二处理模块包括:The apparatus for transmitting time division multiplexed data according to claim 8, wherein the second processing module comprises:
    第三处理单元,设置为剥离所述IP报文的VLAN标签,并将所述隧道标签和所述PW标签封装到所述IP报文中,得到所述MPLS报文。The third processing unit is configured to strip the VLAN tag of the IP packet, and encapsulate the tunnel label and the PW label into the IP packet to obtain the MPLS packet.
  10. 一种网络侧边缘设备,包括如权利要求6-9任一项所述的时分复用数据的传输装置。A network side edge device comprising the time division multiplexed data transmission device according to any one of claims 6-9.
  11. 一种时分复用数据的传输方法,应用于第一网络侧边缘设备,包括:A method for transmitting time-division multiplexed data is applied to a first network side edge device, including:
    获取分组交换网络PSN发送的多协议标签交换MPLS报文,所述MPLS报文为所述第二网络侧边缘设备对用户需要从第二网络侧边缘设备传送到所述第一网络边缘设备的TDM数据流进行封装处理得到的;Obtaining a multi-protocol label switching MPLS packet sent by the packet switching network PSN, where the MPLS packet is a TDM that the second network side edge device needs to transmit from the second network side edge device to the first network edge device The data stream is obtained by encapsulation processing;
    在预先保存的伪线PW路由表中,获取与所述MPLS报文所携带的MPLS标签对应的VLAN标签,并根据所述VLAN标签将所述MPLS报文封装成IP报文,所述VLAN标签用于标识客户侧边缘设备与所述第一网络侧边缘设备建立的用户侧链路;Obtaining a VLAN tag corresponding to the MPLS label carried in the MPLS packet, and encapsulating the MPLS packet into an IP packet according to the VLAN tag in the pre-stored pseudowire PW routing table, where the VLAN tag is a user side link for identifying a client side edge device and the first network side edge device;
    对所述IP报文进行解封装处理,得到所述TDM数据流,并通过VLAN标签标 识的用户侧链路将所述TDM数据流发送给对应的客户侧边缘设备。Decapsulating the IP packet, obtaining the TDM data stream, and passing the VLAN tag The identified user side link sends the TDM data stream to the corresponding client side edge device.
  12. 根据权利要求11所述的时分复用数据的传输方法,其中,所述MPLS标签包括:PW标签和与所述PW标签对应的隧道标签;及The method of transmitting time division multiplexed data according to claim 11, wherein the MPLS label comprises: a PW label and a tunnel label corresponding to the PW label; and
    所述在预先保存的伪线PW路由表中,获取与所述MPLS报文所携带的MPLS标签对应的VLAN标签,包括:Obtaining, in the pre-stored pseudo-wire PW routing table, a VLAN tag corresponding to the MPLS label carried by the MPLS packet, including:
    在所述PW路由表中,查找是否存在与所述MPLS报文所携带的PW标签对应的VLAN标签;Determining, in the PW routing table, a VLAN tag corresponding to the PW label carried in the MPLS packet;
    若存在,则获取与所述MPLS报文所携带的PW标签对应的VLAN标签。If yes, the VLAN tag corresponding to the PW tag carried in the MPLS packet is obtained.
  13. 根据权利要求12所述的时分复用数据的传输方法,其中,所述根据所述VLAN标签将所述MPLS报文封装成IP报文,包括:The method for transmitting time-division multiplexed data according to claim 12, wherein the encapsulating the MPLS packet into an IP packet according to the VLAN tag comprises:
    剥离所述MPLS报文中的隧道标签和PW标签,并将所述VLAN标签封装到所述MPLS报文中,得到所述IP报文。The tunnel label and the PW label in the MPLS packet are stripped, and the VLAN tag is encapsulated into the MPLS packet to obtain the IP packet.
  14. 根据权利要求11所述的时分复用数据的传输方法,其中,所述对所述IP报文进行解封装处理,得到所述TDM数据流的步骤包括:The method for transmitting time-division multiplexed data according to claim 11, wherein the step of decapsulating the IP packet to obtain the TDM data stream comprises:
    在预先保存的VLAN路由表中,查找是否存在所述IP报文所携带的VLAN标签;In the pre-saved VLAN routing table, it is found whether the VLAN tag carried by the IP packet exists.
    若存在,则剥离所述IP报文中的VLAN标签、以太头及链路层头部,得到E1帧;If yes, stripping the VLAN tag, the Ethernet header, and the link layer header in the IP packet to obtain an E1 frame;
    对所述E1帧进行复用处理,得到所述TDM数据流。The E1 frame is multiplexed to obtain the TDM data stream.
  15. 根据权利要求11所述的时分复用数据的传输方法,其中,所述VLAN标签包括第一VLAN标签和第二VLAN标签;The method of transmitting time division multiplexed data according to claim 11, wherein the VLAN tag comprises a first VLAN tag and a second VLAN tag;
    其中,所述第一VLAN标签的第0bit-5bit用于指示报文净荷的长度,第6bit-10bit用于标识报文业务类型,第11bit用于指示报文的传送方向,第12bit表示标准字段,第13bit-15bit用于表示报文的优先级;The 0th-5th bit of the first VLAN tag is used to indicate the length of the packet payload, the 6th-10th bit is used to identify the packet service type, the 11th bit is used to indicate the packet transmission direction, and the 12th bit is the standard. Field, the 13th-15bit is used to indicate the priority of the packet;
    所述第二VLAN标签的第0bit-7bit用于标识用户侧链路的编号,第8bit用于标识报文业务的聚合类属性,第9bit-11bit用于表示用户侧链路的物理接口的编号,第12bit表示标准字段,第13bit-15bit用于表示报文的优先级。The 0th-7th bit of the second VLAN tag is used to identify the number of the user side link, the 8th bit is used to identify the aggregation class attribute of the packet service, and the 9th-11th bit is used to indicate the number of the physical interface of the user side link. The 12th bit indicates the standard field, and the 13th-15bit is used to indicate the priority of the message.
  16. 一种时分复用数据的传输装置,应用于第一网络侧边缘设备,包括:A time-division multiplexed data transmission device is applied to a first network side edge device, including:
    第二获取模块,设置为获取PSN网络发送的多协议标签交换MPLS报文,所述MPLS报文为所述第二网络侧边缘设备对用户需要从第二网络侧边缘设备传送到所述第一网络边缘设备的TDM数据流进行封装处理得到的;a second acquiring module, configured to acquire a multi-protocol label switching MPLS packet sent by the PSN network, where the MPLS packet is sent by the second network side edge device to the user from the second network side edge device to the first The TDM data stream of the network edge device is obtained by encapsulation processing;
    第三处理模块,设置为在预先保存的伪线PW路由表中,获取与所述MPLS报文所携带的MPLS标签对应的VLAN标签,并根据所述VLAN标签将所述MPLS报文封装成IP报文,所述VLAN标签用于标识客户侧边缘设备与所述第一网络侧边缘设备建立的用户侧链路;The third processing module is configured to: obtain, in the pre-stored pseudo-wire PW routing table, a VLAN tag corresponding to the MPLS label carried by the MPLS packet, and encapsulate the MPLS packet into an IP according to the VLAN tag. a packet, the VLAN tag is used to identify a user side link established between the client side edge device and the first network side edge device;
    第四处理模块,设置为对所述IP报文进行解封装处理,得到所述TDM数据流, 并通过VLAN标签标识的用户侧链路将所述TDM数据流发送给对应的客户侧边缘设备。The fourth processing module is configured to perform decapsulation processing on the IP packet to obtain the TDM data stream. And transmitting, by the user side link identified by the VLAN tag, the TDM data stream to the corresponding client side edge device.
  17. 根据权利要求16所述的时分复用数据的传输装置,其中,所述MPLS标签包括:PW标签和与所述PW标签对应的隧道标签;及The apparatus for transmitting time division multiplexed data according to claim 16, wherein the MPLS label comprises: a PW label and a tunnel label corresponding to the PW label; and
    所述第三处理模块包括:The third processing module includes:
    第二查找单元,设置为在所述PW路由表中,查找是否存在与所述MPLS报文所携带的PW标签对应的VLAN标签;a second search unit, configured to: in the PW routing table, find a VLAN tag corresponding to the PW label carried in the MPLS packet;
    第二获取单元,设置为若在所述PW路由表中,存在与所述MPLS报文所携带的PW标签对应的VLAN标签,则获取与所述MPLS报文所携带的PW标签对应的VLAN标签。The second obtaining unit is configured to: if the VLAN tag corresponding to the PW tag carried in the MPLS packet exists in the PW routing table, obtain a VLAN tag corresponding to the PW tag carried in the MPLS packet .
  18. 根据权利要求17所述的时分复用数据的传输装置,其中,所述第三处理模块包括:The apparatus for transmitting time division multiplexed data according to claim 17, wherein said third processing module comprises:
    第四处理单元,设置为剥离所述MPLS报文中的隧道标签和PW标签,并将所述VLAN标签封装到所述MPLS报文中,得到所述IP报文。The fourth processing unit is configured to strip the tunnel label and the PW label in the MPLS packet, and encapsulate the VLAN tag into the MPLS packet to obtain the IP packet.
  19. 根据权利要求17所述的时分复用数据的传输装置,其中,所述第四处理模块包括:The apparatus for transmitting time division multiplexed data according to claim 17, wherein said fourth processing module comprises:
    第三查找单元,设置为在预先保存的VLAN路由表中,查找是否存在所述IP报文所携带的VLAN标签;The third search unit is configured to: in the pre-saved VLAN routing table, find whether the VLAN tag carried by the IP packet exists;
    第五处理单元,设置为若所述VLAN路由表中,存在所述IP报文所携带的VLAN标签,则剥离所述IP报文中的VLAN标签、以太头及链路层头部,得到E1帧;The fifth processing unit is configured to: if the VLAN tag carried by the IP packet exists in the VLAN routing table, strip the VLAN tag, the Ethernet header, and the link layer header in the IP packet to obtain the E1 frame;
    第六处理单元,设置为对所述E1帧进行复用处理,得到所述TDM数据流。The sixth processing unit is configured to perform multiplexing processing on the E1 frame to obtain the TDM data stream.
  20. 一种网络侧边缘设备,包括如权利要求16-19任一项所述的时分复用数据的传输装置。A network side edge device comprising the apparatus for time division multiplexed data according to any one of claims 16-19.
  21. 一种计算机存储介质,所述计算机存储介质存储有执行指令,所述执行指令用于执行权利要求1至5中任一项所述的方法。 A computer storage medium storing execution instructions for performing the method of any one of claims 1 to 5.
PCT/CN2016/077783 2015-06-25 2016-03-30 Time-division multiplexed data transmission method and device, and network-side edge device WO2016206432A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510359424.1 2015-06-25
CN201510359424.1A CN106330499A (en) 2015-06-25 2015-06-25 Time division multiplexing data transmission method and device, as well as network-side edge devices

Publications (1)

Publication Number Publication Date
WO2016206432A1 true WO2016206432A1 (en) 2016-12-29

Family

ID=57586049

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/077783 WO2016206432A1 (en) 2015-06-25 2016-03-30 Time-division multiplexed data transmission method and device, and network-side edge device

Country Status (2)

Country Link
CN (1) CN106330499A (en)
WO (1) WO2016206432A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112737947A (en) * 2020-12-29 2021-04-30 优刻得科技股份有限公司 Virtual network cross-domain transmission method, system, equipment and medium based on MPLS

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112398734B (en) * 2019-08-14 2022-06-10 华为技术有限公司 Method, device and system for service transmission
CN113037606A (en) * 2019-12-25 2021-06-25 中兴通讯股份有限公司 Virtual local area network message editing method and device, electronic equipment and computer readable medium
CN114258127B (en) * 2020-09-25 2023-09-15 维沃移动通信有限公司 Information determining method, information sending method, device and equipment
CN115484207A (en) * 2021-06-15 2022-12-16 华为技术有限公司 Communication method, device and system
CN115589382A (en) * 2021-06-23 2023-01-10 华为技术有限公司 Message transmission method and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070286090A1 (en) * 2006-06-08 2007-12-13 Alcatel Method and system for optimizing resources for establishing pseudo-wires in a multiprotocol label switching network
US20080304476A1 (en) * 2007-06-08 2008-12-11 Alcatel Lucent Ethernet over mpls circuit emulation service
US20090141729A1 (en) * 2006-09-29 2009-06-04 Huawei Technologies Co., Ltd. Multiplex method of vlan switching tunnel and vlan switching system
CN102217245A (en) * 2011-05-24 2011-10-12 华为技术有限公司 A method for processing message and a device thereof
US20120099861A1 (en) * 2009-06-24 2012-04-26 Huawei Technologies Co., Ltd. Method, apparatus, and system for managing label of access network
US8824473B2 (en) * 2009-11-16 2014-09-02 Zte Corporation Apparatus and method for pseudo wire emulation edge-to-edge access

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100428737C (en) * 2005-03-08 2008-10-22 杭州华三通信技术有限公司 Method for reducing VPN network arranging
CN101547137A (en) * 2008-03-27 2009-09-30 华为技术有限公司 Method and device for sending data and communication equipment
CN102014041B (en) * 2009-09-04 2015-01-28 中兴通讯股份有限公司 PTN (Packet Transport Network) equipment and CES (Circuit Emulation Service) equipment
CN102891790B (en) * 2012-09-21 2016-03-02 中国电信股份有限公司 The VPN virtual method of the privately owned cloud of a kind of accesses virtual and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070286090A1 (en) * 2006-06-08 2007-12-13 Alcatel Method and system for optimizing resources for establishing pseudo-wires in a multiprotocol label switching network
US20090141729A1 (en) * 2006-09-29 2009-06-04 Huawei Technologies Co., Ltd. Multiplex method of vlan switching tunnel and vlan switching system
US20080304476A1 (en) * 2007-06-08 2008-12-11 Alcatel Lucent Ethernet over mpls circuit emulation service
US20120099861A1 (en) * 2009-06-24 2012-04-26 Huawei Technologies Co., Ltd. Method, apparatus, and system for managing label of access network
US8824473B2 (en) * 2009-11-16 2014-09-02 Zte Corporation Apparatus and method for pseudo wire emulation edge-to-edge access
CN102217245A (en) * 2011-05-24 2011-10-12 华为技术有限公司 A method for processing message and a device thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112737947A (en) * 2020-12-29 2021-04-30 优刻得科技股份有限公司 Virtual network cross-domain transmission method, system, equipment and medium based on MPLS

Also Published As

Publication number Publication date
CN106330499A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
WO2016206432A1 (en) Time-division multiplexed data transmission method and device, and network-side edge device
CN109756425B (en) Multicast forwarding method, device and BFR
Martini et al. Encapsulation methods for transport of Ethernet over MPLS networks
US9184935B2 (en) Network communication method and network node device
JP5189512B2 (en) Packet transfer method and node device
JP6032278B2 (en) LAN multiplexer
US8472438B2 (en) Efficient encapsulation of packets transmitted on a packet-pseudowire over a packet switched network
US9130774B2 (en) Data mirroring in a service
US8913623B2 (en) Method and apparatus for processing labeled flows in a communications access network
WO2008092357A1 (en) A method and device for establishing a pseudo wire tunnel and transmitting message using it
US20080304476A1 (en) Ethernet over mpls circuit emulation service
ES2569366T3 (en) Tunnel switching procedure and system for multi-protocol tag switching services
EP3389234B1 (en) Label management method and device for processing data stream
JP2005341591A (en) Virtual private network, and multi-service provisioning platform and method
WO2009012688A1 (en) Method, system and apparatus for forwarding message in three-layer virtual private network
EP3836492B1 (en) Pseudo wire load sharing method and device
WO2007095799A1 (en) Method and system for performing edge to edge pseudo wire emulation of the bundling interface
WO2014194711A1 (en) Packet processing method, device label processing method, and device
CN108040135B (en) Method and device for VPWS message to pass through three-layer IP network
EP2485451B1 (en) Two-layer forwarding method for a pseudo wire (pw) service and system thereof
KR101140453B1 (en) Circuit emulation over an ip interworking virtual leased line
JP2010088080A (en) Communication apparatus and communication method
WO2011057520A1 (en) Apparatus and method for pseudo wire emulation edge-to-edge access
WO2021244108A1 (en) Bier multicast traffic statistics method, device and system
WO2021129023A1 (en) Message sending method, device and system

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: 16813548

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: 16813548

Country of ref document: EP

Kind code of ref document: A1