WO2014036840A1 - Data transmission method, first provider edge router and system - Google Patents

Data transmission method, first provider edge router and system Download PDF

Info

Publication number
WO2014036840A1
WO2014036840A1 PCT/CN2013/075591 CN2013075591W WO2014036840A1 WO 2014036840 A1 WO2014036840 A1 WO 2014036840A1 CN 2013075591 W CN2013075591 W CN 2013075591W WO 2014036840 A1 WO2014036840 A1 WO 2014036840A1
Authority
WO
WIPO (PCT)
Prior art keywords
pseudowire
cpri
label
rru
data
Prior art date
Application number
PCT/CN2013/075591
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 WO2014036840A1 publication Critical patent/WO2014036840A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • 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]

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data transmission method, a first carrier edge router, and a system.
  • Background Art In a wireless communication system, a base station is composed of a plurality of functional sections, the most important of which are baseband units and radio frequency units.
  • the baseband unit and the radio frequency unit of the conventional base station are usually integrated together, which causes the base station architecture to be closed, which is disadvantageous to the technical progress in the respective fields of the baseband unit and the radio unit.
  • the next-generation base station uses a common public radio interface (CPRI)-based technology to separate the baseband unit from the radio frequency unit to form a baseband processing unit (Base) connected through the optical fiber.
  • CPRI common public radio interface
  • BBU Band Uni t
  • RRU Radio Remote Uni t
  • BBU Band Uni t
  • RRU Radio Remote Uni t
  • the fiber needs to be laid between the BBU and the RRU to be dedicated to the CPRI data transmission, when the RRU is deployed in a large amount, the cost of the fiber installation and the maintenance cost of the fiber are too high.
  • the RRU and the RRU are required.
  • a plurality of BBUs are respectively laid with optical fibers, and the cost of laying the optical fibers is high.
  • maintenance of the laid optical fibers is required separately, and the maintenance cost is drastically increased.
  • Embodiments of the present invention provide a data transmission method, a first carrier edge router, and a system, which are used to solve the problem that an optical fiber laying cost and a maintenance cost of an RRU and a BBU establishing a data transmission channel by laying an optical fiber are too high.
  • a data transmission method includes: a first operator edge router (PE) and a second PE establish a pseudowire (Pseudo Wi re, PW) type is a CPRI type.
  • the first PE is connected to the RRU, the second PE is connected to the BBU, and the first PE and the second PE are in a multi-protocol label switching (Mul ti Protocol Labe l Swi tch), MPLS ) in the network;
  • the first PE transmits CPRI data between the RRU and the BBU through the CPRI pseudowire.
  • the first PE and the second PE establish a CPRI pseudowire of a common public radio interface CPRI type, and the first PE passes the first PE
  • the MPLS network sends a first pseudo-line label mapping message to the second PE, where the first pseudo-line label mapping message includes a CPRI pseudo-line identifier of the first PE, and a CPRI pseudo-line identifier of the second PE.
  • the first pseudowire label so that the second PE matches the CPRI pseudowire identifier of the second PE included in the first pseudowire label mapping message, and after the matching is successful, the first pseudowire label is
  • the first pseudowire tag included in the mapping message is stored as a pseudowire tag from the second PE to the first PE.
  • a second possible implementation of the first aspect is also provided.
  • the first PE and the second PE establish a CPRI pseudowire of the common public radio interface CPRI type, and the first PE receives the second pseudowire label sent by the second PE by using the MPLS network.
  • the second pseudo-line label mapping message includes a CPRI pseudo-line identifier of the first PE, a CPRI pseudo-line identifier of the second PE, and a second pseudo-line label; the first PE matches the second a CPRI pseudowire identifier of the first PE included in the pseudowire label mapping message; if the matching is successful, the first PE will map the second pseudowire label included in the second pseudowire label mapping message Stored as a pseudowire label from the first PE to the second PE.
  • a third possible implementation manner of the first aspect is further provided, and a third possible implementation manner in the first aspect
  • the first PE and the second PE establish a CPRI pseudowire of the common public radio interface CPRI type, and the method includes: if the matching is unsuccessful, the first PE passes through the MPLS network The second PE sends a pseudowire label release message.
  • a fourth possible implementation manner of the first aspect in the fourth possible implementation manner of the first aspect, the transmitting the CPRI data between the RRU and the BBU by using the CPRI pseudowire, including
  • the first PE receives the first CPRI data sent by the RRU; the first PE sends a first CPRI message to the second PE, where the first CPRI is included in the first CPRI Data and the second pseudowire label, such that the second PE forwards the first CPRI data to the BBU after identifying the second pseudowire label.
  • the first PE receives the second CPRI packet sent by the second PE, where the second CPRI packet includes the second CPRI data and the first pseudowire label; the first PE identifier After the first pseudowire label is described, the second CPRI data is forwarded to the RRU.
  • a first PE is provided, where the first PE includes:
  • a pseudowire establishing unit configured to establish, with the second PE, a CPRI pseudowire of the CPRI type, the first PE is connected to the RRU, the second PE is connected to the BBU, and the first PE is connected to the first PE
  • the second PE is in a multi-protocol label switching MPLS network;
  • a transmission unit configured to transmit CPRI data between the RRU and the BBU by using the CPRI pseudowire established by the pseudowire establishing unit.
  • the pseudowire establishing unit includes: a establishing subunit, configured to use an MPLS network between the first PE and the second PE
  • the second PE sends a first pseudo-line label mapping message, where the first pseudo-line label mapping
  • the information includes a CPRI pseudowire identifier of the first PE, a CPRI pseudowire identifier of the second PE, and a first pseudowire label, so that the second PE matches the content included in the first pseudowire label mapping message.
  • the CPRI pseudowire of the second PE is identified, and after the matching is successful, the first pseudowire label is stored as a pseudowire label from the second PE to the first PE.
  • the pseudowire establishing unit further includes: a first receiving subunit, configured to receive, by using the MPLS network, a second pseudowire label mapping message sent by the second PE, where the second pseudowire label mapping message includes the first a CPRI pseudowire identifier of the PE, a CPRI pseudowire identifier of the second PE, and a second pseudowire label; a matching subunit, configured to match a CPRI of the first PE included in the second pseudowire label mapping message Pseudo line identification. a label storage subunit, configured to store, when the matching subunits are successfully matched, the second pseudowire label included in the second pseudowire label mapping message received by the first receiving subunit as a slave a pseudowire label of the first PE to the second PE.
  • the pseudowire establishing unit further includes: a label releasing subunit, configured to send a pseudowire label release message to the second PE by using the MPLS network when the matching subunit is unsuccessful.
  • the transmitting unit includes: a second receiving subunit, configured to receive, connected to the first PE The first CPRI data sent by the RRU, the first sending subunit, configured to send a first CPRI packet to the second PE, where the first CPRI packet includes the second receiving subunit The first CPRI data and the second pseudowire label obtained by the label storage subunit, so that the second PE converts the first CPRI data after identifying the second pseudowire label Issued to the BBU.
  • the transmitting unit further includes: a third receiving subunit, configured to receive the second PE sending a second CPRI packet, where the second CPRI packet includes the second CPRI data and the first pseudowire label; and the second sending subunit is configured to identify the first pseudowire label, and The second CPRI data received by the three receiving subunits is forwarded to the RRU.
  • a third aspect provides a data transmission system, where the data transmission system includes: a first carrier edge router PE, a second PE, a radio remote unit RRU, and a baseband processing unit BBU; the first PE and the radio frequency pull The remote unit is connected to the RRU, and the second PE is connected to the baseband processing unit BBU, where the first PE and the second PE are in a multi-protocol label switching MPLS network, where
  • the first PE includes:
  • a first pseudowire establishing unit configured to establish, with the second PE, a CPRI pseudowire with a pseudowire type of a common public radio interface CPRI type;
  • a first transmission unit configured to transmit CPRI data between the RRU and the BBU by using the CPRI pseudowire established by the first pseudowire establishing unit
  • the second PE includes:
  • a second pseudowire establishing unit configured to establish the CPRI pseudowire with the first PE, and a second transmitting unit, configured to transmit the RRU and the CPRI by using a CPRI pseudowire established by the second pseudowire establishing unit CPRI data between BBUs;
  • the RRU includes:
  • a first sending unit configured to send CPRI data to the BBU by using the first PE and the second PE;
  • the BBU includes:
  • a second sending unit configured to send CPRI data to the RRU by using the second PE and the first PE;
  • a second receiving unit configured to receive CPRI data sent by the RRU by using the first PE and the second PE.
  • the data transmission method, the first PE, and the system provided by the embodiment of the present invention establish a CPRI pseudowire with a pseudowire type CPRI through the first PE and the second PE, and respectively respectively, the first PE and the second PE
  • the RRU is connected to the BBU, and the CPRI data between the RRU and the BBU is transmitted through the CPRI pseudowire.
  • the optical fiber is specially laid between the BBU and the RRU to transmit the CPR between the RRU and the BBU.
  • the simulated CPRI interface can be established by using the transmission line between the first PE and the second PE, and the PE and the MPLS network capable of carrying multiple service transmissions can be multiplexed to implement CPRI data transmission, without A dedicated fiber is laid between the RRU and the BBU, which reduces the cost of laying the fiber between the BBU and the RRU.
  • the mature maintenance technology of the MPLS network can effectively reduce the maintenance of the CPRI data transmission between the BBU and the RRU. cost.
  • FIG. 1 is a schematic flowchart of a data transmission method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of data flow in an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a first implementation manner of the data transmission method shown in FIG. 1.
  • FIG. 4 is a schematic flowchart of a second implementation manner of the data transmission method shown in FIG. 1.
  • FIG. Schematic diagram of a third implementation of the transmission method; 6 is a schematic flowchart of a fourth implementation manner of the data transmission method shown in FIG. 1;
  • FIG. 7 is a schematic structural diagram of a first PE according to an embodiment of the present invention;
  • FIG. 8 is a schematic structural diagram of an implementation manner of the first PE shown in FIG. 7;
  • FIG. 9 is a schematic structural diagram of another first PE according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a data transmission system according to an embodiment of the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. example. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • an embodiment of the present invention provides a data transmission method, where the method includes: 1 01, a first PE and a second PE establish a CPRI pseudowire of a CPRI type, and the first PE and the radio frequency pull
  • the remote unit is connected to the RRU, and the second PE is connected to the baseband processing unit BBU, and the first PE and the second PE are in the MPLS network.
  • the establishment of the CPRI pseudowire of the CPRI type by the first PE and the second PE requires the support of the MPLS network.
  • the established CPR I pseudowire is used to transmit the CPR I data between the RRU and the BBU.
  • Other types of pseudo-wires can be established for the transmission of other types of service data, which is not limited by the embodiment of the present invention.
  • the RRU and the BBU are respectively connected to the first PE or the second PE, and the RRU is connected to the first PE, and the BBU is connected to the second PE.
  • the BBU is connected to the first PE, and the RRU is connected to the second PE.
  • the RRU and the BBU may be connected to the CPR I pseudowire through AC (At ta chmen t C i rcu i t , AC ) to access the MPLS network.
  • the RRU is connected to the first PE through the AC, and the BBU and the second PE are passed.
  • the AC is connected to establish a CPRI pseudowire from the first PE to the second PE direction and a CPRI pseudowire from the second PE to the first PE direction. Since the first PE and the second PE are in the MPLS network, the RRU The BBU is also connected to the MPLS network by connecting to the CPRI pseudowire. It can be understood that the positions of the RRU and the BBU in FIG. 2 are also interchangeable, and details are not described in this embodiment.
  • CPRI pseudowires may be established between the first PE and the second PE for data transmission of the other devices connected to the first PE and the second PE, and the CPRI pseudowire established in the embodiment of the present invention is applicable to the transmission.
  • CPRI data between the RRU and the BBU.
  • the first PE transmits CPRI data between the RRU and the BBU by using the CPRI pseudowire.
  • the CPRI data between the RRU and the BBU may be CPRI data sent by the RRU to the BBU, or may be CPRI data sent by the BBU to the RRU.
  • the CPRI pseudowire is a dedicated channel for transmitting the CPRI data, that is, the CPRI data between the RRU and the BBU is transmitted by using a CPRI pseudowire between the established first PE and the second PE.
  • the first PE and the second PE are configured to establish a CPRI pseudowire of the CPRI type, and the first PE and the second PE are respectively associated with the RRU and the BBU, and the CPRI is used.
  • the pseudowire transmits the CPRI data between the RRU and the BBU, and the prior art can utilize the technology by separately laying the optical fiber between the BBU and the RRU for transmitting the CPRI data between the RRU and the BBU.
  • the transmission line between a PE and the second PE establishes a simulated CPRI interface, multiplexes the PE and the MPLS network that can carry multiple service transmissions, so as to implement CPRI data transmission, and does not need to lay a dedicated optical fiber between the RRU and the BBU.
  • the cost of laying the fiber between the BBU and the RRU is reduced.
  • the mature maintenance technology of the MPLS network can effectively reduce the maintenance cost of the CPRI data transmission between the BBU and the RRU.
  • an embodiment of the present invention further provides another data transmission method.
  • the another data transmission method is a refinement of the data transmission method described in FIG. 1.
  • the another data transmission method includes:
  • the first PE sends a first pseudowire label mapping message to the second PE by using an MPLS network.
  • the first pseudowire label mapping message includes a CPRI type, a CPRI pseudowire identifier of the first PE, a CPRI pseudowire identifier of the second PE, and a first pseudowire label, so that the second The PE matches the pseudowire identifier of the second PE included in the first pseudowire label mapping message, that is, the second PE identifies the pseudowire identifier of the first PE included in the first pseudowire label mapping message.
  • the first pseudowire label included in the first pseudowire label mapping message is stored by the second PE as a pseudowire type as a CPR I type. From the second PE to the first PE pseudowire label of the CPRI pseudowire.
  • the first PE label can be carried in the CPRI packet, and the first PE receives the CPRI packet carrying the first pseudowire label.
  • the CPRI data in the message can be sent to the RRU corresponding to the CPRI pseudowire.
  • the CPRI pseudowire identifier of the second PE included in the first pseudowire label mapping message is obtained and stored in advance by the first PE, and the first PE may be manually configured to obtain the CPRI of the second PE.
  • the pseudo-line identifier may also be that the first PE obtains the CPRI pseudo-line identifier of the second PE by dynamic learning.
  • the first pseudo-line label mapping message includes a forwarding eigen class type length value (Forward ing Equivalence Cla ss Type Length Va lue, FEC TLV) and a tag TLV.
  • the tag TLV includes a pseudo-line tag corresponding to the first pseudo-line tag described in the embodiment of the present invention, and the FEC TLV includes an FEC element (FEC Element).
  • FEC Element FEC element
  • the FEC unit includes a Source Acces s Ident if ier (SAI) and a Target Acces s Ident if ier.
  • the SAI and the TAI respectively correspond to the CPRI pseudowire identifier of the first PE and the CPRI pseudowire identifier of the second PE; when the second PE direction
  • the SAI and the TAI respectively correspond to the CPRI pseudowire identifier of the second PE and the CPRI pseudowire identifier of the first PE.
  • the FEC unit includes a Pseudo Wire Ident If I, (PW ID).
  • PW ID Pseudo Wire Ident If I
  • the pseudowire label mapping information includes only one CPRI pseudowire identifier.
  • the CPRI pseudo-line identifier is compared with all the pseudo-line identifiers stored locally, and the CPRI pseudo-line identifier is present, and the matching is successful, the CPRI is successful.
  • the pseudowire is bound to the CPRI pseudowire identifier of the second PE, and the AC between the CPRI pseudowire and the RRU connected to the second PE is also associated.
  • the second PE receives the first pseudowire label mapping message sent by the first PE by using the MPLS network, where the first pseudowire label mapping message includes a CPRI pseudowire identifier of the first PE. And a CPRI pseudowire identifier of the second PE and a first pseudowire label.
  • step 204 is performed; if the matching is unsuccessful, step 205 is performed.
  • the second PE After the first pseudowire label mapping message reaches the second PE, the second PE checks all the pseudowire identifiers in the local storage of the second PE, and all the pseudowire identifiers in the local storage may include The CPRI pseudowire identifier of one PE and the CPRI pseudowire of the second PE identify different CPRI access identifiers. Comparing all the CPRI access identifiers of the second PE with the CPRI pseudowire identifiers of the second PE included in the first pseudowire label mapping message, if found in the second PE local storage and The CPRI pseudo-line of the second PE included in the first pseudo-line label mapping message identifies the same CPRI access identifier, and the CPRI of the second PE included in the first pseudo-line label mapping message is matched.
  • the pseudo-line identifier is successfully matched, and the first pseudo-line label corresponding to the pseudo-line identifier included in the first pseudo-line label mapping message is stored, and the CPRI pseudo-line is bound to the CPRI access identifier of the second PE end, thereby The RRU of the second PE establishes a correspondence. If the pseudowire identifier of the same PERI pseudowire identifier of the second PE included in the first pseudowire label mapping information is not found in the second PE local storage, the matching the first The matching of the CPRI pseudowire identifier of the second PE included in the pseudowire label mapping message is unsuccessful, and the CPRI pseudowire is not bound to the CPRI access identifier of the second PE end.
  • the second PE stores the first pseudowire label included in the first pseudowire label mapping message as a pseudowire label from the first PE to the second PE.
  • the first pseudowire label mapping message includes the first a pseudowire label is stored in the storage unit of the second PE, and the first pseudo is stored
  • the line label serves as a pseudowire label of the CPRI pseudowire from the first PE to the second PE.
  • the CPRI pseudowire is bound to the CPRI pseudowire identifier of the second PE end, and the AC between the CPRI pseudowire and the RRU connected to the second PE is also established, and the second PE is in the direction of the first PE.
  • the CPRI pseudowire is established.
  • the second PE sends a pseudowire label release message to the first PE by using the MPLS network.
  • the second PE After the second PE matches the pseudowire identifier of the second PE included in the first pseudowire label mapping message, the second PE does not store the first pseudowire label mapping message. Include the first pseudowire label, and send a pseudowire label release message to the first PE, to notify the first PE that the first pseudowire label mapping message is not sent to the second PE, and A CPRI pseudowire is established from the second PE to the first PE direction.
  • establishing the CPRI pseudowire includes establishing a CPRI pseudowire from the first PE to the second PE direction and a CPRI pseudowire from the second PE to the first PE direction.
  • the CPRI pseudowire from the first PE to the second PE direction and the CPRI pseudowire from the second PE to the first PE direction are not in the order.
  • Steps 201-205 describe the pseudowire establishment process from the second PE to the first PE direction, and after the establishment of the CPRI pseudowire from the second PE to the first PE direction,
  • the CPRI pseudowire of the first PE to the second PE direction is as shown in FIG. 4, and the establishing process of establishing the CPRI pseudowire from the first PE to the second PE direction is as described in steps 206-210.
  • the second PE sends a second pseudowire label mapping message to the first PE by using an MPLS network.
  • the second pseudo-line label mapping message includes a CPRI pseudo-line identifier of the first PE, a CPRI pseudo-line identifier of the second PE, and a second pseudo-line label, so that the first PE matches the first a pseudowire identifier of the first PE included in the second pseudowire label mapping message, and storing the pseudowire label included in the second pseudowire label mapping message as a pseudo after the matching succeeds
  • a line type is a pseudowire label of the CPRI type of CPRI pseudowire from the first PE to the second PE.
  • the CPRI pseudowire identifier of the first PE included in the second pseudowire label mapping message may be obtained by manually configuring the second PE to obtain the CPRI pseudowire identifier of the first PE, or may be the second PE. Obtaining a CPRI pseudowire identifier of the first PE by dynamic learning.
  • the first PE receives, by using the MPLS network, a second pseudowire label mapping message sent by the second PE, where the second pseudowire label mapping message includes a CPRI pseudowire identifier of the first PE, and the first The CPRI pseudowire identifier of the second PE and the second pseudowire label.
  • the first PE matches a CPRI pseudowire identifier of the first PE included in the second pseudowire label mapping message. If the matching is successful, step 209 is performed; if the matching is unsuccessful, step 210 is performed.
  • the first PE After the second pseudo-line label mapping message reaches the first PE, the first PE checks all the pseudo-line identifiers in the local storage of the first PE, and the pseudo-line identifiers in the local storage may include Other pseudowire identifiers different from the CPRI pseudowire identifier of the first PE and the pseudowire identifier of the second PE. Comparing all the pseudowire identifiers of the first PE locally with the CPRI pseudowire identifiers of the first PE included in the second pseudowire label mapping message, if found in the first PE local storage and The CPRI pseudo-line of the first PE included in the second pseudo-line label mapping message identifies the same pseudo-line identifier, and the CPRI pseudo of the first PE included in the second pseudo-line label mapping message is matched.
  • the first PE stores the second pseudowire label included in the second pseudowire label mapping message as a pseudowire label from the first PE to the second PE.
  • the first pseudo-line label mapping message is included in the second pseudo-line label mapping message.
  • the second pseudowire label is stored in the storage unit of the first PE, and the stored second pseudowire label is used as the pseudoline of the CPRI pseudowire from the first PE to the second PE. Sign.
  • the CPRI pseudowire is bound to the CPRI pseudowire identifier of the first PE, and the AC between the CPRI and the RRU connected to the first PE is also associated with the second PE.
  • the pseudowire in the PE direction is established.
  • the first PE sends a pseudowire label release message to the second PE by using the MPLS network.
  • the first PE After the first PE matches the pseudowire identifier of the first PE included in the second pseudowire label mapping message, the first PE does not store the second pseudowire label mapping message. Including the CPRI pseudowire identifier of the first PE, and sending a pseudowire label release message to the second PE, notifying the second PE that the second pseudowire label mapping is not sent to the first PE The message cannot establish a CPRI pseudowire from the first PE to the second PE.
  • the CPRI data can be transmitted through the CPRI pseudowire between the first PE and the second PE.
  • the transmitting CPRI data may be that the first PE sends the first CPRI data to the second PE, as described in steps 211-215:
  • the first PE receives first CPRI data sent by the RRU that is connected to the first PE.
  • the RPI and the BBU have been bound by the CPRI pseudowire between the first PE and the second PE by using the CPRI pseudowire between the first PE and the second PE.
  • the first PE may directly receive the first CPRI data sent by the RRU connected to the first PE by using an AC.
  • the first PE encapsulates the first CPRI data to obtain a first CPRI packet.
  • the encapsulating the first CPRI data may be performed by marking the first CPRI data with the second pseudowire label and a packet switched network label, where the packet switched network label facilitates the first CPRI packet in an MPLS network. Transfer on.
  • the first PE sends a first CPRI packet to the second PE, where the first CPRI packet includes the first CPRI data and the second pseudowire label, so that the second PE After identifying the second pseudowire label, forwarding the first CPRI data to the BBU. 214.
  • the second PE receives the first CPRI packet sent by the first PE, where the first CPRI packet includes the first CPRI data and the second pseudowire label.
  • the second PE receives the first CPRI packet sent by the first PE, when the first PE sends the first CPRI packet to the second PE to the second PE.
  • the second PE removes the packet switched network label of the first CPRI packet, and obtains a first CPRI packet that includes only the second pseudowire label and the first CPRI data.
  • the second PE identifies the second pseudowire label, and forwards the first CPRI data to the BBU.
  • the CPRI data may be transmitted through the CPRI pseudowire between the first PE and the second PE.
  • the transmitting the CPRI data may also be that the first PE sends the first CPRI data to the first PE, as described in steps 216-220:
  • the second PE receives second CPRI data sent by the RRU that is connected to the second PE.
  • the RRU and the BBU are both bound by the CPRI pseudowire between the first PE and the second PE, and the first PE may directly receive, by the AC, the RRU sent by the first PE.
  • First CPRI data First CPRI data.
  • the second PE encapsulates the second CPRI data to obtain a second CPRI packet.
  • the encapsulating the second CPRI data may be performed by marking the second CPRI data with the first pseudowire label and a packet switched network label, where the packet switched network label facilitates the second CPRI The transmission is performed on the MPLS network.
  • the second PE sends a second CPRI packet to the first PE, where the second CPRI packet includes the second CPRI data and the first pseudowire label, so that the first PE After identifying the first pseudowire label, the CPRI data is forwarded to the BBU.
  • the first PE receives the second CPRI packet sent by the second PE, where the second CPRI packet includes the second CPRI data and the first pseudowire label.
  • the first PE receives the second CPRI packet sent by the second PE, when the second PE sends the second CPRI packet to the first PE to the first PE.
  • the first PE removes the packet switched network label of the second CPRI packet, and obtains a second CPRI packet that includes only the first pseudowire label and the second CPRI data.
  • the first PE identifies the first pseudowire label, and forwards the second CPRI data to the BBU connected to the first PE.
  • the first PE and the second PE are configured to establish a CPRI pseudowire of the CPRI type, and the first PE and the second PE are respectively connected to the RRU and the BBU.
  • the CPRI pseudowire transmits the CPRI data between the RRU and the BBU
  • the prior art can utilize the technology for separately distributing the optical fiber between the BBU and the RRU for transmitting the CPRI data between the RRU and the BBU.
  • the transmission line between the first PE and the second PE establishes a simulated CPRI interface, multiplexes the PE and the MPLS network that can carry multiple service transmissions, so as to implement CPRI data transmission, and does not need to lay a dedicated device between the RRU and the BBU.
  • the optical fiber reduces the cost of laying the fiber between the BBU and the RRU.
  • the mature maintenance technology of the MPLS network can effectively reduce the maintenance cost of the CPRI data transmission between the BBU and the RRU.
  • an embodiment of the present invention further provides a first PE 30, where the first PE 30 includes: a pseudowire establishing unit 31 and a transmitting unit 32.
  • the pseudowire establishing unit 31 is configured to establish, with the second PE, a CPRI pseudowire of a common public radio interface CPRI type, the first PE 30 is connected to the radio remote unit RRU, and the second PE and the baseband are processed.
  • the unit BBU is connected, and the first PE 30 and the second PE are in an MPLS network.
  • the transmitting unit 32 is configured to transmit CPRI data between the RRU and the BBU by using the CPRI pseudowire established by the pseudowire establishing unit 31.
  • RRU and the BBU are connected to the multi-protocol label switching MPLS network through the CPRI pseudowire.
  • the pseudowire establishing unit 31 may include: creating a sub-sheet Yuan 311.
  • the establishing subunit 311 is configured to send, by using the MPLS network, a first pseudowire label mapping message to the second PE, where the first pseudowire label mapping message includes a CPRI pseudowire identifier of the first PE30, and the a CPRI pseudowire identifier of the second PE and the first pseudowire label, so that the second PE matches the pseudowire identifier of the second PE included in the first pseudowire label mapping message, and after the matching is successful,
  • the first pseudowire tag is stored as a pseudowire tag from the second PE to the first PE30.
  • the pseudowire establishing unit 31 may further include: a first receiving subunit 312, a matching subunit 313, and a label storage subunit 314.
  • the first receiving sub-unit 312 receives the second pseudo-line label mapping message sent by the second PE by using the MPLS network, where the second pseudo-line label mapping message includes the CPRI pseudo-line identifier of the first PE 30, and the a CPRI pseudowire identifier of the second PE and a second pseudowire label;
  • the matching sub-unit 313 matches the CPRI pseudo-line identifier of the first PE 30 included in the second pseudo-line label mapping message.
  • a label storage sub-unit 314, configured to store, when the matching sub-unit 313 is successfully matched, the second pseudo-line label included in the second pseudo-line label mapping message received by the first receiving sub-unit 312 As a pseudowire label from the first PE 30 to the second PE.
  • the pseudowire establishing unit 31 may further include: a label releasing subunit 315.
  • the label release subunit 315 is configured to send a pseudowire label release message to the second PE by using the MPLS network when the matching subunit 313 fails to match.
  • the transmission unit 32 may include: a second receiving sub-unit 321 and a first transmitting sub-unit 322.
  • the second receiving subunit 321 is configured to receive first CPRI data sent by the RRU connected to the first PE30.
  • the first sending sub-unit 322 is configured to send a first CPRI packet to the second PE, where the first CPRI packet includes the first CPRI data received by the second receiving sub-unit 321 And the second pseudowire label obtained by the label storage subunit 314, so that the second PE identifies the second pseudowire label and forwards the first CPRI data to the BBU.
  • the transmission unit 32 may further include: a third receiving subunit 323 and a second transmitting subunit 324.
  • the third receiving sub-unit 323 is configured to receive the second CPR I message sent by the second PE, where the second CPRI message includes the second CPRI data and the first pseudo line label.
  • the second sending sub-unit 324 is configured to identify the first pseudo-line label, and forward the second CPR I data received by the third receiving sub-unit 32 3 to the RRU.
  • the first PE 30 may be a switch or a router or other network device.
  • the pseudowire establishing unit 31 and the transmitting unit 32 of the first PE 30 provided by the embodiment of the present invention may be combined into one or more units; the first receiving subunit 31 included in the pseudowire establishing unit 31. 2.
  • the matching subunit 31 3, the label storage subunit 314, and the label release subunit 31 5 may be combined into one or more units; the second receiving subunit 321 and the first sending subunit 322 included in the transmission unit 32,
  • the third receiving sub-unit 32 3 and the second transmitting sub-unit 324 may be combined into one or more units.
  • an embodiment of the present invention further provides another first PE 40.
  • the first PE 40 includes: a transmitter 41, a processor 43, a receiver 42, and a memory 44.
  • the processor 43 is configured to establish, with the second PE, a CPR I pseudowire of a common public radio interface CPRI type, the first PE 40 is connected to the radio remote unit RRU, and the second PE and the baseband processing unit are connected.
  • the BBU is connected, and the first PE 40 and the second PE are in a multi-protocol label switching MPLS network.
  • the transmitter 41 and the receiver 42 are configured to transmit CPR I data between the RRU and the BBU by using the CPRI pseudowire established by the processor 43.
  • a multi-protocol label switching MPLS network is disposed between the first PE 40 and the second PE; the RRU and the BBU transmit the CPRI data in the MPLS network by using the CPRI pseudowire connection. .
  • the transmitter 41 is further configured to: pass the first PE 40 and the second PE
  • the MPLS network sends a first pseudowire label mapping message to the second PE, where the first pseudowire label mapping message includes the CPRI pseudowire identifier of the first PE40 and the CPRI pseudo of the second PE. a line identifier and a first pseudo-line label, so that the second PE matches the CPRI pseudo-line identifier of the second PE included in the first pseudo-line label mapping message, and the first pseudo is after the matching succeeds
  • the line label is stored as a pseudo line label from the second PE to the first PE 40.
  • the receiver 42 is further configured to receive, by using an MPLS network between the first PE 40 and the second PE, a second pseudowire label mapping message sent by the second PE, where the second pseudowire label mapping message is The CPRI pseudowire identifier of the first PE 40, the CPRI pseudowire identifier of the second PE, and the second pseudowire label are included.
  • the processor 43 is further configured to match a CPRI pseudowire identifier of the first PE 40 included in the second pseudowire label mapping message received by the receiver 42.
  • the memory 44 is configured to store, when the processor 43 is successfully matched, the second pseudowire label included in the second pseudowire label mapping message as the first PE40 to the first The pseudowire label of the second PE.
  • the transmitter 41 is further configured to send a pseudowire label release message to the second PE by using the MPLS network when the matching of the processor 43 is unsuccessful.
  • the receiver 42 is further configured to receive the first CPRI data that is sent by the RRU that is connected to the first PE 40, and the transmitter 41 is further configured to send the first CPRI to the second PE.
  • a packet the first CPRI packet includes the first CPRI data and the second pseudowire label, so that after the second PE identifies the second pseudowire label, the first CPRI data is used. Forwarded to the BBU.
  • the receiver 42 is further configured to receive the second CPRI packet sent by the second PE, where the second CPRI packet includes the second CPRI data and the first pseudowire label;
  • the processor 43 is further configured to identify the first pseudowire label.
  • the transmitter 41 is further configured to forward the second CPRI data to the BBU connected to the first PE40.
  • the first PE 40 may be a switch or a router or other network device.
  • the device 44 can be integrated into one or more independent circuits or hardware, such as: an application specific integrated circuit (English Application Specific Integrated Circuit, ASIC for short).
  • the first PE 40 and the second PE are configured to establish a CPRI pseudowire of the CPRI type, and the first PE 40 and the second PE are respectively connected to the RRU and the BBU.
  • the CPRI pseudowire transmits the CPRI data between the RRU and the BBU
  • the prior art can utilize the technology by laying the optical fiber between the BBU and the RRU for transmitting the CPRI data between the RRU and the BBU.
  • a transmission line between the PE 40 and the second PE establishes a simulated CPRI interface, and multiplexes the PE and the MPLS network that can carry multiple service transmissions to implement CPRI data transmission, and does not need to lay a dedicated optical fiber between the RRU and the BBU.
  • the cost of laying the fiber between the BBU and the RRU is reduced.
  • the mature maintenance technology of the MPLS network can effectively reduce the maintenance cost of the CPRI data transmission between the BBU and the RRU.
  • an embodiment of the present invention further provides a data transmission system 50.
  • the data transmission system 50 includes a first PE 51, a second PE 52, an RRU 53 and a BBU 54.
  • the first PE 51 is connected to the RRU 53 and the second PE 52 is connected.
  • Connected to the BBU 54, the first PE 51 and the second PE 52 are in an MPLS network, where
  • the first PE 51 includes: a first pseudowire establishing unit 511, configured to establish, with the second PE 52, a CPRI pseudowire of a common public radio interface CPRI type; the first transmitting unit 512, configured to pass the The CPRI pseudowire established by the first pseudowire establishing unit 511 transmits CPRI data between the RRU 53 and the BBU 54;
  • the second PE 52 includes: a second pseudowire establishing unit 521, configured to establish the CPRI pseudowire with the first PE 51; and a second transmitting unit 522, configured to be established by the second pseudowire establishing unit 521
  • the CPRI pseudowire transmits the CPRI data between the RRU 53 and the BBU 54.
  • the RRU 53 includes: a first sending unit 531, configured to send CPRI data to the BBU 54 by using the first PE 51 and the second PE 52;
  • the first receiving unit 532 is configured to receive CPRI data that is sent by the BBU 54 by using the second PE and the first PE.
  • the BBU 54 includes: a second sending unit 541, configured to send CPRI data to the RRU 53 by using the second PE 52 and the first PE 51; and a second receiving unit 542, configured to receive the RRU 53 by using the first The CPRI data sent by the PE 51 and the second PE 52.
  • the BBU 54 is connected to the second PE 52, and the RRU 53 is connected to the first PE 51, and a CPRI pseudowire is established between the first PE 51 and the second PE 52.
  • the positions of the BBU 5 3 and the RRU 54 in FIG. 10 are also interchangeable, that is, the BBU 54 is connected to the first PE 51, and the RRU 5 3 is connected to the second PE 52.
  • the data transmission system 50 provided by the embodiment of the present invention establishes a CPRI pseudowire of the CPRI type by using the first PE 51 and the second PE 52, and passes the first PE 51 and the second PE 52 with the RRU 5 3 and the BBU 54 respectively.
  • the CPR I pseudowire transmits the CPR I data between the RRU 5 3 and the BBU 54
  • the prior art uses a special optical fiber between the BBU and the RRU to transmit the CPRI data between the RRU and the BBU.
  • the simulated CPRI interface can be established by using the transmission line between the first PE 51 and the second PE 52, and the PE and the MPLS network capable of carrying multiple service transmissions can be multiplexed to implement CPR I data transmission, and the RRU 5 3 and the BBU 54 are not required.
  • the use of dedicated fiber between the two reduces the cost of laying the fiber between the BBU54 and the RRU53.
  • the mature maintenance technology of the MPLS network can effectively reduce the maintenance cost of CPRI data transmission between the BBU54 and the RRU53.
  • the first PE, the first pseudowire label, the first pseudowire label mapping message, the first CPRI data, the first CPR I packet, the first receiving subunit, and the first sending subunit which are mentioned in the embodiment of the present invention
  • the "first" in the first pseudowire establishing unit, the first transmitting unit, the first transmitting unit, and the first receiving unit is only used for name identification, and does not represent the first in sequence;
  • the "second" in the unit and the second receiving unit are also used for name identification only, and do not represent the second in order.
  • the foregoing storage medium includes: a read-on memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes.

Landscapes

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

Abstract

Embodiments of the present invention relate to the technical field of communications. Disclosed are a data transmission method, a first provider edge router and a system. The present invention can efficiently reduce a high cost for establishing a data transmission channel by using a remote radio unit (RRU) and a BBU, and can efficiently reduce the maintenance cost. An implementation method of the present invention comprises: establishing a CPRI pseudo-wire with a pseudo-wire type being a CPRI type between a first PE and a second PE, the PE being connected to the RRU, the second PE being connected to the BBU, and the first PE and the second PE being located on a multiple protocol label switching MPLS network; and transmitting CPRI data between the RRU and the BBU through the CPRI pseudo-wire. The embodiments of the present invention are mainly used for a data transmission process between the RRU and BBU.

Description

数据传输方法、 第一运营商边缘路由器及*** 技术领域 本发明涉及通信技术领域, 尤其涉及一种数据传输方法、 第一运营商 边缘路由器及***。 背景技术 在无线通信***中, 基站由多个功能部分组成, 其中最主要的两个部 分是基带单元和射频单元。 传统基站的基带单元和射频单元通常集成在一 起,造成基站架构封闭,不利于基带单元与射频单元各自领域的技术进步。  The present invention relates to the field of communications technologies, and in particular, to a data transmission method, a first carrier edge router, and a system. Background Art In a wireless communication system, a base station is composed of a plurality of functional sections, the most important of which are baseband units and radio frequency units. The baseband unit and the radio frequency unit of the conventional base station are usually integrated together, which causes the base station architecture to be closed, which is disadvantageous to the technical progress in the respective fields of the baseband unit and the radio unit.
为了使基站具有开放式的架构, 新一代基站釆用基于仿真通用公共无 线接口 ( Common Publ i c Radio Interface , CPRI ) 的技术, 将基带单元 与射频单元分开, 形成通过光纤相连的基带处理单元(Base Band Uni t , BBU)和射频拉远单元(Radio Remote Uni t , RRU) , 将基站的部分载波通过 标准的 CPRI接口实现分布式组网, 釆用专用于 CPRI数据传输的光纤传输 BBU与 RRU之间的 CPRI数据。  In order to make the base station have an open architecture, the next-generation base station uses a common public radio interface (CPRI)-based technology to separate the baseband unit from the radio frequency unit to form a baseband processing unit (Base) connected through the optical fiber. Band Uni t (BBU) and Radio Remote Uni t (RRU), which implement distributed networking by using part of the base station's carrier through the standard CPRI interface, and use the fiber-optic transmission BBU and RRU dedicated to CPRI data transmission. CPRI data between.
在实现上述基于 CPRI 的数据传输过程中, 发明人发现现有技术中至 少存在如下问题:  In implementing the above CPRI-based data transmission process, the inventors found that at least the following problems exist in the prior art:
由于需要在 BBU与 RRU之间铺设光纤, 以专用于 CPRI数据传输, 当 RRU大量部署,会导致光纤铺设成本及光纤维护成本过高, 特别地, 当 RRU 与多个 BBU连接时, 需要 RRU与多个 BBU分别铺设光纤, 光纤铺设成本较 高, 另外, 还需要分别对铺设的光纤进行维护, 维护成本急剧增大。  Because the fiber needs to be laid between the BBU and the RRU to be dedicated to the CPRI data transmission, when the RRU is deployed in a large amount, the cost of the fiber installation and the maintenance cost of the fiber are too high. In particular, when the RRU is connected to multiple BBUs, the RRU and the RRU are required. A plurality of BBUs are respectively laid with optical fibers, and the cost of laying the optical fibers is high. In addition, maintenance of the laid optical fibers is required separately, and the maintenance cost is drastically increased.
发明内容 本发明的实施例提供数据传输方法、 第一运营商边缘路由器及***, 用于解决 RRU和 BBU通过铺设光纤建立数据传输通道的光纤铺设成本和维 护成本过高的问题。  SUMMARY OF THE INVENTION Embodiments of the present invention provide a data transmission method, a first carrier edge router, and a system, which are used to solve the problem that an optical fiber laying cost and a maintenance cost of an RRU and a BBU establishing a data transmission channel by laying an optical fiber are too high.
为达到上述目的, 本发明的实施例釆用如下技术方案: 第一方面, 提供了一种数据传输方法, 所述数据传输方法包括: 第一运营商边缘路由器(Prov ider Edge , PE)与第二 PE 建立伪线 ( Pseudo Wi re , PW ) 类型为 CPRI类型的 CPRI伪线, 所述第一 PE与 RRU 相连, 所述第二 PE与 BBU相连,所述第一 PE与所述第二 PE处于多协议标 签交换 ( Mul t i Protocol Labe l Swi tch) , MPLS ) 网络中; In order to achieve the above object, embodiments of the present invention use the following technical solutions: In a first aspect, a data transmission method is provided. The data transmission method includes: a first operator edge router (PE) and a second PE establish a pseudowire (Pseudo Wi re, PW) type is a CPRI type. The first PE is connected to the RRU, the second PE is connected to the BBU, and the first PE and the second PE are in a multi-protocol label switching (Mul ti Protocol Labe l Swi tch), MPLS ) in the network;
所述第一 PE通过所述 CPRI伪线传输所述 RRU与所述 BBU之间的 CPRI 数据。  The first PE transmits CPRI data between the RRU and the BBU through the CPRI pseudowire.
在所述第一方面的第一种可能的实现方式中, 所述第一 PE与第二 PE 建立伪线类型为通用公共无线接口 CPRI类型的 CPRI伪线, 包括: 所述第 一 PE通过所述 MPLS 网络向所述第二 PE发送第一伪线标签映射消息, 所 述第一伪线标签映射消息中包含所述第一 PE的 CPRI伪线标识、 所述第二 PE的 CPRI伪线标识及第一伪线标签,以便所述第二 PE匹配所述第一伪线 标签映射消息中包含的所述第二 PE的 CPRI伪线标识, 并在匹配成功后将 所述第一伪线标签映射消息中包含的所述第一伪线标签存储, 作为从所述 第二 PE到所述第一 PE的伪线标签。  In a first possible implementation manner of the first aspect, the first PE and the second PE establish a CPRI pseudowire of a common public radio interface CPRI type, and the first PE passes the first PE The MPLS network sends a first pseudo-line label mapping message to the second PE, where the first pseudo-line label mapping message includes a CPRI pseudo-line identifier of the first PE, and a CPRI pseudo-line identifier of the second PE. And the first pseudowire label, so that the second PE matches the CPRI pseudowire identifier of the second PE included in the first pseudowire label mapping message, and after the matching is successful, the first pseudowire label is The first pseudowire tag included in the mapping message is stored as a pseudowire tag from the second PE to the first PE.
在所述第一方面的第一种可能的实现方式中, 还提供了所述第一方面 的第二种可能的实现方式, 在所述第一方面的第二种可能的实现方式中, 所述第一 PE 与第二 PE 建立伪线类型为通用公共无线接口 CPRI 类型的 CPRI伪线, 还包括: 所述第一 PE通过所述 MPLS网络接收所述第二 PE发 送的第二伪线标签映射消息, 所述第二伪线标签映射消息中包含第一 PE 的 CPRI伪线标识、 所述第二 PE的 CPRI伪线标识及第二伪线标签; 所述 第一 PE 匹配所述第二伪线标签映射消息中包含的所述第一 PE的 CPRI伪 线标识; 若所述匹配成功, 所述第一 PE将所述第二伪线标签映射消息中 包含的所述第二伪线标签存储, 作为从所述第一 PE到所述第二 PE的伪线 标签。  In a first possible implementation of the first aspect, a second possible implementation of the first aspect is also provided. In a second possible implementation manner of the first aspect, The first PE and the second PE establish a CPRI pseudowire of the common public radio interface CPRI type, and the first PE receives the second pseudowire label sent by the second PE by using the MPLS network. a mapping message, the second pseudo-line label mapping message includes a CPRI pseudo-line identifier of the first PE, a CPRI pseudo-line identifier of the second PE, and a second pseudo-line label; the first PE matches the second a CPRI pseudowire identifier of the first PE included in the pseudowire label mapping message; if the matching is successful, the first PE will map the second pseudowire label included in the second pseudowire label mapping message Stored as a pseudowire label from the first PE to the second PE.
在所述第一方面的上述任意一种可能的实现方式中, 还提供了所述第 一方面的第三种可能的实现方式, 在所述第一方面的第三种可能的实现方 式中, 所述第一 PE与第二 PE建立伪线类型为通用公共无线接口 CPRI类 型的 CPRI伪线, 还包括: 若所述匹配不成功, 所述第一 PE通过所述 MPLS 网络向所述第二 PE发送伪线标签释放消息。 In any of the above possible implementation manners of the first aspect, a third possible implementation manner of the first aspect is further provided, and a third possible implementation manner in the first aspect In the formula, the first PE and the second PE establish a CPRI pseudowire of the common public radio interface CPRI type, and the method includes: if the matching is unsuccessful, the first PE passes through the MPLS network The second PE sends a pseudowire label release message.
在所述第一方面的第一种可能的实现方式或所述第一方面的第二种 可能的实现方式或所述第一方面的第三种可能的实现方式中, 还提供了所 述第一方面的第四种可能的实现方式, 在所述第一方面的第四种可能的实 现方式中, 所述通过所述 CPRI伪线传输所述 RRU与所述 BBU之间的 CPRI 数据, 包括: 所述第一 PE接收所述 RRU发送的第一 CPRI数据; 所述第一 PE向所述第二 PE发送第一 CPRI ^艮文, 所述第一 CPRI ^艮文中包含所述第 一 CPRI数据和所述第二伪线标签, 以便所述第二 PE在识别所述第二伪线 标签后将所述第一 CPRI数据转发给所述 BBU。  In the first possible implementation of the first aspect, or the second possible implementation of the first aspect, or the third possible implementation of the first aspect, A fourth possible implementation manner of the first aspect, in the fourth possible implementation manner of the first aspect, the transmitting the CPRI data between the RRU and the BBU by using the CPRI pseudowire, including The first PE receives the first CPRI data sent by the RRU; the first PE sends a first CPRI message to the second PE, where the first CPRI is included in the first CPRI Data and the second pseudowire label, such that the second PE forwards the first CPRI data to the BBU after identifying the second pseudowire label.
在所述第一方面的第二种可能的实现方式或所述第一方面的第三种 可能的实现方式或所述第一方面的第四种可能的实现方式中, 还提供了所 述第一方面的第五种可能的实现方式, 在所述第一方面的第五种可能的实 现方式中, 所述通过所述 CPRI伪线传输所述 RRU与所述 BBU之间的 CPRI 数据, 还包括: 所述第一 PE接收所述第二 PE发送的第二 CPRI报文, 所 述第二 CPRI报文中包含第二 CPRI数据和所述第一伪线标签;所述第一 PE 识别所述第一伪线标签后, 将所述第二 CPRI数据转发给所述 RRU。  In the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, or the fourth possible implementation manner of the first aspect, A fifth possible implementation manner of the first aspect, the fifth possible implementation manner of the first aspect, the transmitting, by the CPRI pseudowire, the CPRI data between the RRU and the BBU, The first PE receives the second CPRI packet sent by the second PE, where the second CPRI packet includes the second CPRI data and the first pseudowire label; the first PE identifier After the first pseudowire label is described, the second CPRI data is forwarded to the RRU.
第二方面, 提供了一种第一 PE , 所述第一 PE包括:  In a second aspect, a first PE is provided, where the first PE includes:
伪线建立单元, 用于与第二 PE建立伪线类型为 CPRI类型的 CPRI 伪 线, 所述第一 PE与 RRU相连, 所述第二 PE与 BBU相连,所述第一 PE与所 述第二 PE处于多协议标签交换 MPLS 网络中;  a pseudowire establishing unit, configured to establish, with the second PE, a CPRI pseudowire of the CPRI type, the first PE is connected to the RRU, the second PE is connected to the BBU, and the first PE is connected to the first PE The second PE is in a multi-protocol label switching MPLS network;
传输单元, 用于通过所述伪线建立单元建立的所述 CPRI 伪线传输所 述 RRU与所述 BBU之间的 CPRI数据。  And a transmission unit, configured to transmit CPRI data between the RRU and the BBU by using the CPRI pseudowire established by the pseudowire establishing unit.
在结合所述第二方面的第一种可能的实现方式中, 所述伪线建立单元 包括: 建立子单元, 用于通过所述第一 PE和所述第二 PE之间的 MPLS 网 络向所述第二 PE发送第一伪线标签映射消息, 所述第一伪线标签映射消 息中包含所述第一 PE的 CPRI伪线标识、 所述第二 PE的 CPRI伪线标识及 第一伪线标签, 以便所述第二 PE 匹配所述第一伪线标签映射消息中包含 的所述第二 PE的 CPRI伪线标识, 并在匹配成功后将所述第一伪线标签存 储, 作为从所述第二 PE到所述第一 PE的伪线标签。 In a first possible implementation manner of the second aspect, the pseudowire establishing unit includes: a establishing subunit, configured to use an MPLS network between the first PE and the second PE The second PE sends a first pseudo-line label mapping message, where the first pseudo-line label mapping The information includes a CPRI pseudowire identifier of the first PE, a CPRI pseudowire identifier of the second PE, and a first pseudowire label, so that the second PE matches the content included in the first pseudowire label mapping message. The CPRI pseudowire of the second PE is identified, and after the matching is successful, the first pseudowire label is stored as a pseudowire label from the second PE to the first PE.
在所述第二方面的第一种可能的实现方式中, 还提供了所述第二方面 的第二种可能的实现方式, 在所述第二方面的第二种可能的实现方式中, 所述伪线建立单元还包括: 第一接收子单元, 用于通过所述 MPLS 网络接 收所述第二 PE发送的第二伪线标签映射消息, 所述第二伪线标签映射消 息中包含第一 PE的 CPRI伪线标识、 所述第二 PE的 CPRI伪线标识及第二 伪线标签; 匹配子单元, 用于匹配所述第二伪线标签映射消息中包含的所 述第一 PE的 CPRI伪线标识。 标签存储子单元, 用于当所述匹配子单元匹 配成功时, 将所述第一接收子单元接收的所述第二伪线标签映射消息中包 含的所述第二伪线标签存储, 作为从所述第一 PE到所述第二 PE的伪线标 签。  In a first possible implementation manner of the second aspect, a second possible implementation manner of the second aspect is further provided. In a second possible implementation manner of the second aspect, The pseudowire establishing unit further includes: a first receiving subunit, configured to receive, by using the MPLS network, a second pseudowire label mapping message sent by the second PE, where the second pseudowire label mapping message includes the first a CPRI pseudowire identifier of the PE, a CPRI pseudowire identifier of the second PE, and a second pseudowire label; a matching subunit, configured to match a CPRI of the first PE included in the second pseudowire label mapping message Pseudo line identification. a label storage subunit, configured to store, when the matching subunits are successfully matched, the second pseudowire label included in the second pseudowire label mapping message received by the first receiving subunit as a slave a pseudowire label of the first PE to the second PE.
在所述第二方面的上述任意一种可能的实现方式中, 还提供了所述第 二方面的第三种可能的实现方式, 在所述第一方面的第三种可能的实现方 式中, 所述伪线建立单元还包括: 标签释放子单元, 用于当所述匹配子单 元匹配不成功时, 通过所述 MPLS网络向所述第二 PE发送伪线标签释放消 息。  In a third possible implementation manner of the second aspect, the third possible implementation manner of the foregoing second aspect, The pseudowire establishing unit further includes: a label releasing subunit, configured to send a pseudowire label release message to the second PE by using the MPLS network when the matching subunit is unsuccessful.
在所述第二方面的第一种可能的实现方式或所述第二方面的第二种 可能的实现方式或所述第二方面的第三种可能的实现方式中, 还提供了所 述第二方面的第四种可能的实现方式, 在所述第二方面的第四种可能的实 现方式中, 所述传输单元包括: 第二接收子单元, 用于接收与所述第一 PE 相连的所述 RRU发送的第一 CPRI数据; 第一发送子单元,用于向所述第二 PE发送第一 CPRI报文,所述第一 CPRI报文中包含由所述第二接收子单元 接收的所述第一 CPRI 数据和所述标签存储子单元得到的所述第二伪线标 签, 以便所述第二 PE在识别所述第二伪线标签后将所述第一 CPRI数据转 发给所述 BBU。 In the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, A fourth possible implementation manner of the second aspect, in the fourth possible implementation manner of the second aspect, the transmitting unit includes: a second receiving subunit, configured to receive, connected to the first PE The first CPRI data sent by the RRU, the first sending subunit, configured to send a first CPRI packet to the second PE, where the first CPRI packet includes the second receiving subunit The first CPRI data and the second pseudowire label obtained by the label storage subunit, so that the second PE converts the first CPRI data after identifying the second pseudowire label Issued to the BBU.
在所述第二方面的第一种可能的实现方式或所述第二方面的第二种 可能的实现方式或所述第二方面的第三种可能的实现方式中, 还提供了所 述第二方面的第四种可能的实现方式, 在所述第二方面的第四种可能的实 现方式中, 所述传输单元还包括: 第三接收子单元, 用于接收所述第二 PE 发送的第二 CPRI报文, 所述第二 CPRI报文中包含第二 CPRI数据和所述 第一伪线标签; 第二发送子单元, 用于识别所述第一伪线标签, 并将由所 述第三接收子单元接收的所述第二 CPRI数据转发给所述 RRU。  In the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, A fourth possible implementation of the second aspect, in a fourth possible implementation of the second aspect, the transmitting unit further includes: a third receiving subunit, configured to receive the second PE sending a second CPRI packet, where the second CPRI packet includes the second CPRI data and the first pseudowire label; and the second sending subunit is configured to identify the first pseudowire label, and The second CPRI data received by the three receiving subunits is forwarded to the RRU.
第三方面, 提供了一种数据传输***, 所述数据传输***包括: 第一 运营商边缘路由器 PE、 第二 PE、 射频拉远单元 RRU和基带处理单元 BBU; 所述第一 PE与射频拉远单元 RRU相连, 所述第二 PE与基带处理单元 BBU 相连, 所述第一 PE与所述第二 PE处于多协议标签交换 MPLS 网络中, 其 中,  A third aspect provides a data transmission system, where the data transmission system includes: a first carrier edge router PE, a second PE, a radio remote unit RRU, and a baseband processing unit BBU; the first PE and the radio frequency pull The remote unit is connected to the RRU, and the second PE is connected to the baseband processing unit BBU, where the first PE and the second PE are in a multi-protocol label switching MPLS network, where
所述第一 PE包括:  The first PE includes:
第一伪线建立单元, 用于与所述第二 PE建立伪线类型为通用公共无 线接口 CPRI 类型的 CPRI伪线;  a first pseudowire establishing unit, configured to establish, with the second PE, a CPRI pseudowire with a pseudowire type of a common public radio interface CPRI type;
第一传输单元, 用于通过所述第一伪线建立单元建立的所述 CPRI 伪 线传输所述 RRU与所述 BBU之间的 CPRI数据;  a first transmission unit, configured to transmit CPRI data between the RRU and the BBU by using the CPRI pseudowire established by the first pseudowire establishing unit;
所述第二 PE包括:  The second PE includes:
第二伪线建立单元, 用于与所述第一 PE建立所述 CPRI伪线; 第二传输单元, 用于通过所述第二伪线建立单元建立的 CPRI 伪线传 输所述 RRU与所述 BBU之间的 CPRI数据;  a second pseudowire establishing unit, configured to establish the CPRI pseudowire with the first PE, and a second transmitting unit, configured to transmit the RRU and the CPRI by using a CPRI pseudowire established by the second pseudowire establishing unit CPRI data between BBUs;
所述 RRU包括:  The RRU includes:
第一发送单元, 用于通过所述第一 PE和所述第二 PE向所述 BBU发送 CPRI数据;  a first sending unit, configured to send CPRI data to the BBU by using the first PE and the second PE;
第一接收单元, 用于接收所述 BBU通过所述第二 PE和所述第一 PE发 送的 CPRI数据; 所述 BBU包括: a first receiving unit, configured to receive CPRI data that is sent by the BBU by using the second PE and the first PE; The BBU includes:
第二发送单元, 用于通过所述第二 PE和所述第一 PE向所述 RRU发送 CPRI数据;  a second sending unit, configured to send CPRI data to the RRU by using the second PE and the first PE;
第二接收单元, 用于接收所述 RRU通过所述第一 PE和所述第二 PE发 送的 CPRI数据。  And a second receiving unit, configured to receive CPRI data sent by the RRU by using the first PE and the second PE.
本发明实施例提供的数据传输方法、 第一 PE及***, 通过第一 PE与所述 第二 PE建立伪线类型为 CPRI的 CPRI伪线, 将第一 PE和第二 PE分别与The data transmission method, the first PE, and the system provided by the embodiment of the present invention establish a CPRI pseudowire with a pseudowire type CPRI through the first PE and the second PE, and respectively respectively, the first PE and the second PE
RRU和 BBU相连,通过所述 CPRI伪线传输所述 RRU与所述 BBU之间的 CPRI 数据, 与现有技术通过在 BBU和 RRU之间专门铺设光纤, 用于传输 RRU与 BBU之间的 CPR I数据的技术相比,可以利用第一 PE与第二 PE之间的传输 线路建立仿真的 CPRI接口, 复用 PE和可以承载多种业务传输的 MPLS 网 络, 以实现 CPRI数据传输, 不需要在 RRU与 BBU之间铺设专用的光纤, 减少了专为 BBU和 RRU之间铺设光纤的铺设成本, 此外, 利用 MPLS 网络 成熟的维护技术能够有效的降低 BBU和 RRU之间进行 CPRI数据传输时的 维护成本。 附图说明 The RRU is connected to the BBU, and the CPRI data between the RRU and the BBU is transmitted through the CPRI pseudowire. In the prior art, the optical fiber is specially laid between the BBU and the RRU to transmit the CPR between the RRU and the BBU. Compared with the I data technology, the simulated CPRI interface can be established by using the transmission line between the first PE and the second PE, and the PE and the MPLS network capable of carrying multiple service transmissions can be multiplexed to implement CPRI data transmission, without A dedicated fiber is laid between the RRU and the BBU, which reduces the cost of laying the fiber between the BBU and the RRU. In addition, the mature maintenance technology of the MPLS network can effectively reduce the maintenance of the CPRI data transmission between the BBU and the RRU. cost. DRAWINGS
实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附 图。 The drawings used in the embodiments or the description of the prior art are briefly introduced. It is obvious that the drawings in the following description are only some embodiments of the present invention, and are not creative to those skilled in the art. Other drawings can also be obtained from these drawings on the premise of labor.
图 1为本发明实施例中的一种数据传输方法流程示意图;  1 is a schematic flowchart of a data transmission method according to an embodiment of the present invention;
图 2为本发明实施例中的一种数据流转示意图;  2 is a schematic diagram of data flow in an embodiment of the present invention;
图 3为图 1所示的数据传输方法的第一种实现方式流程示意图; 图 4为图 1所示的数据传输方法的第二种实现方式的流程示意图; 图 5为图 1所示的数据传输方法的第三种实现方式的流程示意图; 图 6为图 1所示的数据传输方法的第四种实现方式的流程示意图; 图 7为本发明实施例中的一种第一 PE结构示意图; 3 is a schematic flowchart of a first implementation manner of the data transmission method shown in FIG. 1. FIG. 4 is a schematic flowchart of a second implementation manner of the data transmission method shown in FIG. 1. FIG. Schematic diagram of a third implementation of the transmission method; 6 is a schematic flowchart of a fourth implementation manner of the data transmission method shown in FIG. 1; FIG. 7 is a schematic structural diagram of a first PE according to an embodiment of the present invention;
图 8为图 7所示的第一 PE的一种实现方式的结构示意图;  8 is a schematic structural diagram of an implementation manner of the first PE shown in FIG. 7;
图 9为本发明实施例中的另一种第一 PE结构示意图;  FIG. 9 is a schematic structural diagram of another first PE according to an embodiment of the present invention; FIG.
图 1 0为本发明实施例中的一种数据传输***组成示意图。 具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。  FIG. 10 is a schematic structural diagram of a data transmission system according to an embodiment of the present invention. The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. example. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
参见图 1 , 本发明实施例提供一种数据传输方法, 所述方法包括: 1 01、 第一 PE与第二 PE建立伪线类型为 CPRI类型的 CPRI伪线, 所 述第一 PE与射频拉远单元 RRU相连, 所述第二 PE与基带处理单元 BBU相 连,所述第一 PE与所述第二 PE处于 MPLS 网络中。  Referring to FIG. 1 , an embodiment of the present invention provides a data transmission method, where the method includes: 1 01, a first PE and a second PE establish a CPRI pseudowire of a CPRI type, and the first PE and the radio frequency pull The remote unit is connected to the RRU, and the second PE is connected to the baseband processing unit BBU, and the first PE and the second PE are in the MPLS network.
所述第一 PE与第二 PE建立伪线类型为 CPRI 类型的 CPRI伪线需要 MPLS网络的支持,建立的 CPR I伪线用于传输 RRU和 BBU之间的 CPR I数据, 当然 MPLS 网络中还可以建立其他类型的伪线用于传输其他类型的业务数 据, 本发明实施例对此不做限定。 所述 RRU与 BBU分别与第一 PE或第二 PE连接的方法可以是 RRU与第一 PE连接, BBU与第二 PE连接; 也可以是 BBU与第一 PE连接, RRU与第二 PE连接。 具体的, RRU和 BBU可以通过 AC ( At ta chmen t C i rcu i t , AC ) 连接到所述 CPR I伪线, 接入到 MPLS网络 中。  The establishment of the CPRI pseudowire of the CPRI type by the first PE and the second PE requires the support of the MPLS network. The established CPR I pseudowire is used to transmit the CPR I data between the RRU and the BBU. Other types of pseudo-wires can be established for the transmission of other types of service data, which is not limited by the embodiment of the present invention. The RRU and the BBU are respectively connected to the first PE or the second PE, and the RRU is connected to the first PE, and the BBU is connected to the second PE. The BBU is connected to the first PE, and the RRU is connected to the second PE. Specifically, the RRU and the BBU may be connected to the CPR I pseudowire through AC (At ta chmen t C i rcu i t , AC ) to access the MPLS network.
例如, 如图 2所示, RRU与第一 PE通过 AC相连, BBU与第二 PE通过 For example, as shown in Figure 2, the RRU is connected to the first PE through the AC, and the BBU and the second PE are passed.
AC相连, 建立由第一 PE到第二 PE方向的 CPRI 伪线以及由第二 PE到第 一 PE方向的 CPRI 伪线。由于第一 PE与第二 PE在 MPLS网络中,因此 RRU 和 BBU通过连接到 CPRI伪线也接入到 MPLS网络中。 可以理解的是, 图 2 中 RRU和 BBU的位置也可以互换, 本实施例不再赘述。 The AC is connected to establish a CPRI pseudowire from the first PE to the second PE direction and a CPRI pseudowire from the second PE to the first PE direction. Since the first PE and the second PE are in the MPLS network, the RRU The BBU is also connected to the MPLS network by connecting to the CPRI pseudowire. It can be understood that the positions of the RRU and the BBU in FIG. 2 are also interchangeable, and details are not described in this embodiment.
当然, 第一 PE与第二 PE之间还可以建立其他伪线用于第一 PE和第 二 PE连接的其他设备的数据传输, 而本发明实施例中建立的 CPRI伪线适 用于传输所述 RRU和 BBU之间的 CPRI数据。  Certainly, other pseudowires may be established between the first PE and the second PE for data transmission of the other devices connected to the first PE and the second PE, and the CPRI pseudowire established in the embodiment of the present invention is applicable to the transmission. CPRI data between the RRU and the BBU.
102、 所述第一 PE通过所述 CPRI伪线传输所述 RRU与所述 BBU之间 的 CPRI数据。  102. The first PE transmits CPRI data between the RRU and the BBU by using the CPRI pseudowire.
其中, 所述 RRU与所述 BBU之间的 CPRI数据, 可以是 RRU发向 BBU 的 CPRI数据, 也可以是 BBU发向 RRU的 CPRI数据。 所述 CPRI伪线是传 输所述 CPRI数据的专用通道, 即利用已建立的第一 PE与第二 PE之间的 CPRI伪线,传输所述 RRU与所述 BBU之间的 CPRI数据。  The CPRI data between the RRU and the BBU may be CPRI data sent by the RRU to the BBU, or may be CPRI data sent by the BBU to the RRU. The CPRI pseudowire is a dedicated channel for transmitting the CPRI data, that is, the CPRI data between the RRU and the BBU is transmitted by using a CPRI pseudowire between the established first PE and the second PE.
本发明实施例提供的数据传输方法, 通过第一 PE与所述第二 PE建立 伪线类型为 CPRI类型的 CPRI伪线,将第一 PE和第二 PE分别与 RRU和 BBU, 通过所述 CPRI伪线传输所述 RRU与所述 BBU之间的 CPRI数据, 与现有技 术通过在 BBU和 RRU之间专门铺设光纤,用于传输 RRU与 BBU之间的 CPRI 数据的技术相比, 可以利用第一 PE与第二 PE之间的传输线路建立仿真的 CPRI接口, 复用 PE和可以 载多种业务传输的 MPLS 网络, 以实现 CPRI 数据传输, 不需要在 RRU与 BBU之间铺设专用的光纤, 减少了专为 BBU和 RRU之间铺设光纤的铺设成本, 此外, 利用 MPLS网络成熟的维护技术能够 有效的降低 BBU和 RRU之间进行 CPRI数据传输时的维护成本。  According to the data transmission method provided by the embodiment of the present invention, the first PE and the second PE are configured to establish a CPRI pseudowire of the CPRI type, and the first PE and the second PE are respectively associated with the RRU and the BBU, and the CPRI is used. The pseudowire transmits the CPRI data between the RRU and the BBU, and the prior art can utilize the technology by separately laying the optical fiber between the BBU and the RRU for transmitting the CPRI data between the RRU and the BBU. The transmission line between a PE and the second PE establishes a simulated CPRI interface, multiplexes the PE and the MPLS network that can carry multiple service transmissions, so as to implement CPRI data transmission, and does not need to lay a dedicated optical fiber between the RRU and the BBU. The cost of laying the fiber between the BBU and the RRU is reduced. In addition, the mature maintenance technology of the MPLS network can effectively reduce the maintenance cost of the CPRI data transmission between the BBU and the RRU.
参见图 2 , 本发明实施例还提供另一种数据传输方法, 所述另一种数 据传输方法是针对图 1所述的数据传输方法的细化, 所述另一种数据传输 方法包括:  Referring to FIG. 2, an embodiment of the present invention further provides another data transmission method. The another data transmission method is a refinement of the data transmission method described in FIG. 1. The another data transmission method includes:
201、 第一 PE通过 MPLS网络向所述第二 PE发送第一伪线标签映射消 息。  201. The first PE sends a first pseudowire label mapping message to the second PE by using an MPLS network.
其中,所述第一伪线标签映射消息包含 CPRI类型、所述第一 PE的 CPRI 伪线标识、 所述第二 PE的 CPRI伪线标识及第一伪线标签, 以便所述第二 PE匹配所述第一伪线标签映射消息中包含的所述第二 PE的伪线标识, 即 第二 PE将第一伪线标签映射消息中包含的所述第一 PE的伪线标识与第二 PE上预先存储的伪线标识进行匹配, 若匹配成功, 则第二 PE将所述第一 伪线标签映射消息中包含的所述第一伪线标签存储,作为伪线类型为 CPR I 类型的 CPRI伪线的从所述第二 PE到所述第一 PE伪线标签。 这样, 后续 第二 PE再给第一 PE发送 CPRI报文时, 就可以在 CPRI报文中携带该第一 伪线标签, 第一 PE在接收到携带该第一伪线标签的 CPRI报文时便可以将 报文中的 CPRI数据发送给这条 CPRI伪线对应的 RRU了。 其中, 所述第一 伪线标签映射消息中包含的所述第二 PE的 CPRI伪线标识是第一 PE预先 获取并存储的, 可以对第一 PE进行手动配置获得所述第二 PE的 CPRI伪 线标识, 也可以是第一 PE通过动态学习获得所述第二 PE的 CPRI伪线标 识。 The first pseudowire label mapping message includes a CPRI type, a CPRI pseudowire identifier of the first PE, a CPRI pseudowire identifier of the second PE, and a first pseudowire label, so that the second The PE matches the pseudowire identifier of the second PE included in the first pseudowire label mapping message, that is, the second PE identifies the pseudowire identifier of the first PE included in the first pseudowire label mapping message. The first pseudowire label included in the first pseudowire label mapping message is stored by the second PE as a pseudowire type as a CPR I type. From the second PE to the first PE pseudowire label of the CPRI pseudowire. In this way, when the second PE sends the CPRI packet to the first PE, the first PE label can be carried in the CPRI packet, and the first PE receives the CPRI packet carrying the first pseudowire label. The CPRI data in the message can be sent to the RRU corresponding to the CPRI pseudowire. The CPRI pseudowire identifier of the second PE included in the first pseudowire label mapping message is obtained and stored in advance by the first PE, and the first PE may be manually configured to obtain the CPRI of the second PE. The pseudo-line identifier may also be that the first PE obtains the CPRI pseudo-line identifier of the second PE by dynamic learning.
需要说明的是, 所述第一伪线标签映射消息包含转发等价类类型长度 值 (Forward ing Equiva lence C la s s Type Leng th Va lue, FEC TLV)及标 签 TLV。 标签 TLV中包含伪线标签与本发明实施例所述的第一伪线标签相 对应, FEC TLV中包含 FEC单元(FEC E lement)。 当第一伪线标签映射消息 釆用通用伪线标识 FEC 单元时, FEC 单元包含源端接入标识 (Source Acces s Ident i f ier , SAI )和目的端接入标识 ( Target Acces s Ident if ier , TAI ) ,当第一 PE向第二 PE发送为伪线标签映射消息时, SAI和 TAI分别 与第一 PE的 CPRI伪线标识和第二 PE的 CPRI伪线标识相对应;当第二 PE 向第一 PE发送伪线标签映射消息时, SAI和 TAI 分别与第二 PE的 CPRI 伪线标识和第一 PE的 CPRI伪线标识相对应。 当第一伪线标签映射消息釆 用伪线标识 FEC 单元时, FEC 单元包含伪线标识 (Pseudo Wi re Ident i f i ca t ion, PW ID)。 所述第一 PE和第二 PE的 CPRI伪线标识是相 同的, 即 PW ID。 此时, 所述伪线标签映射信息中只包含一个 CPRI伪线标 识。 当第二 PE收到所述伪线标签映射消息时, 将 CPRI伪线标识与本地存 储的所有伪线标识相比较, 存在 CPRI伪线标识, 则匹配成功, 所述 CPRI 伪线与第二 PE端的 CPRI伪线标识绑定, 同时 CPRI伪线与第二 PE相连的 RRU之间的 AC也建立了对应关系。 It should be noted that the first pseudo-line label mapping message includes a forwarding eigen class type length value (Forward ing Equivalence Cla ss Type Length Va lue, FEC TLV) and a tag TLV. The tag TLV includes a pseudo-line tag corresponding to the first pseudo-line tag described in the embodiment of the present invention, and the FEC TLV includes an FEC element (FEC Element). When the first pseudowire label mapping message identifies the FEC unit with a common pseudowire, the FEC unit includes a Source Acces s Ident if ier (SAI) and a Target Acces s Ident if ier. TAI), when the first PE sends a pseudowire label mapping message to the second PE, the SAI and the TAI respectively correspond to the CPRI pseudowire identifier of the first PE and the CPRI pseudowire identifier of the second PE; when the second PE direction When the first PE sends the pseudowire label mapping message, the SAI and the TAI respectively correspond to the CPRI pseudowire identifier of the second PE and the CPRI pseudowire identifier of the first PE. When the first pseudowire label mapping message identifies the FEC unit with a pseudowire, the FEC unit includes a Pseudo Wire Ident If I, (PW ID). The CPRI pseudowire identifiers of the first PE and the second PE are the same, that is, the PW ID. At this time, the pseudowire label mapping information includes only one CPRI pseudowire identifier. When the second PE receives the pseudo-line label mapping message, the CPRI pseudo-line identifier is compared with all the pseudo-line identifiers stored locally, and the CPRI pseudo-line identifier is present, and the matching is successful, the CPRI is successful. The pseudowire is bound to the CPRI pseudowire identifier of the second PE, and the AC between the CPRI pseudowire and the RRU connected to the second PE is also associated.
202、 所述第二 PE通过所述 MPLS网络接收所述第一 PE发送的所述第 一伪线标签映射消息, 所述第一伪线标签映射消息包含所述第一 PE 的 CPRI伪线标识和所述第二 PE的 CPRI伪线标识及第一伪线标签。  202. The second PE receives the first pseudowire label mapping message sent by the first PE by using the MPLS network, where the first pseudowire label mapping message includes a CPRI pseudowire identifier of the first PE. And a CPRI pseudowire identifier of the second PE and a first pseudowire label.
203、 所述第二 PE匹配所述第一伪线标签映射消息中包含的所述第二 PE的 CPRI伪线标识。 若所述匹配成功, 则执行步骤 204 ; 若所述匹配不 成功, 则执行步骤 205。  203. The second PE matches a CPRI pseudowire identifier of the second PE included in the first pseudowire label mapping message. If the matching is successful, step 204 is performed; if the matching is unsuccessful, step 205 is performed.
其中, 当所述第一伪线标签映射消息到达所述第二 PE后, 第二 PE 查看第二 PE本地存储中所有的伪线标识, 所述本地存储中所有的伪线标 识可以包含与第一 PE的 CPRI伪线标识及第二 PE的 CPRI伪线标识不同的 其他 CPRI接入标识。 将第二 PE本地所有 CPRI接入标识与所述第一伪线 标签映射消息中包含的所述第二 PE的 CPRI伪线标识比较, 如果在所述第 二 PE 本地存储中查找到与所述第一伪线标签映射消息中包含的所述第二 PE的 CPRI伪线标识相同的 CPRI接入标识,则所述匹配所述第一伪线标签 映射消息中包含的所述第二 PE的 CPRI伪线标识匹配成功, 将第一伪线标 签映射消息中包含的该伪线标识对应的第一伪线标签存储, 完成了 CPRI 伪线与第二 PE端的 CPRI接入标识绑定, 从而与第二 PE端的 RRU建立了 对应关系。 如果在所述第二 PE 本地存储中没有查找到与所述第一伪线标 签映射信息中包含的所述第二 PE的 CPRI伪线标识相同的伪线标识, 则所 述匹配所述第一伪线标签映射消息中包含的所述第二 PE的 CPRI伪线标识 匹配不成功, CPRI伪线不与第二 PE端的 CPRI接入标识绑定。  After the first pseudowire label mapping message reaches the second PE, the second PE checks all the pseudowire identifiers in the local storage of the second PE, and all the pseudowire identifiers in the local storage may include The CPRI pseudowire identifier of one PE and the CPRI pseudowire of the second PE identify different CPRI access identifiers. Comparing all the CPRI access identifiers of the second PE with the CPRI pseudowire identifiers of the second PE included in the first pseudowire label mapping message, if found in the second PE local storage and The CPRI pseudo-line of the second PE included in the first pseudo-line label mapping message identifies the same CPRI access identifier, and the CPRI of the second PE included in the first pseudo-line label mapping message is matched. The pseudo-line identifier is successfully matched, and the first pseudo-line label corresponding to the pseudo-line identifier included in the first pseudo-line label mapping message is stored, and the CPRI pseudo-line is bound to the CPRI access identifier of the second PE end, thereby The RRU of the second PE establishes a correspondence. If the pseudowire identifier of the same PERI pseudowire identifier of the second PE included in the first pseudowire label mapping information is not found in the second PE local storage, the matching the first The matching of the CPRI pseudowire identifier of the second PE included in the pseudowire label mapping message is unsuccessful, and the CPRI pseudowire is not bound to the CPRI access identifier of the second PE end.
204、 所述第二 PE将所述第一伪线标签映射消息中包含的所述第一伪 线标签存储, 作为从所述第一 PE到所述第二 PE的伪线标签。  204. The second PE stores the first pseudowire label included in the first pseudowire label mapping message as a pseudowire label from the first PE to the second PE.
其中, 当所述第二 PE 匹配所述第一伪线标签映射消息中包含的所述 第一 PE 的伪线标识匹配成功后, 将所述第一伪线标签映射消息中包含的 所述第一伪线标签存储到第二 PE 的存储单元中, 并将存储的所述第一伪 线标签作为 CPRI伪线的从所述第一 PE到所述第二 PE的伪线标签。 此时, 所述 CPRI伪线与第二 PE端的 CPRI伪线标识绑定, 同时 CPRI伪线与第二 PE相连的 RRU之间的 AC也建立了对应关系, 由第二 PE到第一 PE方向的 CPRI伪线建立完成。 After the second PE matches the pseudowire identifier of the first PE included in the first pseudowire label mapping message, the first pseudowire label mapping message includes the first a pseudowire label is stored in the storage unit of the second PE, and the first pseudo is stored The line label serves as a pseudowire label of the CPRI pseudowire from the first PE to the second PE. At this time, the CPRI pseudowire is bound to the CPRI pseudowire identifier of the second PE end, and the AC between the CPRI pseudowire and the RRU connected to the second PE is also established, and the second PE is in the direction of the first PE. The CPRI pseudowire is established.
205、 所述第二 PE通过所述 MPLS网络向所述第一 PE发送伪线标签释 放消息。  205. The second PE sends a pseudowire label release message to the first PE by using the MPLS network.
其中, 当所述第二 PE 匹配所述第一伪线标签映射消息中包含的所述 第二 PE的伪线标识匹配不成功后, 第二 PE不存储所述第一伪线标签映射 消息中包含的所述第一伪线标签, 并且向所述第一 PE发送伪线标签释放 消息, 通知所述第一 PE不再向所述第二 PE发送所述第一伪线标签映射消 息,不能建立由第二 PE到第一 PE方向的 CPRI伪线。  After the second PE matches the pseudowire identifier of the second PE included in the first pseudowire label mapping message, the second PE does not store the first pseudowire label mapping message. Include the first pseudowire label, and send a pseudowire label release message to the first PE, to notify the first PE that the first pseudowire label mapping message is not sent to the second PE, and A CPRI pseudowire is established from the second PE to the first PE direction.
需要说明的是, 建立 CPRI伪线包括建立从第一 PE到第二 PE方向的 CPRI伪线和从第二 PE到第一 PE方向的 CPRI伪线。建立从第一 PE到第二 PE方向的 CPRI伪线和从第二 PE到第一 PE方向的 CPRI伪线没有先后顺序。 其中, 步骤 201-205所述的是所述由第二 PE到第一 PE方向的伪线建立过 程, 所述由第二 PE到第一 PE方向的 CPRI伪线建立完成后, 还需建立由 第一 PE到第二 PE方向的 CPRI伪线, 如图 4所示, 所述建立由第一 PE到 第二 PE方向的 CPRI伪线的建立过程如步骤 206-210所述。  It should be noted that establishing the CPRI pseudowire includes establishing a CPRI pseudowire from the first PE to the second PE direction and a CPRI pseudowire from the second PE to the first PE direction. The CPRI pseudowire from the first PE to the second PE direction and the CPRI pseudowire from the second PE to the first PE direction are not in the order. Steps 201-205 describe the pseudowire establishment process from the second PE to the first PE direction, and after the establishment of the CPRI pseudowire from the second PE to the first PE direction, The CPRI pseudowire of the first PE to the second PE direction is as shown in FIG. 4, and the establishing process of establishing the CPRI pseudowire from the first PE to the second PE direction is as described in steps 206-210.
可以理解的是, 由于各个 PE 上的伪线标签是可以在本地区域内配置 的, 因此步骤 201-205中所述的第一伪线标签和步骤 206-210中所述的第 二伪线标签可能相同也可能不同, 本发明实施例对此不做限定。  It can be understood that, since the pseudowire label on each PE can be configured in the local area, the first pseudowire label described in steps 201-205 and the second pseudowire label described in steps 206-210. The embodiments of the present invention are not limited thereto.
206、 第二 PE通过 MPLS网络向所述第一 PE发送第二伪线标签映射消 息。  206. The second PE sends a second pseudowire label mapping message to the first PE by using an MPLS network.
其中, 所述第二伪线标签映射消息包含所述第一 PE的 CPRI伪线标识 和所述第二 PE的 CPRI伪线标识及第二伪线标签, 以便所述第一 PE 匹配 所述第二伪线标签映射消息中包含的所述第一 PE 的伪线标识, 并在匹配 成功后将所述第二伪线标签映射消息中包含的所述伪线标签存储, 作为伪 线类型为 CPRI类型的 CPRI伪线的从所述第一 PE到所述第二 PE的伪线标 签。 所述第二伪线标签映射消息中包含的所述第一 PE的 CPRI伪线标识, 可以通过对第二 PE进行手动配置获得所述第一 PE的 CPRI伪线标识, 也 可以是第二 PE通过动态学习获得所述第一 PE的 CPRI伪线标识。 The second pseudo-line label mapping message includes a CPRI pseudo-line identifier of the first PE, a CPRI pseudo-line identifier of the second PE, and a second pseudo-line label, so that the first PE matches the first a pseudowire identifier of the first PE included in the second pseudowire label mapping message, and storing the pseudowire label included in the second pseudowire label mapping message as a pseudo after the matching succeeds A line type is a pseudowire label of the CPRI type of CPRI pseudowire from the first PE to the second PE. The CPRI pseudowire identifier of the first PE included in the second pseudowire label mapping message may be obtained by manually configuring the second PE to obtain the CPRI pseudowire identifier of the first PE, or may be the second PE. Obtaining a CPRI pseudowire identifier of the first PE by dynamic learning.
207、 所述第一 PE通过所述 MPLS网络接收所述第二 PE发送的第二伪 线标签映射消息, 所述第二伪线标签映射消息包含第一 PE的 CPRI伪线标 识和所述第二 PE的 CPRI伪线标识及第二伪线标签。  207. The first PE receives, by using the MPLS network, a second pseudowire label mapping message sent by the second PE, where the second pseudowire label mapping message includes a CPRI pseudowire identifier of the first PE, and the first The CPRI pseudowire identifier of the second PE and the second pseudowire label.
208、 所述第一 PE匹配所述第二伪线标签映射消息中包含的所述第一 PE的 CPRI伪线标识。 若所述匹配成功, 则执行步骤 209 ; 若所述匹配不 成功, 则执行步骤 210。  208. The first PE matches a CPRI pseudowire identifier of the first PE included in the second pseudowire label mapping message. If the matching is successful, step 209 is performed; if the matching is unsuccessful, step 210 is performed.
其中, 当所述第二伪线标签映射消息到达所述第一 PE后, 第一 PE 查看第一 PE本地存储中所有的伪线标识, 所述本地存储中所述有的伪线 标识可以包含与第一 PE的 CPRI伪线标识及第二 PE的伪线标识不同的其 他伪线标识。 将第一 PE 本地所有的伪线标识与所述第二伪线标签映射消 息中包含的所述第一 PE的 CPRI伪线标识比较, 如果在所述第一 PE本地 存储中查找到与所述第二伪线标签映射消息中包含的所述第一 PE的 CPRI 伪线标识相同的伪线标识, 则所述匹配所述第二伪线标签映射消息中包含 的所述第一 PE的 CPRI伪线标识匹配成功; 如果在所述第一 PE本地存储 中没有查找到与所述第二伪线标签映射信息中包含的所述第一 PE的 CPRI 伪线标识相同的伪线标识, 则所述匹配所述第二伪线标签映射消息中包含 的所述第一 PE的 CPRI伪线标识匹配不成功。  After the second pseudo-line label mapping message reaches the first PE, the first PE checks all the pseudo-line identifiers in the local storage of the first PE, and the pseudo-line identifiers in the local storage may include Other pseudowire identifiers different from the CPRI pseudowire identifier of the first PE and the pseudowire identifier of the second PE. Comparing all the pseudowire identifiers of the first PE locally with the CPRI pseudowire identifiers of the first PE included in the second pseudowire label mapping message, if found in the first PE local storage and The CPRI pseudo-line of the first PE included in the second pseudo-line label mapping message identifies the same pseudo-line identifier, and the CPRI pseudo of the first PE included in the second pseudo-line label mapping message is matched. If the line identifier is successfully matched, if the same pseudo-line identifier of the CPRI pseudo-line identifier of the first PE included in the second pseudo-line label mapping information is not found in the first PE local storage, Matching the CPRI pseudowire identifier of the first PE included in the second pseudowire label mapping message is unsuccessful.
209、 所述第一 PE将所述第二伪线标签映射消息中包含的所述第二伪 线标签存储, 作为从所述第一 PE到所述第二 PE的伪线标签。  209. The first PE stores the second pseudowire label included in the second pseudowire label mapping message as a pseudowire label from the first PE to the second PE.
其中, 当所述第一 PE 匹配所述第二伪线标签映射消息中包含的所述 第二 PE 的伪线标识匹配成功后, 将所述第二伪线标签映射消息中包含的 所述第二伪线标签存储到第一 PE 的存储单元中, 并将所述存储的所述第 二伪线标签作为所述 CPRI伪线的从所述第一 PE到所述第二 PE的伪线标 签。 此时, 所述 CPRI伪线与第一 PE端的 CPRI伪线标识绑定, 同时 CPRI 伪线与第一 PE相连的 RRU之间的 AC也建立了对应关系, 所述由第二 PE 到第一 PE方向的伪线建立完成。 After the first PE matches the pseudo-line identifier of the second PE included in the second pseudo-line label mapping message, the first pseudo-line label mapping message is included in the second pseudo-line label mapping message. The second pseudowire label is stored in the storage unit of the first PE, and the stored second pseudowire label is used as the pseudoline of the CPRI pseudowire from the first PE to the second PE. Sign. In this case, the CPRI pseudowire is bound to the CPRI pseudowire identifier of the first PE, and the AC between the CPRI and the RRU connected to the first PE is also associated with the second PE. The pseudowire in the PE direction is established.
210、 所述第一 PE通过所述 MPLS网络向所述第二 PE发送伪线标签释 放消息。  210. The first PE sends a pseudowire label release message to the second PE by using the MPLS network.
其中, 当所述第一 PE 匹配所述第二伪线标签映射消息中包含的所述 第一 PE的伪线标识匹配不成功后, 第一 PE不存储所述第二伪线标签映射 消息中包含的所述第一 PE的 CPRI伪线标识, 并且向所述第二 PE发送伪 线标签释放消息, 通知所述第二 PE不再向所述第一 PE发送所述第二伪线 标签映射消息,不能建立由第一 PE到第二 PE方向的 CPRI伪线。  After the first PE matches the pseudowire identifier of the first PE included in the second pseudowire label mapping message, the first PE does not store the second pseudowire label mapping message. Including the CPRI pseudowire identifier of the first PE, and sending a pseudowire label release message to the second PE, notifying the second PE that the second pseudowire label mapping is not sent to the first PE The message cannot establish a CPRI pseudowire from the first PE to the second PE.
在本实施例中, 所述第一 PE与所述第二 PE之间的 CPRI伪线建立成 功后, 通过所述第一 PE与所述第二 PE之间的 CPRI伪线, 可以传输 CPRI 数据, 所述传输 CPRI数据, 如图 5所示, 可以是由第一 PE向第二 PE发 送第一 CPRI数据, 如步骤 211-215所述:  In this embodiment, after the CPRI pseudowire between the first PE and the second PE is successfully established, the CPRI data can be transmitted through the CPRI pseudowire between the first PE and the second PE. The transmitting CPRI data, as shown in FIG. 5, may be that the first PE sends the first CPRI data to the second PE, as described in steps 211-215:
211、所述第一 PE接收与所述第一 PE相连的所述 RRU发送的第一 CPRI 数据。  211. The first PE receives first CPRI data sent by the RRU that is connected to the first PE.
其中, 由于所述第一 PE与第二 PE之间的 CPRI伪线已经建立, 所述 RRU与所述 BBU都已通过 AC与所述第一 PE与第二 PE之间的 CPRI伪线绑 定,所述第一 PE可以通过 AC直接接收到与所述第一 PE相连的所述 RRU发 送的第一 CPRI数据。  The RPI and the BBU have been bound by the CPRI pseudowire between the first PE and the second PE by using the CPRI pseudowire between the first PE and the second PE. The first PE may directly receive the first CPRI data sent by the RRU connected to the first PE by using an AC.
212、 所述第一 PE封装所述第一 CPRI数据得到第一 CPRI报文。  212. The first PE encapsulates the first CPRI data to obtain a first CPRI packet.
其中, 所述封装第一 CPRI数据可以是通过对所述第一 CPRI数据打上 所述第二伪线标签及分组交换网络标签, 所述分组交换网络标签便于所述 第一 CPRI报文在 MPLS网络上进行传输。  The encapsulating the first CPRI data may be performed by marking the first CPRI data with the second pseudowire label and a packet switched network label, where the packet switched network label facilitates the first CPRI packet in an MPLS network. Transfer on.
213、 所述第一 PE向所述第二 PE发送第一 CPRI报文, 所述第一 CPRI 报文中包含所述第一 CPRI数据和所述第二伪线标签, 以便所述第二 PE在 识别所述第二伪线标签后, 将所述第一 CPRI数据转发给所述 BBU。 214、 所述第二 PE接收所述第一 PE发送的第一 CPRI报文, 所述第一 CPRI报文中包含所述第一 CPRI数据和所述第二伪线标签。 213. The first PE sends a first CPRI packet to the second PE, where the first CPRI packet includes the first CPRI data and the second pseudowire label, so that the second PE After identifying the second pseudowire label, forwarding the first CPRI data to the BBU. 214. The second PE receives the first CPRI packet sent by the first PE, where the first CPRI packet includes the first CPRI data and the second pseudowire label.
其中, 当所述第一 PE向所述第二 PE发送的第一 CPRI报文到达所述 第二 PE时, 所述第二 PE接收所述第一 PE发送的所述第一 CPRI报文, 所 述第二 PE将所述第一 CPRI报文的分组交换网络标签去掉, 得到只包含第 二伪线标签与第一 CPRI数据的第一 CPRI报文。  The second PE receives the first CPRI packet sent by the first PE, when the first PE sends the first CPRI packet to the second PE to the second PE. The second PE removes the packet switched network label of the first CPRI packet, and obtains a first CPRI packet that includes only the second pseudowire label and the first CPRI data.
215、 所述第二 PE识别所述第二伪线标签, 并将所述第一 CPRI数据 转发给所述 BBU。  215. The second PE identifies the second pseudowire label, and forwards the first CPRI data to the BBU.
需要说明的是, 所述第一 PE与所述第二 PE之间的 CPRI伪线建立成 功后, 通过所述第一 PE与所述第二 PE之间的 CPRI伪线, 可以传输 CPRI 数据, 所述传输 CPRI数据, 如图 6所示, 还可以是由第二 PE向第一 PE 发送第一 CPRI数据, 如步骤 216-220所述:  It should be noted that after the CPRI pseudowire between the first PE and the second PE is successfully established, the CPRI data may be transmitted through the CPRI pseudowire between the first PE and the second PE. The transmitting the CPRI data, as shown in FIG. 6, may also be that the first PE sends the first CPRI data to the first PE, as described in steps 216-220:
216、所述第二 PE接收与所述第二 PE相连的所述 RRU发送的第二 CPRI 数据。  216. The second PE receives second CPRI data sent by the RRU that is connected to the second PE.
其中, 由于所述第一 PE与第二 PE之间的 CPRI伪线已经建立, 所述 Where the CPRI pseudowire between the first PE and the second PE has been established,
RRU与所述 BBU都已通过所述第一 PE与第二 PE之间的 CPRI伪线绑定,所 述第一 PE可以通过 AC直接接收到与所述第一 PE相连的所述 RRU发送的 第一 CPRI数据。 The RRU and the BBU are both bound by the CPRI pseudowire between the first PE and the second PE, and the first PE may directly receive, by the AC, the RRU sent by the first PE. First CPRI data.
217、 所述第二 PE封装所述第二 CPRI数据得到第二 CPRI报文。  217. The second PE encapsulates the second CPRI data to obtain a second CPRI packet.
其中, 所述封装第二 CPRI数据可以是通过对所述第二 CPRI数据打上 所述第一伪线标签及分组交换网络标签, 所述分组交换网络标签便于所述 第二 CPRI ^艮文在所述 MPLS网络上进行传输。  The encapsulating the second CPRI data may be performed by marking the second CPRI data with the first pseudowire label and a packet switched network label, where the packet switched network label facilitates the second CPRI The transmission is performed on the MPLS network.
218、 所述第二 PE向所述第一 PE发送第二 CPRI报文, 所述第二 CPRI 报文中包含所述第二 CPRI数据和所述第一伪线标签, 以便所述第一 PE在 识别所述第一伪线标签后, 将所述 CPRI数据转发给与所述 BBU。  218. The second PE sends a second CPRI packet to the first PE, where the second CPRI packet includes the second CPRI data and the first pseudowire label, so that the first PE After identifying the first pseudowire label, the CPRI data is forwarded to the BBU.
219、 所述第一 PE接收所述第二 PE发送的第二 CPRI报文, 所述第二 CPRI报文中包含第二 CPRI数据和所述第一伪线标签。 其中, 当所述第二 PE向所述第一 PE发送的第二 CPRI报文到达所述 第一 PE时, 所述第一 PE接收所述第二 PE发送的所述第二 CPRI报文, 所 述第一 PE将所述第二 CPRI报文的分组交换网络标签去掉, 得到只包含第 一伪线标签与第二 CPRI数据的第二 CPRI报文。 219. The first PE receives the second CPRI packet sent by the second PE, where the second CPRI packet includes the second CPRI data and the first pseudowire label. The first PE receives the second CPRI packet sent by the second PE, when the second PE sends the second CPRI packet to the first PE to the first PE. The first PE removes the packet switched network label of the second CPRI packet, and obtains a second CPRI packet that includes only the first pseudowire label and the second CPRI data.
220、 所述第一 PE识别所述第一伪线标签, 并将所述第二 CPRI数据 转发给与所述第一 PE相连的所述 BBU。  220. The first PE identifies the first pseudowire label, and forwards the second CPRI data to the BBU connected to the first PE.
本发明实施例提供的数据传输方法, 通过第一 PE与所述第二 PE建立 伪线类型为 CPRI类型的 CPRI伪线,将第一 PE和第二 PE分别与 RRU和 BBU 相连, 通过所述 CPRI伪线传输所述 RRU与所述 BBU之间的 CPRI数据, 与 现有技术通过在 BBU和 RRU之间专门铺设光纤, 用于传输 RRU与 BBU之间 的 CPRI数据的技术相比, 可以利用第一 PE与第二 PE之间的传输线路建 立仿真的 CPRI接口, 复用 PE和可以 载多种业务传输的 MPLS 网络, 以 实现 CPRI数据传输, 不需要在 RRU与 BBU之间铺专用的设光纤, 减少了 专为 BBU和 RRU之间铺设光纤的铺设成本, 此外, 利用 MPLS网络成熟的 维护技术能够有效的降低 BBU和 RRU之间进行 CPRI数据传输时的维护成 本。  According to the data transmission method of the embodiment of the present invention, the first PE and the second PE are configured to establish a CPRI pseudowire of the CPRI type, and the first PE and the second PE are respectively connected to the RRU and the BBU. The CPRI pseudowire transmits the CPRI data between the RRU and the BBU, and the prior art can utilize the technology for separately distributing the optical fiber between the BBU and the RRU for transmitting the CPRI data between the RRU and the BBU. The transmission line between the first PE and the second PE establishes a simulated CPRI interface, multiplexes the PE and the MPLS network that can carry multiple service transmissions, so as to implement CPRI data transmission, and does not need to lay a dedicated device between the RRU and the BBU. The optical fiber reduces the cost of laying the fiber between the BBU and the RRU. In addition, the mature maintenance technology of the MPLS network can effectively reduce the maintenance cost of the CPRI data transmission between the BBU and the RRU.
参见图 7 , 本发明实施例还提供一种第一 PE30 , 所述第一 PE 30包括: 伪线建立单元 31、 传输单元 32。  Referring to FIG. 7, an embodiment of the present invention further provides a first PE 30, where the first PE 30 includes: a pseudowire establishing unit 31 and a transmitting unit 32.
伪线建立单元 31 , 用于与第二 PE建立伪线类型为通用公共无线接口 CPRI 类型的 CPRI伪线, 所述第一 PE 30与射频拉远单元 RRU相连, 所述 第二 PE与基带处理单元 BBU相连,所述第一 PE30与所述第二 PE处于 MPLS 网络中。  The pseudowire establishing unit 31 is configured to establish, with the second PE, a CPRI pseudowire of a common public radio interface CPRI type, the first PE 30 is connected to the radio remote unit RRU, and the second PE and the baseband are processed. The unit BBU is connected, and the first PE 30 and the second PE are in an MPLS network.
传输单元 32 ,用于通过所述伪线建立单元 31建立的所述 CPRI伪线传 输所述 RRU与所述 BBU之间的 CPRI数据。  The transmitting unit 32 is configured to transmit CPRI data between the RRU and the BBU by using the CPRI pseudowire established by the pseudowire establishing unit 31.
需要说明的是, 所述 RRU和所述 BBU通过所述 CPRI伪线接入到多协 议标签交换 MPLS 网络中。  It should be noted that the RRU and the BBU are connected to the multi-protocol label switching MPLS network through the CPRI pseudowire.
进一步的, 如图 8所示, 所述伪线建立单元 31 可以包括: 建立子单 元 311。 Further, as shown in FIG. 8, the pseudowire establishing unit 31 may include: creating a sub-sheet Yuan 311.
建立子单元 311, 用于通过所述 MPLS网络向所述第二 PE发送第一伪 线标签映射消息, 所述第一伪线标签映射消息包含所述第一 PE30的 CPRI 伪线标识、 所述第二 PE的 CPRI伪线标识及第一伪线标签, 以便所述第二 PE匹配所述第一伪线标签映射消息中包含的所述第二 PE的伪线标识, 并 在匹配成功后将所述第一伪线标签存储, 作为从所述第二 PE 到所述第一 PE30的伪线标签。  The establishing subunit 311 is configured to send, by using the MPLS network, a first pseudowire label mapping message to the second PE, where the first pseudowire label mapping message includes a CPRI pseudowire identifier of the first PE30, and the a CPRI pseudowire identifier of the second PE and the first pseudowire label, so that the second PE matches the pseudowire identifier of the second PE included in the first pseudowire label mapping message, and after the matching is successful, The first pseudowire tag is stored as a pseudowire tag from the second PE to the first PE30.
进一步的, 如图 8所示, 所述伪线建立单元 31还可以包括: 第一接 收子单元 312、 匹配子单元 313、 标签存储子单元 314。  Further, as shown in FIG. 8, the pseudowire establishing unit 31 may further include: a first receiving subunit 312, a matching subunit 313, and a label storage subunit 314.
第一接收子单元 312, 通过所述 MPLS网络接收所述第二 PE发送的第 二伪线标签映射消息, 所述第二伪线标签映射消息包含第一 PE30的 CPRI 伪线标识、 所述第二 PE的 CPRI伪线标识及第二伪线标签;  The first receiving sub-unit 312 receives the second pseudo-line label mapping message sent by the second PE by using the MPLS network, where the second pseudo-line label mapping message includes the CPRI pseudo-line identifier of the first PE 30, and the a CPRI pseudowire identifier of the second PE and a second pseudowire label;
匹配子单元 313, 匹配所述第二伪线标签映射消息中包含的所述第一 PE30的 CPRI伪线标识。  The matching sub-unit 313 matches the CPRI pseudo-line identifier of the first PE 30 included in the second pseudo-line label mapping message.
标签存储子单元 314, 用于当所述匹配子单元 313匹配成功时, 将所 述第一接收子单元 312接收的所述第二伪线标签映射消息中包含的所述第 二伪线标签存储, 作为从所述第一 PE30到所述第二 PE的伪线标签。  a label storage sub-unit 314, configured to store, when the matching sub-unit 313 is successfully matched, the second pseudo-line label included in the second pseudo-line label mapping message received by the first receiving sub-unit 312 As a pseudowire label from the first PE 30 to the second PE.
进一步的, 如图 8所示, 所述伪线建立单元 31还可以包括: 标签释 放子单元 315。  Further, as shown in FIG. 8, the pseudowire establishing unit 31 may further include: a label releasing subunit 315.
标签释放子单元 315, 用于当所述匹配子单元 313匹配不成功时, 通 过所述 MPLS网络向所述第二 PE发送伪线标签释放消息。  The label release subunit 315 is configured to send a pseudowire label release message to the second PE by using the MPLS network when the matching subunit 313 fails to match.
进一步的, 如图 8所示, 所述传输单元 32可以包括: 第二接收子单 元 321、 第一发送子单元 322。  Further, as shown in FIG. 8, the transmission unit 32 may include: a second receiving sub-unit 321 and a first transmitting sub-unit 322.
第二接收子单元 321 ,用于接收与所述第一 PE30相连的所述 RRU发送 的第一 CPRI数据。  The second receiving subunit 321 is configured to receive first CPRI data sent by the RRU connected to the first PE30.
第一发送子单元 322,用于向所述第二 PE发送第一 CPRI报文,所述第 一 CPRI报文中包含由所述第二接收子单元 321接收的所述第一 CPRI数据 和所述标签存储子单元 314 得到的所述第二伪线标签, 以便所述第二 PE 识别所述第二伪线标签后将所述第一 CPRI数据转发给所述 BBU。 The first sending sub-unit 322 is configured to send a first CPRI packet to the second PE, where the first CPRI packet includes the first CPRI data received by the second receiving sub-unit 321 And the second pseudowire label obtained by the label storage subunit 314, so that the second PE identifies the second pseudowire label and forwards the first CPRI data to the BBU.
进一步的, 如图 8所示, 所述传输单元 32还可以包括: 第三接收子 单元 323、 第二发送子单元 324。  Further, as shown in FIG. 8, the transmission unit 32 may further include: a third receiving subunit 323 and a second transmitting subunit 324.
第三接收子单元 323 , 用于接收所述第二 PE发送的第二 CPR I报文, 所述第二 CPRI报文中包含第二 CPRI数据和所述第一伪线标签。  The third receiving sub-unit 323 is configured to receive the second CPR I message sent by the second PE, where the second CPRI message includes the second CPRI data and the first pseudo line label.
第二发送子单元 324 , 用于识别所述第一伪线标签, 并将由所述第三 接收子单元 32 3接收的所述第二 CPR I数据转发给所述 RRU。  The second sending sub-unit 324 is configured to identify the first pseudo-line label, and forward the second CPR I data received by the third receiving sub-unit 32 3 to the RRU.
可选地, 所述第一 PE 30可以为交换机或路由器或其他网络设备。 可选地, 本发明实施例提供的所述第一 PE 30的伪线建立单元 31、 传 输单元 32可以合并为一个或者多个单元; 所述伪线建立单元 31包括的第 一接收子单元 31 2、 匹配子单元 31 3、 标签存储子单元 314和标签释放子 单元 31 5可以合并为一个或多个单元; 所述传输单元 32 包含的第二接收 子单元 321、 第一发送子单元 322、 第三接收子单元 32 3和第二发送子单 元 324可以合并为一个或多个单元。  Optionally, the first PE 30 may be a switch or a router or other network device. Optionally, the pseudowire establishing unit 31 and the transmitting unit 32 of the first PE 30 provided by the embodiment of the present invention may be combined into one or more units; the first receiving subunit 31 included in the pseudowire establishing unit 31. 2. The matching subunit 31 3, the label storage subunit 314, and the label release subunit 31 5 may be combined into one or more units; the second receiving subunit 321 and the first sending subunit 322 included in the transmission unit 32, The third receiving sub-unit 32 3 and the second transmitting sub-unit 324 may be combined into one or more units.
参见图 9 , 本发明实施例还提供另一种第一 PE40 , 所述第一 PE40 包 括: 发送器 41、 处理器 43、 接收器 42和存储器 44。  Referring to FIG. 9, an embodiment of the present invention further provides another first PE 40. The first PE 40 includes: a transmitter 41, a processor 43, a receiver 42, and a memory 44.
处理器 4 3 ,用于与第二 PE建立伪线类型为通用公共无线接口 CPRI 类 型的 CPR I伪线, 所述第一 PE40与射频拉远单元 RRU相连, 所述第二 PE 与基带处理单元 BBU相连,所述第一 PE40与所述第二 PE处于多协议标签 交换 MPLS 网络中。  The processor 43 is configured to establish, with the second PE, a CPR I pseudowire of a common public radio interface CPRI type, the first PE 40 is connected to the radio remote unit RRU, and the second PE and the baseband processing unit are connected. The BBU is connected, and the first PE 40 and the second PE are in a multi-protocol label switching MPLS network.
发送器 41和接收器 42 , 用于通过所述处理器 43建立的所述 CPRI伪 线传输所述 RRU与所述 BBU之间的 CPR I数据。  The transmitter 41 and the receiver 42 are configured to transmit CPR I data between the RRU and the BBU by using the CPRI pseudowire established by the processor 43.
其中, 在所述第一 PE40 和所述第二 PE 之间设置有多协议标签交换 MPLS 网络; 所述 RRU和所述 BBU通过所述 CPRI伪线接在所述 MPLS网络 中传输所述 CPRI数据。  a multi-protocol label switching MPLS network is disposed between the first PE 40 and the second PE; the RRU and the BBU transmit the CPRI data in the MPLS network by using the CPRI pseudowire connection. .
进一步的, 所述发送器 41还用于: 通过所述第一 PE40和所述第二 PE 之间的 MPLS网络向所述第二 PE发送第一伪线标签映射消息, 所述第一伪 线标签映射消息中包含所述第一 PE40的 CPRI伪线标识、 所述第二 PE的 CPRI伪线标识及第一伪线标签, 以便所述第二 PE匹配所述第一伪线标签 映射消息中包含的所述第二 PE的 CPRI伪线标识, 并在匹配成功后将所述 第一伪线标签存储, 作为从所述第二 PE到所述第一 PE40的伪线标签。 Further, the transmitter 41 is further configured to: pass the first PE 40 and the second PE The MPLS network sends a first pseudowire label mapping message to the second PE, where the first pseudowire label mapping message includes the CPRI pseudowire identifier of the first PE40 and the CPRI pseudo of the second PE. a line identifier and a first pseudo-line label, so that the second PE matches the CPRI pseudo-line identifier of the second PE included in the first pseudo-line label mapping message, and the first pseudo is after the matching succeeds The line label is stored as a pseudo line label from the second PE to the first PE 40.
所述接收器 42 , 还用于通过所述第一 PE40和所述第二 PE之间 MPLS 网络接收所述第二 PE发送的第二伪线标签映射消息, 所述第二伪线标签 映射消息中包含第一 PE40的 CPRI伪线标识、 所述第二 PE的 CPRI伪线标 识及第二伪线标签。  The receiver 42 is further configured to receive, by using an MPLS network between the first PE 40 and the second PE, a second pseudowire label mapping message sent by the second PE, where the second pseudowire label mapping message is The CPRI pseudowire identifier of the first PE 40, the CPRI pseudowire identifier of the second PE, and the second pseudowire label are included.
所述处理器 43 , 还用于匹配所述接收器 42接收的第二伪线标签映射 消息中包含的所述第一 PE40的 CPRI伪线标识。  The processor 43 is further configured to match a CPRI pseudowire identifier of the first PE 40 included in the second pseudowire label mapping message received by the receiver 42.
所述存储器 44 , 用于当所述处理器 43匹配成功时, 将所述第二伪线 标签映射消息中包含的所述第二伪线标签存储, 作为从所述第一 PE40 到 所述第二 PE的伪线标签。  The memory 44 is configured to store, when the processor 43 is successfully matched, the second pseudowire label included in the second pseudowire label mapping message as the first PE40 to the first The pseudowire label of the second PE.
进一步的, 所述发送器 41 ,还用于当所述处理器 43的匹配不成功时, 通过所述 MPLS网络向所述第二 PE发送伪线标签释放消息。  Further, the transmitter 41 is further configured to send a pseudowire label release message to the second PE by using the MPLS network when the matching of the processor 43 is unsuccessful.
进一步的, 所述接收器 42 , 还用于接收与所述第一 PE40相连的所述 RRU发送的第一 CPRI数据; 所述发送器 41 , 还用于向所述第二 PE发送第 一 CPRI报文, 所述第一 CPRI报文中包含所述第一 CPRI数据和所述第二 伪线标签, 以便所述第二 PE识别所述第二伪线标签后, 将所述第一 CPRI 数据转发给所述 BBU。  Further, the receiver 42 is further configured to receive the first CPRI data that is sent by the RRU that is connected to the first PE 40, and the transmitter 41 is further configured to send the first CPRI to the second PE. a packet, the first CPRI packet includes the first CPRI data and the second pseudowire label, so that after the second PE identifies the second pseudowire label, the first CPRI data is used. Forwarded to the BBU.
进一步的, 所述接收器 42 , 还用于接收所述第二 PE发送的第二 CPRI 报文, 所述第二 CPRI报文中包含第二 CPRI数据和所述第一伪线标签; 所 述处理器 43 , 还用于识别所述第一伪线标签; 所述发送器 41 , 还用于将 由所述第二 CPRI数据转发给与所述第一 PE40相连的所述 BBU。  Further, the receiver 42 is further configured to receive the second CPRI packet sent by the second PE, where the second CPRI packet includes the second CPRI data and the first pseudowire label; The processor 43 is further configured to identify the first pseudowire label. The transmitter 41 is further configured to forward the second CPRI data to the BBU connected to the first PE40.
可选地, 所述第一 PE40可以为交换机或路由器或其他网络设备。 可选地, 上述第一 PE40的发送器 41、 处理器 43、 接收器 42和存储 器 44可以集成为一个或多个独立的电路或硬件, 如: 专用集成电路(英文 ^ Application Specific Integrated Circuit, 英文简称为 ASIC)。 Optionally, the first PE 40 may be a switch or a router or other network device. Optionally, the transmitter 41, the processor 43, the receiver 42 and the storage of the first PE 40 described above The device 44 can be integrated into one or more independent circuits or hardware, such as: an application specific integrated circuit (English Application Specific Integrated Circuit, ASIC for short).
需要说明的是, 本发明实施例中部分装置的具体描述可以参考方法实 施例中对应的内容, 本发明实施例这里不再——赘述。  It should be noted that the specific description of some devices in the embodiments of the present invention may refer to the corresponding content in the method embodiments, and the embodiments of the present invention are not described herein again.
本发明实施例提供的第一 PE40,通过第一 PE40与所述第二 PE建立伪 线类型为 CPRI类型的 CPRI伪线,将第一 PE40和第二 PE分别与 RRU和 BBU 相连, 通过所述 CPRI伪线传输所述 RRU与所述 BBU之间的 CPRI数据, 与 现有技术通过在 BBU和 RRU之间铺设光纤,用于传输 RRU与 BBU之间的 CPRI 数据的技术相比, 可以利用第一 PE40与第二 PE之间的传输线路建立仿真 的 CPRI接口,复用 PE和可以承载多种业务传输的 MPLS网络,以实现 CPRI 数据传输, 不需要在 RRU与 BBU之间铺设专用的光纤, 减少了专为 BBU和 RRU之间铺设光纤的铺设成本, 此外, 利用 MPLS网络成熟的维护技术能够 有效的降低 BBU和 RRU之间进行 CPRI数据传输时的维护成本。  In the first PE 40, the first PE 40 and the second PE are configured to establish a CPRI pseudowire of the CPRI type, and the first PE 40 and the second PE are respectively connected to the RRU and the BBU. The CPRI pseudowire transmits the CPRI data between the RRU and the BBU, and the prior art can utilize the technology by laying the optical fiber between the BBU and the RRU for transmitting the CPRI data between the RRU and the BBU. A transmission line between the PE 40 and the second PE establishes a simulated CPRI interface, and multiplexes the PE and the MPLS network that can carry multiple service transmissions to implement CPRI data transmission, and does not need to lay a dedicated optical fiber between the RRU and the BBU. The cost of laying the fiber between the BBU and the RRU is reduced. In addition, the mature maintenance technology of the MPLS network can effectively reduce the maintenance cost of the CPRI data transmission between the BBU and the RRU.
参见图 10, 本发明实施例还提供一种数据传输*** 50, 所述数据传 输*** 50包括第一 PE51、 第二 PE52、 RRU53和 BBU54, 所述第一 PE51与 RRU53相连,所述第二 PE52与 BBU54相连,所述第一 PE51与所述第二 PE52 处于 MPLS 网络中, 其中,  Referring to FIG. 10, an embodiment of the present invention further provides a data transmission system 50. The data transmission system 50 includes a first PE 51, a second PE 52, an RRU 53 and a BBU 54. The first PE 51 is connected to the RRU 53 and the second PE 52 is connected. Connected to the BBU 54, the first PE 51 and the second PE 52 are in an MPLS network, where
所述第一 PE51 包括: 第一伪线建立单元 511, 用于与所述第二 PE52 建立伪线类型为通用公共无线接口 CPRI 类型的 CPRI伪线;第一传输单元 512, 用于通过所述第一伪线建立单元 511建立的所述 CPRI伪线传输所述 RRU53与所述 BBU54之间的 CPRI数据;  The first PE 51 includes: a first pseudowire establishing unit 511, configured to establish, with the second PE 52, a CPRI pseudowire of a common public radio interface CPRI type; the first transmitting unit 512, configured to pass the The CPRI pseudowire established by the first pseudowire establishing unit 511 transmits CPRI data between the RRU 53 and the BBU 54;
所述第二 PE52 包括: 第二伪线建立单元 521, 用于与所述第一 PE51 建立所述 CPRI伪线; 第二传输单元 522, 用于通过所述第二伪线建立单元 521建立的 CPRI伪线传输所述 RRU53与所述 BBU54之间的 CPRI数据; 所述 RRU53包括: 第一发送单元 531, 用于通过所述第一 PE51和所述 第二 PE52向所述 BBU54发送 CPRI数据; 第一接收单元 532, 用于接收所 述 BBU54通过所述第二 PE和所述第一 PE发送的 CPRI数据; 所述 BBU54包括: 第二发送单元 541 , 用于通过所述第二 PE52和所述 第一 PE51向所述 RRU53发送 CPRI数据; 第二接收单元 542 , 用于接收所 述 RRU53通过所述第一 PE51和所述第二 PE52发送的 CPRI数据。 The second PE 52 includes: a second pseudowire establishing unit 521, configured to establish the CPRI pseudowire with the first PE 51; and a second transmitting unit 522, configured to be established by the second pseudowire establishing unit 521 The CPRI pseudowire transmits the CPRI data between the RRU 53 and the BBU 54. The RRU 53 includes: a first sending unit 531, configured to send CPRI data to the BBU 54 by using the first PE 51 and the second PE 52; The first receiving unit 532 is configured to receive CPRI data that is sent by the BBU 54 by using the second PE and the first PE. The BBU 54 includes: a second sending unit 541, configured to send CPRI data to the RRU 53 by using the second PE 52 and the first PE 51; and a second receiving unit 542, configured to receive the RRU 53 by using the first The CPRI data sent by the PE 51 and the second PE 52.
如图 1 0中, BBU54与第二 PE52相连, RRU53与第一 PE51相连, 在第 一 PE51与第二 PE52之间建立 CPRI伪线。 当然, 图 1 0中 BBU5 3与 RRU54 的位置也可以互换, 即 BBU54与第一 PE51相连, RRU5 3与第二 PE52相连。  As shown in FIG. 10, the BBU 54 is connected to the second PE 52, and the RRU 53 is connected to the first PE 51, and a CPRI pseudowire is established between the first PE 51 and the second PE 52. Of course, the positions of the BBU 5 3 and the RRU 54 in FIG. 10 are also interchangeable, that is, the BBU 54 is connected to the first PE 51, and the RRU 5 3 is connected to the second PE 52.
本发明实施例提供的数据传输*** 50 , 通过第一 PE51 与所述第二 PE52建立伪线类型为 CPRI 类型的 CPRI伪线, 将第一 PE51 和第二 PE52 分别与 RRU5 3和 BBU54 , 通过所述 CPR I伪线传输所述 RRU5 3与所述 BBU54 之间的 CPR I数据, 与现有技术通过在 BBU和 RRU之间专门铺设光纤, 用 于传输 RRU与 BBU之间的 CPRI数据的技术相比, 可以利用第一 PE51与第 二 PE52之间的传输线路建立仿真的 CPRI接口, 复用 PE和可以承载多种 业务传输的 MPLS网络, 以实现 CPR I数据传输, 不需要在 RRU5 3与 BBU54 之间铺设专用的光纤, 减少了专为 BBU54和 RRU53之间铺设光纤的铺设成 本, 此外, 利用 MPLS网络成熟的维护技术能够有效的降低 BBU54和 RRU53 之间进行 CPRI数据传输时的维护成本。  The data transmission system 50 provided by the embodiment of the present invention establishes a CPRI pseudowire of the CPRI type by using the first PE 51 and the second PE 52, and passes the first PE 51 and the second PE 52 with the RRU 5 3 and the BBU 54 respectively. The CPR I pseudowire transmits the CPR I data between the RRU 5 3 and the BBU 54 , and the prior art uses a special optical fiber between the BBU and the RRU to transmit the CPRI data between the RRU and the BBU. Comparing, the simulated CPRI interface can be established by using the transmission line between the first PE 51 and the second PE 52, and the PE and the MPLS network capable of carrying multiple service transmissions can be multiplexed to implement CPR I data transmission, and the RRU 5 3 and the BBU 54 are not required. The use of dedicated fiber between the two reduces the cost of laying the fiber between the BBU54 and the RRU53. In addition, the mature maintenance technology of the MPLS network can effectively reduce the maintenance cost of CPRI data transmission between the BBU54 and the RRU53.
本发明实施例中提到的第一 PE、 第一伪线标签、 第一伪线标签映射消 息、 第一 CPRI数据、 第一 CPR I报文、 第一接收子单元、 第一发送子单元、 第一伪线建立单元、第一传输单元、第一发送单元和第一接收单元中的 "第 一" 只是用来做名字标识, 并不代表顺序上的第一; 第二 PE、 第二伪线标 签、 第二伪线标签映射消息、 第二 CPR I数据、 第二 CPRI报文、 第二接收 子单元、 第二发送子单元、 第二伪线建立单元、 第二传输单元、 第二发送 单元和第二接收单元中的 "第二" 也只是用来做名字标识, 并不代表顺序 上的第二。  The first PE, the first pseudowire label, the first pseudowire label mapping message, the first CPRI data, the first CPR I packet, the first receiving subunit, and the first sending subunit, which are mentioned in the embodiment of the present invention, The "first" in the first pseudowire establishing unit, the first transmitting unit, the first transmitting unit, and the first receiving unit is only used for name identification, and does not represent the first in sequence; the second PE, the second pseudo a line label, a second pseudo line label mapping message, a second CPR I data, a second CPRI message, a second receiving subunit, a second transmitting subunit, a second pseudowire establishing unit, a second transmitting unit, and a second sending The "second" in the unit and the second receiving unit are also used for name identification only, and do not represent the second in order.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述程序可以存储于一计算机可 读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而 前述的存储介质包括: 只读存储器 ( Read-on ly Memory , ROM ) , 随机存 取存储器(Random-Acce s sMemory, RAM)、 磁碟或者光盘等各种可以存储程 序代码的介质。 A person skilled in the art can understand that all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The steps of the above method embodiments; The foregoing storage medium includes: a read-on memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes.
最后应说明的是: 以上实施例仅用以示例性的说明本发明的技术方 案, 而非对其限制; 尽管参照前述实施例对本发明及本发明带来的有益效 果进行了详细的说明, 本领域的普通技术人员应当理解: 其依然可以对前 述各实施例所记载的技术方案进行修改, 或者对其中部分技术特征进行等 同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明权 利要求的范围。  Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the beneficial effects of the present invention and the present invention are described in detail with reference to the foregoing embodiments, It should be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced; and the modifications or replacements do not deviate from the essence of the corresponding technical solutions. Scope of the claims.

Claims

权 利 要 求 书 Claim
1、 一种数据传输方法, 其特征在于, 包括: A data transmission method, comprising:
第一运营商边缘路由器 PE与第二 PE建立伪线类型为通用公共无线接 口 CPRI类型的 CPRI伪线, 所述第一 PE与射频拉远单元 RRU相连, 所述 第二 PE与基带处理单元 BBU相连,所述第一 PE与所述第二 PE处于多协议 标签交换 MPLS 网络中;  The first carrier edge router PE and the second PE establish a CPRI pseudowire of the common public radio interface CPRI type, the first PE is connected to the radio remote unit RRU, and the second PE and the baseband processing unit BBU are connected. Connected, the first PE and the second PE are in a multi-protocol label switching MPLS network;
所述第一 PE通过所述 CPRI伪线传输所述 RRU与所述 BBU之间的 CPRI 数据。  The first PE transmits CPRI data between the RRU and the BBU through the CPRI pseudowire.
2、 根据权利要求 1 所述的数据传输方法, 其特征在于, 所述第一运 营商边缘路由器 PE与第二 PE建立伪线类型为通用公共无线接口 CPRI类 型的 CPRI伪线, 包括:  The data transmission method according to claim 1, wherein the first operator edge router PE and the second PE establish a CPRI pseudowire with a pseudowire type of a common public radio interface CPRI type, including:
所述第一 PE通过所述 MPLS 网络向所述第二 PE发送第一伪线标签映 射消息 ,所述第一伪线标签映射消息中包含所述第一 PE的 CPRI伪线标识、 所述第二 PE的 CPRI伪线标识及第一伪线标签, 以便所述第二 PE 匹配所 述第一伪线标签映射消息中包含的所述第二 PE的 CPRI伪线标识, 并在匹 配成功后将所述第一伪线标签映射消息中包含的所述第一伪线标签存储, 作为从所述第二 PE到所述第一 PE的伪线标签。  Transmitting, by the first PE, the first pseudowire label mapping message to the second PE by using the MPLS network, where the first pseudowire label mapping message includes a CPRI pseudowire identifier of the first PE, and the The CPRI pseudowire identifier of the second PE and the first pseudowire label, so that the second PE matches the CPRI pseudowire identifier of the second PE included in the first pseudowire label mapping message, and after the matching is successful, The first pseudowire label included in the first pseudowire label mapping message is stored as a pseudowire label from the second PE to the first PE.
3、 根据权利要求 2 所述的数据传输方法, 其特征在于, 所述第一运 营商边缘路由器 PE与第二 PE建立伪线类型为通用公共无线接口 CPRI类 型的 CPRI伪线, 还包括:  The data transmission method according to claim 2, wherein the first operator edge router PE and the second PE establish a CPRI pseudowire with a pseudowire type of a common public radio interface CPRI type, and further includes:
所述第一 PE通过所述 MPLS 网络接收所述第二 PE发送的第二伪线标 签映射消息, 所述第二伪线标签映射消息中包含所述第一 PE的 CPRI伪线 标识、 所述第二 PE的 CPRI伪线标识及第二伪线标签;  Receiving, by the first PE, the second pseudowire label mapping message sent by the second PE by using the MPLS network, where the second pseudowire label mapping message includes a CPRI pseudowire identifier of the first PE, a CPRI pseudowire identifier of the second PE and a second pseudowire label;
所述第一 PE匹配所述第二伪线标签映射消息中包含的所述第一 PE的 The first PE matches the first PE included in the second pseudowire label mapping message
CPRI伪线标识; 若所述匹配成功, 所述第一 PE将所述第二伪线标签映射消息中包含 的所述第二伪线标签存储,作为从所述第一 PE到所述第二 PE的伪线标签。 CPRI pseudowire identification; If the matching is successful, the first PE stores the second pseudowire label included in the second pseudowire label mapping message as a pseudowire label from the first PE to the second PE. .
4、 根据权利要求 3 所述的数据传输方法, 其特征在于, 所述第一运 营商边缘路由器 PE与第二 PE建立伪线类型为通用公共无线接口 CPRI类 型的 CPRI伪线, 还包括:  The data transmission method according to claim 3, wherein the first operator edge router PE and the second PE establish a CPRI pseudowire with a pseudowire type of a common public radio interface CPRI type, and further includes:
若所述匹配不成功, 所述第一 PE通过所述 MPLS 网络向所述第二 PE 发送伪线标签释放消息。  If the matching is unsuccessful, the first PE sends a pseudowire label release message to the second PE by using the MPLS network.
5、 根据权利要求 2至 4任一权利要求所述的数据传输方法, 其特征 在于,所述通过所述 CPRI伪线传输所述 RRU与所述 BBU之间的 CPRI数据, 包括:  The data transmission method according to any one of claims 2 to 4, wherein the transmitting the CPRI data between the RRU and the BBU by using the CPRI pseudowire includes:
所述第一 PE接收所述 RRU发送的第一 CPRI数据;  Receiving, by the first PE, first CPRI data sent by the RRU;
所述第一 PE向所述第二 PE发送第一 CPRI ^艮文, 所述第一 CPRI ^艮文 中包含所述第一 CPRI数据和所述第二伪线标签, 以便所述第二 PE在识别 所述第二伪线标签后, 将所述第一 CPRI数据转发给所述 BBU。  Transmitting, by the first PE, a first CPRI data to the second PE, where the first CPRI data includes the first CPRI data and the second pseudowire label, so that the second PE is in the After identifying the second pseudowire label, forwarding the first CPRI data to the BBU.
6、 根据权利要求 3至 5任一权利要求所述的数据传输方法, 其特征 在于,所述通过所述 CPRI伪线传输所述 RRU与所述 BBU之间的 CPRI数据, 还包括:  The data transmission method according to any one of claims 3 to 5, wherein the transmitting the CPRI data between the RRU and the BBU by using the CPRI pseudowire further includes:
所述第一 PE接收所述第二 PE发送的第二 CPRI报文, 所述第二 CPRI 报文中包含第二 CPRI数据和所述第一伪线标签;  The first PE receives the second CPRI packet sent by the second PE, where the second CPRI packet includes the second CPRI data and the first pseudowire label;
所述第一 PE识别所述第一伪线标签后, 将所述第二 CPRI数据转发给 所述 RRU。  After the first PE identifies the first pseudowire label, the second CPRI data is forwarded to the RRU.
7、 一种第一运营商边缘路由器 PE,其特征在于, 包括:  7. A first carrier edge router PE, characterized in that:
伪线建立单元, 用于与第二 PE 建立伪线类型为通用公共无线接口 a pseudowire establishing unit, configured to establish a pseudowire type with the second PE as a general public radio interface
CPRI 类型的 CPRI伪线, 所述第一 PE与射频拉远单元 RRU相连, 所述第 二 PE与基带处理单元 BBU相连, 所述第一 PE与所述第二 PE处于多协议 标签交换 MPLS 网络中; a CPRI-type CPRI pseudowire, the first PE is connected to the radio remote unit RRU, the second PE is connected to the baseband processing unit BBU, and the first PE and the second PE are in a multi-protocol label switching MPLS network. Medium
传输单元, 用于通过所述伪线建立单元建立的所述 CPRI 伪线传输所 述 RRU与所述 BBU之间的 CPRI数据。 a transmission unit, configured to transmit the CPRI pseudowire by the pseudowire establishing unit The CPRI data between the RRU and the BBU.
8、 根据权利要求 7所述的第一 PE , 其特征在于, 所述伪线建立单元 包括:  The first PE according to claim 7, wherein the pseudowire establishing unit comprises:
建立子单元, 用于通过所述 PMPLS 网络向所述第二 PE发送第一伪线 标签映射消息, 所述第一伪线标签映射消息中包含所述第一 PE的 CPRI伪 线标识、 所述第二 PE的 CPRI伪线标识及第一伪线标签, 以便所述第二 PE 匹配所述第一伪线标签映射消息中包含的所述第二 PE的 CPRI伪线标识, 并在匹配成功后将所述第一伪线标签存储, 作为从所述第二 PE到所述第 一 PE的伪线标签。  Establishing a subunit, configured to send, by using the PMPLS network, a first pseudowire label mapping message to the second PE, where the first pseudowire label mapping message includes a CPRI pseudowire identifier of the first PE, a CPRI pseudowire identifier of the second PE and the first pseudowire label, so that the second PE matches the CPRI pseudowire identifier of the second PE included in the first pseudowire label mapping message, and after the matching succeeds The first pseudowire tag is stored as a pseudowire tag from the second PE to the first PE.
9、 根据权利要求 8所述的第一 PE , 其特征在于, 所述伪线建立单元 还包括:  The first PE according to claim 8, wherein the pseudowire establishing unit further comprises:
第一接收子单元, 用于通过所述 MPLS网络接收所述第二 PE发送的第 二伪线标签映射消息, 所述第二伪线标签映射消息中包含所述第一 PE 的 CPRI伪线标识、 所述第二 PE的 CPRI伪线标识及第二伪线标签;  a first receiving subunit, configured to receive, by using the MPLS network, a second pseudowire label mapping message sent by the second PE, where the second pseudowire label mapping message includes a CPRI pseudowire identifier of the first PE The CPRI pseudowire identifier of the second PE and the second pseudowire label;
匹配子单元, 用于匹配所述第二伪线标签映射消息中包含的所述第一 a matching subunit, configured to match the first one included in the second pseudowire label mapping message
PE的 CPRI伪线标识。 CP's CPRI pseudowire identification.
标签存储子单元, 用于当所述匹配子单元匹配成功时, 将所述第一接 收子单元接收的所述第二伪线标签映射消息中包含的所述第二伪线标签 存储, 作为从所述第一 PE到所述第二 PE的伪线标签。  a label storage subunit, configured to store, when the matching subunits are successfully matched, the second pseudowire label included in the second pseudowire label mapping message received by the first receiving subunit as a slave a pseudowire label of the first PE to the second PE.
10、 根据权利要求 9所述的第一 PE , 其特征在于, 所述伪线建立单元 还包括:  The first PE according to claim 9, wherein the pseudowire establishing unit further comprises:
标签释放子单元, 用于当所述匹配子单元匹配不成功时, 通过所述 MPLS网络向所述第二 PE发送伪线标签释放消息。  And a label release subunit, configured to send a pseudowire label release message to the second PE by using the MPLS network when the matching subunit is unsuccessful.
11、根据权利要求 8至 10任一权利要求所述的第一 PE , 其特征在于, 所述传输单元包括:  The first PE according to any one of claims 8 to 10, wherein the transmission unit comprises:
第二接收子单元, 用于接收所述 RRU发送的第一 CPRI数据; 第一发送子单元,用于向所述第二 PE发送第一 CPRI报文, 所述第一 CPR I报文中包含由所述第二接收子单元接收的所述第一 CPR I数据和所述 标签存储子单元得到的所述第二伪线标签, 以便所述第二 PE在识别所述 第二伪线标签后将所述第一 CPR I数据转发给所述 BBU。 a second receiving subunit, configured to receive first CPRI data sent by the RRU, where the first sending subunit is configured to send a first CPRI packet to the second PE, where the first The CPR I message includes the first CPR I data received by the second receiving subunit and the second pseudo line label obtained by the label storage subunit, so that the second PE identifies the After the second pseudowire label, the first CPR I data is forwarded to the BBU.
12、根据权利要求 9至 1 1任一权利要求所述的第一 PE , 其特征在于, 所述传输单元还包括:  The first PE according to any one of claims 9 to 11, wherein the transmission unit further comprises:
第三接收子单元, 用于接收所述第二 PE发送的第二 CPR I报文, 所述 第二 CPR I报文中包含第二 CPR I数据和所述第一伪线标签;  a third receiving subunit, configured to receive a second CPR I packet sent by the second PE, where the second CPR I packet includes the second CPR I data and the first pseudowire label;
第二发送子单元, 用于在识别所述第一伪线标签后, 将由所述第三接 收子单元接收的所述第二 CPRI数据转发给所述 RRU。  a second sending subunit, configured to forward the second CPRI data received by the third receiving subunit to the RRU after identifying the first pseudowire label.
1 3、 一种数据传输***, 其特征在于, 所述数据传输***包括第一运 营商边缘路由器 PE、 第二 PE、 射频拉远单元 RRU和基带处理单元 BBU; 所 述第一 PE与射频拉远单元 RRU相连, 所述第二 PE与基带处理单元 BBU相 连, 所述第一 PE与所述第二 PE处于多协议标签交换 MPLS 网络中, 其中, 所述第一 PE包括:  A data transmission system, comprising: a first carrier edge router PE, a second PE, a radio remote unit RRU, and a baseband processing unit BBU; the first PE and the radio frequency pull The remote unit is connected to the RRU, and the second PE is connected to the baseband processing unit BBU, and the first PE and the second PE are in a multi-protocol label switching MPLS network, where the first PE includes:
第一伪线建立单元, 用于与所述第二 PE建立伪线类型为通用公共无 线接口 CPRI 类型的 CPR I伪线;  a first pseudowire establishing unit, configured to establish, with the second PE, a CPR I pseudowire with a pseudowire type of a common public radio interface CPRI type;
第一传输单元, 用于通过所述第一伪线建立单元建立的所述 CPRI 伪 线传输所述 RRU与所述 BBU之间的 CPR I数据;  a first transmission unit, configured to transmit CPR I data between the RRU and the BBU by using the CPRI pseudowire established by the first pseudowire establishing unit;
所述第二 PE包括:  The second PE includes:
第二伪线建立单元, 用于与所述第一 PE建立所述 CPR I伪线; 第二传输单元, 用于通过所述第二伪线建立单元建立的 CPRI 伪线传 输所述 RRU与所述 BBU之间的 CPR I数据;  a second pseudowire establishing unit, configured to establish the CPR I pseudowire with the first PE, and a second transmitting unit, configured to transmit, by using the CPRI pseudowire established by the second pseudowire establishing unit, the RRU and the CPR I data between BBUs;
所述 RRU包括:  The RRU includes:
第一发送单元, 用于通过所述第一 PE和所述第二 PE向所述 BBU发送 CPR I数据;  a first sending unit, configured to send CPR I data to the BBU by using the first PE and the second PE;
第一接收单元, 用于接收所述 BBU通过所述第二 PE和所述第一 PE发 送的 CPR I数据; 所述 BBU包括: a first receiving unit, configured to receive CPR I data sent by the BBU by using the second PE and the first PE; The BBU includes:
第二发送单元, 用于通过所述第二 PE和所述第一 PE向所述 RRU发送 CPRI数据;  a second sending unit, configured to send CPRI data to the RRU by using the second PE and the first PE;
第二接收单元, 用于接收所述 RRU通过所述第一 PE和所述第二 PE 发送的 CPRI数据。  And a second receiving unit, configured to receive CPRI data sent by the RRU by using the first PE and the second PE.
PCT/CN2013/075591 2012-09-07 2013-05-14 Data transmission method, first provider edge router and system WO2014036840A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210330122.8 2012-09-07
CN201210330122.8A CN102868610B (en) 2012-09-07 2012-09-07 Data transmission method, the first operator's edge router and system

Publications (1)

Publication Number Publication Date
WO2014036840A1 true WO2014036840A1 (en) 2014-03-13

Family

ID=47447213

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/075591 WO2014036840A1 (en) 2012-09-07 2013-05-14 Data transmission method, first provider edge router and system

Country Status (2)

Country Link
CN (1) CN102868610B (en)
WO (1) WO2014036840A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868610B (en) * 2012-09-07 2016-06-15 华为技术有限公司 Data transmission method, the first operator's edge router and system
WO2015176242A1 (en) * 2014-05-21 2015-11-26 华为技术有限公司 Data transmission method and device, and network system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931548A (en) * 2009-06-24 2010-12-29 华为技术有限公司 Method, apparatus and system for label management of access network
JP2012147193A (en) * 2011-01-11 2012-08-02 Kyocera Corp Base station system
CN102647813A (en) * 2012-04-28 2012-08-22 华为技术有限公司 Wireless communication method and distributed base station system
CN102868610A (en) * 2012-09-07 2013-01-09 华为技术有限公司 Data transmission method and system as well as first provider edge router

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453267B (en) * 2007-12-05 2013-06-26 华为技术有限公司 Data transmission method, system and equipment for optical access network
CN101552711B (en) * 2008-04-03 2011-09-14 华为技术有限公司 Method and device for establishing pseudowire mapping
CN101640815B (en) * 2008-07-29 2013-03-20 华为技术有限公司 Remote transmission method, remote transmission device and remote transmission system for PON
CN102195870A (en) * 2010-03-01 2011-09-21 中兴通讯股份有限公司 Pseudo wire migrating method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931548A (en) * 2009-06-24 2010-12-29 华为技术有限公司 Method, apparatus and system for label management of access network
JP2012147193A (en) * 2011-01-11 2012-08-02 Kyocera Corp Base station system
CN102647813A (en) * 2012-04-28 2012-08-22 华为技术有限公司 Wireless communication method and distributed base station system
CN102868610A (en) * 2012-09-07 2013-01-09 华为技术有限公司 Data transmission method and system as well as first provider edge router

Also Published As

Publication number Publication date
CN102868610B (en) 2016-06-15
CN102868610A (en) 2013-01-09

Similar Documents

Publication Publication Date Title
USRE46195E1 (en) Multipath transmission control protocol proxy
ES2450644T3 (en) Method, device and access network label management system
CN106059994B (en) Data transmission method and network equipment
CN103118064A (en) Method and device of Portal centralized authentication
WO2010037300A1 (en) Mapping method, apparatus and system for data transmission
WO2015027822A1 (en) Communication establishment method, mobile station and transfer device based on transfer mode
WO2012095040A2 (en) Method for transmitting data in passive optical network, user-side equipment, and system
EP3021555B1 (en) Message processing method and device
WO2016101525A1 (en) Method, apparatus and system for managing optical network unit dpu device
US8804749B2 (en) Mechanism for updating parameters of a session set up through a virtual circuit
JP2017532875A (en) Data exchange method, baseband processing unit, wireless remote unit and relay unit
WO2012142753A1 (en) Method and device for monitoring ip bearer network performance
WO2014036840A1 (en) Data transmission method, first provider edge router and system
WO2009117923A1 (en) A method, an apparatus and a communication device for transmitting data
US20130250962A1 (en) Method and apparatus for label distribution
JP6371399B2 (en) Interface parameter synchronization method and apparatus
KR20120011803A (en) Method and apparatus for providing multicast service for mobile node in mobile communication system
CN104639442A (en) Message processing method and message processing device
WO2014121600A1 (en) Downlink message transmitting method in photo-electric mixed system and optical coaxial unit
CN111683307B (en) Method and system for accessing service under OLT (optical line terminal) multi-stage exchange
WO2013075336A1 (en) Communication system, method and device
WO2012171491A1 (en) Media access control address switching method, network equipment, and user equipment
JP5733473B2 (en) Interworking apparatus, method, and program
CN103560940B (en) Data message transmitting method and equipment
CN107979878B (en) A kind of communication means and base station

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

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

Country of ref document: EP

Kind code of ref document: A1