WO2011006403A1 - Method and system for data transmission and provider edge node - Google Patents

Method and system for data transmission and provider edge node Download PDF

Info

Publication number
WO2011006403A1
WO2011006403A1 PCT/CN2010/073711 CN2010073711W WO2011006403A1 WO 2011006403 A1 WO2011006403 A1 WO 2011006403A1 CN 2010073711 W CN2010073711 W CN 2010073711W WO 2011006403 A1 WO2011006403 A1 WO 2011006403A1
Authority
WO
WIPO (PCT)
Prior art keywords
xpon
mac frame
pon
frame
physical layer
Prior art date
Application number
PCT/CN2010/073711
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 WO2011006403A1 publication Critical patent/WO2011006403A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1694Allocation of channels in TDM/TDMA networks, e.g. distributed multiplexers

Definitions

  • the application is submitted to the Chinese Patent Office on July 15, 2009, and the application number is 200910152000. 2.
  • the invention name is "a data transmission method, system and related equipment", And, on August 14, 2009, the Chinese Patent Office, the application number is 200910167099.3, the priority of the invention is "a data transmission method, system and operator edge node", the entire contents of which are incorporated by reference.
  • the present invention relates to the field of communications, and in particular, to a data transmission method and system, and an operator edge node.
  • the Passive Optical Network (P0N) technology is a point-to-multipoint optical access technology, which consists of an Optical Network Unit (ONU), an optical splitter, and an optical path termination point (0LT).
  • 0LT is used as the central office equipment. It is connected to the optical splitter through a trunk fiber. The optical splitter is connected to each ONU through a separate branch fiber. In the downstream direction, the optical splitter realizes the splitting function. The downlink optical signal of the 0LT is sent to all the ONUs. In the uplink direction, the optical splitter implements the optical signal convergence function, and all the optical signals transmitted by the ONU are aggregated and sent to the 0LT through the trunk optical fiber.
  • P0N Passive Optical Network
  • Asynchronous Transfer Mode Asynchronous Transfer Mode
  • BP0N Broadband Passive Optical Network
  • BP0N Broadband Passive Optical Network
  • P0N To Ethernet Passive Optical Network (EP0N, Ethernet PON), Gigabit Passive Optical Network (GP0N, Gigabit PON), 10G EP0N and 10G GP0N, the transmission bandwidth is increasing.
  • the transmission distance of the PON is usually less than 20 kilometers.
  • a data transmission method in the prior art is:
  • the P0N is carried on a Wavelength Division Multiplexing (WDM) network by means of placing the P0N in an optical transport network (0TN, Optical Transport Network), that is, a PON over 0TN, and extending the optical network unit (ONU, Transmission distance between the Optical Network Unit and the Optical Line Termination (OLT).
  • WDM Wavelength Division Multiplexing
  • WDM uses the P2P (Point to Point) technology of color light, that is, whether the WDM device close to the ONU or the WDM device close to the 0LT is colored, it needs to be provided for each wavelength on the WDM device.
  • An optical transceiver, and P2P fiber cannot be shared, so the cost of such a data transmission process is relatively high.
  • P0N for example, GP0N/EP0N
  • P0N usually adopts burst mode.
  • Optical transmission is performed, and the existing 0TN uses WDM equipment for continuous mode optical transmission. Therefore, the data transmission mode of PON over 0TN needs to support burst mode to continuous mode conversion, which is complicated to implement.
  • Embodiments of the present invention provide a data transmission method and system, and an operator edge node, which can effectively reduce data transmission cost, extend optical transmission distance, and reduce implementation complexity.
  • a data transmission method provided by the embodiment of the present invention includes: processing a physical layer signal of a passive optical network P0N to obtain a P0N medium access control MAC frame; processing the PON MAC frame to obtain a next generation passive optical network xPON medium Accessing a control MAC frame, the PON MAC frame is located in a load of the xPON MAC frame; performing xPON physical layer processing on the xPON MAC frame to obtain an xPON physical layer signal, and transmitting the xPON physical layer signal.
  • Another data transmission method provided by the embodiment of the present invention includes: processing an xPON physical layer signal to obtain an xPON MAC frame; reading data in a load of the xPON MAC frame; according to a frame header of the xPON MAC frame The data in the load of the xPON MAC frame is processed to obtain a PON MAC frame; the P0N physical layer processing is performed on the PON MAC frame to obtain a P0N physical layer signal, and the P0N physical layer signal is sent.
  • a data transmission system includes: a user edge node, configured to receive data sent by a user terminal side, and send the data to an operator edge node; the operator edge node is used to
  • the P0N physical layer signal in the data is processed to obtain a PON MAC frame, and the PON MAC frame is processed to obtain an xPON MAC frame, where the PON MAC frame is located in a load of the xPON MAC frame, and the xPON MAC frame is performed.
  • the xPON physical layer processes the xPON physical layer signal and transmits the xPON physical layer signal.
  • Another data transmission system includes: an operator edge node, configured to process an xPON physical layer signal in the received data to obtain an xPON MAC frame, and read a load of the xPON MAC frame. Data, processing data in the load of the xPON MAC frame according to the frame header of the xPON MAC frame to obtain a P0N MAC frame, performing P0N physical layer processing on the PON MAC frame to obtain a P0N physical layer signal, and transmitting the a P0N physical layer signal; a user edge node, configured to receive a P0N physical layer signal sent by the operator edge node.
  • An operator edge node provided by the embodiment of the present invention includes: a P0N physical layer processing unit, configured to process a P0N physical layer signal to obtain a PON MAC frame; and a framing processing unit, configured to process the PON MAC frame Obtaining an xPON MAC frame, where the PON MAC frame is located in a load of the xPON MAC frame, and an xPON physical layer processing unit, configured to perform xPON physical layer processing on the xPON MAC frame to obtain an xPON physical layer signal, and concurrently Sending the xPON physical layer signal.
  • Another carrier edge node includes: an xPON physical layer processing unit, configured to process an xPON physical layer signal to obtain an xPON MAC frame; and a framing processing unit, configured to read the xPON MAC frame Data in the load, processing data in the load of the xPON MAC frame according to the frame header of the xPON MAC frame to obtain a PON MAC frame; a P0N physical layer processing unit, configured to perform P0N physical on the PON MAC frame The layer processing obtains the P0N physical layer signal and transmits the P0N physical layer signal.
  • Another data transmission method provided by the embodiment of the present invention includes: processing service layer data to obtain a passive optical network P0N media access control MAC frame; processing the PON MAC frame to obtain a next generation passive optical network xPON medium Accessing a control MAC frame, the PON MAC frame is located in a load of the xPON MAC frame; performing xPON physical layer processing on the xPON MAC frame to obtain an xPON physical layer signal, and transmitting the xPON physical layer signal.
  • Another data transmission method provided by the embodiment of the present invention includes: processing a received xPON physical layer signal to obtain an xPON MAC frame; reading data in a load of the xPON MAC frame; according to the frame of the xPON MAC frame The header processes the data in the payload of the xPON MAC frame to obtain a PON MAC frame; processing the PON MAC frame to obtain service layer data and transmitting the service layer data.
  • Another carrier edge node includes: at least one PON MAC layer processing unit, configured to process the service layer data to obtain a PON MAC frame; and a first xPON MAC layer processing unit, configured to: The PON MAC frame is processed to obtain an xPON MAC frame, where the PON MAC frame is located in the load of the xPON MAC frame, and the xPON physical layer processing unit is configured to perform xPON physical layer processing on the xPON MAC frame to obtain an xPON physical layer signal. And transmitting the xPON physical layer signal.
  • the technical solution of the embodiment of the present invention can carry a P0N media access control (MAC) frame to the load of the xPON MAC frame, and transmit the xPON MAC frame through the xPON physical layer, so that the data transmission mode of the PON over xPON can be implemented.
  • MAC media access control
  • the xONU device close to the 0NU replaces the WDM device, the xONU device is usually colorless, that is, there is no need to provide an optical transceiver for each wavelength on the xONU, and if P2MP (Point to multipoint, point to multipoint) is used
  • P2MP Point to multipoint, point to multipoint
  • the xPON can also realize the sharing of optical fibers, so it can effectively extend the optical transmission distance and reduce the data transmission cost.
  • FIG. 1 is a schematic structural diagram of a data transmission scheme according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of an embodiment of a data transmission method according to an embodiment of the present invention
  • 3 is a schematic diagram of another embodiment of a data transmission method according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of another embodiment of a data transmission method according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another embodiment of a data transmission method according to an embodiment of the present invention.
  • FIG. 6( a) is a schematic diagram of a PON MAC frame segmentation in an embodiment of the present invention.
  • FIG. 6(b) is a schematic diagram of PON MAC frame recombination according to an embodiment of the present invention.
  • FIG. 7(a) to 7(c) are schematic diagrams of processing a frame header in an embodiment of the present invention.
  • FIG. 8( a) is a schematic diagram of a PON MAC frame segmentation according to an embodiment of the present invention.
  • FIG. 8(b) is a schematic diagram of PON MAC frame recombination according to an embodiment of the present invention.
  • 9(a) to 9(c) are schematic diagrams of processing a frame header in an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of an embodiment of a data transmission system according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of an embodiment of an operator edge node according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of another embodiment of an operator edge node according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of another embodiment of a data transmission method according to an embodiment of the present invention.
  • FIG. 14 is a schematic diagram of another embodiment of a data transmission method according to an embodiment of the present invention.
  • 15 is a schematic diagram of another embodiment of an operator edge node according to an embodiment of the present invention.
  • FIG. 16 is a schematic structural diagram of an xPON MAC frame according to an embodiment of the present invention.
  • DETAILED DESCRIPTION OF THE INVENTION Embodiments of the present invention provide a data transmission method, system, and carrier edge, which are used to reduce data transmission costs and reduce implementation complexity.
  • the solution of the embodiment of the present invention provides a data transmission method of PON over xPON, in which different PON networks are nested, for example, GP0N and next-generation PON (NG-P0N) are nested, where 0NU and 0LT are GP0N devices, and xONU and xOLT are NG-P0N equipment.
  • PON networks for example, GP0N and next-generation PON (NG-P0N) are nested, where 0NU and 0LT are GP0N devices, and xONU and xOLT are NG-P0N equipment.
  • FIG. 1 is a schematic structural diagram of a data transmission scheme according to an embodiment of the present invention.
  • PON n is used to indicate the PON MAC header of the next-level network (for example, TC frame/GEM frame/EP0N MAC frame), and "PON n+1" is used to indicate the PON MAC header of the upper-level network.
  • the next-level network is represented as P0N in this embodiment
  • the upper-level network is represented as xP0N in this embodiment
  • the xPON may be NG-P0N (such as NG-GP0N, NG-EP0N) or WDM PON, PON over xPON ( The PON is carried over xPON) to implement different PON network nesting.
  • xONU and xOLT can be owned by the first operator
  • 0LT1 can be owned by the second operator
  • 0LT2 can be owned by the third operator
  • the xPON network can be used for multiple operators. Shared.
  • xOLT and OLTl-OLTn can be implemented on the same physical device.
  • the Customer Edge Node (CE-Node, Customer Edge Node) is usually composed of 0NU/0NT/0LT of the next-level network and is located at the edge of the user network.
  • the Provider Edge Node is usually composed of xONU/xOLT devices and is located at the edge of the carrier network. It is used to add the xPON connection identifier (PON n+1 added) or remove the xPON connection identifier (P0N n+1). Removed ) to aggregate the PON-based connection between the CE-Node and the CE-Node (PON-based Connection, hereinafter referred to as the P0N connection), and the xPON-based tunnel between the PE-Node and the PE-Node (xPON) -based Tunnel ), which ultimately forms a complete P0N-based connection between the CE-Node and the CE-Node.
  • PON n+1 added
  • P0N n+1 xPON connection identifier
  • the data transmission of the PON over xPON in the embodiment of the present invention is divided into uplink transmission from the CE node to the PE node and downlink transmission from the PE node to the CE node, which are respectively introduced below:
  • an embodiment of a data transmission method in an embodiment of the present invention includes:
  • the PE node processes the P0N physical layer signal sent by the CE node to obtain the PON MAC frame.
  • the PON MAC frame in this embodiment may be a Transmission Convergence (TC) frame, a Gigabit Passive Optical Network Encapsulation Method (GEM), or an EP0N MAC frame, or other
  • TC Transmission Convergence
  • GEM Gigabit Passive Optical Network Encapsulation Method
  • EP0N MAC frame or other
  • a type of PON MAC frame is not limited herein.
  • the process of the PE node processing the P0N physical layer signal to obtain the PON MAC frame is a common knowledge of the person skilled in the art, which is not limited herein.
  • the PON MAC frame may be processed to obtain an xPON MAC frame, and the PON MAC frame may be carried in the xPON MAC frame.
  • the specific processing manner will be described in detail in the subsequent embodiments.
  • the xPON MAC frame is processed by the xPON physical layer to obtain the xPON physical layer signal, and the xPON physical layer signal is sent to the PE node at the other end, so that the PON MAC frame can be carried.
  • xPON MAC frames are transmitted in xPON.
  • the PE node may carry the PON MAC frame in the load of the xPON MAC frame, that is, according to the PON MAC.
  • the frame generates an xPON MAC frame, and the xPON MAC frame is transmitted through the xPON physical layer, so that the data transmission mode of the PON over xPON can be realized, the optical transmission distance is extended, and the data transmission cost is reduced; and the data transmission mode of the PON over xPON in this embodiment There is no need to support burst mode to continuous mode conversion, which can reduce implementation complexity.
  • another embodiment of the data transmission method in the embodiment of the present invention includes:
  • Step 301 in this embodiment is the same as step 201 in the embodiment shown in FIG. 2, and details are not described herein again.
  • the length of the PON MAC frame can be determined after the PON MAC frame is acquired.
  • a length threshold is set in advance, and the length threshold includes a maximum length threshold and a minimum length threshold, and the length threshold may be related to the load size of the xPON MAC frame, or may be related to other parameters, which is not limited herein.
  • the length can be compared to the maximum length threshold and the minimum length threshold.
  • the specific comparison process can be:
  • the PON MAC frame is segmented, and the length of each segment of the P0N MAC frame is greater than or equal to the minimum length threshold.
  • the xPON MAC frame may be generated according to the segmented or reassembled data.
  • the specific generation process may be:
  • the reassembled PON MAC frame is completely mapped to the load of the xPON MAC frame.
  • the full mapping described herein refers to completely copying the frame header and payload of the PON MAC frame to the xPON MAC. a portion of the load of the frame;
  • each PON MAC frame includes the frame header of the PON MAC frame and the respective segment payload, and then each segmented PON MAC frame is mapped separately.
  • To different xPON The load of the MAC frame;
  • an xPON MAC frame is generated by adding a frame header to the payload of the xPON MAC frame.
  • the frame header is a TC frame header. If the PON MAC frame is a GEM frame, the frame header is a GEM frame header, and if the PON MAC frame is an EPON MAC frame, The frame header is an EPON MAC frame preamble;
  • the frame header is an xGEM frame header, which includes a PLI (PDU Length Indicator), a port identifier (Port ID), and a payload type indication (PTI, PDU Type Indicator). Service Type (Type) and Header Error Control (HEC), where Port ID indicates the PON port identifier.
  • PLI PDU Length Indicator
  • PDU ID port identifier
  • PTI PDU Type Indicator
  • PTI PDU Type Indicator
  • PDU Type Indicator Service Type
  • HEC Header Error Control
  • the least significant bit of the PTI is used to indicate whether the GEM data frame is the last segment in the segmentation process. For example, setting the PTI to "000" indicates that the segment is not the last segment, assuming PTI is "001" Indicates that the segment is the last segment.
  • a domain of the frame header of the xGEM (such as a PTI field) is used to indicate that the PON MAC frame is reassembled. For example, when the PTI is 111, the load of the xGEM is a reassembly of multiple PON MAC frames.
  • a domain of the xGEM frame header (such as a Type field) may be used to indicate a payload service type of the xGEM frame.
  • the payload may be a TC/GEM frame of the GP0N or an LLID identifier of the EP0N.
  • the EPON MAC frame may also be a TC/xGEM frame of the NG-GP0N or an NG-EP0N MAC frame identified by the LLID of the NG-EP0N.
  • the frame header is an Ethernet MAC frame header with an NG-EP0N frame preamble.
  • the payload service type of the NG-EP0N MAC frame may also be indicated by extending a certain field of the frame header of the NG-EP0N MAC frame, such as an EthernetType (domain type) field or a subtype (subtype) field.
  • the payload may be a TC/GEM frame of the GP0N or an EPON MAC frame identified by the LLID of the EP0N, or a TC/xGEM frame of the NG-GP0N or an NG-EP0N MAC frame identified by the LLID of the NG-EP0N.
  • the NG-EP0N MAC frame preamble may be used to indicate reassembly of the PON MAC frame.
  • the PON MAC frame before processing by the PE node may be referred to as "C-P0N (Customer P0N)", and the corresponding GP0N encapsulation mode port identifier (GPID, GEM Port ID) / logical link identifier (LLID, Logical) Link Identifier) is the inner connection identifier (ie PON-based Connection), GP0N is called “C-GEM (Customer GEM or Inner GEM)", and EPON is called “C-LLID (Customer LLID or Inner LLID)” ;
  • the xPON MAC frame processed by the PE node may be referred to as "S-P0N (Service PON)", the added xPON connection identifier is the outer connection identifier (ie, the xPON-based Tunnel identifier), and the NG-GP0N is called “S- GEM (Service GEM or Outer GEM)", for NG-EP0N called “S-LLID (Service LLID or Outer LLID) ".
  • S-P0N Service PON
  • the added xPON connection identifier is the outer connection identifier (ie, the xPON-based Tunnel identifier)
  • the NG-GP0N is called “S- GEM (Service GEM or Outer GEM)”
  • S-LLID Service LLID or Outer LLID
  • the GEM frame is a C-GEM frame
  • the EPON MAC frame is the frame where the C-LLID is located
  • the xGEM frame is the S-GEM frame
  • the NG-EPON MAC frame is the frame where the S-LLID is located.
  • an xGEM frame header may be added to the PON MAC frame to obtain an xGEM frame, and a PON-based Connection may be aggregated into the xPON-based tunnel, thereby implementing a TC/GEM/EPON MAC frame over xGEM (TC/ GEM frame/EPON MAC frame is carried in xGEM frame);
  • an Ethernet frame header with an NG-EPON MAC frame preamble can be added to the PON MAC frame to obtain an NG-EPON MAC frame, and the PON-based Connection is aggregated into the xPON-based Tunnel to implement the TC. /GEM/EPON MAC frame over NG-EPON MAC frame.
  • Step 304 in this embodiment is the same as step 203 in the embodiment shown in FIG. 2, and details are not described herein again.
  • the PE node xONU can reassemble or segment the PON MAC frame, generate an xPON MAC frame according to the reassembled or segmented data, and transmit the xPON MAC frame through the xPON physical layer, thereby implementing PON over xPON data.
  • the transmission mode because the xONU device close to the 0NU replaces the WDM device in the 0TN, and the xONU device is usually colorless, and does not need to provide an optical transceiver for each wavelength on the xONU, thereby effectively extending the optical transmission distance.
  • the data transmission cost of the PON over xPON in this embodiment does not need to support the transition from the burst mode to the continuous mode, which can reduce the implementation complexity.
  • another embodiment of the data transmission method in the embodiment of the present invention includes:
  • the PE node processes the received xPON physical layer signal to obtain an xPON MAC frame.
  • the xPON MAC frame in this embodiment may be an xTC frame (a TC frame of an NG GP0N), an xGEM frame, an NG-EPON MAC frame, or another type of xPON MAC frame, which is not limited herein.
  • the process of processing the received xPON physical layer signal by the PE node to obtain the xPON MAC frame is a common knowledge of those skilled in the art, which is not limited herein.
  • the PON MAC frame After obtaining the xPON MAC frame, in order to implement downlink transmission from the PE to the CE, the PON MAC frame needs to be acquired from the xPON MAC frame, because in the uplink transmission from the CE to the PE, the PON MAC frame is located in the load of the xPON MAC frame. Medium, so the data in the payload of the xPON MAC frame can be read first.
  • the PON MAC frame can be read from the frame header of the xPON MAC frame, and the specific manner will be described in detail in the following embodiments.
  • the PON MAC frame can be processed by the P0N physical layer.
  • the P0N physical layer signal transmits the P0N physical layer signal to the CE node, so that the PON MAC frame can be transmitted from the xPON to the P0N.
  • the PE node reads the PON MAC frame from the load of the xPON MAC frame, and transmits the P0N MAC frame through the P0N physical layer, thereby implementing the data transmission mode of the PON over xPON, extending the optical transmission distance, and reducing the data transmission. Cost; and the data transmission mode of the PON over xPON in this embodiment does not need to support the transition from burst mode to continuous mode, and the implementation complexity can be reduced.
  • another embodiment of the data transmission method in the embodiment of the present invention includes:
  • the PE node xONU acquires an xPON physical layer signal transmitted from the PE node xOLT at the other end, and processes the xPON physical layer signal to obtain an xPON MAC frame.
  • 502 ⁇ 503 segment or reassemble data in the payload of the xPON MAC frame according to the frame header of the xPON MAC frame, and delete the frame header of the xPON MAC frame to obtain the PON MAC frame.
  • the PE node xONU After acquiring the data in the payload of the xPON MAC frame, the PE node xONU can segment or reassemble the data in the payload of the xPON MAC frame according to the frame header of the xPON MAC frame, and delete the frame header of the xPON MAC frame.
  • the IJ P0N MAC frame To the IJ P0N MAC frame, there are the following cases:
  • the frame header of the xPON MAC frame indicates that the payload is a PON MAC frame, and the load of one xPON MAC frame includes multiple complete PON MAC frames
  • the frame header of the xPON MAC frame is deleted, and according to the load of the xPON MAC frame
  • the header of the PON MAC frame segments the data in the payload of the xPON MAC frame to obtain multiple PON MAC frames:
  • a domain of the xGEM frame header (such as a Type field) may be used to indicate the payload service type of the xGEM frame, or by extending a certain field of the frame header of the NG-EPON MAC frame, such as an EthernetType domain. Or subtype (subtype) field, to indicate the payload service type of the NG-EPON MAC frame.
  • the received xPON MAC frame is an xGEM frame
  • the PTI in the frame header of the xGEM frame is 111
  • a plurality of PON MAC frames can be determined by dividing the header of the PON MAC frame in the payload of the xGEM frame.
  • the received xPON MAC frame is an xGEM frame
  • the PTI in the frame header of the xGEM frame is 000
  • the PTI is 001
  • the frame header of the xGEM frame is deleted, and the data of the load is combined and combined to obtain a PON MAC frame.
  • the foregoing xPON MAC frame may be an xGEM frame, or an NG-EP0N MAC frame
  • the foregoing P0N MAC frame may be a TC frame, or a GEM frame, or an EP0N MAC frame.
  • the xGEM frame header may be removed from the xGEM frame processed by the xPON physical layer, and the PON-based Connection may be separated from the xPON-based tunnel, thereby implementing the TC/GEM/EP0N MAC frame over xGEM.
  • TC/GEM frame/EP0N MAC frame is carried in xGEM frame
  • the NG-EP0N MAC frame preamble can be deleted from the NG-EP0N MAC frame processed by the NG-EP0N physical layer to obtain the TC/GEM frame/EP0N MAC frame, which is sent out from the xPON-based tunnel.
  • PON-based Connection thus implementing TC/GEM/EP0N MAC frame over NG-EP0N MAC frame.
  • Step 504 in this embodiment is the same as step 404 in the embodiment shown in FIG. 4, and details are not described herein again.
  • the xONU receives the xPON physical layer signal from the xOLT, converts the xPON physical layer signal into an xPON MAC frame, reads the PON MAC frame from the load of the xPON MAC frame, and transmits the P0N MAC through the P0N physical layer.
  • the frame can implement the data transmission mode of PON over xPON, and since the xONU device close to the ONU replaces the WDM device in the 0TN, and the xONU device is usually colorless, there is no need to provide an optical transceiver for each wavelength on the xONU. Therefore, the optical transmission distance can be effectively extended, and the data transmission cost can be reduced; and the data transmission mode of the PON over xPON does not need to support the transition from the burst mode to the continuous mode, which can reduce the implementation complexity.
  • the PON MAC frame is a TC/GEM/EP0N MAC frame
  • the xPON MAC frame is an xGEM frame
  • Step a2 in this embodiment may include two steps of mapping and framing:
  • Figure 6 (a) shows the schematic diagram of the segmentation process.
  • the TC/EPON MAC frame is divided into multiple segments, and the TC/EPON MAC of each segment.
  • the frame data is respectively mapped to a load portion of an xGEM frame, and each segment is duplicated with a TC frame header/EPON MAC frame preamble;
  • Figure 6 (b) shows a schematic diagram of reassembly processing. Multiple TC/EPON MAC frames are simply combined, and their respective TC header/EPON MAC frame preambles are reserved and mapped to the payload portion of an xGEM frame.
  • Each segment or reassembly adds an xGEM frame header to form an xGEM frame.
  • the TC/GEM/EPON MAC frame data of each segment or reassembly is mapped to the payload part of the xGEM frame, and then the xGEM frame header is added, and the Type field is filled in to indicate that the load is TC/ GEM/EPON MAC frame, fill in the PTI to indicate segmentation or reassembly, that is, constitute an xGEM frame.
  • the TC/GEM/EPON MAC frame is processed by the P0N physical layer and sent to the CE.
  • the frame header of the xGEM frame needs to be processed in both the uplink and downlink directions.
  • the specific processing procedure can be as shown in Figure 7 (a) to Figure 7 (c):
  • Figure 7 (a) shows the uplink data transmission mode of EPON MAC over xGEM (similar to the downlink), where xONU does the processing of adding xGEM headers, and xOLT does the processing of removing xGEM headers.
  • Figure 7 (b) shows the uplink data transmission mode of TC over xGEM.
  • the xONU performs the processing of adding the xGEM frame header, and the xOLT performs the processing of removing the xGEM frame header.
  • Figure 7 (c) shows the downlink data transmission mode of TC over xGEM, where xOLT does the processing of adding xGEM frame headers, and xONU does the processing of removing xGEM frame headers.
  • the PON MAC frame is a TC/GEM/EPON MAC frame
  • the xPON MAC frame is an NG-EP0N MAC frame
  • Step a2 in this embodiment may include two steps of mapping and framing:
  • FIG. 8( a ) is a schematic diagram of segmentation processing, and the TC/GEM frame is divided into multiple segments, and the TC/GEM frames of each segment are shown. The data is mapped to the payload portion of an NG-EPON MAC frame, and each segment is duplicated with a TC/GEM frame header.
  • Figure 8 (b) shows a schematic diagram of the reassembly process. Multiple TC/GEM frames are simply combined, and the respective TC/GEM frame headers are reserved and mapped to the payload portion of an NG-EPON MAC frame.
  • A22 Add an Ethernet frame header with an NG-EPON MAC frame preamble for each segment or reassembly, fill in the EthernetType field to indicate that the payload is a TC/GEM/EP0N MAC frame, and modify the preamble to indicate segmentation or reassembly to form an NG. - EPON MAC frame.
  • each segment or recombined TC/GEM frame data is mapped to NG-EP0N.
  • the payload portion of the MAC frame is further added with an Ethernet frame header with an NG-EPON MAC frame preamble, which constitutes an NG-EP0N MAC frame.
  • An NG-EPON MAC frame preamble includes LLID delimiter start (SLD, 8 bits), LLID (16 bits), and cyclic redundancy check (CRC, 8 bits).
  • Ethernet frame header with the NG-EPON MAC frame preamble is removed to obtain the TC/GEM/EP0N MAC frame.
  • the frame header of the NG-EPON MAC frame needs to be processed in both the uplink and downlink directions.
  • the specific processing procedure can be as shown in Figure 9 (a) to Figure 9 (c):
  • Figure 9 (a) shows the uplink data transmission mode of the GEM over NG-EPON MAC (similar to the downlink).
  • the xONU adds the NG-EPON MAC header, and the xOLT removes the NG-EP0N MAC header.
  • Figure 9 (b) shows the uplink data transmission mode of TC over NG-EPON MAC, where xONU adds NG-EP0N
  • xOLT does the processing of removing the NG-EPON MAC frame header.
  • Figure 9 (c) shows the downlink data transmission mode of the TC over NG-EPON MAC.
  • the xOLT performs the processing of adding the NG-EP0N MAC frame header, and the xONU performs the processing of removing the NG-EPON MAC frame header.
  • the data transmission system in the embodiment of the present invention includes:
  • the user edge node 1001 is configured to receive data sent by the user terminal, and pass the data through the P0N physical layer. The number is sent to the operator edge node 1002;
  • the operator edge node 1002 is configured to process the P0N physical layer signal sent by the user edge node 1001 to obtain a PON MAC frame sent by the user edge node 1001, and process the PON MAC frame to obtain an xPON MAC frame, so that the PON MAC frame is located at the xPON MAC.
  • the xPON physical layer is processed by the xPON physical layer to obtain the xPON physical layer signal, and the xPON physical layer signal is transmitted.
  • the user edge node 1001 may include 0NU and 0LT
  • the operator edge node 1002 may include xOUN and x0LT.
  • the PON MAC frame and the xPON MAC frame in this embodiment have the same meanings as the PON MAC frame and the xPON MAC frame in the foregoing embodiment, and are not described herein again.
  • the uplink data transmission mode of the user edge node 1001 to the operator edge node 1002 is described in this embodiment.
  • the following describes the downlink data transmission mode from the operator edge node 1002 to the user edge node 1001.
  • the present invention is also provided.
  • Another embodiment of the communication system in the embodiment includes:
  • the operator edge node 1002 is configured to process the received xPON physical layer signal to obtain an xPON MAC frame, read data in a load of the xPON MAC frame, and use data in a load of the xPON MAC frame according to a frame header of the xPON MAC frame. Processing to obtain a PON MAC frame, performing a P0N physical layer processing on the PON MAC frame to obtain a P0N physical layer signal, and transmitting a P0N physical layer signal;
  • the user edge node 1001 is configured to receive a P0N physical layer signal sent by the operator edge node 1002.
  • the user edge node 1001 may include 0NU and 0LT
  • the operator edge node 1002 may include xOUN and x0LT.
  • the PON MAC frame and the xPON MAC frame in this embodiment are the PON MAC frame and the xPON in the foregoing embodiment.
  • the operator edge node 1002 can convert the PON MAC frame and the xPON MAC frame to each other, and can transmit the xPON MAC frame through the xPON physical layer and transmit the PON MAC frame through the P0N physical layer, thereby realizing
  • the data transmission mode of the PON over xPON extends the optical transmission distance and effectively reduces the data transmission cost. Moreover, the data transmission mode of the PON over xPON in this embodiment does not need to support the burst mode to the continuous mode conversion, which can reduce the implementation complexity.
  • an embodiment of a carrier edge node in the embodiment of the present invention includes:
  • the P0N physical layer processing unit 1101 is configured to process a P0N (for example, GP0N or EP0N) physical layer signal to obtain a PON MAC frame.
  • a P0N for example, GP0N or EP0N
  • a framing processing unit 1103, configured to process a PON MAC frame to obtain an xPON MAC frame, and a PON MAC frame bit In the load of the xPON MAC frame;
  • an xGEM frame header can be added to a PON MAC frame to obtain an xGEM frame, and a PON-based Connection can be aggregated into an xPON-based tunnel to implement a TC/GEM/EPON MAC frame over xGEM (TC/GEM frame/EPON).
  • the MAC frame is carried in the xGEM frame);
  • an Ethernet frame header with an NG-EPON MAC frame preamble can be added to the PON MAC frame to obtain an NG-EPON MAC frame, and the PON-based Connection is aggregated into the xPON-based tunnel.
  • the xPON physical layer processing unit 1104 is configured to perform xPON (for example, 10G-GP0N or 10G-EP0N) physical layer processing on the xPON MAC frame, obtain an xPON physical layer signal, and send the xPON physical layer signal.
  • xPON for example, 10G-GP0N or 10G-EP0N
  • the multiplexing unit 1102 is configured to segment or reassemble the PON MAC frame according to the relationship between the length of the PON MAC frame obtained by the P0N physical layer processing unit 1101 and the preset length threshold, and the segmented or reassembled PON MAC The frame is sent to the framing processing unit 1103 for processing.
  • the uplink data transmission mode from the CE node to the PE node is described.
  • the following describes a specific application scenario:
  • the P0N physical layer processing unit 1101 processes the P0N physical layer signal to obtain the P0N MAC frame.
  • the multiplexing unit 1102 can determine its length, compare the length with a preset maximum length threshold and a minimum length threshold, and segment or reassemble the PON MAC frame according to the comparison result.
  • the maximum length threshold and the minimum length threshold are preset values, which are related to the actual application, and are not limited herein.
  • the framing processing unit 1103 may generate an xPON MAC frame according to the segmented or recombined data, and the specific generation process is described in the foregoing method embodiment shown in FIG. The generation process is consistent and will not be described here.
  • the xPON physical layer processing unit 1104 can perform the xPON physical layer processing on the xPON MAC frame to obtain the xPON physical layer signal, and send the xPON physical layer signal, thereby implementing carrying the PON.
  • the xPON MAC frame of the MAC frame is transmitted in xPON.
  • the multiplexing unit 1102 may reassemble or segment the P0N MAC frame, and the framing processing unit 1103 Generating an xPON MAC frame according to the reassembled or segmented data, and the xPON physical layer processing unit 1104 transmits the xPON MAC frame through the xPON physical layer, so that the data transmission mode of the PON over xPON can be implemented, and the data transmission cost is effectively reduced; In the example, the data transmission mode of PON over xPON does not need to support burst mode to continuous mode conversion, which can reduce implementation complexity.
  • another embodiment of the carrier edge node in the embodiment of the present invention includes:
  • the xPON physical layer processing unit 1201 is configured to process an xPON (for example, 10G-GP0N or 10G-EP0N) physical layer signal to obtain an xPON MAC frame;
  • an xPON for example, 10G-GP0N or 10G-EP0N
  • the framing processing unit 1203 is configured to read data in the payload of the xPON MAC frame, and process the data in the payload of the xPON MAC frame according to the frame header of the xPON MAC frame to obtain a PON MAC frame;
  • the xGEM frame header can be removed from the xGEM frame processed by the xPON physical layer, and the PON-based Connection can be separated from the xPON-based Tunnel, thereby implementing the TC/GEM/EP0N MAC frame over xGEM (TC/GEM).
  • Frame/EPON MAC frame is carried in xGEM frame);
  • the NG-EP0N MAC frame preamble can be deleted from the NG-EP0N MAC frame processed by the NG-EP0N physical layer to obtain a TC/GEM frame/EPON MAC frame, which is divided into xPON-based tunnels.
  • a PON-based Connection is issued to implement a TC/GEM/EP0N MAC frame over NG-EP0N MAC frame.
  • the PON physical layer processing unit 1204 is configured to perform P0N (for example, GP0N or EP0N) physical layer processing on the PON MAC frame, obtain a P0N physical layer signal, and send the P0N physical layer signal;
  • P0N for example, GP0N or EP0N
  • the GPM sublayer function of the GP0N is completed.
  • the P0N data link layer frame is a GTC TC frame
  • the preamble of the GTC TC frame needs to be regenerated.
  • the PHY layer function of the EP0N is completed, including the PDM and the PMA.
  • the PCS and P0N data link layer frames are EPON MAC frames
  • the preamble of the EPON MAC frame needs to be regenerated.
  • the demultiplexing unit 1202 is configured to segment or recombine data in the payload of the xPON MAC frame obtained by the xPON physical layer processing unit 1201, and send the segmented or reassembled data to the framing processing unit 1203 for processing.
  • the uplink data transmission mode from the PE node to the CE node is described in this embodiment. To facilitate understanding, the following describes a specific application scenario:
  • the xPON physical layer processing unit 1201 processes the xPON physical layer signal to obtain an xPON MAC frame.
  • the xPON MAC frame in this embodiment may be an xGEM frame, an NG-EP0N MAC frame, or another type of xPON MAC frame, which is not limited herein.
  • the xPON physical layer processing unit 1201 processes the xPON physical layer signal to obtain an xPON MAC.
  • the process of the frame is common knowledge of those skilled in the art, and is not limited herein.
  • the demultiplexing unit 1202 may segment or reassemble the data in the payload of the xPON MAC frame according to the frame header of the xPON MAC frame, and frame the data.
  • the processing unit 1203 obtains the PON MAC frame by deleting the frame header of the xPON MAC frame.
  • the P0N physical layer processing unit 1204 can perform the P0N physical layer processing to obtain the P0N physical layer signal, and transmit the P0N physical layer signal, so that the PON MAC frame can be transmitted from the xPON. To P0N.
  • the demultiplexing unit 1202 may reassemble or segment the PON MAC frame, and the framing processing unit 1203 generates an xPON MAC frame according to the reassembled or segmented data, and the P0N physical layer processing unit 1204 transmits the PON MAC layer through the xPON physical layer.
  • the xPON MAC frame can implement the data transmission mode of the PON over xPON and reduce the data transmission cost. In this embodiment, the data transmission mode of the PON over xPON does not need to support the burst mode to the continuous mode conversion, which can reduce the implementation complexity. .
  • Another embodiment of the present invention provides a data transmission method, as shown in FIG. 13, including:
  • the service layer data may be an IP data packet, an Ethernet frame, or a time division multiplexed data packet.
  • the P0N MAC frame may be a Transmission Convergence (TC) frame, or a Gigabit Passive Optical Network Encapsulation (GEM) mode, or an EP0N MAC frame, or Other types of PON MAC frames are not limited herein.
  • the process in which the PE node xOLT encapsulates the data to obtain the PON MAC frame is a common knowledge of those skilled in the art, which is not limited herein.
  • the P0N MAC frame may be processed to obtain an xPON MAC frame, and the P0N MAC frame may be carried.
  • an xGEM frame header may be added to the PON MAC frame to obtain an xGEM frame, and the P0N-based connection is aggregated into the xPON-based tunnel, thereby implementing the TC/GEM/EP0N MAC frame over xGEM (TC/GEM).
  • /EP0N MAC frame is carried in the xGEM frame); for example, an Ethernet frame header with an NG-EP0N MAC frame preamble can be added to the PON MAC frame to obtain an NG-EP0N MAC frame, thereby implementing a TC/GEM/EP0N MAC frame. It is carried in the NG-EP0N MAC frame.
  • the PON MAC frame may also be segmented or reassembled according to the content in the foregoing embodiment.
  • a method for encapsulating the xPON MAC frame is provided, so that the xPON MAC frame structure is configured according to The P0N bandwidth divides a fixed transport byte block (data partition in the figure) for each P0N, and ensures that the order of these byte blocks does not change.
  • the encapsulated xPON TC frame includes 4 fixed PON TC frame data partitions.
  • the xPON MAC frame After the xPON MAC frame is obtained by the PE node xOLT, the xPON MAC frame can be processed by the xPON physical layer to obtain the xPON physical layer signal, and the xPON physical layer signal is sent to the PE node x0NU at the other end, so that the PON MAC can be carried.
  • the xPON MAC frame of the frame is transmitted in xPON.
  • the foregoing embodiments of the present invention can implement the interworking between the optical network device and other devices that send the service layer data, and can carry the PON MAC frame to the load of the xPON MAC frame, and transmit the xPON MAC frame through the xPON physical layer, so
  • the data transmission mode of the PON over xPON extends the optical transmission distance and reduces the data transmission cost.
  • the data transmission mode of the PON over xPON does not need to support the burst mode to the continuous mode conversion, thereby reducing the implementation complexity.
  • Another data transmission method is provided in the embodiment of the present invention, including:
  • the PE node xOLT processes the received xPON physical layer signal to obtain the xPON.
  • the xPON MAC frame in this embodiment may be an xTC frame (a TC frame of an NG GP0N), an xGEM frame, an NG-EP0N MAC frame, or other types of xPON MAC frames, which is not limited herein.
  • the process of processing the received xPON physical layer signal by the PE node xOLT to obtain the xPON MAC frame is common knowledge of those skilled in the art, which is not limited herein.
  • the PON MAC frame After acquiring the xPON MAC frame, in order to transmit the data to other non-optical network devices through the PON, it is necessary to obtain the PON MAC frame from the xPON MAC frame, because in the transmission of the PON over xPON, the PON MAC frame is located in the xPON MAC frame. In the load, the data in the payload of the xPON MAC frame can be read first.
  • the xOLT can read the PON MAC frame from the frame header of the xPON MAC frame.
  • the xOLT also needs to perform corresponding data on the payload of the xPON MAC frame. Reorganize or segment to get the correct PON MAC frame.
  • the PON MAC frame is processed to obtain the service layer data that can be transmitted by the network device connected to the PE node and sent. For example, if the xOLT is connected to an Ethernet, the PON MAC frame needs to be processed to get an Ethernet frame, which is then sent to the Ethernet connected to the xOLT.
  • the xOLT can read the PON MAC frame from the load of the xPON MAC frame, and then generate and transmit the service layer data of the P0N MAC frame, thereby implementing the data transmission mode of the PON over xPON, extending the optical transmission distance, and reducing Data transmission cost; and in this embodiment, the data transmission mode of the PON over xPON does not need to support the transition from the burst mode to the continuous mode, which reduces the implementation complexity.
  • the embodiment of the present invention further provides an operator edge node, which is used to implement the method shown in FIG. 13 and/or FIG. 14 .
  • the operator edge node is as shown in FIG. 15 and includes:
  • the at least one PON MAC layer processing unit 1501 is configured to process the service layer data to obtain a PON MAC frame, where the service layer data may be an IP packet or an Ethernet frame.
  • the first xPON MAC layer processing unit 1503 is configured to process the PON MAC frame obtained by the PON MAC layer processing unit 1501 to obtain an xPON MAC frame, where the PON MAC frame is located in a load of the xPON MAC frame.
  • the specific processing method refer to the foregoing embodiment.
  • a method for encapsulating an xPON MAC frame is provided.
  • the xPON MAC frame structure is divided into fixed transmission byte blocks (data partitions in the figure) for each P0N according to the P0N bandwidth, and the byte blocks are guaranteed. The order is unchanged.
  • the bandwidth of the xPON is 4 times the bandwidth of the P0N and the P0N MAC frame is a TC frame
  • the encapsulated xPON TC frame includes four fixed PON TC frame data partitions.
  • the xPON physical layer processing unit 1504 is configured to process the xPON MAC frame, obtain an xPON physical layer signal, and send the xPON physical layer signal.
  • the multiplexing/demultiplexing unit 1502 is configured to segment or reassemble the PON MAC frame according to the relationship between the length of the PON MAC frame obtained by the PON MAC layer processing unit 1501 and the preset length threshold, and segment or reorganize the PON MAC frame.
  • the subsequent P0N MAC frame is sent to the first xPON MAC layer processing unit 1503 for processing.
  • the xPON physical layer processing unit 1504 in the operator edge node in the embodiment of the present invention may also be configured to convert the received xPON physical layer signal into an xPON MAC frame.
  • the operator edge node in this embodiment may further include: a second xPON MAC frame processing unit 1505, configured to read data in a load of the xPON MAC frame obtained by the X P0N physical layer processing unit 1504, according to the xPON MAC frame
  • the data processing in the payload of the xPON MAC frame is obtained by the frame header.
  • the specific processing method may refer to the foregoing embodiment.
  • the multiplexing/resolving The unit 1502 is further configured to segment or recombine the data in the payload of the xPON MAC frame obtained by the second xPON MAC frame processing unit 1505, and send the segmented or reassembled data to the PON MAC frame processing unit 1501 for processing.
  • the PON MAC frame processing unit is further configured to process the received PON MAC frame to obtain service layer data.
  • the first xPON MAC layer processing unit 1503 and the second xPON MAC layer processing unit 1505 in the foregoing embodiment of the present invention may be separately disposed, or may be disposed in the same module, where the multiplexing/demultiplexing unit 1502 may also be separately set.
  • the operator edge node can read the PON MAC frame from the load of the xPON MAC frame, and then generate and transmit the service layer data of the PON MAC frame, thereby implementing the PON over xPON data transmission mode and extending the optical transmission.
  • the data transmission cost of the PON over xPON does not need to support the transition from the burst mode to the continuous mode, which reduces the implementation complexity.
  • the medium can be a read only memory, a magnetic disk or a compact disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiments of the present invention disclose a method and system for data transmission and a Provider Edge Node (PE-Node). Said method includes: processing Passive Optical Network (PON) physical layer signals to obtain PON Media Access Control (MAC) frames; processing said PON MAC frames to obtain the next generation Passive Optical Network (xPON) Media Access Control (MAC) frames, wherein said PON MAC frames are located in the payload of said xPON MAC frames; performing xPON physical layer processing on said xPON MAC frames to obtain xPON physical layer signals and transmitting said xPON physical layer signals. The embodiments of the present invention also provide a data transmission system and related devices. The embodiments of the present invention can effectively reduce the costs of data transmission, increase optical transmission distance and reduce implementation complexity.

Description

一种数据传输方法、 系统以及运营商边缘节点 本申请要求于 2009年 7月 15日提交中国专利局、 申请号为 200910152000. 2、发明 名称为 "一种数据传输方法、 系统以及相关设备", 以及, 2009年 8月 14日提交中国专 利局, 申请号为 200910167099.3, 发明名称为 "一种数据传输方法、 系统以及运营商 边缘节点"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明涉及通讯领域, 尤其涉及一种数据传输方法、 系统以及运营商边缘节点。 背景技术 无源光网络 (P0N, Passive Optical Network) 技术是一种点对多点方式的光接 入技术, 由光网络单元 (ONU, Optical Network Unit), 光分路器、 光路终结点 (0LT, Optical Line Termination) 以及连接这个设备的光纤组成。 0LT作为局端设备, 通过 一根主干光纤与光分路器 (Optical splitter)连接, 光分路器通过单独的分支光纤连接 每一个 0NU, 下行方向, 光分路器实现分光功能, 通过分支光纤将 0LT的下行光信号发 送给所有的 0NU; 上行方向, 光分路器实现光信号汇聚功能, 将所有 0NU发送的光信号 汇聚, 通过主干光纤发送给 0LT。  A data transmission method, system and operator edge node The application is submitted to the Chinese Patent Office on July 15, 2009, and the application number is 200910152000. 2. The invention name is "a data transmission method, system and related equipment", And, on August 14, 2009, the Chinese Patent Office, the application number is 200910167099.3, the priority of the invention is "a data transmission method, system and operator edge node", the entire contents of which are incorporated by reference. In this application. The present invention relates to the field of communications, and in particular, to a data transmission method and system, and an operator edge node. The Passive Optical Network (P0N) technology is a point-to-multipoint optical access technology, which consists of an Optical Network Unit (ONU), an optical splitter, and an optical path termination point (0LT). , Optical Line Termination) and the fiber optic connection to this device. 0LT is used as the central office equipment. It is connected to the optical splitter through a trunk fiber. The optical splitter is connected to each ONU through a separate branch fiber. In the downstream direction, the optical splitter realizes the splitting function. The downlink optical signal of the 0LT is sent to all the ONUs. In the uplink direction, the optical splitter implements the optical signal convergence function, and all the optical signals transmitted by the ONU are aggregated and sent to the 0LT through the trunk optical fiber.
随着宽带业务的增长, 无源光网络 (P0N, Passive Optical Network) 技术也在 不断演进, 从异步传输模式无源光网络 (AP0N, Asynchronous Transfer Mode P0N)、 宽带无源光网络 (BP0N, Broadband P0N) 到以太网无源光网络 (EP0N, Ethernet PON)、 吉比特无源光网络 (GP0N, Gigabit PON), 10G EP0N及 10G GP0N, 传输带宽不断增加。  As the broadband service grows, Passive Optical Network (P0N) technology is also evolving, from Asynchronous Transfer Mode (AP0N), Broadband Passive Optical Network (BP0N, Broadband). P0N) To Ethernet Passive Optical Network (EP0N, Ethernet PON), Gigabit Passive Optical Network (GP0N, Gigabit PON), 10G EP0N and 10G GP0N, the transmission bandwidth is increasing.
PON的传输距离通常小于 20公里, 为了有效提升 P0N的传输距离, 现有技术中的 一种数据传输方法为:  The transmission distance of the PON is usually less than 20 kilometers. In order to effectively increase the transmission distance of the P0N, a data transmission method in the prior art is:
采用将 P0N置于光传输网(0TN, Optical Transport Network)的方式, 即 PON over 0TN的方式, 将 P0N承载于波分复用 (WDM, Wavelength Division Multiplexing) 网络 上,延伸了光网络单元 (ONU, Optical Network Unit)与光路终结点 (OLT, Optical Line Termination) 之间的传输距离。  The P0N is carried on a Wavelength Division Multiplexing (WDM) network by means of placing the P0N in an optical transport network (0TN, Optical Transport Network), that is, a PON over 0TN, and extending the optical network unit (ONU, Transmission distance between the Optical Network Unit and the Optical Line Termination (OLT).
但 WDM采用的是彩光的点对点 (P2P, Point to Point) 技术, 即无论是靠近 ONU 的 WDM设备还是靠近 0LT的 WDM设备都是有色的, 需要在 WDM设备上为每一个波长提供 一个光收发器, 且 P2P光纤不能共享, 所以这样的数据传输过程的成本比较高; 其次, 由于 P0N (例如 GP0N/EP0N) 通常采用时分复用的方式进行光传输, 即 P0N 通常采用突发模式进行光传输, 而现有的 0TN则采用 WDM设备进行连续模式的光传输, 因此 PON over 0TN的数据传输方式需要支持突发模式到连续模式的转换, 实现复杂。 发明内容 本发明实施例提供了一种数据传输方法、 系统以及运营商边缘节点, 能够有效降低 数据传输成本, 延长光传输距离, 且降低实现复杂度。 However, WDM uses the P2P (Point to Point) technology of color light, that is, whether the WDM device close to the ONU or the WDM device close to the 0LT is colored, it needs to be provided for each wavelength on the WDM device. An optical transceiver, and P2P fiber cannot be shared, so the cost of such a data transmission process is relatively high. Secondly, since P0N (for example, GP0N/EP0N) is usually optically transmitted by time division multiplexing, that is, P0N usually adopts burst mode. Optical transmission is performed, and the existing 0TN uses WDM equipment for continuous mode optical transmission. Therefore, the data transmission mode of PON over 0TN needs to support burst mode to continuous mode conversion, which is complicated to implement. SUMMARY OF THE INVENTION Embodiments of the present invention provide a data transmission method and system, and an operator edge node, which can effectively reduce data transmission cost, extend optical transmission distance, and reduce implementation complexity.
本发明实施例提供的一种数据传输方法, 包括: 对无源光网络 P0N物理层信号进行 处理得到 P0N媒体访问控制 MAC帧; 对所述 PON MAC帧进行处理得到下一代无源光网络 xPON媒体访问控制 MAC帧,所述 PON MAC帧位于所述 xPON MAC帧的负载中;对所述 xPON MAC帧进行 xPON物理层处理得到 xPON物理层信号, 并发送所述 xPON物理层信号。  A data transmission method provided by the embodiment of the present invention includes: processing a physical layer signal of a passive optical network P0N to obtain a P0N medium access control MAC frame; processing the PON MAC frame to obtain a next generation passive optical network xPON medium Accessing a control MAC frame, the PON MAC frame is located in a load of the xPON MAC frame; performing xPON physical layer processing on the xPON MAC frame to obtain an xPON physical layer signal, and transmitting the xPON physical layer signal.
本发明实施例提供的另一种数据传输方法, 包括: 对 xPON物理层信号进行处理得 到 xPON MAC帧; 读取所述 xPON MAC帧的负载中的数据; 根据所述 xPON MAC帧的帧头 对所述 xPON MAC帧的负载中的数据进行处理得到 PON MAC帧; 对所述 PON MAC帧进行 P0N物理层处理得到 P0N物理层信号, 并发送所述 P0N物理层信号。  Another data transmission method provided by the embodiment of the present invention includes: processing an xPON physical layer signal to obtain an xPON MAC frame; reading data in a load of the xPON MAC frame; according to a frame header of the xPON MAC frame The data in the load of the xPON MAC frame is processed to obtain a PON MAC frame; the P0N physical layer processing is performed on the PON MAC frame to obtain a P0N physical layer signal, and the P0N physical layer signal is sent.
本发明实施例提供的一种数据传输系统, 包括: 用户边缘节点, 用于接收用户终端 侧发送的数据, 将所述数据发送至运营商边缘节点; 所述运营商边缘节点, 用于对所述 数据中的 P0N物理层信号进行处理得到 PON MAC帧,对所述 PON MAC帧进行处理得到 xPON MAC帧, 所述 PON MAC帧位于所述 xPON MAC帧的负载中, 对所述 xPON MAC帧进行 xPON 物理层处理得到 xPON物理层信号, 并发送所述 xPON物理层信号。  A data transmission system provided by the embodiment of the present invention includes: a user edge node, configured to receive data sent by a user terminal side, and send the data to an operator edge node; the operator edge node is used to The P0N physical layer signal in the data is processed to obtain a PON MAC frame, and the PON MAC frame is processed to obtain an xPON MAC frame, where the PON MAC frame is located in a load of the xPON MAC frame, and the xPON MAC frame is performed. The xPON physical layer processes the xPON physical layer signal and transmits the xPON physical layer signal.
本发明实施例提供的另一种数据传输系统, 包括: 运营商边缘节点, 用于对接收到 的数据中的 xPON物理层信号进行处理得到 xPON MAC帧, 读取所述 xPON MAC帧的负载 中的数据, 根据所述 xPON MAC帧的帧头对所述 xPON MAC帧的负载中的数据进行处理得 到 P0N MAC帧, 对所述 PON MAC帧进行 P0N物理层处理得到 P0N物理层信号, 并发送所 述 P0N物理层信号; 用户边缘节点, 用于接收所述运营商边缘节点发送的 P0N物理层信 号。  Another data transmission system provided by the embodiment of the present invention includes: an operator edge node, configured to process an xPON physical layer signal in the received data to obtain an xPON MAC frame, and read a load of the xPON MAC frame. Data, processing data in the load of the xPON MAC frame according to the frame header of the xPON MAC frame to obtain a P0N MAC frame, performing P0N physical layer processing on the PON MAC frame to obtain a P0N physical layer signal, and transmitting the a P0N physical layer signal; a user edge node, configured to receive a P0N physical layer signal sent by the operator edge node.
本发明实施例提供的一种运营商边缘节点, 包括: P0N物理层处理单元, 用于对 P0N物理层信号进行处理得到 PON MAC帧; 成帧处理单元, 用于对所述 PON MAC帧进行 处理得到 xPON MAC帧, 所述 PON MAC帧位于所述 xPON MAC帧的负载中; xPON物理层 处理单元, 用于对所述 xPON MAC帧进行 xPON物理层处理得到 xPON物理层信号, 并发 送所述 xPON物理层信号。 An operator edge node provided by the embodiment of the present invention includes: a P0N physical layer processing unit, configured to process a P0N physical layer signal to obtain a PON MAC frame; and a framing processing unit, configured to process the PON MAC frame Obtaining an xPON MAC frame, where the PON MAC frame is located in a load of the xPON MAC frame, and an xPON physical layer processing unit, configured to perform xPON physical layer processing on the xPON MAC frame to obtain an xPON physical layer signal, and concurrently Sending the xPON physical layer signal.
本发明实施例提供的另一种运营商边缘节点, 包括: xPON物理层处理单元, 用于 对 xPON物理层信号进行处理得到 xPON MAC帧; 成帧处理单元, 用于读取所述 xPON MAC 帧的负载中的数据, 根据所述 xPON MAC帧的帧头对所述 xPON MAC帧的负载中的数据进 行处理得到 PON MAC帧; P0N物理层处理单元, 用于对所述 PON MAC帧进行 P0N物理层 处理得到 P0N物理层信号, 并发送所述 P0N物理层信号。  Another carrier edge node provided by the embodiment of the present invention includes: an xPON physical layer processing unit, configured to process an xPON physical layer signal to obtain an xPON MAC frame; and a framing processing unit, configured to read the xPON MAC frame Data in the load, processing data in the load of the xPON MAC frame according to the frame header of the xPON MAC frame to obtain a PON MAC frame; a P0N physical layer processing unit, configured to perform P0N physical on the PON MAC frame The layer processing obtains the P0N physical layer signal and transmits the P0N physical layer signal.
本发明实施例提供的另一种数据传输方法, 包括: 对业务层数据进行处理得到无源 光网络 P0N媒体访问控制 MAC帧; 对所述 PON MAC帧进行处理得到下一代无源光网络 xPON媒体访问控制 MAC帧,所述 PON MAC帧位于所述 xPON MAC帧的负载中;对所述 xPON MAC帧进行 xPON物理层处理得到 xPON物理层信号, 并发送所述 xPON物理层信号。  Another data transmission method provided by the embodiment of the present invention includes: processing service layer data to obtain a passive optical network P0N media access control MAC frame; processing the PON MAC frame to obtain a next generation passive optical network xPON medium Accessing a control MAC frame, the PON MAC frame is located in a load of the xPON MAC frame; performing xPON physical layer processing on the xPON MAC frame to obtain an xPON physical layer signal, and transmitting the xPON physical layer signal.
本发明实施例提供的另一种数据传输方法, 包括: 对接收的 xPON物理层信号进行 处理得到 xPON MAC帧; 读取所述 xPON MAC帧的负载中的数据; 根据所述 xPON MAC帧 的帧头对所述 xPON MAC帧的负载中的数据进行处理得到 PON MAC帧; 对所述 PON MAC 帧进行处理得到业务层数据并发送所述业务层数据。  Another data transmission method provided by the embodiment of the present invention includes: processing a received xPON physical layer signal to obtain an xPON MAC frame; reading data in a load of the xPON MAC frame; according to the frame of the xPON MAC frame The header processes the data in the payload of the xPON MAC frame to obtain a PON MAC frame; processing the PON MAC frame to obtain service layer data and transmitting the service layer data.
本发明实施例提供的另一种运营商边缘节点,包括: 至少一个 PON MAC层处理单元, 用于对业务层数据进行处理得到 PON MAC帧; 第一 xPON MAC层处理单元, 用于对所述 PON MAC帧进行处理得到 xPON MAC帧, 所述 PON MAC帧位于所述 xPON MAC帧的负载中; xPON物理层处理单元, 用于对所述 xPON MAC帧进行 xPON物理层处理得到 xPON物理层 信号, 并发送所述 xPON物理层信号。  Another carrier edge node provided by the embodiment of the present invention includes: at least one PON MAC layer processing unit, configured to process the service layer data to obtain a PON MAC frame; and a first xPON MAC layer processing unit, configured to: The PON MAC frame is processed to obtain an xPON MAC frame, where the PON MAC frame is located in the load of the xPON MAC frame, and the xPON physical layer processing unit is configured to perform xPON physical layer processing on the xPON MAC frame to obtain an xPON physical layer signal. And transmitting the xPON physical layer signal.
本发明实施例的技术方案可以将 P0N媒体访问控制 (MAC, Media Access Control ) 帧携带于 xPON MAC帧的负载, 且通过 xPON物理层传输该 xPON MAC帧, 所以能够实现 PON over xPON的数据传输方式, 而由于靠近 0NU的 xONU设备替代了 WDM设备, xONU 设备通常是无色的, 即不需要在 xONU上为每一个波长提供一个光收发器, 而且如果是 采用 P2MP (Point to multipoint, 点到多点) 的 xPON还可以实现光纤的共享, 因此能 够有效的延长光传输距离, 降低数据传输成本; 并且由 xPON的特性可知, PON over xPON 的数据传输方式不需要支持突发模式到连续模式的转换, 所以实现简单。 附图说明 图 1为本发明实施例中数据传输方案架构示意图;  The technical solution of the embodiment of the present invention can carry a P0N media access control (MAC) frame to the load of the xPON MAC frame, and transmit the xPON MAC frame through the xPON physical layer, so that the data transmission mode of the PON over xPON can be implemented. However, since the xONU device close to the 0NU replaces the WDM device, the xONU device is usually colorless, that is, there is no need to provide an optical transceiver for each wavelength on the xONU, and if P2MP (Point to multipoint, point to multipoint) is used The xPON can also realize the sharing of optical fibers, so it can effectively extend the optical transmission distance and reduce the data transmission cost. Moreover, the characteristics of xPON can be seen that the data transmission mode of PON over xPON does not need to support burst mode to continuous mode conversion. , so the implementation is simple. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a schematic structural diagram of a data transmission scheme according to an embodiment of the present invention;
图 2为本发明实施例中数据传输方法一个实施例示意图; 图 3为本发明实施例中数据传输方法另一实施例示意图; 2 is a schematic diagram of an embodiment of a data transmission method according to an embodiment of the present invention; 3 is a schematic diagram of another embodiment of a data transmission method according to an embodiment of the present invention;
图 4为本发明实施例中数据传输方法另一实施例示意图;  4 is a schematic diagram of another embodiment of a data transmission method according to an embodiment of the present invention;
图 5为本发明实施例中数据传输方法另一实施例示意图;  FIG. 5 is a schematic diagram of another embodiment of a data transmission method according to an embodiment of the present invention; FIG.
图 6 ( a) 为本发明实施例中 PON MAC帧分段示意图;  6( a) is a schematic diagram of a PON MAC frame segmentation in an embodiment of the present invention;
图 6 (b ) 为本发明实施例中 PON MAC帧重组示意图;  6(b) is a schematic diagram of PON MAC frame recombination according to an embodiment of the present invention;
图 7 ( a) 〜图 7 ( c ) 为本发明实施例中帧头处理示意图;  7(a) to 7(c) are schematic diagrams of processing a frame header in an embodiment of the present invention;
图 8 ( a) 为本发明实施例中 PON MAC帧分段示意图;  FIG. 8( a) is a schematic diagram of a PON MAC frame segmentation according to an embodiment of the present invention;
图 8 (b ) 为本发明实施例中 PON MAC帧重组示意图;  FIG. 8(b) is a schematic diagram of PON MAC frame recombination according to an embodiment of the present invention;
图 9 ( a) 〜图 9 ( c ) 为本发明实施例中帧头处理示意图;  9(a) to 9(c) are schematic diagrams of processing a frame header in an embodiment of the present invention;
图 10为本发明实施例中的数据传输系统实施例示意图;  FIG. 10 is a schematic diagram of an embodiment of a data transmission system according to an embodiment of the present invention; FIG.
图 11为本发明实施例中运营商边缘节点一个实施例示意图;  11 is a schematic diagram of an embodiment of an operator edge node according to an embodiment of the present invention;
图 12为本发明实施例中运营商边缘节点另一实施例示意图;  FIG. 12 is a schematic diagram of another embodiment of an operator edge node according to an embodiment of the present invention;
图 13为本发明实施例中数据传输方法另一实施例示意图;  FIG. 13 is a schematic diagram of another embodiment of a data transmission method according to an embodiment of the present invention; FIG.
图 14为本发明实施例中数据传输方法另一实施例示意图;  FIG. 14 is a schematic diagram of another embodiment of a data transmission method according to an embodiment of the present invention; FIG.
图 15为本发明实施例中运营商边缘节点另一实施例示意图;  15 is a schematic diagram of another embodiment of an operator edge node according to an embodiment of the present invention;
图 16所示为本发明实施例中一个 xPON MAC帧结构示意图。 具体实施方式 本发明实施例提供了一种数据传输方法、 系统以及运营商边缘, 用于降低数据传输 成本, 且降低实现复杂度。  FIG. 16 is a schematic structural diagram of an xPON MAC frame according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION Embodiments of the present invention provide a data transmission method, system, and carrier edge, which are used to reduce data transmission costs and reduce implementation complexity.
本发明实施例的方案提出一种 PON over xPON的数据传输方法, 不同的 P0N网络嵌 套,例如 GP0N与下一代 PON (NG-P0N)嵌套,其中 0NU和 0LT为 GP0N设备, xONU和 xOLT 为 NG-P0N设备。  The solution of the embodiment of the present invention provides a data transmission method of PON over xPON, in which different PON networks are nested, for example, GP0N and next-generation PON (NG-P0N) are nested, where 0NU and 0LT are GP0N devices, and xONU and xOLT are NG-P0N equipment.
请参阅图 1, 为本发明实施例中数据传输方案架构示意图。 本实施例中以 "PON n" 表示下一级网络的 PON MAC帧头 (例如 TC帧 /GEM帧 /EP0N MAC帧), 以 "PON n+1 "表 示上一级网络的 PON MAC帧头。  Please refer to FIG. 1, which is a schematic structural diagram of a data transmission scheme according to an embodiment of the present invention. In this embodiment, "PON n" is used to indicate the PON MAC header of the next-level network (for example, TC frame/GEM frame/EP0N MAC frame), and "PON n+1" is used to indicate the PON MAC header of the upper-level network.
下一级网络在本实施例中表示为 P0N, 上一级网络在本实施例中表示为 xP0N, xPON 可以是 NG-P0N (如 NG-GP0N、 NG-EP0N) 或 WDM PON, PON over xPON (PON承载于 xPON) 实现不同的 PON网络嵌套。 其中, xONU和 xOLT可以为第一家运营商拥有, 0LT1可以由 第二家运营商拥有, 0LT2可以由第三家运营商拥有, 实现 xPON网络可以为多家运营商 所共享。 xOLT和 OLTl-OLTn可以实现于同一个物理设备。 The next-level network is represented as P0N in this embodiment, and the upper-level network is represented as xP0N in this embodiment, and the xPON may be NG-P0N (such as NG-GP0N, NG-EP0N) or WDM PON, PON over xPON ( The PON is carried over xPON) to implement different PON network nesting. Among them, xONU and xOLT can be owned by the first operator, 0LT1 can be owned by the second operator, 0LT2 can be owned by the third operator, and the xPON network can be used for multiple operators. Shared. xOLT and OLTl-OLTn can be implemented on the same physical device.
其中, 用户边缘节点 (CE-Node, Customer Edge Node ) 通常由下一级网络的 0NU/0NT/0LT构成, 位于用户网络边缘;  The Customer Edge Node (CE-Node, Customer Edge Node) is usually composed of 0NU/0NT/0LT of the next-level network and is located at the edge of the user network.
运营商边缘节点 (PE-Node, Provider Edge Node ) 通常由 xONU/xOLT设备构成, 位于 运营商网络边缘, 用于添加 xPON连接标识(PON n+1 added)或去除 xPON连接标识(P0N n+1 removed ) , 以汇聚 CE-Node 和 CE-Node 之间的基于 P0N 的连接 (PON-based Connection, 以下简称为 P0N连接), 于 PE-Node禾 P PE-Node之间的基于 xPON的隧道 ( xPON-based Tunnel ), 最终使 CE-Node和 CE-Node之间构成一条完整的基于 P0N的连 接。 The Provider Edge Node (PE-Node) is usually composed of xONU/xOLT devices and is located at the edge of the carrier network. It is used to add the xPON connection identifier (PON n+1 added) or remove the xPON connection identifier (P0N n+1). Removed ) to aggregate the PON-based connection between the CE-Node and the CE-Node (PON-based Connection, hereinafter referred to as the P0N connection), and the xPON-based tunnel between the PE-Node and the PE-Node (xPON) -based Tunnel ), which ultimately forms a complete P0N-based connection between the CE-Node and the CE-Node.
本发明实施例中的 PON over xPON的数据传输分为 CE节点到 PE节点的上行传输以 及 PE节点到 CE节点的下行传输, 下面分别进行介绍:  The data transmission of the PON over xPON in the embodiment of the present invention is divided into uplink transmission from the CE node to the PE node and downlink transmission from the PE node to the CE node, which are respectively introduced below:
一、 CE节点到 PE节点的上行传输:  1. Uplink transmission from the CE node to the PE node:
请参阅图 2, 本发明实施例中数据传输方法一个实施例包括:  Referring to FIG. 2, an embodiment of a data transmission method in an embodiment of the present invention includes:
201、 对 P0N物理层信号进行处理得到 PON MAC帧。  201. Process the P0N physical layer signal to obtain a PON MAC frame.
本实施例中, PE节点对 CE节点发送的 P0N物理层信号进行处理即可获取到 PON MAC 帧。  In this embodiment, the PE node processes the P0N physical layer signal sent by the CE node to obtain the PON MAC frame.
本实施例中的 PON MAC 帧在实际应用中可以为传输汇聚 (TC, Transmission Convergence ) 帧, 或吉比特无源光网络封装方式 (GEM, GP0N Encapsulation Method) 帧, 或 EP0N MAC帧, 或者是其他类型的 PON MAC帧, 具体此处不作限定。  The PON MAC frame in this embodiment may be a Transmission Convergence (TC) frame, a Gigabit Passive Optical Network Encapsulation Method (GEM), or an EP0N MAC frame, or other A type of PON MAC frame is not limited herein.
本实施例中, PE节点对 P0N物理层信号进行处理得到 PON MAC帧的过程为本领域技 术人员的公知常识, 此处不作限定。  In this embodiment, the process of the PE node processing the P0N physical layer signal to obtain the PON MAC frame is a common knowledge of the person skilled in the art, which is not limited herein.
202、 对 PON MAC帧进行处理得到 xPON MAC帧, PON MAC帧位于 xPON MAC帧的负载 中。  202. Process the PON MAC frame to obtain an xPON MAC frame, where the PON MAC frame is located in a load of the xPON MAC frame.
本实施例中, 当 PE节点获取到 PON MAC帧之后, 为了实现 PON over xPON的数据 传输方式, 可以对该 PON MAC帧进行处理得到 xPON MAC帧, 具体可以将 PON MAC帧携 带于 xPON MAC帧的负载中, 具体的处理方式将在后续实施例中进行详细描述。  In this embodiment, after the PE node obtains the PON MAC frame, in order to implement the data transmission mode of the PON over xPON, the PON MAC frame may be processed to obtain an xPON MAC frame, and the PON MAC frame may be carried in the xPON MAC frame. In the load, the specific processing manner will be described in detail in the subsequent embodiments.
203、 对该 xPON MAC帧进行 xPON物理层处理, 并发送 xPON物理层信号。  203. Perform an xPON physical layer processing on the xPON MAC frame, and send an xPON physical layer signal.
在 PE节点得到 xPON MAC帧之后, 即可将该 xPON MAC帧进行 xPON物理层处理得到 xPON物理层信号, 并发送该 xPON物理层信号到另一端的 PE节点,从而能够实现携带有 PON MAC帧的 xPON MAC帧在 xPON中传输。  After the xPON MAC frame is obtained by the PE node, the xPON MAC frame is processed by the xPON physical layer to obtain the xPON physical layer signal, and the xPON physical layer signal is sent to the PE node at the other end, so that the PON MAC frame can be carried. xPON MAC frames are transmitted in xPON.
本实施例中, PE节点可以将 PON MAC帧携带于 xPON MAC帧的负载,即可根据 PON MAC 帧生成 xPON MAC帧,且通过 xPON物理层传输该 xPON MAC帧,所以能够实现 PON over xPON 的数据传输方式, 延长光传输距离,降低数据传输成本;并且本实施例中 PON over xPON 的数据传输方式不需要支持突发模式到连续模式的转换, 能够降低实现复杂度。 In this embodiment, the PE node may carry the PON MAC frame in the load of the xPON MAC frame, that is, according to the PON MAC. The frame generates an xPON MAC frame, and the xPON MAC frame is transmitted through the xPON physical layer, so that the data transmission mode of the PON over xPON can be realized, the optical transmission distance is extended, and the data transmission cost is reduced; and the data transmission mode of the PON over xPON in this embodiment There is no need to support burst mode to continuous mode conversion, which can reduce implementation complexity.
为便于理解, 下面以一具体实例对上述 CE节点到 PE节点的上行传输过程进行详细 描述, 本实施例中, CE节点具体为 0NU, PE节点具体为 xONU。 请参阅图 3, 本发明实施 例中的数据传输方法另一实施例包括:  For the sake of understanding, the uplink transmission process of the foregoing CE node to the PE node is described in detail in a specific example. In this embodiment, the CE node is specifically 0NU, and the PE node is specifically xONU. Referring to FIG. 3, another embodiment of the data transmission method in the embodiment of the present invention includes:
301、 对 P0N物理层信号进行处理得到 PON MAC帧。  301. Process the P0N physical layer signal to obtain a PON MAC frame.
本实施例中的步骤 301与图 2所示的实施例中的步骤 201相同, 此处不再赘述。 Step 301 in this embodiment is the same as step 201 in the embodiment shown in FIG. 2, and details are not described herein again.
302、 根据 PON MAC帧的长度以及预置的长度门限之间的关系对 PON MAC帧进行分 段或重组。 302. Segment or reassemble the PON MAC frame according to the relationship between the length of the PON MAC frame and the preset length threshold.
本实施例中, 在获取到 PON MAC帧之后即可确定其长度。  In this embodiment, the length of the PON MAC frame can be determined after the PON MAC frame is acquired.
本实施例中预先设置有长度门限, 该长度门限包含最大长度门限以及最小长度门 限, 该长度门限可以和 xPON MAC帧的负载大小相关, 或者还可以与其他的参数相关, 此处不作限定。  In this embodiment, a length threshold is set in advance, and the length threshold includes a maximum length threshold and a minimum length threshold, and the length threshold may be related to the load size of the xPON MAC frame, or may be related to other parameters, which is not limited herein.
在确定了 PON MAC帧的长度之后, 即可将该长度与最大长度门限以及最小长度门限 进行比较。  After determining the length of the PON MAC frame, the length can be compared to the maximum length threshold and the minimum length threshold.
具体的比较过程可以为:  The specific comparison process can be:
获取 PON MAC帧的长度;  Obtain the length of the PON MAC frame;
判断 PON MAC帧的长度是否小于预置的最小长度门限或大于预置的最大长度门限; 若 PON MAC帧的长度小于预置的最小长度门限, 则对多个 PON MAC帧进行重组, 多 个 PON MAC帧重组后的长度小于或等于最大长度门限;  Determining whether the length of the PON MAC frame is less than a preset minimum length threshold or greater than a preset maximum length threshold; if the length of the PON MAC frame is less than a preset minimum length threshold, reassembling multiple PON MAC frames, multiple PONs The length of the MAC frame recombination is less than or equal to the maximum length threshold;
若 P0N MAC帧的长度大于预置的最大长度门限, 则将 PON MAC帧进行分段, P0N MAC 帧的每个分段的长度大于或等于最小长度门限。  If the length of the P0N MAC frame is greater than a preset maximum length threshold, the PON MAC frame is segmented, and the length of each segment of the P0N MAC frame is greater than or equal to the minimum length threshold.
303、 根据分段或重组的数据生成 xPON MAC帧。  303. Generate an xPON MAC frame according to the segmented or reassembled data.
在对 PON MAC帧进行分段或重组之后, 可以根据分段或重组的数据生成 xPON MAC 帧, 具体的生成过程可以为:  After segmenting or reassembling the PON MAC frame, the xPON MAC frame may be generated according to the segmented or reassembled data. The specific generation process may be:
若对 PON MAC帧进行了重组, 则将重组后的 PON MAC帧完全映射至 xPON MAC帧的 负载, 此处所描述的完全映射是指将 PON MAC帧的帧头以及净荷完整的复制到 xPON MAC 帧的负载中的某一部分;  If the PON MAC frame is reassembled, the reassembled PON MAC frame is completely mapped to the load of the xPON MAC frame. The full mapping described herein refers to completely copying the frame header and payload of the PON MAC frame to the xPON MAC. a portion of the load of the frame;
若对 PON MAC帧进行了分段,则会得到多个 PON MAC帧,每个 PON MAC帧包含 PON MAC 帧的帧头以及各自的分段净荷,之后将分段后的每个 PON MAC帧分别映射到不同的 xPON MAC帧的负载; If the PON MAC frame is segmented, multiple PON MAC frames are obtained, each PON MAC frame includes the frame header of the PON MAC frame and the respective segment payload, and then each segmented PON MAC frame is mapped separately. To different xPON The load of the MAC frame;
完成映射之后, 为 xPON MAC帧的负载添加帧头生成 xPON MAC帧。  After the mapping is completed, an xPON MAC frame is generated by adding a frame header to the payload of the xPON MAC frame.
需要说明的是, 若 PON MAC帧为 TC帧, 则其帧头为 TC帧头, 若 PON MAC帧为 GEM 帧, 则其帧头为 GEM帧头, 若 PON MAC帧为 EPON MAC帧, 则其帧头为 EPON MAC帧前导 码;  It should be noted that if the PON MAC frame is a TC frame, the frame header is a TC frame header. If the PON MAC frame is a GEM frame, the frame header is a GEM frame header, and if the PON MAC frame is an EPON MAC frame, The frame header is an EPON MAC frame preamble;
若 xPON MAC帧为 xGEM帧, 则其帧头为 xGEM帧头, 其中包含净荷长度指示 (PLI, PDU Length Indicator),端口标识(Port ID),净荷类型指示(PTI, PDU Type Indicator), 业务类型 (Type) 以及头错误控制 (HEC, Header Error Control ), 其中, Port ID表 示了 PON端口标识。 PTI的最低有效位用来指示 GEM数据帧是否为分段处理时的最后一 个分段,例如,将设用 PTI为" 000"表示该分段不是最后一个分段,假设用 PTI为" 001 " 表示该分段为最后一个分段。  If the xPON MAC frame is an xGEM frame, the frame header is an xGEM frame header, which includes a PLI (PDU Length Indicator), a port identifier (Port ID), and a payload type indication (PTI, PDU Type Indicator). Service Type (Type) and Header Error Control (HEC), where Port ID indicates the PON port identifier. The least significant bit of the PTI is used to indicate whether the GEM data frame is the last segment in the segmentation process. For example, setting the PTI to "000" indicates that the segment is not the last segment, assuming PTI is "001" Indicates that the segment is the last segment.
本实施例中, 利用 xGEM的帧头的某个域 (如 PTI域) 来指示对 PON MAC帧进行重 组, 如当 PTI为 111时表明 xGEM的负载为多个 PON MAC帧的重组。  In this embodiment, a domain of the frame header of the xGEM (such as a PTI field) is used to indicate that the PON MAC frame is reassembled. For example, when the PTI is 111, the load of the xGEM is a reassembly of multiple PON MAC frames.
本实施例中, 还可以利用 xGEM的帧头的某个域 (如 Type域) 来指示 xGEM帧的净 荷业务类型, 例如净荷可以是 GP0N的 TC/GEM帧或 EP0N的以 LLID为标识的 EPON MAC 帧, 也可以是 NG-GP0N的 TC/xGEM帧或 NG-EP0N的以 LLID为标识的 NG-EP0N MAC帧。  In this embodiment, a domain of the xGEM frame header (such as a Type field) may be used to indicate a payload service type of the xGEM frame. For example, the payload may be a TC/GEM frame of the GP0N or an LLID identifier of the EP0N. The EPON MAC frame may also be a TC/xGEM frame of the NG-GP0N or an NG-EP0N MAC frame identified by the LLID of the NG-EP0N.
若 xPON MAC帧为 NG-EP0N MAC帧, 则其帧头为带 NG-EP0N帧前导码的以太网 MAC 帧头。  If the xPON MAC frame is an NG-EP0N MAC frame, the frame header is an Ethernet MAC frame header with an NG-EP0N frame preamble.
本实施例中, 还可以通过扩展 NG-EP0N MAC帧的帧头的某个域, 如 EthernetType (以太网类型) 域或 subtype (子类型) 域, 来指示 NG-EP0N MAC帧的净荷业务类型, 例如净荷可以是 GP0N的 TC/GEM帧或 EP0N的以 LLID为标识的 EPON MAC帧, 也可以是 NG-GP0N的 TC/xGEM帧或 NG-EP0N的以 LLID为标识的 NG-EP0N MAC帧。  In this embodiment, the payload service type of the NG-EP0N MAC frame may also be indicated by extending a certain field of the frame header of the NG-EP0N MAC frame, such as an EthernetType (domain type) field or a subtype (subtype) field. For example, the payload may be a TC/GEM frame of the GP0N or an EPON MAC frame identified by the LLID of the EP0N, or a TC/xGEM frame of the NG-GP0N or an NG-EP0N MAC frame identified by the LLID of the NG-EP0N. .
本实施例中, 可以利用 NG-EP0N MAC帧前导码来指示对 PON MAC帧进行重组。 本实施例中, 可以将 PE节点处理前的 PON MAC帧称为 "C-P0N (Customer P0N)", 相应的 GP0N封装方式端口标识 (GPID, GEM Port ID) /逻辑链路标识 (LLID, Logical Link Identifier) 为内层连接标识 (即 PON-based Connection标识), 对于 GP0N称为 "C-GEM (Customer GEM或 Inner GEM)", 对于 EPON称为 "C-LLID (Customer LLID或 Inner LLID)";  In this embodiment, the NG-EP0N MAC frame preamble may be used to indicate reassembly of the PON MAC frame. In this embodiment, the PON MAC frame before processing by the PE node may be referred to as "C-P0N (Customer P0N)", and the corresponding GP0N encapsulation mode port identifier (GPID, GEM Port ID) / logical link identifier (LLID, Logical) Link Identifier) is the inner connection identifier (ie PON-based Connection), GP0N is called "C-GEM (Customer GEM or Inner GEM)", and EPON is called "C-LLID (Customer LLID or Inner LLID)" ;
可以将 PE节点处理后的 xPON MAC帧称为 "S-P0N ( Service PON)", 添加的 xPON 连接标识为外层连接标识 (即 xPON-based Tunnel 标识), 对于 NG-GP0N称为 "S-GEM ( Service GEM或 Outer GEM)", 对于 NG-EP0N称为 "S-LLID ( Service LLID或 Outer LLID ) "。 The xPON MAC frame processed by the PE node may be referred to as "S-P0N (Service PON)", the added xPON connection identifier is the outer connection identifier (ie, the xPON-based Tunnel identifier), and the NG-GP0N is called "S- GEM (Service GEM or Outer GEM)", for NG-EP0N called "S-LLID (Service LLID or Outer LLID) ".
本实施例中, GEM帧即为 C-GEM帧, EPON MAC帧即为 C-LLID所在帧; xGEM帧即为 S-GEM帧, NG-EPON MAC帧即为 S-LLID所在帧。  In this embodiment, the GEM frame is a C-GEM frame, the EPON MAC frame is the frame where the C-LLID is located, the xGEM frame is the S-GEM frame, and the NG-EPON MAC frame is the frame where the S-LLID is located.
本实施例中, 对于 PON over xGEM, 可以对 PON MAC帧添加 xGEM帧头得到 xGEM帧, 将 PON-based Connection汇聚入于 xPON-based Tunnel , 从而实现 TC/GEM/EPON MAC 帧 over xGEM ( TC/GEM帧 /EPON MAC帧承载于 xGEM帧);  In this embodiment, for PON over xGEM, an xGEM frame header may be added to the PON MAC frame to obtain an xGEM frame, and a PON-based Connection may be aggregated into the xPON-based tunnel, thereby implementing a TC/GEM/EPON MAC frame over xGEM (TC/ GEM frame/EPON MAC frame is carried in xGEM frame);
对于 PON over NG-EPON, 可以对 PON MAC帧添加带 NG-EPON MAC帧前导码的以太网 帧头, 得到 NG-EPON MAC帧, 将 PON- based Connection汇聚入于 xPON-based Tunnel , 从而实现 TC/GEM/EPON MAC帧 over NG-EPON MAC帧。  For PON over NG-EPON, an Ethernet frame header with an NG-EPON MAC frame preamble can be added to the PON MAC frame to obtain an NG-EPON MAC frame, and the PON-based Connection is aggregated into the xPON-based Tunnel to implement the TC. /GEM/EPON MAC frame over NG-EPON MAC frame.
304、 进行 xPON物理层处理, 并发送 xPON物理层信号。  304. Perform an xPON physical layer processing and send an xPON physical layer signal.
本实施例中的步骤 304与图 2所示的实施例中的步骤 203相同, 此处不再赘述。 本实施例中, PE节点 xONU可以将 PON MAC帧进行重组或分段, 并根据重组或分段 的数据生成 xPON MAC帧,且通过 xPON物理层传输该 xPON MAC帧,能够实现 PON over xPON 的数据传输方式, 而由于靠近 0NU的 xONU设备替代了 0TN中的 WDM设备, 且 xONU设备 通常是无色的, 不需要在 xONU上为每一个波长提供一个光收发器, 因此能够有效的延 长光传输距离, 降低数据传输成本; 并且本实施例中 PON over xPON的数据传输方式不 需要支持突发模式到连续模式的转换, 能够降低实现复杂度。  Step 304 in this embodiment is the same as step 203 in the embodiment shown in FIG. 2, and details are not described herein again. In this embodiment, the PE node xONU can reassemble or segment the PON MAC frame, generate an xPON MAC frame according to the reassembled or segmented data, and transmit the xPON MAC frame through the xPON physical layer, thereby implementing PON over xPON data. The transmission mode, because the xONU device close to the 0NU replaces the WDM device in the 0TN, and the xONU device is usually colorless, and does not need to provide an optical transceiver for each wavelength on the xONU, thereby effectively extending the optical transmission distance. The data transmission cost of the PON over xPON in this embodiment does not need to support the transition from the burst mode to the continuous mode, which can reduce the implementation complexity.
二、 PE节点到 CE节点的下行传输:  Second, the downlink transmission from the PE node to the CE node:
请参阅图 4, 本发明实施例中数据传输方法另一实施例包括:  Referring to FIG. 4, another embodiment of the data transmission method in the embodiment of the present invention includes:
401、 对 xPON物理层信号进行处理得到 xPON MAC帧。  401. Process the xPON physical layer signal to obtain an xPON MAC frame.
本实施例中, PE节点对接收到的 xPON物理层信号进行处理即可获取到 xPON MAC 帧。  In this embodiment, the PE node processes the received xPON physical layer signal to obtain an xPON MAC frame.
本实施例中的 xPON MAC帧在实际应用中可以为 xTC帧 (NG GP0N的 TC帧)、 xGEM 帧、 NG-EPON MAC帧或者其他类型的 xPON MAC帧, 具体此处不作限定。  The xPON MAC frame in this embodiment may be an xTC frame (a TC frame of an NG GP0N), an xGEM frame, an NG-EPON MAC frame, or another type of xPON MAC frame, which is not limited herein.
本实施例中, PE节点对接收到的 xPON物理层信号进行处理得到 xPON MAC帧的过程 为本领域技术人员的公知常识, 此处不作限定。  In this embodiment, the process of processing the received xPON physical layer signal by the PE node to obtain the xPON MAC frame is a common knowledge of those skilled in the art, which is not limited herein.
402、 读取 xPON MAC帧的负载中的数据。  402. Read data in a load of an xPON MAC frame.
在获取到 xPON MAC帧之后, 为了实现从 PE到 CE的下行传输,则需要从该 xPON MAC 帧中获取 PON MAC帧, 由于在 CE到 PE的上行传输中, PON MAC帧位于 xPON MAC帧的负 载中, 所以可以首先读取 xPON MAC帧的负载中的数据。  After obtaining the xPON MAC frame, in order to implement downlink transmission from the PE to the CE, the PON MAC frame needs to be acquired from the xPON MAC frame, because in the uplink transmission from the CE to the PE, the PON MAC frame is located in the load of the xPON MAC frame. Medium, so the data in the payload of the xPON MAC frame can be read first.
403、 根据 xPON MAC帧的帧头对 xPON MAC帧的负载中的数据进行处理得到 PON MAC 帧。 403. Process the data in the load of the xPON MAC frame according to the frame header of the xPON MAC frame to obtain the PON MAC. frame.
本实施例中, 在获取到 xPON MAC帧的负载中的数据之后, 即可根据 xPON MAC帧的 帧头从中读取出 PON MAC帧, 具体的方式将在后续的实施例中进行详细描述。  In this embodiment, after the data in the payload of the xPON MAC frame is acquired, the PON MAC frame can be read from the frame header of the xPON MAC frame, and the specific manner will be described in detail in the following embodiments.
404、 进行 P0N物理层处理, 并发送 P0N物理层信号。  404. Perform P0N physical layer processing, and send a P0N physical layer signal.
当 PE节点读取出 PON MAC帧之后, 即可对该 PON MAC帧进行 P0N物理层处理得到 After the PE node reads the PON MAC frame, the PON MAC frame can be processed by the P0N physical layer.
P0N物理层信号, 并向 CE节点发送该 P0N物理层信号, 从而能够实现该 PON MAC帧从 xPON传输至 P0N。 The P0N physical layer signal transmits the P0N physical layer signal to the CE node, so that the PON MAC frame can be transmitted from the xPON to the P0N.
本实施例中, PE节点从 xPON MAC帧的负载中读取出 PON MAC帧, 且通过 P0N物理 层传输该 P0N MAC帧, 能够实现 PON over xPON的数据传输方式, 延长光传输距离, 降 低数据传输成本; 并且本实施例中 PON over xPON的数据传输方式不需要支持突发模式 到连续模式的转换, 能够降低实现复杂度。  In this embodiment, the PE node reads the PON MAC frame from the load of the xPON MAC frame, and transmits the P0N MAC frame through the P0N physical layer, thereby implementing the data transmission mode of the PON over xPON, extending the optical transmission distance, and reducing the data transmission. Cost; and the data transmission mode of the PON over xPON in this embodiment does not need to support the transition from burst mode to continuous mode, and the implementation complexity can be reduced.
为便于理解, 下面以一具体实例对上述 PE节点到 CE节点的下行传输过程进行详细 描述, 请参阅图 5, 本发明实施例中的数据传输方法另一实施例包括:  For the sake of understanding, the downlink transmission process of the foregoing PE node to the CE node is described in detail in a specific example. Referring to FIG. 5, another embodiment of the data transmission method in the embodiment of the present invention includes:
501、 对 xPON物理层信号进行处理得到 xPON MAC帧。  501. Processing an xPON physical layer signal to obtain an xPON MAC frame.
PE节点 xONU获取从另一端的 PE节点 xOLT发送的 xPON物理层信号, 对该 xPON物 理层信号进行处理得到 xPON MAC帧。  The PE node xONU acquires an xPON physical layer signal transmitted from the PE node xOLT at the other end, and processes the xPON physical layer signal to obtain an xPON MAC frame.
502〜503、根据 xPON MAC帧的帧头对 xPON MAC帧的负载中的数据进行分段或重组, 删除 xPON MAC帧的帧头得到 PON MAC帧。  502~503: segment or reassemble data in the payload of the xPON MAC frame according to the frame header of the xPON MAC frame, and delete the frame header of the xPON MAC frame to obtain the PON MAC frame.
PE节点 xONU在获取到 xPON MAC帧的负载中的数据之后, 即可根据 xPON MAC帧的 帧头对 xPON MAC帧的负载中的数据进行分段或重组, 并通过删除 xPON MAC帧的帧头得 至 IJ P0N MAC帧, 具体可以有以下一些情况:  After acquiring the data in the payload of the xPON MAC frame, the PE node xONU can segment or reassemble the data in the payload of the xPON MAC frame according to the frame header of the xPON MAC frame, and delete the frame header of the xPON MAC frame. To the IJ P0N MAC frame, there are the following cases:
A、 当 xPON MAC帧的帧头表示负载为 PON MAC帧, 且一个 xPON MAC帧的负载中包 含多个完整的 PON MAC帧时, 删除 xPON MAC帧的帧头, 并按照 xPON MAC帧的负载中的 PON MAC帧的帧头对 xPON MAC帧的负载中的数据进行分段得到多个 PON MAC帧:  A. When the frame header of the xPON MAC frame indicates that the payload is a PON MAC frame, and the load of one xPON MAC frame includes multiple complete PON MAC frames, the frame header of the xPON MAC frame is deleted, and according to the load of the xPON MAC frame The header of the PON MAC frame segments the data in the payload of the xPON MAC frame to obtain multiple PON MAC frames:
例如可利用 xGEM的帧头的某个域 (如 Type域) 来指示 xGEM帧的净荷业务类型, 或者通过扩展 NG-EPON MAC帧的帧头的某个域, 如 EthernetType (以太网类型) 域或 subtype (子类型) 域, 来指示 NG-EPON MAC帧的净荷业务类型。  For example, a domain of the xGEM frame header (such as a Type field) may be used to indicate the payload service type of the xGEM frame, or by extending a certain field of the frame header of the NG-EPON MAC frame, such as an EthernetType domain. Or subtype (subtype) field, to indicate the payload service type of the NG-EPON MAC frame.
例如接收到的 xPON MAC帧为一个 xGEM帧, 且该 xGEM帧的帧头中的 PTI为 111, 则表示该 xGEM帧由多个 P0N MAC帧重组而成, 则可以直接删除该 xGEM帧的帧头, 在该 xGEM帧的净荷中按照 PON MAC帧的帧头进行划分即可确定多个 PON MAC帧。  For example, if the received xPON MAC frame is an xGEM frame, and the PTI in the frame header of the xGEM frame is 111, it indicates that the xGEM frame is recombined by multiple P0N MAC frames, and the frame header of the xGEM frame can be directly deleted. A plurality of PON MAC frames can be determined by dividing the header of the PON MAC frame in the payload of the xGEM frame.
B、 当 xPON MAC帧的帧头表示负载为 PON MAC帧, 且一个 xPON MAC帧的负载中包 含一个 PON MAC帧的部分数据时, 按照 xPON MAC帧的帧头确定多个 xPON MAC帧, 删除 确定的多个 xPON MAC帧的帧头, 将该多个 xPON MAC帧的负载的数据进行组合得到一个 PON MAC巾贞: B. When the frame header of the xPON MAC frame indicates that the payload is a PON MAC frame, and the load of one xPON MAC frame is included When part of the data of one PON MAC frame is included, multiple xPON MAC frames are determined according to the frame header of the xPON MAC frame, the frame headers of the determined plurality of xPON MAC frames are deleted, and the data of the loads of the plurality of xPON MAC frames are combined. A PON MAC frame:
例如接收到的 xPON MAC帧为 xGEM帧, 且该 xGEM帧的帧头中的 PTI为 000, 则表 示该 xGEM帧的负载中包含一个 PON MAC帧的部分数据, 即由一个 PON MAC帧分段而成, 则需要继续接收 xGEM帧, 直至接收到的 xGEM的帧头中的 PTI为 001, 则将这些 xGEM 帧的帧头删除, 并取出负载的数据进行组合, 从而能够得到一个 PON MAC帧。  For example, if the received xPON MAC frame is an xGEM frame, and the PTI in the frame header of the xGEM frame is 000, it indicates that the load of the xGEM frame includes part of data of one PON MAC frame, that is, by one PON MAC frame segmentation. If the PTI is 001, the frame header of the xGEM frame is deleted, and the data of the load is combined and combined to obtain a PON MAC frame.
需要说明的是, 前述 xPON MAC帧可以为 xGEM帧, 或 NG-EP0N MAC帧, 前述 P0N MAC 帧可以为 TC帧, 或 GEM帧, 或 EP0N MAC帧。  It should be noted that the foregoing xPON MAC frame may be an xGEM frame, or an NG-EP0N MAC frame, and the foregoing P0N MAC frame may be a TC frame, or a GEM frame, or an EP0N MAC frame.
本实施例中, 对于 PON over xGEM, 可以对经 xPON物理层处理后的 xGEM帧去除 xGEM帧头,从 xPON-based Tunnel中分出 PON-based Connection,从而实现 TC/GEM/EP0N MAC帧 over xGEM ( TC/GEM帧 /EP0N MAC帧承载于 xGEM帧);  In this embodiment, for the PON over xGEM, the xGEM frame header may be removed from the xGEM frame processed by the xPON physical layer, and the PON-based Connection may be separated from the xPON-based tunnel, thereby implementing the TC/GEM/EP0N MAC frame over xGEM. (TC/GEM frame/EP0N MAC frame is carried in xGEM frame);
对于 PON over NG-EP0N, 可以对经 NG-EP0N物理层处理后的 NG-EP0N MAC帧删除 NG-EP0N MAC帧前导码, 得到 TC/GEM帧 /EP0N MAC帧, 从 xPON-based Tunnel中分发出 PON-based Connection, 从而实现 TC/GEM/EP0N MAC帧 over NG-EP0N MAC帧。  For the PON over NG-EP0N, the NG-EP0N MAC frame preamble can be deleted from the NG-EP0N MAC frame processed by the NG-EP0N physical layer to obtain the TC/GEM frame/EP0N MAC frame, which is sent out from the xPON-based tunnel. PON-based Connection, thus implementing TC/GEM/EP0N MAC frame over NG-EP0N MAC frame.
504、 进行 PON物理层处理, 并发送 P0N物理层信号。  504. Perform PON physical layer processing, and send a P0N physical layer signal.
本实施例中的步骤 504与图 4所示的实施例中的步骤 404相同, 此处不再赘述。 本实施例中, xONU从 xOLT接收 xPON物理层信号, 并将该 xPON物理层信号转换成 xPON MAC帧, 从 xPON MAC帧的负载中读取出 PON MAC帧, 且通过 P0N物理层传输该 P0N MAC帧, 能够实现 PON over xPON的数据传输方式, 而由于靠近 0NU的 xONU设备替代了 0TN中的 WDM设备, 且 xONU设备通常是无色的, 不需要在 xONU上为每一个波长提供一 个光收发器, 因此能够有效的延长光传输距离, 降低数据传输成本; 并且 PON over xPON 的数据传输方式不需要支持突发模式到连续模式的转换, 能够降低实现复杂度。  Step 504 in this embodiment is the same as step 404 in the embodiment shown in FIG. 4, and details are not described herein again. In this embodiment, the xONU receives the xPON physical layer signal from the xOLT, converts the xPON physical layer signal into an xPON MAC frame, reads the PON MAC frame from the load of the xPON MAC frame, and transmits the P0N MAC through the P0N physical layer. The frame can implement the data transmission mode of PON over xPON, and since the xONU device close to the ONU replaces the WDM device in the 0TN, and the xONU device is usually colorless, there is no need to provide an optical transceiver for each wavelength on the xONU. Therefore, the optical transmission distance can be effectively extended, and the data transmission cost can be reduced; and the data transmission mode of the PON over xPON does not need to support the transition from the burst mode to the continuous mode, which can reduce the implementation complexity.
为便于理解, 下面以两个具体的实例对上述的上行以及下行数据传输过程进行描 述:  For ease of understanding, the following uplink and downlink data transmission processes are described by two specific examples:
( 1 ) PON MAC帧为 TC/GEM/EP0N MAC帧, xPON MAC帧为 xGEM帧:  (1) The PON MAC frame is a TC/GEM/EP0N MAC frame, and the xPON MAC frame is an xGEM frame:
上行过程:  Upstream process:
al、 对 P0N物理层信号进行处理得到 TC/GEM帧 /EP0N MAC帧;  Al, processing the P0N physical layer signal to obtain a TC/GEM frame/EP0N MAC frame;
a2、 GTC成帧处理;  A2, GTC framing processing;
本实施例中的步骤 a2可以包括映射和成帧两个步骤:  Step a2 in this embodiment may include two steps of mapping and framing:
a21、 将 TC/GEM/EP0N MAC帧进行分段或重组, 每个分段或重组映射到一个 xGEM 帧的负载。 A21. Segment or recombine the TC/GEM/EP0N MAC frame, and map each segment or reassembly to an xGEM. The load of the frame.
具体请参阅图 6 ( a) 以及图 6 (b), 其中, 图 6 ( a) 所示为分段处理的示意图, TC/EPON MAC帧分为多个分段, 各段的 TC/EPON MAC帧数据分别映射到一个 xGEM帧的负 载部分, 每分段都复制有 TC帧头 /EPON MAC帧前导码;  For details, please refer to Figure 6 (a) and Figure 6 (b). Figure 6 (a) shows the schematic diagram of the segmentation process. The TC/EPON MAC frame is divided into multiple segments, and the TC/EPON MAC of each segment. The frame data is respectively mapped to a load portion of an xGEM frame, and each segment is duplicated with a TC frame header/EPON MAC frame preamble;
图 6 (b ) 所示的为重组处理的示意图, 多个 TC/EPON MAC帧简单组合, 保留各自 的 TC帧头 /EPON MAC帧前导码, 映射到一个 xGEM帧的负载部分。  Figure 6 (b) shows a schematic diagram of reassembly processing. Multiple TC/EPON MAC frames are simply combined, and their respective TC header/EPON MAC frame preambles are reserved and mapped to the payload portion of an xGEM frame.
a22、 每个分段或重组添加 xGEM帧头构成 xGEM帧。  A22. Each segment or reassembly adds an xGEM frame header to form an xGEM frame.
TC/GEM/EPON MAC帧分段或重组后, 各分段或重组的 TC/GEM/EPON MAC帧数据映射 到 xGEM帧的负载部分, 再添加 xGEM帧头, 填写 Type域以表明负载为 TC/GEM/EPON MAC 帧, 填写 PTI以表明分段或重组, 即构成一个 xGEM帧。  After the TC/GEM/EPON MAC frame is segmented or reassembled, the TC/GEM/EPON MAC frame data of each segment or reassembly is mapped to the payload part of the xGEM frame, and then the xGEM frame header is added, and the Type field is filled in to indicate that the load is TC/ GEM/EPON MAC frame, fill in the PTI to indicate segmentation or reassembly, that is, constitute an xGEM frame.
a3、 按顺序通过 xPON物理层发送各个 xGEM帧。  A3. Send each xGEM frame through the xPON physical layer in order.
下行过程:  Downstream process:
b 1、 对 xPON物理层信号进行处理得到 xGEM帧。  b 1. Processing the xPON physical layer signal to obtain an xGEM frame.
b2、 将 xGEM帧的负载部分取出。  B2. Take out the payload part of the xGEM frame.
b3、 根据 xGEM帧的 Type域和 PTI, 对 xGEM帧多个取出的数据进行重组, 得到 B3. Recombining multiple extracted data of the xGEM frame according to the Type field and the PTI of the xGEM frame,
TC/GEM/EPON MAC帧。 TC/GEM/EPON MAC frame.
b4、 将 TC/GEM/EPON MAC帧进行 P0N物理层处理发往 CE。  B4. The TC/GEM/EPON MAC frame is processed by the P0N physical layer and sent to the CE.
本实施例中, 在上行以及下行方向均需要对 xGEM帧的帧头进行处理, 具体的处理 过程可以如图 7 ( a) 至图 7 ( c ) 所示:  In this embodiment, the frame header of the xGEM frame needs to be processed in both the uplink and downlink directions. The specific processing procedure can be as shown in Figure 7 (a) to Figure 7 (c):
其中, 图 7 ( a) 为 EPON MAC over xGEM的上行数据传输方式 (下行类似), 其中 xONU做添加 xGEM帧头的处理, xOLT做去除 xGEM帧头的处理。  Figure 7 (a) shows the uplink data transmission mode of EPON MAC over xGEM (similar to the downlink), where xONU does the processing of adding xGEM headers, and xOLT does the processing of removing xGEM headers.
图 7 (b ) 为 TC over xGEM的上行数据传输方式, 其中 xONU做添加 xGEM帧头的处 理, xOLT做去除 xGEM帧头的处理。  Figure 7 (b) shows the uplink data transmission mode of TC over xGEM. The xONU performs the processing of adding the xGEM frame header, and the xOLT performs the processing of removing the xGEM frame header.
图 7 ( c ) 为 TC over xGEM的下行数据传输方式, 其中 xOLT做添加 xGEM帧头的处 理, xONU做去除 xGEM帧头的处理。  Figure 7 (c) shows the downlink data transmission mode of TC over xGEM, where xOLT does the processing of adding xGEM frame headers, and xONU does the processing of removing xGEM frame headers.
( 2 ) PON MAC帧为 TC/GEM/EPON MAC帧, xPON MAC帧为 NG-EP0N MAC帧: 上行过程:  (2) The PON MAC frame is a TC/GEM/EPON MAC frame, and the xPON MAC frame is an NG-EP0N MAC frame: Uplink process:
al、 对 P0N物理层信号进行处理得到 TC/GEM帧 /EPON MAC帧。  Al. Process the P0N physical layer signal to obtain a TC/GEM frame/EPON MAC frame.
a2、 协调子层 (RS, Reconci l iation Sublayer) 处理。  A2, Coordination sublayer (RS, Reconci iation Sublayer) processing.
本实施例中的步骤 a2可包括映射和成帧两个步骤:  Step a2 in this embodiment may include two steps of mapping and framing:
a21、 将 TC/GEM 帧 /EPON MAC 帧进行分段或重组, 每个分段或重组映射到一个 NG-EPON MAC帧的负载。 A21. Segment or recombine the TC/GEM frame/EPON MAC frame, and map each segment or reassembly to one The load of the NG-EPON MAC frame.
具体请参阅图 8 ( a) 以及图 8 ( b), 其中, 图 8 ( a)所示的为分段处理的示意图, TC/GEM帧分为多个分段, 各段的 TC/GEM帧数据分别映射到一个 NG-EPON MAC帧的负载 部分, 每分段都复制有 TC/GEM帧头。  For details, please refer to FIG. 8( a ) and FIG. 8 ( b ). FIG. 8( a ) is a schematic diagram of segmentation processing, and the TC/GEM frame is divided into multiple segments, and the TC/GEM frames of each segment are shown. The data is mapped to the payload portion of an NG-EPON MAC frame, and each segment is duplicated with a TC/GEM frame header.
图 8 ( b )所示的为重组处理的示意图,多个 TC/GEM帧简单组合,保留各自的 TC/GEM 帧头, 映射到一个 NG-EPON MAC帧的负载部分。  Figure 8 (b) shows a schematic diagram of the reassembly process. Multiple TC/GEM frames are simply combined, and the respective TC/GEM frame headers are reserved and mapped to the payload portion of an NG-EPON MAC frame.
a22、 每个分段或重组添加带 NG-EPON MAC 帧前导码的以太网帧头, 填写 EthernetType域以表明负载为 TC/GEM/EP0N MAC帧, 修改前导码以表明分段或重组, 构 成 NG-EPON MAC帧。  A22. Add an Ethernet frame header with an NG-EPON MAC frame preamble for each segment or reassembly, fill in the EthernetType field to indicate that the payload is a TC/GEM/EP0N MAC frame, and modify the preamble to indicate segmentation or reassembly to form an NG. - EPON MAC frame.
TC/GEM/EP0N MAC帧分段或重组后,各分段或重组的 TC/GEM帧数据映射到 NG-EP0N After TC/GEM/EP0N MAC frame segmentation or reassembly, each segment or recombined TC/GEM frame data is mapped to NG-EP0N.
MAC帧的负载部分,再添加带 NG-EPON MAC帧前导码的以太网帧头, 即构成一个 NG-EP0N MAC帧。 一种 NG-EPON MAC帧前导码包括 LLID定界符起始 (SLD, 8 比特)、 LLID ( 16 比特) 和循环冗余码校验 ( CRC, 8比特)。 The payload portion of the MAC frame is further added with an Ethernet frame header with an NG-EPON MAC frame preamble, which constitutes an NG-EP0N MAC frame. An NG-EPON MAC frame preamble includes LLID delimiter start (SLD, 8 bits), LLID (16 bits), and cyclic redundancy check (CRC, 8 bits).
a3、 按顺序通过 xPON物理层发送各个 NG-EPON MAC帧。  A3. Send each NG-EPON MAC frame through the xPON physical layer in order.
下行过程:  Downstream process:
b l、 对 xPON物理层信号进行处理得到 NG-EPON MAC帧。  b l. Processing the xPON physical layer signal to obtain an NG-EPON MAC frame.
b2、 去除带 NG-EPON MAC帧前导码的以太网帧头得到 TC/GEM/EP0N MAC帧。  B2. The Ethernet frame header with the NG-EPON MAC frame preamble is removed to obtain the TC/GEM/EP0N MAC frame.
b3、 根据 NG-EPON MAC帧前导码, 对 NG-EPON MAC帧前导码多个取出的数据进行 重组, 得到 TC/GEM/EP0N MAC帧。  B3. Reassemble the multiple extracted data of the NG-EPON MAC frame preamble according to the NG-EPON MAC frame preamble to obtain a TC/GEM/EP0N MAC frame.
b4、 将 TC/GEM/EP0N MAC帧进行 P0N物理层处理发往 CE。  B4. Perform the P0N physical layer processing on the TC/GEM/EP0N MAC frame to the CE.
本实施例中, 在上行以及下行方向均需要对 NG-EPON MAC帧的帧头进行处理, 具 体的处理过程可以如图 9 ( a) 至图 9 ( c ) 所示:  In this embodiment, the frame header of the NG-EPON MAC frame needs to be processed in both the uplink and downlink directions. The specific processing procedure can be as shown in Figure 9 (a) to Figure 9 (c):
其中, 图 9 ( a) 为 GEM over NG-EPON MAC的上行数据传输方式 (下行类似), 其 中 xONU做添加 NG-EPON MAC帧头的处理, xOLT做去除 NG-EP0N MAC帧头的处理。  Figure 9 (a) shows the uplink data transmission mode of the GEM over NG-EPON MAC (similar to the downlink). The xONU adds the NG-EPON MAC header, and the xOLT removes the NG-EP0N MAC header.
图 9 ( b )为 TC over NG-EPON MAC的上行数据传输方式, 其中 xONU做添加 NG-EP0N Figure 9 (b) shows the uplink data transmission mode of TC over NG-EPON MAC, where xONU adds NG-EP0N
MAC帧头的处理, xOLT做去除 NG-EPON MAC帧头的处理。 The processing of the MAC frame header, xOLT does the processing of removing the NG-EPON MAC frame header.
图 9 ( c )为 TC over NG-EPON MAC的下行数据传输方式, 其中 xOLT做添加 NG-EP0N MAC帧头的处理, xONU做去除 NG-EPON MAC帧头的处理。  Figure 9 (c) shows the downlink data transmission mode of the TC over NG-EPON MAC. The xOLT performs the processing of adding the NG-EP0N MAC frame header, and the xONU performs the processing of removing the NG-EPON MAC frame header.
下面对本发明实施例中的数据传输系统进行描述, 请参阅图 10, 本发明实施例中 的数据传输系统包括:  The following describes the data transmission system in the embodiment of the present invention. Referring to FIG. 10, the data transmission system in the embodiment of the present invention includes:
用户边缘节点 1001,用于接收用户终端侧发送的数据,将该数据通过 P0N物理层信 号发送至运营商边缘节点 1002 ; The user edge node 1001 is configured to receive data sent by the user terminal, and pass the data through the P0N physical layer. The number is sent to the operator edge node 1002;
运营商边缘节点 1002, 用于对用户边缘节点 1001发送的 P0N物理层信号进行处理 得到用户边缘节点 1001发送的 PON MAC帧, 对 PON MAC帧进行处理得到 xPON MAC帧, 使 PON MAC帧位于 xPON MAC帧的负载中,对 xPON MAC帧进行 xPON物理层处理得到 xPON 物理层信号, 并发送 xPON物理层信号。  The operator edge node 1002 is configured to process the P0N physical layer signal sent by the user edge node 1001 to obtain a PON MAC frame sent by the user edge node 1001, and process the PON MAC frame to obtain an xPON MAC frame, so that the PON MAC frame is located at the xPON MAC. In the payload of the frame, the xPON physical layer is processed by the xPON physical layer to obtain the xPON physical layer signal, and the xPON physical layer signal is transmitted.
本实施例中用户边缘节点 1001可以包括 0NU以及 0LT, 运营商边缘节点 1002可以 包括 xOUN以及 x0LT。  In this embodiment, the user edge node 1001 may include 0NU and 0LT, and the operator edge node 1002 may include xOUN and x0LT.
本实施例中的 PON MAC帧以及 xPON MAC帧与前述实施例中的 PON MAC帧以及 xPON MAC帧的含义相同, 此处不再赘述。  The PON MAC frame and the xPON MAC frame in this embodiment have the same meanings as the PON MAC frame and the xPON MAC frame in the foregoing embodiment, and are not described herein again.
本实施例中描述的是用户边缘节点 1001到运营商边缘节点 1002的上行数据传输方 式, 下面描述从运营商边缘节点 1002到用户边缘节点 1001的下行数据传输方式, 同样 请参阅图 10, 本发明实施例中通讯系统另一实施例包括:  The uplink data transmission mode of the user edge node 1001 to the operator edge node 1002 is described in this embodiment. The following describes the downlink data transmission mode from the operator edge node 1002 to the user edge node 1001. Referring also to FIG. 10, the present invention is also provided. Another embodiment of the communication system in the embodiment includes:
运营商边缘节点 1002, 用于对接收到的 xPON物理层信号进行处理得到 xPON MAC 帧, 读取 xPON MAC帧的负载中的数据, 根据 xPON MAC帧的帧头对 xPON MAC帧的负载 中的数据进行处理得到 PON MAC帧, 对 PON MAC帧进行 P0N物理层处理得到 P0N物理层 信号, 发送 P0N物理层信号;  The operator edge node 1002 is configured to process the received xPON physical layer signal to obtain an xPON MAC frame, read data in a load of the xPON MAC frame, and use data in a load of the xPON MAC frame according to a frame header of the xPON MAC frame. Processing to obtain a PON MAC frame, performing a P0N physical layer processing on the PON MAC frame to obtain a P0N physical layer signal, and transmitting a P0N physical layer signal;
用户边缘节点 1001, 用于接收运营商边缘节点 1002发送的 P0N物理层信号。  The user edge node 1001 is configured to receive a P0N physical layer signal sent by the operator edge node 1002.
本实施例中用户边缘节点 1001可以包括 0NU以及 0LT, 运营商边缘节点 1002可以 包括 xOUN以及 x0LT。  In this embodiment, the user edge node 1001 may include 0NU and 0LT, and the operator edge node 1002 may include xOUN and x0LT.
本实施例中的 PON MAC帧以及 xPON MAC帧与前述实施例中的 PON MAC帧以及 xPON The PON MAC frame and the xPON MAC frame in this embodiment are the PON MAC frame and the xPON in the foregoing embodiment.
MAC帧的含义相同, 此处不再赘述。 The meanings of the MAC frames are the same and will not be described here.
本实施例中, 运营商边缘节点 1002可以将 PON MAC帧与 xPON MAC帧相互转换, 且 能通过 xPON物理层传输 xPON MAC帧, 通过 P0N物理层传输 PON MAC帧, 所以能够实现 In this embodiment, the operator edge node 1002 can convert the PON MAC frame and the xPON MAC frame to each other, and can transmit the xPON MAC frame through the xPON physical layer and transmit the PON MAC frame through the P0N physical layer, thereby realizing
PON over xPON的数据传输方式, 延长光传输距离, 有效的降低数据传输成本; 并且本 实施例中 PON over xPON的数据传输方式不需要支持突发模式到连续模式的转换, 能够 降低实现复杂度。 The data transmission mode of the PON over xPON extends the optical transmission distance and effectively reduces the data transmission cost. Moreover, the data transmission mode of the PON over xPON in this embodiment does not need to support the burst mode to the continuous mode conversion, which can reduce the implementation complexity.
下面介绍本发明实施例中的运营商边缘节点实施例,请参阅图 11,本发明实施例中 的运营商边缘节点一个实施例包括:  The following describes an embodiment of a carrier edge node in the embodiment of the present invention. Referring to FIG. 11, an embodiment of a carrier edge node in the embodiment of the present invention includes:
P0N物理层处理单元 1101, 用于对 P0N (例如 GP0N或 EP0N) 物理层信号进行处理 得到 PON MAC帧;  The P0N physical layer processing unit 1101 is configured to process a P0N (for example, GP0N or EP0N) physical layer signal to obtain a PON MAC frame.
成帧处理单元 1103, 用于对 PON MAC帧进行处理得到 xPON MAC帧, PON MAC帧位 于 xPON MAC帧的负载中; A framing processing unit 1103, configured to process a PON MAC frame to obtain an xPON MAC frame, and a PON MAC frame bit In the load of the xPON MAC frame;
例如对于 PON over xGEM,可以对 PON MAC帧添加 xGEM帧头得到 xGEM帧,将 PON-based Connection汇聚入于 xPON-based Tunnel , 从而实现 TC/GEM/EPON MAC帧 over xGEM ( TC/GEM帧 /EPON MAC帧承载于 xGEM帧);  For example, for PON over xGEM, an xGEM frame header can be added to a PON MAC frame to obtain an xGEM frame, and a PON-based Connection can be aggregated into an xPON-based tunnel to implement a TC/GEM/EPON MAC frame over xGEM (TC/GEM frame/EPON). The MAC frame is carried in the xGEM frame);
例如对于 PON over NG-EP0N, 可以对 PON MAC帧添加带 NG-EPON MAC帧前导码的以 太网帧头,得到 NG-EPON MAC帧,将 PON-based Connection汇聚入于 xPON-based Tunnel , 从而实现 TC/GEM/EPON MAC帧 over NG-EPON MAC帧。  For example, for PON over NG-EP0N, an Ethernet frame header with an NG-EPON MAC frame preamble can be added to the PON MAC frame to obtain an NG-EPON MAC frame, and the PON-based Connection is aggregated into the xPON-based tunnel. TC/GEM/EPON MAC frame over NG-EPON MAC frame.
xPON物理层处理单元 1104, 用于对 xPON MAC 帧进行 xPON (例如 10G-GP0N 或 10G-EP0N) 物理层处理, 得到 xPON物理层信号并发送该 xPON物理层信号。  The xPON physical layer processing unit 1104 is configured to perform xPON (for example, 10G-GP0N or 10G-EP0N) physical layer processing on the xPON MAC frame, obtain an xPON physical layer signal, and send the xPON physical layer signal.
本实施例中的运营商边缘节点还可以进一步包括:  The carrier edge node in this embodiment may further include:
复用单元 1102, 用于根据 P0N物理层处理单元 1101得到的 PON MAC帧的长度以及 预置的长度门限之间的关系对 PON MAC帧进行分段或重组, 将分段或重组后的 PON MAC 帧发送至成帧处理单元 1103进行处理。  The multiplexing unit 1102 is configured to segment or reassemble the PON MAC frame according to the relationship between the length of the PON MAC frame obtained by the P0N physical layer processing unit 1101 and the preset length threshold, and the segmented or reassembled PON MAC The frame is sent to the framing processing unit 1103 for processing.
本实施例中描述的是 CE节点到 PE节点的上行数据传输方式, 为便于理解, 下面以 一具体应用场景进行说明:  In this embodiment, the uplink data transmission mode from the CE node to the PE node is described. For ease of understanding, the following describes a specific application scenario:
本实施例中, P0N物理层处理单元 1101对 P0N物理层信号进行处理即可获取到 P0N MAC帧。  In this embodiment, the P0N physical layer processing unit 1101 processes the P0N physical layer signal to obtain the P0N MAC frame.
在获取到 PON MAC帧之后, 复用单元 1102即可确定其长度, 并将该长度与预置的 最大长度门限以及最小长度门限进行比较, 并根据比较结果对 PON MAC帧进行分段或重 组。  After acquiring the PON MAC frame, the multiplexing unit 1102 can determine its length, compare the length with a preset maximum length threshold and a minimum length threshold, and segment or reassemble the PON MAC frame according to the comparison result.
该最大长度门限与最小长度门限均为预设数值, 具体和实际应用相关, 此处不作限 定。  The maximum length threshold and the minimum length threshold are preset values, which are related to the actual application, and are not limited herein.
具体的比较过程与前述图 3所示的方法实施例中描述的比较过程一致,此处不再赘 述。  The specific comparison process is consistent with the comparison process described in the foregoing method embodiment shown in FIG. 3, and will not be described again here.
复用单元 1102在对 PON MAC帧进行分段或重组之后, 成帧处理单元 1103可以根据 分段或重组的数据生成 xPON MAC帧, 具体的生成过程与前述图 2所示的方法实施例中 描述的生成过程一致, 此处不再赘述。  After the multiplexing unit 1102 segments or reassembles the PON MAC frame, the framing processing unit 1103 may generate an xPON MAC frame according to the segmented or recombined data, and the specific generation process is described in the foregoing method embodiment shown in FIG. The generation process is consistent and will not be described here.
在成帧处理单元 1103得到 xPON MAC帧之后, xPON物理层处理单元 1104即可对该 xPON MAC帧进行 xPON物理层处理得到 xPON物理层信号, 并发送该 xPON物理层信号, 从而能够实现携带有 PON MAC帧的 xPON MAC帧在 xPON中传输。  After the framing processing unit 1103 obtains the xPON MAC frame, the xPON physical layer processing unit 1104 can perform the xPON physical layer processing on the xPON MAC frame to obtain the xPON physical layer signal, and send the xPON physical layer signal, thereby implementing carrying the PON. The xPON MAC frame of the MAC frame is transmitted in xPON.
本实施例中,复用单元 1102可以将 P0N MAC帧进行重组或分段,成帧处理单元 1103 根据重组或分段的数据生成 xPON MAC帧, 且 xPON物理层处理单元 1104通过 xPON物理 层传输该 xPON MAC帧, 所以能够实现 PON over xPON的数据传输方式, 有效的降低数 据传输成本; 并且本实施例中 PON over xPON的数据传输方式不需要支持突发模式到连 续模式的转换, 能够降低实现复杂度。 In this embodiment, the multiplexing unit 1102 may reassemble or segment the P0N MAC frame, and the framing processing unit 1103 Generating an xPON MAC frame according to the reassembled or segmented data, and the xPON physical layer processing unit 1104 transmits the xPON MAC frame through the xPON physical layer, so that the data transmission mode of the PON over xPON can be implemented, and the data transmission cost is effectively reduced; In the example, the data transmission mode of PON over xPON does not need to support burst mode to continuous mode conversion, which can reduce implementation complexity.
请参阅图 12, 本发明实施例中的运营商边缘节点另一实施例包括:  Referring to FIG. 12, another embodiment of the carrier edge node in the embodiment of the present invention includes:
xPON物理层处理单元 1201, 用于对 xPON (例如 10G-GP0N或 10G-EP0N) 物理层信 号进行处理得到 xPON MAC帧;  The xPON physical layer processing unit 1201 is configured to process an xPON (for example, 10G-GP0N or 10G-EP0N) physical layer signal to obtain an xPON MAC frame;
成帧处理单元 1203, 用于读取 xPON MAC帧的负载中的数据, 根据 xPON MAC帧的帧 头对 xPON MAC帧的负载中的数据进行处理得到 PON MAC帧;  The framing processing unit 1203 is configured to read data in the payload of the xPON MAC frame, and process the data in the payload of the xPON MAC frame according to the frame header of the xPON MAC frame to obtain a PON MAC frame;
例如对于 PON over xGEM, 可以对经 xPON物理层处理后的 xGEM帧去除 xGEM帧头, 从 xPON-based Tunnel 中分出 PON-based Connection, 从而实现 TC/GEM/EP0N MAC帧 over xGEM ( TC/GEM帧 /EPON MAC帧承载于 xGEM帧);  For example, for PON over xGEM, the xGEM frame header can be removed from the xGEM frame processed by the xPON physical layer, and the PON-based Connection can be separated from the xPON-based Tunnel, thereby implementing the TC/GEM/EP0N MAC frame over xGEM (TC/GEM). Frame/EPON MAC frame is carried in xGEM frame);
例如对于 PON over NG-EP0N, 可以对经 NG-EP0N物理层处理后的 NG-EP0N MAC帧删 除 NG-EP0N MAC帧前导码, 得到 TC/GEM帧 /EPON MAC帧, 从 xPON-based Tunnel中分发 出 PON-based Connection, 从而实现 TC/GEM/EP0N MAC帧 over NG-EP0N MAC帧。  For example, for PON over NG-EP0N, the NG-EP0N MAC frame preamble can be deleted from the NG-EP0N MAC frame processed by the NG-EP0N physical layer to obtain a TC/GEM frame/EPON MAC frame, which is divided into xPON-based tunnels. A PON-based Connection is issued to implement a TC/GEM/EP0N MAC frame over NG-EP0N MAC frame.
PON物理层处理单元 1204, 用于对 PON MAC帧进行 P0N (例如 GP0N或 EP0N) 物理 层处理, 得到 P0N物理层信号并发送该 P0N物理层信号;  The PON physical layer processing unit 1204 is configured to perform P0N (for example, GP0N or EP0N) physical layer processing on the PON MAC frame, obtain a P0N physical layer signal, and send the P0N physical layer signal;
对于 GP0N, 完成 GP0N的 GPM子层功能, P0N数据链路层帧为 GTC TC帧时, 需要重 新产生 GTC TC帧的前导码(preamble );对于 EP0N,完成 EP0N的 PHY层功能,包括 PDM、 PMA、 PCS, P0N数据链路层帧为 EPON MAC帧时, 需要重新产生 EPON MAC帧的前导码 ( preamble )。  For the GP0N, the GPM sublayer function of the GP0N is completed. When the P0N data link layer frame is a GTC TC frame, the preamble of the GTC TC frame needs to be regenerated. For the EP0N, the PHY layer function of the EP0N is completed, including the PDM and the PMA. When the PCS and P0N data link layer frames are EPON MAC frames, the preamble of the EPON MAC frame needs to be regenerated.
本实施例中的运营商边缘节点还可以进一步包括:  The carrier edge node in this embodiment may further include:
解复用单元 1202, 用于对 xPON物理层处理单元 1201得到的 xPON MAC帧的负载中 的数据进行分段或重组, 将分段或重组后的数据发送至成帧处理单元 1203进行处理。  The demultiplexing unit 1202 is configured to segment or recombine data in the payload of the xPON MAC frame obtained by the xPON physical layer processing unit 1201, and send the segmented or reassembled data to the framing processing unit 1203 for processing.
本实施例中描述的是 PE节点到 CE节点的上行数据传输方式, 为便于理解, 下面以 一具体应用场景进行说明:  The uplink data transmission mode from the PE node to the CE node is described in this embodiment. To facilitate understanding, the following describes a specific application scenario:
本实施例中, xPON物理层处理单元 1201对 xPON物理层信号进行处理即可获取到 xPON MAC帧。  In this embodiment, the xPON physical layer processing unit 1201 processes the xPON physical layer signal to obtain an xPON MAC frame.
本实施例中的 xPON MAC帧在实际应用中可以为 xGEM帧, 或者是 NG-EP0N MAC帧, 或者是其他类型的 xPON MAC帧, 具体此处不作限定。  The xPON MAC frame in this embodiment may be an xGEM frame, an NG-EP0N MAC frame, or another type of xPON MAC frame, which is not limited herein.
本实施例中, xPON物理层处理单元 1201对 xPON物理层信号进行处理得到 xPON MAC 帧的过程为本领域技术人员的公知常识, 此处不作限定。 In this embodiment, the xPON physical layer processing unit 1201 processes the xPON physical layer signal to obtain an xPON MAC. The process of the frame is common knowledge of those skilled in the art, and is not limited herein.
在 xPON物理层处理单元 1201获取到 xPON MAC帧的负载中的数据之后, 解复用单 元 1202即可根据 xPON MAC帧的帧头对 xPON MAC帧的负载中的数据进行分段或重组, 成帧处理单元 1203通过删除 xPON MAC帧的帧头得到 PON MAC帧, 具体过程与前述图 5 所示实施例中描述的过程一致, 此处不再赘述。  After the xPON physical layer processing unit 1201 acquires the data in the payload of the xPON MAC frame, the demultiplexing unit 1202 may segment or reassemble the data in the payload of the xPON MAC frame according to the frame header of the xPON MAC frame, and frame the data. The processing unit 1203 obtains the PON MAC frame by deleting the frame header of the xPON MAC frame. The specific process is consistent with the process described in the foregoing embodiment shown in FIG. 5, and details are not described herein again.
当成帧处理单元 1203读取出 P0N MAC帧之后, P0N物理层处理单元 1204即可进行 P0N物理层处理得到 P0N物理层信号,并发送该 P0N物理层信号,从而能够实现该 PON MAC 帧从 xPON传输至 P0N。  After the framing processing unit 1203 reads the P0N MAC frame, the P0N physical layer processing unit 1204 can perform the P0N physical layer processing to obtain the P0N physical layer signal, and transmit the P0N physical layer signal, so that the PON MAC frame can be transmitted from the xPON. To P0N.
本实施例中, 解复用单元 1202可以将 PON MAC帧进行重组或分段, 成帧处理单元 1203根据重组或分段的数据生成 xPON MAC帧, P0N物理层处理单元 1204通过 xPON物 理层传输该 xPON MAC帧, 所以能够实现 PON over xPON的数据传输方式, 降低数据传 输成本; 并且本实施例中, PON over xPON的数据传输方式不需要支持突发模式到连续 模式的转换, 能够降低实现复杂度。  In this embodiment, the demultiplexing unit 1202 may reassemble or segment the PON MAC frame, and the framing processing unit 1203 generates an xPON MAC frame according to the reassembled or segmented data, and the P0N physical layer processing unit 1204 transmits the PON MAC layer through the xPON physical layer. The xPON MAC frame can implement the data transmission mode of the PON over xPON and reduce the data transmission cost. In this embodiment, the data transmission mode of the PON over xPON does not need to support the burst mode to the continuous mode conversion, which can reduce the implementation complexity. .
本发明实施例中另提供了一种数据传输方法, 如图 13所示, 包括:  Another embodiment of the present invention provides a data transmission method, as shown in FIG. 13, including:
1301、 对业务层数据进行处理得到 PON MAC帧;  1301. Processing the service layer data to obtain a PON MAC frame;
本实施例中, 该业务层数据可以是 IP数据包、 以太网帧或者时分复用数据包。 本 实施例中的 P0N MAC帧在实际应用中可以为传输汇聚(TC, Transmi ssion Convergence ) 帧, 或吉比特无源光网络封装方式(GEM, GP0N Encapsulation Method)帧, 或 EP0N MAC 帧, 或者是其他类型的 PON MAC帧, 具体此处不作限定。  In this embodiment, the service layer data may be an IP data packet, an Ethernet frame, or a time division multiplexed data packet. In the actual application, the P0N MAC frame may be a Transmission Convergence (TC) frame, or a Gigabit Passive Optical Network Encapsulation (GEM) mode, or an EP0N MAC frame, or Other types of PON MAC frames are not limited herein.
本实施例中, PE节点 xOLT对数据封装得到 PON MAC帧的过程为本领域技术人员的 公知常识, 此处不作限定。  In this embodiment, the process in which the PE node xOLT encapsulates the data to obtain the PON MAC frame is a common knowledge of those skilled in the art, which is not limited herein.
1302、 对 PON MAC帧进行处理得到 xPON MAC帧, 使 PON MAC帧位于 xPON MAC帧的 负载中;  1302: Processing a PON MAC frame to obtain an xPON MAC frame, so that the PON MAC frame is located in a load of the xPON MAC frame;
本实施例中,当 PE节点对接收的数据处理并得到 PON MAC帧之后,为了实现 PON over xPON的数据传输方式, 可以对该 P0N MAC帧进行处理得到 xPON MAC帧, 具体可以将 P0N MAC帧携带于 xPON MAC帧的负载中, 例如, 可以对 PON MAC帧添加 xGEM帧头得到 xGEM 帧,将基于 P0N的连接汇聚入基于 xPON的隧道,从而实现 TC/GEM/EP0N MAC帧 over xGEM ( TC/GEM/EP0N MAC帧承载于 xGEM帧中);又例如,可以对 PON MAC帧添加带 NG-EP0N MAC 帧前导码的以太网帧头, 得到 NG-EP0N MAC帧, 从而实现 TC/GEM/EP0N MAC帧承载于 NG-EP0N MAC帧中。 在将 PON MAC帧进行处理得到 xPON MAC帧的过程中, 也可以根据前 述实施例中的内容对 PON MAC帧进行分段或者重组。 为了使 xPON MAC帧对 PON MAC的承载是透明的, 即所有数据在 xPON上的传输时延 是相同的, 本发明实施例中提供了一种封装 xPON MAC帧的方法, 使 xPON MAC帧结构按 照 P0N带宽为每个 P0N划分固定的传输字节块 (图中的数据分区), 且保证这些字节块 的顺序不变。 如图 16所示, 为当 xPON的带宽为 P0N的带宽的 4倍, PON MAC帧为 TC 帧时, 则封装后的 xPON TC帧中包括 4个固定的 PON TC帧数据分区。 In this embodiment, after the PE node processes the received data and obtains the PON MAC frame, in order to implement the data transmission mode of the PON over xPON, the P0N MAC frame may be processed to obtain an xPON MAC frame, and the P0N MAC frame may be carried. In the load of the xPON MAC frame, for example, an xGEM frame header may be added to the PON MAC frame to obtain an xGEM frame, and the P0N-based connection is aggregated into the xPON-based tunnel, thereby implementing the TC/GEM/EP0N MAC frame over xGEM (TC/GEM). /EP0N MAC frame is carried in the xGEM frame); for example, an Ethernet frame header with an NG-EP0N MAC frame preamble can be added to the PON MAC frame to obtain an NG-EP0N MAC frame, thereby implementing a TC/GEM/EP0N MAC frame. It is carried in the NG-EP0N MAC frame. In the process of processing the PON MAC frame to obtain an xPON MAC frame, the PON MAC frame may also be segmented or reassembled according to the content in the foregoing embodiment. In order to make the xPON MAC frame transparent to the bearer of the PON MAC, that is, the transmission delay of all the data on the xPON is the same, in the embodiment of the present invention, a method for encapsulating the xPON MAC frame is provided, so that the xPON MAC frame structure is configured according to The P0N bandwidth divides a fixed transport byte block (data partition in the figure) for each P0N, and ensures that the order of these byte blocks does not change. As shown in FIG. 16, when the bandwidth of the xPON is 4 times of the bandwidth of the P0N and the PON MAC frame is the TC frame, the encapsulated xPON TC frame includes 4 fixed PON TC frame data partitions.
1303、 对该 xPON MAC帧进行 xPON物理层处理, 并发送 xPON物理层信号。  1303. Perform an xPON physical layer processing on the xPON MAC frame, and send an xPON physical layer signal.
在 PE节点 xOLT得到 xPON MAC帧之后, 即可将该 xPON MAC帧进行 xPON物理层处 理得到 xPON物理层信号, 并发送该 xPON物理层信号到另一端的 PE节点 x0NU, 从而能 够实现携带有 PON MAC帧的 xPON MAC帧在 xPON中传输。  After the xPON MAC frame is obtained by the PE node xOLT, the xPON MAC frame can be processed by the xPON physical layer to obtain the xPON physical layer signal, and the xPON physical layer signal is sent to the PE node x0NU at the other end, so that the PON MAC can be carried. The xPON MAC frame of the frame is transmitted in xPON.
本发明上述实施例既能够实现光网络设备与其他发送业务层数据的设备的互通, 又 可以将 PON MAC帧携带于 xPON MAC帧的负载, 且通过 xPON物理层传输该 xPON MAC帧, 所以能够实现 PON over xPON的数据传输方式, 延长光传输距离, 降低数据传输成本; 并且本实施例中, PON over xPON的数据传输方式不需要支持突发模式到连续模式的转 换, 降低了实现复杂度。  The foregoing embodiments of the present invention can implement the interworking between the optical network device and other devices that send the service layer data, and can carry the PON MAC frame to the load of the xPON MAC frame, and transmit the xPON MAC frame through the xPON physical layer, so The data transmission mode of the PON over xPON extends the optical transmission distance and reduces the data transmission cost. In this embodiment, the data transmission mode of the PON over xPON does not need to support the burst mode to the continuous mode conversion, thereby reducing the implementation complexity.
本发明实施例中提供了另外一种数据传输方法, 包括:  Another data transmission method is provided in the embodiment of the present invention, including:
1401、 接收 xPON物理层信号, 对该 xPON物理层信号进行处理得到 xPON MAC帧; 本实施例中, PE节点 xOLT对接收到的 xPON物理层信号进行处理即可获取到 xPON 1401: Receive an xPON physical layer signal, and process the xPON physical layer signal to obtain an xPON MAC frame. In this embodiment, the PE node xOLT processes the received xPON physical layer signal to obtain the xPON.
MAC帧。 MAC frame.
本实施例中的 xPON MAC帧在实际应用中可以为 xTC帧 (NG GP0N的 TC帧)、 xGEM 帧、 NG-EP0N MAC帧或者其他类型的 xPON MAC帧, 具体此处不作限定。  The xPON MAC frame in this embodiment may be an xTC frame (a TC frame of an NG GP0N), an xGEM frame, an NG-EP0N MAC frame, or other types of xPON MAC frames, which is not limited herein.
本实施例中, PE节点 xOLT对接收到的 xPON物理层信号进行处理得到 xPON MAC帧 的过程为本领域技术人员的公知常识, 此处不作限定。  In this embodiment, the process of processing the received xPON physical layer signal by the PE node xOLT to obtain the xPON MAC frame is common knowledge of those skilled in the art, which is not limited herein.
1402、 读取 xPON MAC帧的负载中的数据;  1402. Reading data in a load of an xPON MAC frame;
在获取到 xPON MAC帧之后, 为了将数据通过 P0N传输到其他非光网络设备, 需要 从该 xPON MAC帧中获取 PON MAC帧, 由于在 PON over xPON的传输中, PON MAC帧位于 xPON MAC帧的负载中, 所以可以首先读取 xPON MAC帧的负载中的数据。  After acquiring the xPON MAC frame, in order to transmit the data to other non-optical network devices through the PON, it is necessary to obtain the PON MAC frame from the xPON MAC frame, because in the transmission of the PON over xPON, the PON MAC frame is located in the xPON MAC frame. In the load, the data in the payload of the xPON MAC frame can be read first.
1403、根据 xPON MAC帧的帧头对 xPON MAC帧的负载中的数据进行处理得到 PON MAC 帧;  1403. Process the data in the payload of the xPON MAC frame according to the frame header of the xPON MAC frame to obtain a PON MAC frame.
本实施例中, 在获取到 xPON MAC帧的负载中的数据之后, xOLT即可根据 xPON MAC 帧的帧头从中读取出 PON MAC帧, 具体的方式参见上述实施例。 如果在 xONU处在对 P0N MAC帧进行了分段或者重组, 则 xOLT还需要对 xPON MAC帧的负载中的数据进行相应的 重组或者分段, 才能得到正确的 PON MAC帧。 In this embodiment, after acquiring the data in the payload of the xPON MAC frame, the xOLT can read the PON MAC frame from the frame header of the xPON MAC frame. For the specific manner, refer to the foregoing embodiment. If the P0N MAC frame is segmented or reassembled at the xONU, the xOLT also needs to perform corresponding data on the payload of the xPON MAC frame. Reorganize or segment to get the correct PON MAC frame.
1404、 将得到的 PON MAC帧进行处理, 得到业务层数据并发送。  1404. Process the obtained PON MAC frame to obtain service layer data and send the data.
当 PE节点 xOLT从 xPON MAC帧得到 PON MAC帧之后, 对该 PON MAC帧进行处理, 得到与该 PE节点连接的网络设备能够传输的业务层数据并发送。 例如, 如果 xOLT连接 到以太网, 则需要对 PON MAC帧处理得到以太网帧, 然后将该以太网帧发送到与 xOLT 连接的以太网。  After the PE node xOLT obtains the PON MAC frame from the xPON MAC frame, the PON MAC frame is processed to obtain the service layer data that can be transmitted by the network device connected to the PE node and sent. For example, if the xOLT is connected to an Ethernet, the PON MAC frame needs to be processed to get an Ethernet frame, which is then sent to the Ethernet connected to the xOLT.
本实施例中, xOLT可以从 xPON MAC帧的负载中读取出 PON MAC帧, 然后将该 P0N MAC帧生成业务层数据并发送, 能够实现 PON over xPON的数据传输方式, 延长光传输 距离, 降低数据传输成本; 并且本实施例中, PON over xPON的数据传输方式不需要支 持突发模式到连续模式的转换, 降低了实现复杂度。  In this embodiment, the xOLT can read the PON MAC frame from the load of the xPON MAC frame, and then generate and transmit the service layer data of the P0N MAC frame, thereby implementing the data transmission mode of the PON over xPON, extending the optical transmission distance, and reducing Data transmission cost; and in this embodiment, the data transmission mode of the PON over xPON does not need to support the transition from the burst mode to the continuous mode, which reduces the implementation complexity.
本发明实施例还提供了一种运营商边缘节点, 用于实现上述图 13和 /或图 14所示 的方法, 该运营商边缘节点如图 15所示, 包括:  The embodiment of the present invention further provides an operator edge node, which is used to implement the method shown in FIG. 13 and/or FIG. 14 . The operator edge node is as shown in FIG. 15 and includes:
至少一个 PON MAC层处理单元 1501, 用于对业务层数据进行处理得到 PON MAC帧, 其中, 该业务层数据可以是 IP包或者以太网帧。  The at least one PON MAC layer processing unit 1501 is configured to process the service layer data to obtain a PON MAC frame, where the service layer data may be an IP packet or an Ethernet frame.
第一 xPON MAC层处理单元 1503, 用于对 PON MAC层处理单元 1501得到的 PON MAC 帧进行处理得到 xPON MAC帧, PON MAC帧位于 xPON MAC帧的负载中, 具体处理方法可 以参考上述实施例。  The first xPON MAC layer processing unit 1503 is configured to process the PON MAC frame obtained by the PON MAC layer processing unit 1501 to obtain an xPON MAC frame, where the PON MAC frame is located in a load of the xPON MAC frame. For the specific processing method, refer to the foregoing embodiment.
当所述运营商边缘节点包括两个或两个以上的 PON MAC层处理单元时, 为了使 xPON MAC帧对 PON MAC的承载是透明的, 即所有数据在 xPON上的传输时延是相同的, 本发明 实施例中提供了一种封装 xPON MAC帧的方法, 使 xPON MAC帧结构按照 P0N带宽为每个 P0N划分固定的传输字节块 (图中的数据分区), 且保证这些字节块的顺序不变。 如图 16所示,为当 xPON的带宽为 P0N的带宽的 4倍, P0N MAC帧为 TC帧时,则封装后的 xPON TC帧中包括 4个固定的 PON TC帧数据分区。  When the carrier edge node includes two or more PON MAC layer processing units, in order to make the xPON MAC frame transparent to the PON MAC bearer, that is, the transmission delay of all data on the xPON is the same, In the embodiment of the present invention, a method for encapsulating an xPON MAC frame is provided. The xPON MAC frame structure is divided into fixed transmission byte blocks (data partitions in the figure) for each P0N according to the P0N bandwidth, and the byte blocks are guaranteed. The order is unchanged. As shown in Figure 16, when the bandwidth of the xPON is 4 times the bandwidth of the P0N and the P0N MAC frame is a TC frame, the encapsulated xPON TC frame includes four fixed PON TC frame data partitions.
xPON物理层处理单元 1504, 用于对 xPON MAC帧进行处理, 得到 xPON物理层信号, 并发送所述 xPON物理层信号。  The xPON physical layer processing unit 1504 is configured to process the xPON MAC frame, obtain an xPON physical layer signal, and send the xPON physical layer signal.
本实施例中的运营商边缘节点还可以进一步包括:  The carrier edge node in this embodiment may further include:
复用 /解复用单元 1502, 用于根据 PON MAC层处理单元 1501得到的 PON MAC帧的长 度以及预置的长度门限之间的关系对 PON MAC帧进行分段或重组,将分段或重组后的 P0N MAC帧发送至第一 xPON MAC层处理单元 1503进行处理。  The multiplexing/demultiplexing unit 1502 is configured to segment or reassemble the PON MAC frame according to the relationship between the length of the PON MAC frame obtained by the PON MAC layer processing unit 1501 and the preset length threshold, and segment or reorganize the PON MAC frame. The subsequent P0N MAC frame is sent to the first xPON MAC layer processing unit 1503 for processing.
本发明实施例中的运营商边缘节点中的 xPON物理层处理单元 1504, 还可以用于将 接收的 xPON物理层信号转换成 xPON MAC帧。 本实施例中的运营商边缘节点还可以进一步包括: 第二 xPON MAC帧处理单元 1505, 用于读取 X P0N物理层处理单元 1504得到的 xPON MAC帧的负载中的数据,根据 xPON MAC 帧的帧头对 xPON MAC帧的负载中的数据处理得到 PON MAC帧, 具体处理方法可以参考 上述实施例; 当运营商边缘节点中包括复用 /解复用单元 1502时, 所述复用 /解复用单 元 1502还用于对第二 xPON MAC帧处理单元 1505得到的 xPON MAC帧的负载中的数据进 行分段或重组, 将分段或重组后的数据发送至 PON MAC帧处理单元 1501进行处理。 所 述 PON MAC帧处理单元还用于对接收的 PON MAC帧进行处理, 得到业务层数据。 The xPON physical layer processing unit 1504 in the operator edge node in the embodiment of the present invention may also be configured to convert the received xPON physical layer signal into an xPON MAC frame. The operator edge node in this embodiment may further include: a second xPON MAC frame processing unit 1505, configured to read data in a load of the xPON MAC frame obtained by the X P0N physical layer processing unit 1504, according to the xPON MAC frame The data processing in the payload of the xPON MAC frame is obtained by the frame header. The specific processing method may refer to the foregoing embodiment. When the carrier edge node includes the multiplexing/demultiplexing unit 1502, the multiplexing/resolving The unit 1502 is further configured to segment or recombine the data in the payload of the xPON MAC frame obtained by the second xPON MAC frame processing unit 1505, and send the segmented or reassembled data to the PON MAC frame processing unit 1501 for processing. The PON MAC frame processing unit is further configured to process the received PON MAC frame to obtain service layer data.
本发明上述实施例中的第一 xPON MAC层处理单元 1503与第二 xPON MAC层处理单 元 1505可以分开设置, 也可以设置在同一模块中, 其中的复用 /解复用单元 1502也可 以分开设置成复用单元和解复用单元。  The first xPON MAC layer processing unit 1503 and the second xPON MAC layer processing unit 1505 in the foregoing embodiment of the present invention may be separately disposed, or may be disposed in the same module, where the multiplexing/demultiplexing unit 1502 may also be separately set. A multiplexing unit and a demultiplexing unit.
本实施例中, 运营商边缘节点可以从 xPON MAC帧的负载中读取出 PON MAC帧, 然 后将该 PON MAC帧生成业务层数据并发送, 能够实现 PON over xPON的数据传输方式, 延长光传输距离, 降低数据传输成本; 并且本实施例中, PON over xPON的数据传输方 式不需要支持突发模式到连续模式的转换, 降低了实现复杂度。  In this embodiment, the operator edge node can read the PON MAC frame from the load of the xPON MAC frame, and then generate and transmit the service layer data of the PON MAC frame, thereby implementing the PON over xPON data transmission mode and extending the optical transmission. The data transmission cost of the PON over xPON does not need to support the transition from the burst mode to the continuous mode, which reduces the implementation complexity.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通 过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储介质中, 上 述提到的存储介质可以是只读存储器, 磁盘或光盘等。  A person skilled in the art can understand that all or part of the steps of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, the above mentioned storage. The medium can be a read only memory, a magnetic disk or a compact disk or the like.
以上对本发明所提供的一种数据传输方法、 系统以及相关设备进行了详细介绍, 对 于本领域的一般技术人员, 依据本发明实施例的思想, 在具体实施方式及应用范围上均 会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。  The data transmission method, system and related equipment provided by the present invention are described in detail above. For those skilled in the art, according to the idea of the embodiment of the present invention, the specific implementation manner and the application range may be changed. In the above, the contents of this specification are not to be construed as limiting the invention.

Claims

权利 要 求 Rights request
1、 一种数据传输方法, 其特征在于, 包括: A data transmission method, comprising:
对无源光网络 P0N物理层信号进行处理得到 P0N媒体访问控制 MAC帧;  Processing the P0N physical layer signal of the passive optical network to obtain a P0N media access control MAC frame;
对所述 PON MAC帧进行处理得到下一代无源光网络 xPON媒体访问控制 MAC帧, 所 述 PON MAC帧位于所述 xPON MAC帧的负载中;  Processing the PON MAC frame to obtain a next-generation passive optical network xPON medium access control MAC frame, where the PON MAC frame is located in a load of the xPON MAC frame;
对所述 xPON MAC帧进行 xPON物理层处理得到 xPON物理层信号, 并发送所述 xPON 物理层信号。  Performing an xPON physical layer processing on the xPON MAC frame to obtain an xPON physical layer signal, and transmitting the xPON physical layer signal.
2、 根据权利要求 1所述的方法, 其特征在于, 所述对 PON MAC帧进行处理得到下 一代无源光网络 xPON媒体访问控制 MAC帧包括:  2. The method according to claim 1, wherein the processing the PON MAC frame to obtain the next generation passive optical network xPON medium access control MAC frame comprises:
根据所述 PON MAC帧的长度以及预置的长度门限之间的关系对所述 PON MAC帧进行 分段或重组;  And segmenting or recombining the PON MAC frame according to a relationship between a length of the PON MAC frame and a preset length threshold;
根据分段或重组的数据生成 xPON MAC帧,所述每个分段或重组的数据位于所述 xPON MAC帧的负载。  An xPON MAC frame is generated from the segmented or reassembled data, the data of each segment or reassembly being located at the load of the xPON MAC frame.
3、 根据权利要求 2所述的方法, 其特征在于, 所述根据所述 PON MAC帧的长度以 及预置的长度门限之间的关系对所述 PON MAC帧进行分段或重组包括:  The method according to claim 2, wherein the segmenting or recombining the PON MAC frame according to a relationship between a length of the PON MAC frame and a preset length threshold includes:
获取所述 PON MAC帧的长度;  Obtaining a length of the PON MAC frame;
判断所述 PON MAC帧的长度是否小于预置的最小长度门限或大于预置的最大长度门 限;  Determining whether the length of the PON MAC frame is less than a preset minimum length threshold or greater than a preset maximum length threshold;
若所述 P0N MAC帧的长度小于预置的最小长度门限, 则对多个 P0N MAC帧进行重组, 所述多个 PON MAC帧重组后的长度小于或等于最大长度门限;  And if the length of the P0N MAC frame is less than a preset minimum length threshold, recombining a plurality of P0N MAC frames, where a length of the multiple PON MAC frames after reassembly is less than or equal to a maximum length threshold;
若所述 P0N MAC帧的长度大于预置的最大长度门限, 则将所述 P0N MAC帧进行分段, 所述 PON MAC帧的每个分段的长度大于或等于最小长度门限。  And if the length of the P0N MAC frame is greater than a preset maximum length threshold, the P0N MAC frame is segmented, and a length of each segment of the PON MAC frame is greater than or equal to a minimum length threshold.
4、根据权利要求 2所述的方法,其特征在于,所述根据分段或重组的数据生成 xPON MAC帧包括:  4. The method of claim 2, wherein the generating the xPON MAC frame based on the segmented or reassembled data comprises:
将重组后的 PON MAC帧完全映射至 xPON MAC帧的负载, 或将所述 PON MAC帧的每 个分段映射至不同的 xPON MAC帧的负载;  Fully mapping the reassembled PON MAC frame to the payload of the xPON MAC frame, or mapping each segment of the PON MAC frame to a load of a different xPON MAC frame;
为所述 xPON MAC帧的负载添加帧头生成 xPON MAC帧。  An xPON MAC frame is generated by adding a frame header to the load of the xPON MAC frame.
5、 根据权利要求 4所述的方法, 其特征在于,  5. The method of claim 4, wherein
所述帧头中包含净荷类型指示 PTI或前导码, 所述净荷类型指示 PTI或前导码用于 指示所述 xPON MAC帧的负载中包含有 PON MAC帧;  The frame header includes a payload type indicating PTI or a preamble, and the payload type indicates that the PTI or the preamble is used to indicate that the load of the xPON MAC frame includes a PON MAC frame;
或, 所述帧头中包含业务类型参数域或新增参数域,所述业务类型参数域或新增参数域 用于指示所述 xPON MAC帧的负载中包含有 PON MAC帧。 or, The frame header includes a service type parameter field or a new parameter field, where the service type parameter field or the newly added parameter field is used to indicate that the load of the xPON MAC frame includes a PON MAC frame.
6、 一种数据传输方法, 其特征在于, 包括:  6. A data transmission method, comprising:
对 xPON物理层信号进行处理得到 xPON MAC帧;  Processing the xPON physical layer signal to obtain an xPON MAC frame;
读取所述 xPON MAC帧的负载中的数据;  Reading data in a load of the xPON MAC frame;
根据所述 xPON MAC帧的帧头对所述 xPON MAC帧的负载中的数据进行处理得到 P0N MAC帧;  Processing, according to a frame header of the xPON MAC frame, data in a payload of the xPON MAC frame to obtain a P0N MAC frame;
对所述 PON MAC帧进行 P0N物理层处理得到 P0N物理层信号, 并发送所述 P0N物理 层信号。  Performing a P0N physical layer processing on the PON MAC frame to obtain a P0N physical layer signal, and transmitting the P0N physical layer signal.
7、 根据权利要求 6所述的方法, 其特征在于, 所述根据所述 xPON MAC帧的帧头对 所述 xPON MAC帧的负载中的数据进行处理得到 PON MAC帧包括:  The method according to claim 6, wherein the processing the data in the payload of the xPON MAC frame according to the frame header of the xPON MAC frame to obtain the PON MAC frame comprises:
当所述 xPON MAC帧的帧头表示一个 xPON MAC帧的负载中包含多个完整的 PON MAC 帧时, 删除所述 xPON MAC帧的帧头;  Deleting a frame header of the xPON MAC frame when a header of the xPON MAC frame indicates that a load of an xPON MAC frame includes a plurality of complete PON MAC frames;
按照所述 xPON MAC帧的负载中的 PON MAC帧的帧头对所述 xPON MAC帧的负载中的 数据进行分段得到多个 PON MAC帧;  And segmenting data in a load of the xPON MAC frame according to a frame header of a PON MAC frame in a load of the xPON MAC frame to obtain a plurality of PON MAC frames;
或,  Or,
当所述 xPON MAC帧的帧头表示一个 xPON MAC帧的负载中包含一个 PON MAC帧的部 分数据时, 按照所述 xPON MAC帧的帧头确定多个 xPON MAC帧;  When a header of the xPON MAC frame indicates that a load of an xPON MAC frame includes part of data of a PON MAC frame, determining a plurality of xPON MAC frames according to a frame header of the xPON MAC frame;
删除所述确定的多个 xPON MAC帧的帧头, 将所述多个 xPON MAC帧的负载的数据进 行组合得到一个 PON MAC帧。  Deleting the determined headers of the plurality of xPON MAC frames, and combining the data of the loads of the plurality of xPON MAC frames to obtain one PON MAC frame.
8、 一种数据传输系统, 其特征在于, 包括:  8. A data transmission system, comprising:
用户边缘节点, 用于接收用户终端侧发送的数据, 将所述数据发送至运营商边缘节 点;  a user edge node, configured to receive data sent by the user terminal side, and send the data to an operator edge node;
所述运营商边缘节点, 用于对所述数据中的 P0N物理层信号进行处理得到 PON MAC 帧, 对所述 PON MAC帧进行处理得到 xPON MAC帧, 所述 PON MAC帧位于所述 xPON MAC 帧的负载中, 对所述 xPON MAC帧进行 xPON物理层处理得到 xPON物理层信号, 并发送 所述 xPON物理层信号。  The operator edge node is configured to process the PON physical layer signal in the data to obtain a PON MAC frame, and process the PON MAC frame to obtain an xPON MAC frame, where the PON MAC frame is located in the xPON MAC frame The xPON physical layer processing is performed on the xPON MAC frame to obtain an xPON physical layer signal, and the xPON physical layer signal is sent.
9、 一种数据传输系统, 其特征在于, 包括:  9. A data transmission system, comprising:
运营商边缘节点,用于对接收到的数据中的 xPON物理层信号进行处理得到 xPON MAC 帧,读取所述 xPON MAC帧的负载中的数据,根据所述 xPON MAC帧的帧头对所述 xPON MAC 帧的负载中的数据进行处理得到 PON MAC帧, 对所述 PON MAC帧进行 P0N物理层处理得 到 PON物理层信号, 并发送所述 PON物理层信号; a carrier edge node, configured to process an xPON physical layer signal in the received data to obtain an xPON MAC frame, and read data in a load of the xPON MAC frame, according to a frame header of the xPON MAC frame The data in the payload of the xPON MAC frame is processed to obtain a PON MAC frame, and the PON MAC frame is processed by the P0N physical layer. Transmitting to the PON physical layer signal, and transmitting the PON physical layer signal;
用户边缘节点, 用于接收所述运营商边缘节点发送的 P0N物理层信号。  a user edge node, configured to receive a P0N physical layer signal sent by the operator edge node.
10、 一种运营商边缘节点, 其特征在于, 包括:  10. An operator edge node, characterized by comprising:
P0N物理层处理单元, 用于对 P0N物理层信号进行处理得到 PON MAC帧; 成帧处理单元, 用于对所述 PON MAC帧进行处理得到 xPON MAC帧, 所述 PON MAC 帧位于所述 xPON MAC帧的负载中;  a P0N physical layer processing unit, configured to process a P0N physical layer signal to obtain a PON MAC frame; a framing processing unit, configured to process the PON MAC frame to obtain an xPON MAC frame, where the PON MAC frame is located in the xPON MAC The load of the frame;
xPON物理层处理单元, 用于对所述 xPON MAC帧进行 xPON物理层处理得到 xPON物 理层信号, 并发送所述 xPON物理层信号。  The xPON physical layer processing unit is configured to perform an xPON physical layer processing on the xPON MAC frame to obtain an xPON physical layer signal, and send the xPON physical layer signal.
11、 根据权利要求 10所述的运营商边缘节点, 其特征在于, 所述运营商边缘节点 还包括:  The operator edge node according to claim 10, wherein the operator edge node further includes:
复用单元, 用于根据所述 P0N物理层处理单元得到的 PON MAC帧的长度以及预置的 长度门限之间的关系对所述 PON MAC帧进行分段或重组, 将分段或重组后的 PON MAC帧 发送至所述成帧处理单元进行处理。  a multiplexing unit, configured to segment or reassemble the PON MAC frame according to a relationship between a length of a PON MAC frame obtained by the P0N physical layer processing unit and a preset length threshold, and the segmentation or recombination The PON MAC frame is sent to the framing processing unit for processing.
12、 一种运营商边缘节点, 其特征在于, 包括:  12. An operator edge node, comprising:
xPON物理层处理单元, 用于对 xPON物理层信号进行处理得到 xPON MAC帧; 成帧处理单元, 用于读取所述 xPON MAC帧的负载中的数据, 根据所述 xPON MAC帧 的帧头对所述 xPON MAC帧的负载中的数据进行处理得到 PON MAC帧;  An xPON physical layer processing unit, configured to process an xPON physical layer signal to obtain an xPON MAC frame; a framing processing unit, configured to read data in a load of the xPON MAC frame, according to a frame header of the xPON MAC frame Processing the data in the payload of the xPON MAC frame to obtain a PON MAC frame;
P0N物理层处理单元, 用于对所述 PON MAC帧进行 P0N物理层处理得到 P0N物理层 信号, 并发送所述 P0N物理层信号。  The P0N physical layer processing unit is configured to perform P0N physical layer processing on the PON MAC frame to obtain a P0N physical layer signal, and send the P0N physical layer signal.
13、 根据权利要求 12所述的运营商边缘节点, 其特征在于, 所述运营商边缘节点 还包括:  The operator edge node according to claim 12, wherein the operator edge node further includes:
解复用单元, 用于对所述第二 xPON物理层处理单元得到的 xPON MAC帧的负载中的 数据进行分段或重组, 将分段或重组后的数据发送至所述成帧处理单元进行处理。  a demultiplexing unit, configured to segment or reassemble data in a load of the xPON MAC frame obtained by the second xPON physical layer processing unit, and send the segmented or reassembled data to the framing processing unit deal with.
14、 一种数据传输方法, 其特征在于, 包括:  14. A data transmission method, comprising:
对业务层数据进行处理得到无源光网络 P0N媒体访问控制 MAC帧;  Processing the service layer data to obtain a passive optical network P0N media access control MAC frame;
对所述 PON MAC帧进行处理得到下一代无源光网络 xPON媒体访问控制 MAC帧, 所 述 PON MAC帧位于所述 xPON MAC帧的负载中;  Processing the PON MAC frame to obtain a next-generation passive optical network xPON medium access control MAC frame, where the PON MAC frame is located in a load of the xPON MAC frame;
对所述 xPON MAC帧进行 xPON物理层处理得到 xPON物理层信号, 并发送所述 xPON 物理层信号。  Performing an xPON physical layer processing on the xPON MAC frame to obtain an xPON physical layer signal, and transmitting the xPON physical layer signal.
15、 一种数据传输方法, 其特征在于, 包括:  15. A data transmission method, comprising:
对接收的 xPON物理层信号进行处理得到 xPON MAC帧; 读取所述 xPON MAC帧的负载中的数据; Processing the received xPON physical layer signal to obtain an xPON MAC frame; Reading data in a load of the xPON MAC frame;
根据所述 xPON MAC帧的帧头对所述 xPON MAC帧的负载中的数据进行处理得到 P0N MAC帧;  Processing, according to a frame header of the xPON MAC frame, data in a payload of the xPON MAC frame to obtain a P0N MAC frame;
对所述 PON MAC帧进行处理得到业务层数据并发送所述业务层数据。  Processing the PON MAC frame to obtain service layer data and transmitting the service layer data.
16、 一种运营商边缘节点, 其特征在于, 包括:  16. An operator edge node, comprising:
至少一个 PON MAC层处理单元, 用于对业务层数据进行处理得到 PON MAC帧; 第一 xPON MAC层处理单元, 用于对所述 PON MAC帧进行处理得到 xPON MAC帧, 所 述 PON MAC帧位于所述 xPON MAC帧的负载中;  At least one PON MAC layer processing unit, configured to process the service layer data to obtain a PON MAC frame; the first xPON MAC layer processing unit, configured to process the PON MAC frame to obtain an xPON MAC frame, where the PON MAC frame is located The load of the xPON MAC frame;
xPON物理层处理单元, 用于对所述 xPON MAC帧进行 xPON物理层处理得到 xPON物 理层信号, 并发送所述 xPON物理层信号。  The xPON physical layer processing unit is configured to perform an xPON physical layer processing on the xPON MAC frame to obtain an xPON physical layer signal, and send the xPON physical layer signal.
17、 根据权利要求 16所述的运营商边缘节点, 其特征在于, 所述运营商边缘节点 还包括第二 xPON MAC层处理单元, 所述 xPON物理层处理单元还用于对接收的 xPON物 理层信号进行处理得到 xPON MAC帧;  The operator edge node according to claim 16, wherein the operator edge node further includes a second xPON MAC layer processing unit, where the xPON physical layer processing unit is further configured to receive the received xPON physical layer. The signal is processed to obtain an xPON MAC frame;
所述第二 xPON MAC层处理单元, 用于读取所述 xPON MAC帧的负载中的数据, 根据 所述 xPON MAC帧的帧头对所述 xPON MAC帧的负载中的数据进行处理得到 PON MAC帧。  The second xPON MAC layer processing unit is configured to read data in a load of the xPON MAC frame, process data in a load of the xPON MAC frame according to a frame header of the xPON MAC frame, and obtain a PON MAC. frame.
18、 根据权利要求 17所述的运营商边缘节点, 其特征在于, 所述 P0N MAC层处理 单元还用于对所述第二 xPON MAC层处理单元得到的 PON MAC帧进行处理, 得到业务层 数据并发送所述业务层数据。  The carrier edge node according to claim 17, wherein the PON MAC layer processing unit is further configured to process the PON MAC frame obtained by the second xPON MAC layer processing unit to obtain service layer data. And transmitting the business layer data.
PCT/CN2010/073711 2009-07-15 2010-06-09 Method and system for data transmission and provider edge node WO2011006403A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN200910152000.2 2009-07-15
CN200910152000 2009-07-15
CN 200910167099 CN101959091B (en) 2009-07-15 2009-08-14 Data transmission method, system and operator fringe node
CN200910167099.3 2009-08-14

Publications (1)

Publication Number Publication Date
WO2011006403A1 true WO2011006403A1 (en) 2011-01-20

Family

ID=43448926

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/073711 WO2011006403A1 (en) 2009-07-15 2010-06-09 Method and system for data transmission and provider edge node

Country Status (2)

Country Link
CN (1) CN101959091B (en)
WO (1) WO2011006403A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11450698B2 (en) 2015-12-29 2022-09-20 Viavi Solutions Inc. Dielectric mirror based multispectral filter array

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932843B (en) * 2012-10-17 2016-06-01 中国联合网络通信集团有限公司 Information transferring method, PON bearer network equipment and information bearer network equipment
CN103856836B (en) * 2012-11-29 2019-01-04 中兴通讯股份有限公司 The method of sending and receiving of user data and system, equipment in passive optical network
CN104243092B (en) * 2013-06-24 2018-04-27 华为技术有限公司 Optical network unit ONU, optical line terminal OLT and information transferring method
CN112804296B (en) * 2020-12-24 2022-07-05 国网安徽省电力有限公司经济技术研究院 Electric power internet of things system suitable for electric automobile
CN112887851B (en) * 2021-01-13 2021-10-08 烽火通信科技股份有限公司 Household all-optical network system and implementation method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070070997A1 (en) * 2005-09-29 2007-03-29 Eliezer Weitz Enhanced passive optical network (PON) processor
CN101141346A (en) * 2007-05-23 2008-03-12 中兴通讯股份有限公司 Wavelength division multiplexing passive optical network device
CN101159495A (en) * 2006-10-08 2008-04-09 华为技术有限公司 Signal transmission system and method in passive optical fiber network
CN101425867A (en) * 2007-10-31 2009-05-06 中兴通讯股份有限公司 Wdm access network system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070070997A1 (en) * 2005-09-29 2007-03-29 Eliezer Weitz Enhanced passive optical network (PON) processor
CN101159495A (en) * 2006-10-08 2008-04-09 华为技术有限公司 Signal transmission system and method in passive optical fiber network
CN101141346A (en) * 2007-05-23 2008-03-12 中兴通讯股份有限公司 Wavelength division multiplexing passive optical network device
CN101425867A (en) * 2007-10-31 2009-05-06 中兴通讯股份有限公司 Wdm access network system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHANG, CHONGFU ET AL.: "Passive optical networks based on optical CDMA: Design and system analysis", CHINESE SCIENCE BULLETIN, vol. 52, no. 1, January 2007 (2007-01-01), pages 118 - 126, XP019469317, DOI: doi:10.1007/s11434-007-0020-8 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11450698B2 (en) 2015-12-29 2022-09-20 Viavi Solutions Inc. Dielectric mirror based multispectral filter array

Also Published As

Publication number Publication date
CN101959091A (en) 2011-01-26
CN101959091B (en) 2013-12-18

Similar Documents

Publication Publication Date Title
JP6560815B2 (en) High data rate expansion by combining
US7675936B2 (en) Passive optical network (PON) system
US8824504B2 (en) Packet add/drop multiplexer and data transmission method of packet add/drop multiplexer
RU2467482C2 (en) Gigabit passive optical network transmission convergence extension for next generation access
JP5065492B2 (en) Method and system for passive optical network data transmission
ES2598834T3 (en) Dynamic bandwidth allocation in hybrid access network with passive optical network and other media
US20230216584A1 (en) Cable modem system management of passive optical networks (pons)
US20110305458A1 (en) Method and device for service adaptation
US20080260385A1 (en) Signal processing apparatus and method for gigabit passive optical network
US20110194854A1 (en) Upstream efficiency improvement method for passive optical networks
WO2008043227A1 (en) Passive fiber-optical network transport system, apparatus and method
JP2017516406A (en) Method, apparatus and system for wavelength switching
WO2011006403A1 (en) Method and system for data transmission and provider edge node
US10749623B2 (en) Fault-tolerant distributed passive optical network bonding
WO2018120179A1 (en) Optical network unit (onu) management method, apparatus and system
WO2021073406A1 (en) Method for transmitting service data, related apparatus, and digital processing chip
US8184640B2 (en) Compact virtual local area network mapper for the gigabit-passive optical network optical network management and control interface
CN101729935A (en) Service data transmission methods and devices
CN101489154B (en) Method, system and device for passive optical network connection processing

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

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

Country of ref document: EP

Kind code of ref document: A1