WO2016206432A1 - Procédé et dispositif de transmission de données multiplexées par répartition dans le temps, et dispositif périphérique côté réseau - Google Patents

Procédé et dispositif de transmission de données multiplexées par répartition dans le temps, et dispositif périphérique côté réseau 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
English (en)
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/fr

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.

Landscapes

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

Abstract

La présente invention concerne un procédé et un dispositif de transmission de données multiplexées par répartition dans le temps, et un dispositif périphérique côté réseau. Le procédé comprend les étapes consistant à : acquérir, à partir d'une liaison côté utilisateur établie par un dispositif périphérique côté utilisateur et un premier dispositif périphérique côté réseau, un flux de données multiplexées par répartition dans le temps d'un utilisateur devant être envoyé depuis le premier dispositif périphérique côté réseau à un second dispositif périphérique côté réseau, et acquérir une étiquette VLAN pour identifier la liaison côté utilisateur; empaqueter le flux de données multiplexées par répartition dans le temps conformément à l'étiquette VLAN pour obtenir un paquet IP; acquérir, à partir d'une table de routage de pseudo-circuit (PW) pré-stockée, une étiquette de commutation multiprotocolaire par étiquetage (MPLS) correspondant à l'étiquette VLAN, et empaqueter le paquet IP dans un paquet MPLS selon l'étiquette MPLS et l'envoyer au second dispositif périphérique côté réseau par l'intermédiaire d'un réseau à commutation de paquets (PSN); décompresser, par le second dispositif périphérique côté réseau, le paquet MPLS pour obtenir le flux de données multiplexées par répartition dans le temps. La présente invention résout le problème dans le domaine de l'émulation selon lequel le service de multiplexage par répartition dans le temps a des ressources insuffisantes d'étiquettes de pseudo-circuit.
PCT/CN2016/077783 2015-06-25 2016-03-30 Procédé et dispositif de transmission de données multiplexées par répartition dans le temps, et dispositif périphérique côté réseau WO2016206432A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510359424.1 2015-06-25
CN201510359424.1A CN106330499A (zh) 2015-06-25 2015-06-25 一种时分复用数据的传输方法、装置及网络侧边缘设备

Publications (1)

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

Family

ID=57586049

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/077783 WO2016206432A1 (fr) 2015-06-25 2016-03-30 Procédé et dispositif de transmission de données multiplexées par répartition dans le temps, et dispositif périphérique côté réseau

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112737947A (zh) * 2020-12-29 2021-04-30 优刻得科技股份有限公司 基于mpls的虚拟网络跨域传输方法、系统、设备和介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112398734B (zh) * 2019-08-14 2022-06-10 华为技术有限公司 一种业务传输的方法、装置和系统
CN113037606A (zh) * 2019-12-25 2021-06-25 中兴通讯股份有限公司 虚拟局域网报文编辑方法、装置、电子设备、计算机可读介质
CN114258127B (zh) * 2020-09-25 2023-09-15 维沃移动通信有限公司 信息确定方法、信息发送方法、装置和设备
CN115484207A (zh) * 2021-06-15 2022-12-16 华为技术有限公司 通信方法、装置及系统
CN115589382A (zh) * 2021-06-23 2023-01-10 华为技术有限公司 一种报文传输的方法及相关设备

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 (zh) * 2011-05-24 2011-10-12 华为技术有限公司 处理报文的方法和装置
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 (zh) * 2005-03-08 2008-10-22 杭州华三通信技术有限公司 一种简化vpn网络布署的方法
CN101547137A (zh) * 2008-03-27 2009-09-30 华为技术有限公司 数据发送的方法、装置及通信设备
CN102014041B (zh) * 2009-09-04 2015-01-28 中兴通讯股份有限公司 分组传送网络设备和电路仿真业务设备
CN102891790B (zh) * 2012-09-21 2016-03-02 中国电信股份有限公司 一种访问虚拟私有云的vpn虚拟化方法和系统

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 (zh) * 2011-05-24 2011-10-12 华为技术有限公司 处理报文的方法和装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112737947A (zh) * 2020-12-29 2021-04-30 优刻得科技股份有限公司 基于mpls的虚拟网络跨域传输方法、系统、设备和介质

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2016206432A1 (fr) Procédé et dispositif de transmission de données multiplexées par répartition dans le temps, et dispositif périphérique côté réseau
CN109756425B (zh) 组播转发方法、装置以及bfr
Martini et al. Encapsulation methods for transport of Ethernet over MPLS networks
US9184935B2 (en) Network communication method and network node device
JP5189512B2 (ja) パケット転送方法及びノード装置
JP6032278B2 (ja) Lan多重化装置
US8472438B2 (en) Efficient encapsulation of packets transmitted on a packet-pseudowire over a packet switched network
US8913623B2 (en) Method and apparatus for processing labeled flows in a communications access network
US11588730B2 (en) Label management method, data stream processing method, and device
WO2008092357A1 (fr) Procédé et dispositif pour établir un tunnel pseudocâblé et transmettre un message à l'aide de celui-ci
US20080304476A1 (en) Ethernet over mpls circuit emulation service
CN102594713B (zh) 一种实现显式拥塞通告的方法及设备
ES2569366T3 (es) Procedimiento y sistema de conmutación de túnel para servicios de conmutación por etiquetas multiprotocolo
JP2005341591A (ja) 仮想プライベートネットワーク、マルチサービスプロビジョニングプラットフォーム及び方法
WO2009012688A1 (fr) Procédé, système et appareil de réacheminement de message dans un réseau privé virtuel à trois couches
EP3836492B1 (fr) Procédé et dispositif de partage de charge de pseudo-câble
WO2007095799A1 (fr) Procédé et système permettant de réaliser une émulation pseudo-filaire de bout en bout de l'interface de groupage
WO2014194711A1 (fr) Procédé de traitement de paquets, procédé et dispositif de traitement d'étiquette de dispositif
CN108040135B (zh) 一种vpws报文穿越三层ip网络的方法及装置
WO2021244108A1 (fr) Procédé, dispositif et système de statistiques de trafic de multidiffusion bier
EP2485451B1 (fr) Procédé d'acheminement à deux couches pour service de pseudo-circuit (pw) et système correspondant
KR101140453B1 (ko) Ip 인터워킹 vll을 통한 회로 에뮬레이션 방법 및 시스템
CN101714937B (zh) 一种端到端伪线仿真接入的装置和方法
JP2010088080A (ja) 通信装置および通信方法
WO2021129023A1 (fr) Procédé, dispositif et système d'envoi de message

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