WO2018171642A1 - 使用FlexE承载信号帧的方法及装置、信号帧还原的方法及装置 - Google Patents

使用FlexE承载信号帧的方法及装置、信号帧还原的方法及装置 Download PDF

Info

Publication number
WO2018171642A1
WO2018171642A1 PCT/CN2018/079899 CN2018079899W WO2018171642A1 WO 2018171642 A1 WO2018171642 A1 WO 2018171642A1 CN 2018079899 W CN2018079899 W CN 2018079899W WO 2018171642 A1 WO2018171642 A1 WO 2018171642A1
Authority
WO
WIPO (PCT)
Prior art keywords
control block
data
frame
overhead
custom
Prior art date
Application number
PCT/CN2018/079899
Other languages
English (en)
French (fr)
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 WO2018171642A1 publication Critical patent/WO2018171642A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding
    • H04L1/0013Rate matching, e.g. puncturing or repetition of code symbols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0009Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the channel coding

Definitions

  • the present disclosure relates to the field of communications technologies, for example, to a method and apparatus for carrying a signal frame using Flex Ethernet (FlexE), and a method and apparatus for signal frame restoration.
  • Flex Ethernet Flex Ethernet
  • the Common Public Radio Interface is a wireless equipment control center (Radio Equipment Control) for wireless base stations developed by Ericsson, Huawei, NEC, NEC, Nortel Networks and Siemens.
  • the CPRI protocol defines a variety of line rate options, as shown in Table 1 below.
  • the line code used by the physical layer (Layer 1) of CPRI options 1 to 7 is 8B/10B line code conforming to the IEEE 802.3-2005 [1], clause 36 of the Institute of Electrical and Electronics Engineers; the physics of options 8-10
  • the line used by Layer 1 is coded as 64B/66B line code as required by IEEE 802.3-2008 [22], clause 49. All of the above CPRI options belong to the fixed bit rate (CBR) service.
  • CBR fixed bit rate
  • the method of transmitting a CPRI frame over Ethernet is implemented by performing Ethernet emulation on a CPRI frame. It is necessary to solve the basic frame of the CPRI, encapsulate multiple basic frames into one Ethernet frame, and add the overhead information, type field, virtual local area network VLAN field, media access control MAC header, etc. required for the simulation in front of the Ethernet frame, and then The physical layer sent to the Ethernet performs rate adaptation and is sent to the physical coding sublayer PCS for encoding and the like. This method requires more overhead and is less efficient.
  • the embodiment of the present invention provides a method and a device for transmitting a signal frame by using a FlexE, and a method and a device for restoring a signal frame, so as to solve the problem that the above-mentioned CPRI frame transmission on the Ethernet needs more overhead and lower efficiency.
  • An embodiment provides a method for using a FlexE to carry a signal frame, comprising: extracting a control code and a data code from a signal frame; and encoding and converting the control code according to a specification of an elastic Ethernet FlexE, and obtaining control after performing coding conversion Inserting a custom overhead into the block, obtaining a control block inserting the custom overhead, performing rate adaptation on the control block inserting the custom overhead; encoding and converting the data code according to the FlexE specification to obtain a data block; using FlexE Carrying control blocks after rate adaptation, and data blocks.
  • An embodiment provides a method for restoring a signal frame, comprising: receiving a data block and a control block of a signal frame carried by a resilient Ethernet FlexE; and, when receiving the control block, extracting a custom overhead carried in the control block and
  • the control block is code-converted according to the provisions of the CPRI or the Gigabit Ethernet GE; in the case of receiving the data block, the data block is code-converted according to the provisions of the CPRI or GE, to carry the FlexE
  • the signal frame is restored to a CPRI frame or a GE frame.
  • An embodiment provides a device for transmitting a signal frame using a FlexE, comprising: an extraction module configured to extract a control code and a data code from a signal frame; and a first conversion module configured to perform the control code according to the provisions of the flexible Ethernet FlexE Transcoding, inserting a custom overhead into the control block obtained after the coding conversion, obtaining a control block inserted into the custom overhead, and performing rate adaptation on the control block inserted with the custom overhead; the second conversion module, setting In order to encode and convert the data code according to the FlexE specification, a data block is obtained; the bearer module is set to a control block and a data block after the rate adaptation using the FlexE bearer.
  • An embodiment provides an apparatus for restoring a signal frame, comprising: a receiving module configured to receive a data block and a control block of a signal frame carried by the resilient Ethernet FlexE; and a third conversion module configured to receive the control block And extracting the custom overhead carried in the control block and encoding and converting the control block according to the provisions of the CPRI or the GE; the fourth conversion module is configured to, according to the CPRI, the data block in the case of receiving the data block Or the GE specification performs transcoding to restore the signal frame carried by the FlexE to a CPRI frame or a GE frame.
  • An embodiment provides a source device including a processor and a memory storing processor-executable instructions, and a data transceiver configured for data transmission and/or reception, when the instructions are executed by the processor, performing the following operations : extracting the control code and the data code from the signal frame; encoding and converting the control code according to the provisions of the flexible Ethernet FlexE, inserting a custom overhead into the control block obtained after the coding conversion, and obtaining control for inserting the custom overhead Block, rate adaptation of the control block inserted into the custom overhead; encoding and converting the data code according to the FlexE specification to obtain a data block; using the FlexE bearer for the rate-adjusted control block, and the data block.
  • An embodiment provides a sink device including a processor and a memory storing processor-executable instructions, and a data transceiver configured for data transmission and/or reception, when the instructions are executed by the processor, performing the following operations : receiving the data block and the control block of the signal frame carried by the resilient Ethernet FlexE; in the case of receiving the control block, extracting the custom overhead carried in the control block and encoding and converting the control block according to the provisions of the CPRI or GE In the case of receiving a data block, the data block is code-converted according to the provisions of the CPRI or the specification of the GE to restore the signal frame carried by the FlexE to a CPRI frame or a GE frame.
  • the solution provided by the embodiment of the present application only performs coding conversion on the physical layer.
  • a control block or not adding a control block only content such as a custom overhead is embedded, and the bearer of the CPRI frame can be completed without additional overhead.
  • the signal frame with the same rate as the near end is recovered, the processing level is lower, and the added delay is small.
  • FIG. 1 is a flowchart of a method for carrying a signal frame using FlexE provided in Embodiment 1 of the present application;
  • FIG. 2 is a flowchart of a method for restoring a CPRI signal frame provided in Embodiment 2 of the present application;
  • FIG. 3 is a structural block diagram of an apparatus for carrying a signal frame using FlexE provided in Embodiment 3 of the present application;
  • FIG. 5 is a schematic diagram of a networking in the third embodiment of the present application.
  • FIG. 6 is a schematic diagram of a code conversion process in Embodiment 3 of the present application.
  • FIG. 7 is a schematic diagram of another networking in the third embodiment of the present application.
  • FIG. 8 is a schematic diagram of another coding conversion process in Embodiment 3 of the present application.
  • FIG. 9 is a schematic diagram of a networking in the fourth embodiment of the present application.
  • FIG. 10 is a schematic diagram of another coding conversion process in Embodiment 4 of the present application.
  • FIG. 11 is a structural block diagram of an apparatus for carrying a signal frame using FlexE according to Embodiment 5 of the present application;
  • FIG. 12 is a structural block diagram of an apparatus for restoring a signal frame according to Embodiment 6 of the present application.
  • FIG. 13 is a structural block diagram of a transmitting device provided in Embodiment 7 of the present application.
  • FIG. 14 is a structural block diagram of a receiving end device according to Embodiment 8 of the present application.
  • FlexE is a protocol developed by the Optical Internetworking Forum (OIF) to support the transmission of multiple variable rate Ethernet MACs over one or more Ethernet physical layers (PHYs). FlexE adds processing time and overhead for FlexE mezzanine (Shim), and requires that all FlexE clients (Clients) appearing in Flexe Shim are 64B/66B conforming to IEEE 802.3 Figure 82-5 (B represents bits, the same below ) The bitstream of the encoding rule.
  • OIF Optical Internetworking Forum
  • PHYs Ethernet physical layers
  • the FlexE signal frame defined by the FlexE protocol has only a variety of Ethernet MACs at rates of 10 Gb/s, 40 Gb/s, and mx25 Gb/s, and the services carried by the FlexE protocol are all Variable Rate (VBR) services.
  • VBR Variable Rate
  • FlexE supports splitting into multiple 5G granular time slots and assigning multiple 5G time slots to FlexE customers to form a transport hard pipe that does not share bandwidth with other FlexE clients, which is equivalent to physical isolation between pipes. effect.
  • the present disclosure proposes a scheme for carrying a signal frame on the FlexE, which does not need to use the Ethernet link simulation of the data link layer (Layer 2), and only needs to be performed in the PCS sublayer of the physical layer.
  • the CPRI frame can be directly transmitted into the FlexE as a FlexE Client with CBR service characteristics, and the information of the rate, alarm, check, etc. of the signal frame of the near-end CPRI can be inserted into the code of the FlexE Client.
  • the remote device a CPRI frame having the same rate as the near end can be restored.
  • FIG. 1 is a flowchart of the method. As shown in FIG. 1, the method includes the following processing steps.
  • Step 101 Extract a control code and a data code from a signal frame.
  • Step 102 The control code is encoded and converted according to the provisions of the flexible Ethernet FlexE, and a custom overhead is inserted into the control block obtained after the coding conversion, to obtain a control block inserted into the custom overhead, and the custom overhead is inserted.
  • the control block performs rate adaptation.
  • performing rate adaptation may include calculating a difference between a total rate and a rate of a CPRI basic frame rate option after being encoded by 64B/66B according to a total rate of time slots to be placed in a signal frame of the FlexE bearer.
  • the number of targets of the idle control block to be inserted is calculated based on the difference, and the target number of idle control blocks are inserted between the end control block and the start control block.
  • Step 103 Code and convert the data code according to the provisions of FlexE to obtain a data block.
  • Step 104 Perform a rate-adapted control block using the FlexE bearer, and the data block.
  • the physical layer (Layer 1) of CPRI options 1 to 7 uses 8B/10B (B means bit, the same below) line coding, and FlexE frame requires 64B/66B coding. Therefore, code conversion is required; the payload rate of the CPRI options 1 to 10, that is, the basic frame rate, is not always exactly equal to the integer multiple of the slot size of the FlexE after being re-encoded by the 64B/66B, and is more in the use of FlexE.
  • rate adaptation is required.
  • the rate information, alarm information, and data of the CPRI frame need to be obtained at the near end. Check and wait for information, and insert it into the code stream of the FlexE Client through the custom cost, and carry it to the remote end.
  • the remote device can recover the CPRI frame of the same rate according to the information, and detect the alarm and error.
  • the method of using FlexE to carry a CPRI frame may include:
  • the method provided in this embodiment may further include the following processing:
  • the signal frame involved in this embodiment may be a CPRI frame.
  • the control code is encoded and converted according to the provisions of the flexible Ethernet FlexE, and the control block is inserted into the control block after the coding conversion.
  • the control block that inserts the custom overhead, and the rate adaptation of the control block into which the custom overhead is inserted may include: converting the CPRI line rate option into the end control block and starting the control block, and ending the control block and starting control Insert valid data and custom overhead into the data carried by the block, and then insert an idle control block between the end control block and the start control block for rate adaptation.
  • the signal frame involved in this embodiment may be a GE frame.
  • the control code is encoded and converted according to the provisions of the flexible Ethernet FlexE, and the control block is inserted into the control block after the coding conversion.
  • the control block is inserted into the custom overhead, and the rate adaptation of the control block into which the custom overhead is inserted may include: rate adaptation of the control block without data frames to be transmitted, or in the command control block Inserting a custom overhead for transmission in the (sequence set control block); after receiving the start control code of the data frame, the start control block is converted based on the end control code of the data frame based on the start control code conversion to obtain an end control block;
  • the data code is encoded and converted according to the specification of the FlexE to obtain a data block, including: synthesizing the data in the data frame into a data block.
  • using the FlexE to carry the CPRI frame may specifically include:
  • Each 5Gb/s time slot is divided into 93 53.76344 Mb/s sub-timeslots or 33 151.5515 Mb/s sub-timeslots, and the sub-timeslots are used to carry the converted CPRI frames.
  • the embodiment only performs coding conversion at the physical layer, and by adding a control block or not adding a control block, only content such as custom overhead is embedded, and the mG53.76344Mb/s of the 5G time slot of the FlexE is introduced. Or the mx151.51515Mb/s sub-slot pipeline, so that the CPRI carried on the FlexE can complete the bearer of the CPRI signal frame with the more efficient pipeline bandwidth closest to the CPRI payload stream, and recover the near-end at the far end. A CPRI signal frame of the same rate. The processing level is lower and the added delay is small.
  • FIG. 2 is a flowchart of the method. As shown in FIG. 2, the method includes the following steps:
  • Step 201 Receive a data block and a control block of a signal frame carried by the FlexE.
  • Step 202 In the case that the control block is received, the custom overhead carried in the control block is extracted and the control block is code-converted according to the provisions of the CPRI or the GE.
  • Step 203 In the case that the data block is received, the data block is code-converted according to the provisions of the CPRI or the specification of the GE to restore the signal frame carried by the FlexE to a CPRI frame or a GE frame.
  • the custom overhead carried in the control block is extracted and the control block is encoded according to the CPRI specification.
  • the converting may specifically include: when receiving an end control block including an end control code and a start control block including a start control code, extracting a custom overhead carried by the start control block and a custom overhead carried by the end control block;
  • the control block converts the control code of the CPRI frame; recovers the rate of the control code and the rate of the data code according to the rate information in the custom overhead, and when the data block is received, the data block is encoded and converted according to the CPRI specification, specifically
  • the method includes: converting a data code of a CPRI frame based on the received data block.
  • the signal frame carried by the FlexE is converted by the GE signal frame.
  • the custom overhead carried in the control block is extracted and the control block is processed according to GE.
  • Encoding conversion when the data block is received, the operation of encoding and converting the data block according to the GPRI or GE regulations may specifically include:
  • Receiving a 66-bit data block of the FlexE frame and a code stream of the control block when receiving the free data block, inserting an appropriate number of 8-bit idle control codes and converting to a 10-bit idle control code; when receiving the sequence set control block Extracting the custom overhead transmitted in the control block to obtain the rate information corresponding to the GE frame and the alarm information; when receiving the start control block, converting the start control block into an 8-bit start control code, and the 8-bit control code The next 6 preambles and 1 frame start delimiter field SFD; when receiving the data block, convert each 66-bit data block into 8 8-bit data codes; when receiving the end control block Converting the valid data in the end control block into an 8-bit data code, and converting the end control code into an 8-bit end control code; obtaining the converted GE data frame, and converting the GE data frame into a 10-bit encoding signal of.
  • This embodiment uses the process of using the FlexE to carry the CPRI signal as an example to describe the method provided by the embodiment of the present application.
  • the process may include the following steps:
  • Step 1 Extract the CPRI frame.
  • control code and the data code are extracted from the CPRI frame, and information such as rate information, alarm information, and data checksum of the CPRI frame is obtained.
  • the CPRI options 1 to 7 are converted from 10B code to 8B data code and control code; for CPRI options 8 to 10, the control block and data block information are obtained directly according to the type of the 6B sync header Sync header of the 66B block.
  • Step 2 Convert control code, insert overhead, and perform rate adaptation.
  • the 8B control code (K28.5) for CPRI options 1 to 7 is converted to an end control block with control code /T/, and a control code /S/ Start control block, and insert valid data in the next 7 bytes in the data D0 ⁇ D6 or D1 ⁇ D7 carried by the two control blocks, and rate information, alarm information, data proof for indicating the CPRI frame
  • the custom cost of checking and other information (the number of bytes of valid data that each CPRI option needs to transmit is different. The lower the rate, the more valid data bytes need to be transmitted; the higher the rate, the more padding bytes , padding bytes can be replaced with custom overhead).
  • a plurality of 66B control blocks with control code/I/(IDLE) ie, idle control code
  • CPRI options 8 to 10 (the last three options of the CPRI line rate option) have two 66B control blocks themselves, one with the control code /T/ end control block and the other with the start of the control code /S/
  • the control block, the data D0 ⁇ D6 or D1 ⁇ D7 carried in the two control blocks are actually filled fixed content, so that they can all be replaced with information for indicating CPRI rate information, alarm information, data checksum and the like.
  • Custom overhead A plurality of 66B control blocks (ie, idle control blocks) with control codes/I/(IDLE) are then inserted between the two control blocks for rate adaptation.
  • Step 3. Convert the data.
  • control code (or control block)
  • data code (or data block) needs to be transmitted.
  • the generated new FlexE frame is placed in the specified time slot of the FlexE Shim by adding or subtracting the idle control block and then performing rate adaptation.
  • Sub-slots when sub-timeslots of mx53.76344Mb/s or sub-timeslots of mx151.51515Mb/s are used to carry multiple rate CPRI frames, the efficiency is significantly improved.
  • Step 5 Restore the signal frame.
  • the code stream of the 66B data block and the control block of the FlexE frame received from the FlexE transmission module is extracted from the control overhead including the control code /T/ and the control code /S/;
  • CPRI options 1 to 7 For CPRI options 1 to 7, generate a 10B start control code, and a specified 10B fill control code or restore part of the valid 10B data code; for CPRI options 8 to 10, replace the custom overhead with a fixed fill code. After the content, continue to transfer the two control blocks;
  • control block When a control block of control code /I / (IDLE) is encountered, the control block is deleted;
  • the present embodiment provides an apparatus configured to implement the above method, that is, an apparatus 30 for transmitting a signal frame (CPRI frame) using FlexE.
  • the apparatus includes the following parts:
  • It is set to extract the data code and control code of the 8B of the CPRI signal frame, the code stream rate, the data checksum, the alarm information, and the like.
  • the 8B control code (K28.5) for CPRI options 1 to 7 is converted into two 66B control blocks with control code /T/ and control code /S/ (as shown in Table 2 below), and in these two controls
  • a custom overhead for indicating information such as rate information, alarm information, and data checksum of the signal frame is inserted into the data D0 to D6 or D1 to D7 carried by the block.
  • a plurality of 66B control blocks with control code/I/(IDLE) are inserted between the two control blocks for rate adaptation.
  • the 66B data block for CPRI options 8-10 can be forwarded directly to the FlexE transport module.
  • Each FlexE Client is rate-adapted by adding or deleting idle IDLE control blocks, placed in a specified time slot of the FlexE Shim, and sent to one or more Ethernet physical layers (PHYs) through the optical module fiber system. Sended to the remote end, the remote optical module and PHY are restored to 66B code stream and sent to FlexE Shim to recover the 66B code stream of each FlexE Client in the specified time slot.
  • PHYs Ethernet physical layers
  • CPRI options 1 to 7 For CPRI options 1 to 7, generate a 10B start control code, and a specified 10B fill control code, or restore a partial valid 10B data code; for CPRI options 8 to 10, replace the custom overhead with a fixed fill code. After the content, continue to transfer the two control blocks;
  • control block When a control block of control code /I / (IDLE) is encountered, the control block is deleted;
  • the method for using the FlexE bearer signal frame provided by the embodiment of the present application is further described below.
  • the line coding is 8B/10B.
  • the procedure of using the FlexE to carry the CPRI frame is described by taking the CPRI option 7 as an example. As shown in FIG. 4, the process includes the following steps:
  • Step 401 extracting a signal frame of the CPRI option 7;
  • the line 10B of the CPRI option 7 is encoded, converted into 8B code, and the rate information of the code stream, the alarm information, and the checksum are generated.
  • Step 405 Convert the control code, insert the overhead, and complete the rate adaptation.
  • each super-high frame of CPRI has a period of 66.67 microseconds and can transmit 82325.27 66B blocks; the difference is 39.527.
  • 39 idle control blocks need to be inserted, and after the next fractional part is accumulated more than 1, then 40 is inserted. An idle control block.
  • the 5Gb/s time slot is subdivided into 33 151.5515 Mb/s time slots, then 52 151.5515 Mb/s time slots are used to carry a CPRI option 7 signal frame at a rate of 7878.788 Mb/s.
  • the period of each super-high frame of CPRI is 66.67 microseconds, and 8207.071 66B blocks can be transmitted; the difference is 14.071.
  • 14 idle control blocks need to be inserted, and after the next decimal part is accumulated more than 1, then insert 15 An idle control block.
  • Step 410 converting data
  • a 66B data block is generated every 8 bytes until the last 8 bytes of the 255th basic frame are converted into 66B data blocks, each super high A total of 8191 66B data blocks are generated for the frame.
  • FIG. 5 is a schematic diagram of a network involved in the present example.
  • the virtual device 1 and the virtual device 2 are the devices 30 proposed in the foregoing embodiment, where the virtual device 1 is configured to implement the CPRI using the FlexE bearer.
  • the function of the virtual device 2 is set to implement the function of restoring the CPRI signal frame.
  • FIG. 6 shows in detail the process of encoding conversion involved in step 405 and step 410 in this embodiment.
  • the correspondence between the specific code conversion bytes is as shown in Table 3 below.
  • Step 415 transmitting, by using FlexE, the converted signal frame
  • Step 420 restoring the signal frame
  • the received code stream of the 66B data block and the control block of the FlexE Client is extracted from the control overhead including the control code /T/(end) and the control code /S/(start).
  • the rate information, alarm information, checksum, etc. of the CPRI signal frame can be obtained, and the checksum can be verified to know whether there is a new error in the transmission process.
  • control block When a control block containing the control code /I/(IDLE) is encountered, the control block is deleted;
  • each subsequent 66B data block is divided into 8 bytes and sequentially converted into 10B data codes, and the transmission rate is determined by the rate information in the custom overhead.
  • FIG. 7 is a networking diagram of another embodiment.
  • the line coding is 64B/66B.
  • the CPRI option 8 is taken as an example, and the method for using the FlexE to carry the CPRI frame is used. The process is described, the process includes the following steps: extracting a signal frame of the CPRI option 8;
  • the line 66B of the CPRI option 8 is received, the control block and the data block are identified, the rate information of the code stream, the alarm information is generated, and a checksum is generated.
  • 183 53.76344 Mb/s time slots are used to carry a CPRI option 8 signal frame at a rate of 9838.709 677 Mb/s.
  • CPRI option 8 needs to transmit 10238 data blocks in a super-high frame, plus control code/T/ and control code/
  • the two control blocks of S/, 10240 66B blocks need to be transmitted, and the difference is 8.656.
  • 8 idle control blocks need to be inserted, and after the next decimal part is accumulated more than 1, 9 idle control blocks are inserted.
  • each super-high frame has a period of 66.67 microseconds and can transmit 10258.84 66B blocks;
  • CPRI option 8 requires 10238 data blocks to be transmitted in a super-high frame, plus control code/T/ and control code/S/
  • the two control blocks need to transmit 10240 66B blocks with a difference of 18.84. At this time, 18 idle control blocks need to be inserted, and after the next decimal part is accumulated more than 1, then 19 idle control blocks are inserted.
  • FIG. 8 is a schematic diagram of another encoding conversion process according to the embodiment. The correspondence between the specific encoding conversion bytes is shown in Table 4 below.
  • control block of the control code /I/(IDLE) When the control block of the control code /I/(IDLE) is received, the control block is deleted;
  • the transmission rate is based on the rate information in the custom overhead.
  • FIG. 9 is a group in this embodiment.
  • the process of using the FlexE to carry the GE Ethernet signal includes the following processing:
  • the line 10B of the GE Ethernet is encoded, converted into 8B code, and each data frame is obtained, and the rate information, alarm information, and the like of the code stream are obtained.
  • a 66B control block with one control code of T0 ⁇ T7 control code is generated correspondingly.
  • T0 ⁇ T7 are used to identify the number of valid data included in the control block, indicating the end of a data frame.
  • the valid data in the data frame every 8 bytes, is combined into a 66B data block;
  • FIG. 10 is another schematic diagram of code conversion according to the embodiment.
  • the 5Gb/s time slot is subdivided into 93 53.76344 Mb/s time slots, then 19 53.76344 Mb/s time slots are used to carry a GE Ethernet signal frame at a rate of 1021.51 Mb/s. GE's 1000Mb/s rate is relatively close, and the carrying efficiency is relatively high.
  • the 5Gb/s time slot is subdivided into 33 151.5515 Mb/s time slots, then 7 151.5515 Mb/s time slots are used to carry a GE Ethernet signal frame, 1060.61 Mb/s rate, followed by GE's 1000Mb/s rate is relatively close, and the carrying efficiency is relatively high.
  • the received code stream of the 66B data block and the control block of the FlexE Client encounters the control block containing the /I/ (ie, the idle control block), no data frame is to be forwarded, and GE is appropriately inserted into the appropriate number of 8B IDLE control codes. And converted to 10B control code.
  • a control block containing the /O/ that is, the sequence set control block
  • the custom overhead transmitted therein is extracted, and the rate information and alarm information of the GE are obtained.
  • control block containing /S/ When a control block containing /S/ is encountered, it is converted to GE's 8B start/S/ control code, followed by 6 preambles and 1 SFD; then each subsequent 66B data block is converted to 8 8B Data code; when the end control block containing /T/ is encountered, the valid data inside is converted into a data code, and the control code /T/ is converted to the 8B end/T/ control code, and the control obtained by the above conversion is performed.
  • the code and data code are converted to 10B code; the transmission rate is based on the rate information obtained from the custom overhead.
  • FIG. 11 is a structural block diagram of the device. As shown in FIG. 11, the device 110 includes the following components:
  • the extracting module 111 is configured to extract a control code and a data code from the signal frame;
  • the first conversion module 112 is configured to encode and convert the control code according to the provisions of the flexible Ethernet FlexE, insert a custom overhead into the control block obtained after the coding conversion, and obtain a control block into which the custom overhead is inserted, and insert the custom The control block of the overhead performs rate adaptation;
  • the second conversion module 113 is configured to encode and convert the data code according to the FlexE, to obtain a data block;
  • the bearer module 114 is configured to use the FlexE bearer for rate-adjusted control blocks and data blocks.
  • the foregoing apparatus 110 provided in this embodiment may further include: a determining module, configured to: after extracting the control code and the data code from the signal frame, acquiring rate information, alarm information, and data checksum information of the signal frame, and the signal frame
  • the rate information, the alarm information, and the data checksum information are used as a custom overhead for indicating rate information of the signal frame, alarm information, and data checksum information.
  • the first conversion module 112 is configured to: convert the CPRI line rate option into an end control block and a start control block, and end the data carried in the control block. And inserting valid data and custom overhead into the data carried in the start control block, and inserting an idle control block between the end control block and the start control block for rate adaptation.
  • the first conversion module 112 is configured to perform rate adaptation on the control block without data frames to be transmitted, or Inserting the custom overhead into the command control block (sequence set control block) for transmitting; after receiving the start control code of the data frame, converting the start control block based on the start control code, based on the end control of the data frame The code conversion results in an end control block; the second conversion module is configured to: synthesize the data in the data frame into data blocks.
  • the first conversion module 112 is configured to calculate a difference between the total rate and the rate of the CPRI basic frame rate option after being encoded by the 64B/66B according to the total rate of the time slots to be placed in the FlexE frame.
  • the value, the number of targets of the idle control block to be inserted is calculated according to the difference, and the target number of idle control blocks are inserted between the start control block and the end control block.
  • the bearer module is configured to further divide each 5 Gb/s time slot into 93 53.76344 Mb/s sub-time slots or 33 151.5515 Mb/s sub-time slots.
  • the plurality of sub-slots are used to carry the code-converted CPRI frame or GE data.
  • the present embodiment provides a device for restoring a signal frame.
  • the device may be a part of the device 30 involved in the foregoing embodiment.
  • the device is used to implement the method for using the FlexE bearer signal frame provided by the foregoing embodiment.
  • 12 is a structural block diagram of the device. As shown in FIG. 12, the device 120 includes the following parts:
  • the receiving module 121 is configured to receive the data block and the control block of the signal frame carried by the resilient Ethernet FlexE;
  • the third conversion module (ie, the first conversion module of the device configured to restore the signal frame) 122 is configured to extract the custom overhead carried in the control block and to control the block according to the CPRI specification or GE when the control block is received. Provision for code conversion;
  • the fourth conversion module (ie, the second conversion module of the device configured to restore the signal frame) 123 is configured to encode and convert the data block according to the provisions of the CPRI or the specification of GE when the data block is received.
  • the signal frame carried by the FlexE may be specifically converted by a CPRI frame or a GE frame. Based on this, in a case where the signal frame carried by the FlexE is converted by a CPRI frame, the third conversion module 122 is Set as:
  • the third conversion module 122 is configured to:
  • the fourth conversion module 123 is configured to:
  • the present embodiment provides a transmitting device 130, which includes a processor and a memory 133 storing processor-executable instructions, and a data transceiver 132 configured for data transmission and/or reception, when the instructions are executed by the processor
  • a transmitting device 130 which includes a processor and a memory 133 storing processor-executable instructions, and a data transceiver 132 configured for data transmission and/or reception, when the instructions are executed by the processor
  • control code is coded and converted according to the provisions of the flexible Ethernet FlexE, and the custom overhead is inserted into the control block obtained after the coding conversion, and the control block with the custom overhead inserted is obtained, and the control block inserted with the custom overhead is rate-adapted. ;
  • the data code is encoded and converted according to the provisions of FlexE to obtain a data block
  • the rate-adapted control block and data block are used by the FlexE Shim bearer.
  • the device provided in this embodiment is further configured to: after extracting the control code and the data code from the signal frame, acquiring rate information, alarm information, and data checksum information of the signal frame, and rate information and alarm information of the signal frame and
  • the data checksum information serves as a custom overhead for indicating rate information of the signal frame, alarm information, and data checksum information.
  • the signal frame in this embodiment may be a CPRI frame.
  • the control code is encoded and converted according to the provisions of the flexible Ethernet FlexE, and a custom overhead is inserted into the control block obtained after the coding conversion to obtain an insertion customization overhead.
  • the control block performs rate adaptation on the control block in which the custom overhead is inserted, including: converting the CPRI line rate option into a start control block and an end control block, and ending the data carried by the control block and the data carried in the start control block. Insert valid data and custom overhead separately, and insert an idle control block between the end control block and the start control block for rate adaptation.
  • the signal frame in this embodiment may also be a GE frame.
  • the control code is encoded and converted according to the provisions of the flexible Ethernet FlexE, and a custom overhead is inserted in the control block obtained after the coding conversion to obtain an insertion customization overhead.
  • the control block performs rate adaptation on the control block in which the custom overhead is inserted, including: rate adaptation of the control block in the case where no data frame is to be transmitted, or, in the command control block (ie, the sequence set control block) Inserting a custom overhead for transmission; after receiving the start control code of the data frame, obtaining a start control block based on the start control code conversion, and converting the end control code based on the end of the data frame to obtain an end control block;
  • the specification of the FlexE performs code conversion to obtain a data block, including: synthesizing data in the data frame into a data block.
  • the present embodiment provides a receiving end device 140, which includes a processor 141 and a memory 142 storing processor-executable instructions, and a data transceiver 143 configured for data transmission and/or reception, when the command is When the processor executes, do the following:
  • the data block is code-converted according to the provisions of the CPRI or the specification of GE.
  • the signal frame carried by the FlexE is obtained by converting the CPRI frame or the GE frame.
  • the control block is carried in the control block.
  • Customizing the overhead and transcoding the control block according to the CPRI specification including: when receiving the end control block including the end control code and the start control block including the start code, extracting the custom overhead carried by the start control block and Ending the custom overhead carried by the control block; generating a control code of the CPRI frame according to the received control block according to the CPRI specification; recovering the rate of the control code according to the rate information in the custom overhead; the signal frame carried in the FlexE is
  • the extracting the custom overhead carried in the control block and encoding and transforming the control block according to the GE specification include: when the sequence set control block is received, extracting the a custom overhead carried by the sequence set control block; and a control code converted into the GE frame according to the GE rule according
  • the technical solution provided by the embodiment of the present invention is compared with the related art.
  • the embodiment only performs coding conversion at the physical layer, only adds one control block, or adds a control block, only embeds content such as custom overhead, and introduces 5G of FlexE.
  • the mx53.76344Mb/s or mx151.51515Mb/s sub-slot pipeline of the time slot enables the CPRI carried on the FlexE to complete the bearer of the CPRI frame with the more efficient pipeline bandwidth closest to the CPRI payload stream.
  • the far end recovers the CPRI signal frame with the same rate as the near end. Due to the lower processing level, the added delay will be small.
  • only the physical layer performs coding conversion.
  • a control block or not adding a control block only content such as a custom overhead is embedded, the bearer of the signal frame is completed, and the near-end rate is restored at the far end. The same signal frame, the processing level is lower, and the added delay is small.

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

本公开一种使用FlexE承载信号帧的方法,包括:从信号帧中提取控制码以及数据码;将控制码按照弹性以太网FlexE的规定进行编码转换,在编码转换后得到的控制块中插入自定义开销,对插入所述自定义开销的控制块进行速率适配;将数据码按照FlexE的规定进行编码转换,得到数据块;使用FlexE承载速率适配后的控制块,以及数据块。还公开了一种使用FlexE承载信号帧的装置、一种还原信号帧的方法及装置、一种发送端设备、以及接收端设备。

Description

使用FlexE承载信号帧的方法及装置、信号帧还原的方法及装置 技术领域
本公开涉及通讯技术领域,例如涉及一种使用弹性以太网(Flex Ethernet,FlexE)承载信号帧的方法及装置、信号帧还原的方法及装置。
背景技术
通用公共无线接口(Common Public Radio Interface,CPRI)是一个由爱立信、华为、日本电气公司NEC、北电网络及西门子公司发起的工业合作组织,制定的无线基站的无线设备控制中心(Radio Equipment Control,REC)和无线设备(Radio Equipment,RE)之间的内部主要接口规范的协议。CPRI协议定义了多种线路速率选项,如下表1所示。
表1
Figure PCTCN2018079899-appb-000001
表1中,CPRI选项1~7的物理层(Layer 1)使用的线路编码为符合电气电子工程师协会IEEE 802.3-2005[1],条款36要求的8B/10B线路编码;选项8~10的物理层(Layer 1)使用的线路编码为符合IEEE 802.3-2008[22],条款49要求的64B/66B线路编码。以上这些CPRI选项都属于固定码率(Constant Bit Rate,CBR)的业务。
目前,CPRI帧在以太网上传输的方法,是通过对CPRI帧进行以太网仿真的方式来实现的。需要解出CPRI的基本帧,把多个基本帧包封成一个以太网帧,并在以太网帧前面增加仿真所需的开销信息、类型字段、虚拟局域网VLAN字段、媒体访问控制MAC头等,然后送到以太网的物理层进行速率适配、以及送到物理编码子层PCS进行编码等处理,这种方式需要添加的开销比较多,效率比较低。
发明内容
本申请实施例提供一种使用FlexE承载信号帧的方法及装置、信号帧还原的方法及装置,以解决上述CPRI帧在以太网上传输的方式需要添加的开销较多,效率比较低的问题。
一实施例提供了一种使用FlexE承载信号帧的方法,包括:从信号帧中提取控制码和数据码;将控制码按照弹性以太网FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入自定义开销,得到插入所述自定义开销的控制块,对插入所述自定义开销的控制块进行速率适配;将数据码按照FlexE的规定进行编码转换,得到数据块;使用FlexE承载进行速率适配后的控制块,和数据块。
一实施例提供了一种还原信号帧的方法,包括:接收弹性以太网FlexE承载的信号帧的数据块和控制块;在接收到控制块的情况下,提取控制块中携带的自定义开销以及将控制块按照CPRI的规定或千兆以太网GE的规定进行编码转换;在接收到数据块的情况下,将数据块按照CPRI的规定或GE的规定进行编码转换,以将所述FlexE承载的信号帧还原为CPRI帧或GE帧。
一实施例提供了一种使用FlexE承载信号帧装置,包括:提取模块,设置为从信号帧中提取控制码和数据码;第一转换模块,设置为将控制码按照弹性以太网FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入自定义 开销,得到插入所述自定义开销的控制块,对插入所述自定义开销的控制块进行速率适配;第二转换模块,设置为将数据码按照FlexE的规定进行编码转换,得到数据块;承载模块,设置为使用FlexE承载进行速率适配后的控制块,和数据块。
一实施例提供了一种还原信号帧的装置,包括:接收模块,设置为接收弹性以太网FlexE承载的信号帧的数据块和控制块;第三转换模块,设置为在接收到控制块的情况下,提取控制块中携带的自定义开销以及将控制块按照CPRI的规定或GE的规定进行编码转换;第四转换模块,设置为在接收到数据块的情况下,将数据块按照CPRI的规定或GE的规定进行编码转换,以将所述FlexE承载的信号帧还原为CPRI帧或GE帧。
一实施例提供了一种发送端设备,包括处理器以及存储有处理器可执行指令的存储器,以及设置为数据发送和/或接收的数据收发器,当指令被处理器执行时,执行如下操作:从信号帧中提取控制码和数据码;将控制码按照弹性以太网FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入自定义开销,得到插入所述自定义开销的控制块,对插入所述自定义开销的控制块进行速率适配;将数据码按照FlexE的规定进行编码转换,得到数据块;使用FlexE承载进行速率适配后的控制块,和数据块。
一实施例提供了一种接收端设备,包括处理器以及存储有处理器可执行指令的存储器,以及设置为数据发送和/或接收的数据收发器,当指令被处理器执行时,执行如下操作:接收弹性以太网FlexE承载的信号帧的数据块和控制块;在接收到控制块的情况下,提取控制块中携带的自定义开销以及将控制块按照CPRI的规定或GE的规定进行编码转换;在接收到数据块的情况下,将数据块按照CPRI的规定或GE的规定进行编码转换,以将所述FlexE承载的信号帧还原为CPRI帧或GE帧。
本申请实施例有益效果如下:
本申请实施例提供的方案只在物理层进行编码转换,通过增加一个控制块,或者不增加控制块,只嵌入了自定义开销等内容,无需额外的开销,即可完成对CPRI帧的承载,并在远端恢复出跟近端速率相同的信号帧,处理层次较低,增加的延时小。
附图说明
图1是本申请实施例一中提供的使用FlexE承载信号帧的方法的流程图;
图2是本申请实施例二中提供的还原CPRI信号帧的方法的流程图;
图3是本申请实施例三中提供的使用FlexE承载信号帧的装置的结构框图;
图4是本申请实施例三中提供的使用FlexE承载CPRI帧的方法的流程图;
图5是本申请实施例三中的一种组网示意图;
图6是本申请实施例三中的一种编码转换过程示意图;
图7是本申请实施例三中的另一种组网示意图;
图8是本申请实施例三中的另一种编码转换过程示意图;
图9是本申请实施例四中的一种组网示意图;
图10是本申请实施例四中的另一种编码转换过程示意图;
图11是本申请实施例五提供的使用FlexE承载信号帧的装置的结构框图;
图12是本申请实施例六提供的还原信号帧的装置的结构框图;
图13是本申请实施例七提供的发送端设备的结构框图;
图14是本申请实施例八提供的接收端设备的结构框图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行详细地描述,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。FlexE是光互联网论坛(Optical Internetworking Forum,OIF)制定的支持多个可变速率的以太网MAC在通道化的一个或多个以太网物理层(physical layer,PHY) 上传送的协议。FlexE增加了FlexE夹层(Shim)的时隙和开销等处理,并要求出现在Flexe Shim中的所有FlexE客户(Client)都是符合IEEE 802.3图82-5的64B/66B(B表示比特,下同)编码规则的比特流。目前,FlexE协议定义的FlexE信号帧只有速率为10Gb/s、40Gb/s和mx25Gb/s的多种以太网MAC,其承载的业务都是属于可变速率(Variable Bit Rate,VBR)的业务。FlexE支持划分为多个5G粒度的时隙,并为FlexE客户分配多个5G时隙,形成一个传送硬管道,与其它FlexE客户之间不会共享带宽,相当于管道之间实现了物理隔离的效果。在此基础上,本公开提出了一种在FlexE上承载信号帧的方案,该方案无需使用数据链路层(Layer 2)的以太网仿真的方式,只需要在物理层的PCS子层中进行编码转换,即可以使CPRI帧能直接作为一种具有CBR业务特点的FlexE Client放入FlexE中传送,并且能把近端CPRI的信号帧的速率、告警、校验等信息插入到FlexE Client的码流中,在远端装置中,可以还原出与近端具有相同速率的CPRI帧。
实施例一
本实施例提供了一种使用FlexE承载信号帧的方法,图1是该方法的流程图,如图1所示,该方法包括如下处理步骤。
步骤101:从信号帧中提取控制码和数据码。
步骤102:将控制码按照弹性以太网FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入自定义开销,得到插入所述自定义开销的控制块,对插入所述自定义开销的控制块进行速率适配。
在本实施例中,进行速率适配可以包括:根据FlexE承载的信号帧待放入的时隙的总速率,计算总速率与CPRI基本帧速率选项经过64B/66B编码后的速率的差值,根据差值计算出需要插入的空闲控制块的目标个数,在结束控制块和开始控制块之间插入目标个数的空闲控制块。
步骤103:将所述数据码按照FlexE的规定进行编码转换,得到数据块。
步骤104:使用FlexE承载进行速率适配后的控制块,和所述数据块。
在使用FlexE承载CPRI帧的情况下,CPRI选项1~7的物理层(Layer 1)使用的是8B/10B(B即表示比特,下同)线路编码,而FlexE帧要求使用64B/66B编码,所以需要进行编码转换;CPRI选项1~10的净荷码率即基本帧速率,即使经过64B/66B重新编码后,也不总是刚好等于FlexE的时隙粒度的整数倍,在利用FlexE的多个时隙来传送CPRI的CBR业务时,需要进行速率适配;要在远端装置恢复出与近端装置相同速率的CPRI帧,需要在近端获取CPRI帧的速率信息、告警信息、数据校验和等信息,并通过自定义开销插入到FlexE Client的码流中,携带到远端去,远端装置才能根据这些信息,恢复出相同速率的CPRI帧来,以及感知告警和误码等。在一实施例中,使用FlexE承载CPRI帧的方法可以包括:
在上述步骤101至104的基础上,本实施例提供的方法还可以包括如下处理:
在从信号帧中提取出控制码和数据码之后,获取信号帧的速率信息、告警信息以及数据校验和信息,将信号帧的速率信息、告警信息以及数据校验和信息作为用于表示信号帧的速率信息、告警信息以及数据校验和信息的自定义开销。
可选的,本实施例中所涉及到的信号帧具体可以是CPRI帧,基于此,将控制码按照弹性以太网FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入自定义开销,得到插入自定义开销的控制块,对插入自定义开销的控制块进行速率适配,可以包括:将CPRI线路速率选项转换为结束控制块以及开始控制块,并在结束控制块以及开始控制块携带的数据中插入有效数据以及自定义开销,再在结束控制块以及开始控制块之间插入空闲控制块,以进行速率适配。
可选的,本实施例中所涉及到的信号帧具体可以是GE帧,基于此,将控制码按照弹性以太网FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入自定义开销,得到插入自定义开销的控制块,对插入自定义开销的控制 块进行速率适配可以包括:在没有数据帧要传送的情况下,对控制块进行速率适配,或,在命令控制块(顺序集控制块)中插入自定义开销进行传送;当接收到数据帧的开始控制码后,基于开始控制码转换得到开始控制块基于数据帧的结束控制码转换得到结束控制块;将所述数据码按照所述FlexE的规定进行编码转换,得到数据块,包括:将所述数据帧中的数据合成数据块。
在一个可选实施例中,使用FlexE承载该CPRI帧具体可以包括:
将每个5Gb/s的时隙划分为93个53.76344Mb/s的子时隙或者33个151.51515Mb/s的子时隙,再用子时隙来承载转换后的CPRI帧。
与相关技术相比较,实施例只在物理层进行编码转换,通过增加一个控制块,或者不增加控制块,只嵌入了自定义开销等内容,并引入FlexE的5G时隙的mx53.76344Mb/s或mx151.51515Mb/s子时隙管道,使得FlexE上承载CPRI可以用最接近CPRI净荷码流的效率较高的管道带宽,完成对CPRI信号帧的承载,并在远端恢复出跟近端速率相同的CPRI信号帧。处理层次较低,增加的延时小。
实施例二
本实施例提供了一种还原信号帧的方法,图2是该方法的流程图,如图2所示,该方法包括如下步骤:
步骤201:接收FlexE承载的信号帧的数据块和控制块。
步骤202:在接收到控制块的情况下,提取控制块中携带的自定义开销以及将控制块按照CPRI的规定或GE的规定进行编码转换。
步骤203:在接收到数据块的情况下,将数据块按照CPRI的规定或GE的规定进行编码转换,以将所述FlexE承载的信号帧还原为CPRI帧或GE帧。
在一实施例中,在FlexE承载的信号帧由CPRI帧转换得到的情况下,基于此,在接收到控制块时,提取控制块中携带的自定义开销以及将控制块按照CPRI的规定进行编码转换,具体可以包括:在接收到包含结束控制码的结束控制块以及包含开始控制码的开始控制块时,提取开始控制块携带的自定义开销以及 结束控制块携带的自定义开销;基于接收到的控制块转换得到CPRI帧的控制码;根据自定义开销中的速率信息恢复控制码的速率以及数据码的速率,在接收到数据块时,将数据块按照CPRI的规定进行编码转换,具体可以包括:基于接收到的数据块转换得到CPRI帧的数据码。
在另一个实施例中,FlexE承载的信号帧由GE信号帧转换得到,在该种情况下,在接收到控制块时,提取控制块中携带的自定义开销以及将控制块按照GE的规定进行编码转换,在接收到数据块时,将数据块按照GPRI的规定或GE的规定进行编码转换的操作具体可以包括:
接收FlexE帧的66比特数据块和控制块的码流;在接收到空闲数据块时,插入合适数量的8比特的空闲控制码并转换为10比特空闲控制码;当接收到顺序集控制块时,提取顺序集控制块中传送的自定义开销,获得GE帧对应的速率信息以及告警信息;当接收到开始控制块时,将开始控制块转换为8比特的开始控制码,以及8比特控制码后的6个前导码以及1个帧起始定界符字段SFD;在接收到数据块时,将每个66比特的数据块转换为8个8比特的数据码;在接收到结束控制块时,将结束控制块中的有效数据转换为8比特的数据码,以及将结束控制码转换为8比特的结束控制码;得到转换后的GE数据帧,再将该GE数据帧转换为10比特编码的信号。
实施例三
本实施例以使用FlexE承载CPRI信号的流程为例,对本申请实施例提供的方法进行说明,该流程可以包括如下步骤:
步骤1,提取CPRI帧。
从CPRI帧中提取出控制码和数据码,以及获取CPRI帧的速率信息、告警信息、以及数据校验和等信息。
对CPRI选项1~7从10B编码转换为8B的数据码和控制码;对CPRI选项8~10则直接根据66B块的2比特同步头Sync header的类型得到控制块和数据块 的信息。
步骤2,转换控制码、插入开销和进行速率适配。
对CPRI选项1~7(即CPRI线路速率选项的前七个选项)的8B控制码(K28.5)转换为一个带控制码/T/的结束控制块,和一个带控制码/S/的开始控制块,并在这两个控制块携带的数据D0~D6或D1~D7中插入接下来的7个字节中的有效数据,以及用于表示CPRI帧的速率信息、告警信息、数据校验和等信息的自定义开销(每种CPRI选项需要传送的有效数据的字节数都不同,速率越低,需要传送的有效数据字节数越多;速率越高的,填充字节越多,填充字节可以被替换为自定义开销)。再在这两个控制块之间插入多个带控制码/I/(IDLE)(即空闲控制码)的66B控制块,进行速率适配。
CPRI选项8~10(即CPRI线路速率选项的后三个选项)本身就有两个66B控制块,一个是带控制码/T/的结束控制块,另一个是带控制码/S/的开始控制块,这两个控制块里携带的数据D0~D6或D1~D7实际上是填充的固定内容,这样就可以全部替换成用于表示CPRI的速率信息、告警信息、数据校验和等信息的自定义开销。然后在这两个控制块之间插入多个带控制码/I/(IDLE)的66B控制块(即空闲控制块),进行速率适配。
步骤3,转换数据。
在控制码(或控制块)后面,需要传送数据码(或数据块)。
对于CPRI选项1~7的8B数据码,需要合并每8个8B数据为一个64B数据,加上2比特表示数据的Sync header(同步头),生成一个66B数据块,再送给FlexE传送模块。
对于CPRI选项8~10的66B数据块,由于编码格式跟FlexE Client的要求一致,所以可以直接转发给FlexE传送模块,不需要进行转换。
步骤4,用FlexE传送。
生成的新的FlexE帧通过增加或删减空闲控制块再进行速率适配,放入FlexE Shim的指定时隙中,当使用mx5Gb/S的时隙粒度承载多种速率的CPRI 帧时,效率都不理想,所以,可以考虑把每个5Gb/s的时隙再细分为93个5000/1023*11=53.76344Mb/s的子时隙或者33个5000/1023*31=151.51515Mb/s的子时隙,再用mx53.76344Mb/s的子时隙或mx151.51515Mb/s的子时隙来承载多种速率CPRI帧时,效率会有明显提升。
步骤5,还原信号帧。
从FlexE传送模块收到的FlexE帧的66B数据块和控制块的码流,遇到包含控制码/T/和控制码/S/的控制块时,把里面携带的自定义开销提取出来;
对于CPRI选项1~7则生成1个10B起始控制码,以及规定的10B填充控制码或恢复部分有效10B数据码等;对于CPRI选项8~10,则用固定填充码替换掉自定义开销的内容后,继续传送这两个控制块;
当遇到控制码/I/(IDLE)的控制块时,则把这种控制块删除;
当遇到数据块时,对于CPRI选项1~7则还原出8个8B数据码,再转换成8个10B数据码;对于CPRI选项8~10,则直接转发这些数据块。发送控制码(或控制块)以及数据码(或数据块)的速率,需要按照提取的自定义开销中的速率信息来恢复。
基于本实施例的上述处理,本实施例提供了一种配置为实现上述方法的装置,即,使用FlexE承载信号帧(CPRI帧)的装置30,如图3所示,该装置包括如下部分:
信号帧提取模块31;
设置为提取CPRI信号帧的8B的数据码和控制码、码流速率、数据校验和、告警信息等。
控制码转换、开销插入及速率适配模块32;
对CPRI选项1~7的8B控制码(K28.5)转换为两个分别带控制码/T/和控制码/S/的66B控制块(如下表2所示),并在这两个控制块携带的数据D0~D6或D1~D7中插入用于表示信号帧的速率信息、告警信息、数据校验和等信息的自定义开销。再在这两个控制块之间插入多个带控制码/I/(IDLE)的66B控制 块,进行速率适配。
表2
Figure PCTCN2018079899-appb-000002
对CPRI选项8~10的66B带控制码/T/的控制块和带控制码/S/的控制块(如上表2所示),只需要它们携带的数据D0~D6或D1~D7(实际上是填充的固定内容),替换成用于表示信号帧的速率信息、告警信息、数据校验和等信息的自定义开销。再在这两个控制块之间插入多个带控制码/I/(IDLE)的66B控制块,进行速率适配。
数据转换模块33;
对CPRI选项1~7的8B数据码,合并每8个8B数据为一个64B数据,加上2比特表示数据的Sync header,生成一个66B数据块,再送给FlexE传送模块。
对于CPRI选项8~10的66B数据块,可以直接转发给FlexE传送模块。
FlexE传送模块34;
对每个FlexE Client通过增加或删减空闲IDLE控制块再进行速率适配,放入FlexE Shim的指定时隙中,发送给一个或多个以太网的物理层(PHY),经过光模块光纤系统发送到远端,在远端的光模块和PHY还原成66B码流送给FlexE Shim,按指定时隙恢复出各个FlexE Client的66B码流。
信号帧还原模块35;
从FlexE传送模块收到的FlexE Client的66B数据块和控制块的码流,接收到包含控制码/T/和控制码/S/的控制块时,把里面携带的自定义开销提取出来;
对于CPRI选项1~7则生成1个10B起始控制码,以及规定的10B填充控制码,或恢复部分有效10B数据码等;对于CPRI选项8~10,则用固定填充码替换掉自定义开销的内容后,继续传送这两个控制块;
当遇到控制码/I/(IDLE)的控制块时,则把这种控制块删除;
当遇到数据块时,对于CPRI选项1~7则还原出8个8B数据,再转换成8个10B数据码;对于CPRI选项8~10,则直接转发这些数据块。发送控制码(或控制块)以及数据码(或数据块)的速率,需要按照提取的自定义开销中的速率信息来恢复。
以下对本申请实施例提供的使用FlexE承载信号帧的方法进行进一步说明。对于CPRI选项1~7,线路编码都为8B/10B,本实施例以CPRI选项7为例对使用FlexE承载CPRI帧的方法的流程进行说明,如图4所示,该流程包括如下步骤:
步骤401,提取CPRI选项7的信号帧;
接收CPRI选项7的线路10B编码,转换为8B编码,获取码流的速率信息、告警信息、并生成校验和等。
步骤405,把控制码进行转换、插入开销、完成速率适配;
1)找到控制码K28.5(0xBC)后,开始生成一个66B带控制码/T/(结束)的结束控制块,并把有关信号帧的速率信息、告警信息、校验和等作为自定义开销信息插入到控制块的D0~D6的数据中;
2)根据FlexE信号帧要放入的多个时隙的总速率,计算出与CPRI选项7经64B/66B编码后的速率的差值,得到需要插入空闲控制块的数量,然后插入整数个空闲控制块。
例如,用2个5Gb/s的时隙承载一个CPRI选项7信号帧,10Gb/s的速率,在CPRI的每个超高帧的周期66.67微秒,可以传送10416.667个66B块;CPRI选项7在一个超高帧需要传送的数据块是8191个,添加控制码/T/和控制码/S/两个控制块后,需要传送8193个66B块,差值为2223.667,这时,需要插入2223 个空闲控制块,并且待下次小数部分累计超过1后,再插入2224个空闲控制块。
若将5Gb/s的时隙再细分为93个53.76344Mb/s的时隙后,再使用147个53.76344Mb/s的时隙承载一个CPRI选项7信号帧,7903.2258Mb/s的速率,在CPRI的每个超高帧的周期66.67微秒,可以传送8232.527个66B块;差值为39.527,这时,需要插入39个空闲控制块,并且待下次小数部分累计超过1后,再插40个空闲控制块。
若将5Gb/s的时隙再细分为33个151.51515Mb/s的时隙后,再使用52个151.51515Mb/s的时隙承载一个CPRI选项7信号帧,7878.788Mb/s的速率,在CPRI的每个超高帧的周期66.67微秒,可以传送8207.071个66B块;差值为14.071,这时,需要插入14个空闲控制块,并且待下次小数部分累计超过1后,再插15个空闲控制块。
3)插入完成足够的空闲控制块后,再插入一个66B带控制码/S/(开始)的开始控制块,并可以把有关信号帧的速率信息、告警信息、校验和等作为自定义开销信息的剩下部分插入到控制块的D1~D7的数据中;(在小于7的CPRI选项时,开始控制块里的D1~D7数据,可以用一部分把第0个基本帧的第1~7个字节里的可能的有效数据传送完)。
步骤410,转换数据;
从第0个基本帧的第8个字节开始,每8个字节生成一个66B数据块,直到把第255个基本帧的最后8个字节的数据转换成66B数据块,每个超高帧共生成了8191个66B数据块。
图5为本实例涉及到的一种组网示意图,如图5所示,其中虚拟装置1以及虚拟装置2即为前述实施例提出的装置30,其中虚拟装置1是设置为实现使用FlexE承载CPRI的功能,虚拟装置2设置为实现还原CPRI信号帧的功能。
图6详细示出了本实施例中步骤405以及步骤410中涉及到的一种编码转换的过程,具体的编码转换字节对应关系如下表3所示。
表3
Figure PCTCN2018079899-appb-000003
步骤415,用FlexE传送经过上述转换后的信号帧;
进行FlexE Client到FlexE Shim的指定时隙的处理等,再到以太网物理层、光模块发送、光纤传送、远端光模块接收,经以太网物理层到远端FlexE Shim,再恢复为FlexE Client的66B码流。
步骤420,还原信号帧;
收到的FlexE Client的66B数据块和控制块的码流,遇到包含控制码/T/(结束)和控制码/S/(开始)的控制块时,把里面携带的自定义开销提取出来;可获得CPRI信号帧的速率信息、告警信息、校验和等,可以对校验和进行校验,得知传送过程中有无新增误码。
当遇到包含控制码/I/(IDLE)的控制块时,则把这种控制块删除;
在处理完/S/控制块后,开始生成1个8B控制码K28.5(0xBC)对应的10B控制码,作为CPRI一个超高帧的开始标志,随后插入7个8B固定填充码D16.2(0x50)对应的10B数据码。
然后,把后面的每个66B数据块,分成8个字节,依次转换为10B数据码,发送速率要以自定义开销中速率信息为准。
图7为本实施例涉及到另一种的组网图,对于CPRI选项8~10,线路编码均为64B/66B,本实施例以CPRI选项8为例,对使用FlexE承载CPRI帧的方法的流程进行说明,该流程包括如下步骤:提取CPRI选项8的信号帧;
接收CPRI选项8的线路66B编码,识别出控制块和数据块,获取码流的速率信息、告警信息、并生成校验和等。
把控制码进行转换、插入开销、完成速率适配;
1)找到包含控制码/T/的控制块后,把有关信号帧的速率信息、告警信息、校验和等作为自定义开销信息插入到控制块的D0~D6的数据中,替换掉原来的固定填充内容;
2)根据FlexE Client要放入的多个时隙的总速率,计算出与CPRI选项8的速率的差值,得到需要插入空闲控制块的数量,然后插入整数个空闲控制块。
例如,若将5Gb/s的时隙细分为93个53.76344Mb/s的时隙后,再使用183个53.76344Mb/s的时隙承载一个CPRI选项8信号帧,9838.709677Mb/s的速率,在CPRI的每个超高帧的周期66.67微秒,可以传送10248.656个66B块;CPRI选项8在一个超高帧需要传送的数据块是10238个,加上包含控制码/T/和控制码/S/的两个控制块,需要传10240个66B块,差值为8.656,这时,需要插入8个空闲控制块,并且待下次小数部分累计超过1后,再插9个空闲控制块。
若将5Gb/s的时隙细分为33个151.51515Mb/s的时隙后,再使用65个151.51515Mb/s的时隙承载一个CPRI选项8信号帧,9848.485Mb/s的速率,在CPRI的每个超高帧的周期66.67微秒,可以传送10258.84个66B块;CPRI选项8在一个超高帧需要传送的数据块是10238个,加上包含控制码/T/和控制码/S/的两个控制块,需要传10240个66B块,差值为18.84,这时,需要插入18个空闲控制块,并且待下次小数部分累计超过1后,再插19个空闲控制块。
3)插入完成足够的IDLE控制块后,再处理后面的66B带控制码/S/的开始控制块,并可以把有关信号帧的速率信息、告警信息、校验和等作为自定义开销信息的剩下部分插入到控制块的D1~D7的数据中;替换掉原来的固定填充内容;
转换数据;
后面的所有66B数据块,可以直接转发到FlexE Client中;
用FlexE传送经过上述转换后得到的信号帧;
进行FlexE Client到FlexE Shim的指定时隙的处理等,再到以太网物理层、光模块发送、光纤传送、远端光模块接收,经以太网物理层到远端FlexE Shim,再恢复为FlexE Client的66B码流。
图8为本实施例的另一种编码转换过程示意图,具体的编码转换字节对应关系详见下表4。
表4
Figure PCTCN2018079899-appb-000004
还原信号帧;
接收到的FlexE Client的66B数据块和控制块的码流,接收到包含控制码/T/和控制码/S/的控制块时,将控制块里面携带的自定义开销提取出来;可获得CPRI信号帧的速率信息、告警信息、校验和等,可以对校验何进行校验,得知传送过程中有无新增误码。把包含控制码/T/和控制码/S/的控制块中的数据字节都恢复成CPRI的固定填充字节0x50,发送到CPRI端口。
当接收到控制码/I/(IDLE)的控制块时,则把这种控制块删除;
当接收到66B数据块时,直接发送到CPRI端口;发送速率要以自定义开销中速率信息为准。
实施例四
除了CPRI的各选项的信号帧外,本申请实施例还可以扩展到用FlexE承载GE以太网信号的应用,本实施例即对该种情况进行说明,图9是本实施例中的一种组网示意图,其中虚拟装置1是设置为实现使用FlexE承载GE的功能,虚拟装置2设置为实现还原GE信号帧的功能。在本实施例中,使用FlexE承载GE以太网信号的过程包括如下处理:
提取GE以太网的信号帧;
接收GE以太网的的线路10B编码,转换为8B编码,得到每个数据帧,获取码流的速率信息、告警信息等。
把控制码进行转换、插入开销、完成速率适配;
1)当没有数据帧要传,即收到IDLE控制码K28.5/D5.6或K28.5/D16.2等时,以FlexE Client需要的速率插入多个66B的空闲控制块,进行速率适配。还可以利用66B的顺序集Ordered set控制块,把速率信号、告警信息等作为自定义开销插入其中传送。
2)当收到每个数据帧开始控制码K27.7(0xFB)后,把该开始控制码和与该开始控制码紧接着的6个前导码和1个SFD等数据字节,合成一个66B的包含控制码/S/的控制块。
3)把SFD后面的数据,每8个字节合成一个66B数据块。
4)在接收到数据帧的结束码K29.7(0xFD)后,根据之前剩下未传送的几个字节有效数据,相应生成一个66B带T0~T7控制码其中一个控制码的控制块,其中,T0~T7用于标识控制块中包括的有效数据的数目,表示一个数据帧的结束。
转换数据;
数据帧中的有效数据,每8个字节,合成一个66B数据块;
图10是本实施例涉及的另一种编码转换示意图。
用FlexE传送经过上述转换后得到的信号帧;
若将5Gb/s的时隙再细分为93个53.76344Mb/s的时隙后,再使用19个53.76344Mb/s的时隙承载一个GE以太网信号帧,1021.51Mb/s的速率,跟GE的1000Mb/s的速率比较接近,承载效率比较高。
若将5Gb/s的时隙再细分为33个151.51515Mb/s的时隙后,再使用7个151.51515Mb/s的时隙承载一个GE以太网信号帧,1060.61Mb/s的速率,跟GE的1000Mb/s的速率比较接近,承载效率比较高。
进行FlexE Client到FlexE Shim的指定时隙的处理等,再到以太网物理层、光模块发送、光纤传送、远端光模块接收,经以太网物理层到远端FlexE Shim,再恢复为FlexE Client的66B码流。
还原GE信号帧;
收到的FlexE Client的66B数据块和控制块的码流,遇到包含/I/的控制块(即空闲控制块),没有数据帧要转发,将GE相应插入适当数量的8B的IDLE控制码并转换为10B控制码。遇到包含/O/的控制块(即顺序集控制块)时,把里面传送的自定义开销提取出来,可获得GE的速率信息、告警信息等。当遇到包含/S/的控制块时,转换成GE的8B开始/S/控制码,后面跟随6个前导码和1个SFD;再后面的每个66B数据块,转换为8个8B的数据码;遇到包含/T/的结束控制块时,把里面的有效数据转换为数据码,将结束控制码/T/转换为8B结束/T/ 控制码,再将经过上述转换得到的控制码以及数据码转换为10B编码;其发送速率要以从自定义开销中获取速率信息为准。
实施例五
本实施例提供了一种使用FlexE承载信号帧的装置,该装置具体可以为前述实施例中涉及到的装置30的一个部分,该装置设置为实现前述实施例提供的使用FlexE承载信号帧的方法,图11是该装置的结构框图,如图11所示,该装置110包括如下组成部分:
提取模块111,设置为从信号帧中提取控制码和数据码;
第一转换模块112,设置为将控制码按照弹性以太网FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入自定义开销,得到插入自定义开销的控制块,对插入自定义开销的控制块进行速率适配;
第二转换模块113,设置为将数据码按照FlexE的规定进行编码转换,得到数据块;
承载模块114,设置为使用FlexE承载进行速率适配后的控制块、和数据块。
本实施例提供的上述装置110还可以包括:确定模块,设置为在从信号帧中提取出控制码和数据码之后,获取信号帧的速率信息、告警信息以及数据校验和信息,将信号帧的速率信息、告警信息以及数据校验和信息作为用于表示信号帧的速率信息、告警信息以及数据校验和信息的自定义开销。
当本实施例中涉及的信号帧具体为CPRI帧的情况下,上述第一转换模块112是设置为:将CPRI线路速率选项转换为结束控制块以及开始控制块,并在结束控制块携带的数据以及开始控制块携带的数据中分别插入有效数据以及自定义开销,再在结束控制块与开始控制块之间插入空闲控制块,以进行速率适配。
当本实施例中涉及的信号帧具体为GE帧的情况下,上述第一转换模块112是设置为:在没有数据帧要传送的情况下,对所述控制块进行速率适配,或, 在命令控制块(顺序集控制块)中插入所述自定义开销进行传送;当接收到数据帧的开始控制码后,基于所述开始控制码转换得到开始控制块,基于所述数据帧的结束控制码转换得到结束控制块;第二转换模块是设置为:将所述数据帧中的数据合成数据块。
在一个可选实施例中,上述第一转换模块112是设置为:根据FlexE帧待放入的时隙的总速率,计算总速率与CPRI基本帧速率选项经过64B/66B编码后的速率的差值,根据差值计算出需要插入的空闲控制块的目标个数,在开始控制块和结束控制块之间中插入目标个数的空闲控制块。
在另一个可选实施例中,上述承载模块是设置为:将每个5Gb/s的时隙再划分为93个53.76344Mb/s的子时隙或33个151.51515Mb/s的子时隙,再用多个子时隙来承载编码转换后的CPRI帧或GE数据。
实施例六
本实施例提供了一种还原信号帧的装置,该装置具体可以为前述实施例中涉及到的装置30的一个部分,该装置用于实现前述实施例提供的使用FlexE承载信号帧的方法,图12是该装置的结构框图,如图12所示,该装置120包括如下部分:
接收模块121,设置为接收弹性以太网FlexE承载的信号帧的数据块和控制块;
第三转换模块(即配置在还原信号帧的装置的第一转换模块)122,设置为在接收到控制块时,提取控制块中携带的自定义开销以及将控制块按照CPRI的规定或GE的规定进行编码转换;
第四转换模块(即配置在还原信号帧的装置的第二转换模块)123,设置为在接收到数据块时,将数据块按照CPRI的规定或GE的规定进行编码转换。
在本实施例中,FlexE承载的信号帧具体可以由CPRI帧或GE帧转换得到,基于此,在所述FlexE承载的信号帧是由CPRI帧转换得到的情况下,上述第三转换模块122是设置为:
在接收到包含结束控制码的结束控制块以及包含开始控制码的开始控制块时,提取开始控制块携带的自定义开销以及结束控制块携带的自定义开销;
基于接收到的控制块按照CPRI的规定生成得到所述CPRI帧的控制码;
根据自定义开销中的速率信息,恢复CPRI帧的控制码的速率;
在所述FlexE承载的信号帧是由GE帧转换得到的情况下,上述第三转换模块122是设置为:
在接收到顺序集控制块时,提取所述顺序集控制块携带的自定义开销;
基于接收到的所述控制块得到按照GE的规定转换为所述GE帧的控制码;
根据所述自定义开销中的速率信息,恢复所述GE帧的控制码的速率;
所述第四转换模块123是设置为:
基于接收到的数据块转换得到所述CPRI帧或GE帧的数据码;
根据所述自定义开销中的速率信息,恢复所述CPRI帧或GE帧的数据码的速率。
实施例七
本实施例提供了一种发送端设备130,该设备包括处理器以及存储有处理器可执行指令的存储器133,以及设置为数据发送和/或接收的数据收发器132,当指令被处理器执行时,执行如下操作:
从信号帧中提取控制码和数据码;
将控制码按照弹性以太网FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入自定义开销,得到插入自定义开销的控制块,对插入自定义开销的控制块进行速率适配;
将数据码按照FlexE的规定进行编码转换,得到数据块;
使用FlexE Shim承载进行速率适配后的控制块、和数据块。
本实施例提供的设备还设置为:在从信号帧中提取出控制码和数据码之后,获取信号帧的速率信息、告警信息以及数据校验和信息,将信号帧的速率信息、告警信息以及数据校验和信息作为用于表示信号帧的速率信息、告警信息以及 数据校验和信息的自定义开销。
本实施例中的信号帧具体可以是CPRI帧,基于此,将控制码按照弹性以太网FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入自定义开销,得到插入自定义开销的控制块,对插入自定义开销的控制块进行速率适配,包括:将CPRI线路速率选项转换为开始控制块以及结束控制块,并在结束控制块携带的数据以及开始控制块携带的数据中分别插入有效数据以及自定义开销,再在结束控制块以及开始控制块之间插入空闲控制块,以进行速率适配。
本实施例中的信号帧还可以是GE帧,基于此,将控制码按照弹性以太网FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入自定义开销,得到插入自定义开销的控制块,对插入自定义开销的控制块进行速率适配,包括:在没有数据帧要传送的情况下,对控制块进行速率适配,或,在命令控制块(即顺序集控制块)中插入自定义开销进行传送;当接收到数据帧的开始控制码后,基于开始控制码转换得到开始控制块,基于数据帧的结束控制码转换得到结束控制块;所述将所述数据码按照所述FlexE的规定进行编码转换,得到数据块,包括:将所述数据帧中的数据合成数据块。
实施例八
本实施例提供了一种接收端设备140,该接收端设备包括处理器141以及存储有处理器可执行指令的存储器142,以及设置为数据发送和/或接收的数据收发器143,当指令被处理器执行时,执行如下操作:
接收弹性以太网FlexE承载的信号帧的数据块和控制块;
在接收到控制块的情况下,提取控制块中携带的自定义开销以及将控制块按照CPRI的规定或GE的规定进行编码转换;
在接收到数据块的情况下,将数据块按照CPRI的规定或GE的规定进行编码转换。
在本实施例中,FlexE承载的信号帧由CPRI帧或GE帧转换得到,在所述FlexE承载的信号帧是由CPRI帧转换得到的情况下,在接收到控制块时,提取 控制块中携带的自定义开销以及将控制块按照CPRI的规定进行编码转换,包括:在接收到包含结束控制码的结束控制块以及包含开始码的开始控制块时,提取将开始控制块携带的自定义开销以及结束控制块携带的自定义开销;基于接收到的控制块按照CPRI的规定生成CPRI帧的控制码;根据自定义开销中的速率信息,恢复控制码的速率;在所述FlexE承载的信号帧是由GE帧转换得到的情况下,所述提取所述控制块中携带的自定义开销以及将所述控制块按照GE的规定进行编码转换,包括:在接收到顺序集控制块时,提取所述顺序集控制块携带的自定义开销;基于接收到的所述控制块得到按照GE的规定转换为所述GE帧的控制码;根据所述自定义开销中的速率信息,恢复所述GE帧的控制码的速率;所述将所述数据块按照所述CPRI的规定或GE的规定进行编码转换,以将所述FlexE承载的信号帧还原为CPRI帧或GE帧,包括:基于接收到的数据块转换得到所述CPRI帧或GE帧的数据码;根据所述自定义开销中的速率信息,恢复所述CPRI帧或GE帧的数据码的速率。
本发明实施例提供的技术方案与相关技术相比较,实施例只在物理层进行编码转换,只增加一个控制块,或者不增加控制块,只嵌入了自定义开销等内容,并引入FlexE的5G时隙的mx53.76344Mb/s或mx151.51515Mb/s子时隙管道,使得FlexE上承载CPRI可以用最接近CPRI净荷码流的效率较高的管道带宽,完成对CPRI帧的承载,并在远端恢复出跟近端速率相同的CPRI信号帧。由于处理层次较低,增加的延时也会很小。
工业实用性
本申请实施例只在物理层进行编码转换,通过增加一个控制块,或者不增加控制块,只嵌入了自定义开销等内容,完成对信号帧的承载,并在远端恢复出跟近端速率相同的信号帧,处理层次较低,增加的延时小。

Claims (21)

  1. 一种使用FlexE承载信号帧的方法,包括:
    从信号帧中提取控制码和数据码;
    将所述控制码按照弹性以太网FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入自定义开销,得到插入所述自定义开销的控制块对所述插入所述自定义开销的控制块进行速率适配;
    将所述数据码按照所述FlexE的规定进行编码转换,得到数据块;
    使用所述FlexE承载进行速率适配后的控制块、和所述数据块。
  2. 根据权利要求1所述的方法,还包括:
    在从所述信号帧中提取出所述控制码和所述数据码之后,获取所述信号帧的速率信息、告警信息以及数据校验和信息,将所述信号帧的所述速率信息、所述告警信息以及所述数据校验和信息作为所述自定义开销。
  3. 根据权利要求1或2所述的方法,其中,所述信号帧包括通用公共无线接口CPRI帧;
    所述将所述控制码按照FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入所述自定义开销,得到插入所述自定义开销的控制块,对所述插入所述自定义开销的控制块进行速率适配,包括:
    将CPRI线路速率选项转换为结束控制块和开始控制块,并在所述结束控制块携带的数据和所述开始控制块携带的数据中分别插入有效数据以及所述自定义开销,并在所述结束控制块与所述开始控制块之间插入空闲控制块,以进行所述速率适配。
  4. 根据权利要求1或2所述的方法,其中,所述信号帧包括千兆以太网GE帧;
    所述将所述控制码按照FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入自定义开销,得到插入所述自定义开销的控制块,对所述插入所述自定义开销的控制块进行速率适配,包括:
    在没有数据帧要传送的情况下,对所述控制块进行速率适配,或,在顺序 集控制块中插入所述自定义开销进行传送;
    在接收到数据帧的开始控制码的情况下,基于所述开始控制码转换得到开始控制块,基于所述数据帧的结束控制码转换得到结束控制块;
    所述将所述数据码按照所述FlexE的规定进行编码转换,得到数据块,包括:
    将所述数据帧中的数据合成数据块。
  5. 根据权利要求3所述的方法,其中,所述速率适配,包括:
    根据FlexE承载的信号帧待放入的时隙的总速率,计算所述总速率与CPRI基本帧速率分别经过64比特/66比特编码后的速率的差值,根据所述差值计算出需要插入的空闲控制块的目标个数,在所述开始控制块和所述结束控制块之间插入所述目标个数的空闲控制块。
  6. 根据权利要求1至5任意一项所述的方法,其中,所述使用FlexE承载进行速率适配后的控制块、和所述数据块,包括:
    将每个5Gb/s的时隙划分为93个53.76344Mb/s的子时隙或33个151.51515Mb/s的子时隙,使用所述子时隙来承载包括速率适配后的控制块和转换后的数据块。
  7. 一种还原信号帧的方法,包括:
    接收弹性以太网FlexE承载的信号帧的数据块和控制块;
    提取所述控制块中携带的自定义开销以及将所述控制块按照通用公共无线接口CPRI的规定或千兆以太网GE的规定进行编码转换;
    将所述数据块按照所述CPRI的规定或所述GE的规定进行编码转换,以将所述FlexE承载的信号帧还原为CPRI帧或GE帧。
  8. 根据权利要求7所述的方法,其中:
    在所述FlexE承载的信号帧是由CPRI帧转换得到的情况下,所述提取所述控制块中携带的自定义开销以及将所述控制块按照CPRI的规定进行编码转换,包括:
    在接收到包含结束控制码的结束控制块和包含开始控制码的开始控制块时, 提取所述开始控制块携带的自定义开销,和所述结束控制块携带的自定义开销;
    基于接收到的所述控制块按照CPRI的规定生成所述CPRI帧的控制码;
    根据所述自定义开销中的速率信息,恢复所述CPRI帧的控制码的速率;
    在所述FlexE承载的信号帧是由GE帧转换得到的情况下,所述提取所述控制块中携带的自定义开销以及将所述控制块按照GE的规定进行编码转换,包括:
    在接收到顺序集控制块时,提取所述顺序集控制块携带的自定义开销;
    基于接收到的所述控制块得到按照GE的规定转换为所述GE帧的控制码;
    根据所述自定义开销中的速率信息,恢复所述GE帧的控制码的速率;
    所述将所述数据块按照所述CPRI的规定或GE的规定进行编码转换,以将所述FlexE承载的信号帧还原为CPRI帧或GE帧,包括:
    基于接收到的数据块转换得到所述CPRI帧或GE帧的数据码;
    根据所述自定义开销中的速率信息,恢复所述CPRI帧或GE帧的数据码的速率。
  9. 根据权利要求7或8所述的方法,其中,所述自定义开销包括:
    CPRI帧的速率信息、告警信息以及校验和信息;或,
    GE帧的速率信息、告警信息以及校验和信息。
  10. 一种使用FlexE承载信号帧装置,包括:
    提取模块,设置为从信号帧中提取控制码和数据码;
    第一转换模块,设置为将所述控制码按照弹性以太网FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入自定义开销,得到插入所述自定义开销的控制块,对所述插入所述自定义开销的控制块进行速率适配;
    第二转换模块,设置为将所述数据码按照所述FlexE的规定进行编码转换,得到数据块;
    承载模块,设置为使用所述FlexE承载进行速率适配后的控制块、和所述数据块。
  11. 根据权利要求10所述的装置,还包括:
    确定模块,设置为在从信号帧中提取出所述控制码和所述数据码之后,获取所述信号帧的速率信息、告警信息以及数据校验和信息,将所述信号帧的所述速率信息、所述告警信息以及所述数据校验和信息作为所述自定义开销。
  12. 根据权利要求10或11所述的装置,其中,所述信号帧包括通用公共无线接口CPRI帧;
    所述第一转换模块是设置为:将CPRI线路速率选项转换为结束控制块和开始控制块,并在所述结束控制块携带的数据和所述开始控制块携带的数据中分别插入有效数据以及所述自定义开销,并在所述结束控制块与所述开始控制块之间插入空闲控制块,以进行所述速率适配。
  13. 根据权利要求10或11所述的装置,其中,所述信号帧包括千兆以太网GE帧;
    所述第一转换模块是设置为:在没有数据帧要传送的情况下,对所述控制块进行速率适配,或,在顺序集控制块中插入所述自定义开销进行传送;在接收到数据帧的开始控制码的情况下,基于所述开始控制码转换得到开始控制块,基于所述数据帧的结束控制码转换得到结束控制块;
    所述第二转换模块是设置为:
    将所述数据帧中的数据合成数据块。
  14. 一种还原信号帧的装置,包括:
    接收模块,设置为接收弹性以太网FlexE承载的信号帧的数据块和控制块;
    第一转换模块,设置为提取所述控制块中携带的自定义开销以及将所述控制块按照通用公共无线接口CPRI的规定或千兆以太网GE的规定进行编码转换;
    第二转换模块,设置为将所述数据块按照所述CPRI的规定或所述GE的规定进行编码转换,以将所述FlexE承载的信号帧还原为CPRI帧或GE帧。
  15. 根据权利要求14所述的装置,其中,在所述FlexE承载的信号帧是由CPRI帧转换得到的情况下,所述第一转换模块是设置为:
    在接收到包含结束控制码的结束控制块以及包含开始控制码的开始控制块 时,提取所述开始控制块携带的自定义开销,和结束控制块携带的自定义开销;
    基于接收到的所述控制块按照CPRI的规定生成所述CPRI帧的控制码;
    根据所述自定义开销中的速率信息,恢复所述CPRI帧的控制码的速率;
    在所述FlexE承载的信号帧是由GE帧转换得到的情况下,所述第一转换模块是设置为:
    在接收到顺序集控制块时,提取所述顺序集控制块携带的自定义开销;
    基于接收到的所述控制块得到按照GE的规定转换为所述GE帧的控制码;
    根据所述自定义开销中的速率信息,恢复所述GE帧的控制码的速率;
    所述第二转换模块是设置为:
    基于接收到的数据块转换得到所述CPRI帧或GE帧的数据码;
    根据所述自定义开销中的速率信息,恢复所述CPRI帧或GE帧的数据码的速率。
  16. 一种发送端设备,包括处理器以及存储有所述处理器可执行指令的存储器,以及设置为数据发送和/或接收的数据收发器,当所述指令被处理器执行时,执行如下操作:
    从信号帧中提取控制码和数据码;
    将所述控制码按照弹性以太网FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入自定义开销,得到插入所述自定义开销的控制块,对所述插入所述自定义开销的控制块进行速率适配;
    将所述数据码按照所述FlexE的规定进行编码转换,得到数据块;
    使用所述FlexE承载进行速率适配后的控制块、和所述数据块。
  17. 根据权利要求16所述的设备,所述设备还设置为:
    在从所述信号帧中提取出所述控制码和所述数据码之后,获取所述信号帧的速率信息、告警信息以及数据校验和信息,将所述信号帧的所述速率信息、所述告警信息以及所述数据校验和信息作为所述自定义开销。
  18. 根据权利要求16或17所述的设备,其中,所述信号帧包括通用公共 无线接口CPRI帧;
    所述将所述控制码按照弹性以太网FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入所述自定义开销,得到插入所述自定义开销的控制块,对所述插入所述自定义开销的控制块进行速率适配,包括:
    将CPRI线路速率选项转换为结束控制块以及开始控制块,并在所述结束控制块携带的数据和所述开始控制块携带的数据中分别插入有效数据以及所述自定义开销,并在所述结束控制块与所述开始控制块之间插入空闲控制块,以进行所述速率适配。
  19. 根据权利要求16或17所述的设备,其中,所述信号帧包括千兆以太网GE帧;
    所述将所述控制码按照弹性以太网FlexE的规定进行编码转换,在进行编码转换后得到的控制块中插入自定义开销,得到插入所述自定义开销的控制块,对所述插入所述自定义开销的控制块进行速率适配,包括:
    在没有数据帧要传送的情况下,对所述控制块进行速率适配,或,在顺序集控制块中插入所述自定义开销进行传送;
    在接收到数据帧的开始控制码的情况下,基于所述开始控制码转换得到开始控制块,基于所述数据帧的结束控制码转换得到结束控制块;
    所述将所述数据码按照所述FlexE的规定进行编码转换,得到数据块,包括:
    将所述数据帧中的数据合成数据块。
  20. 一种接收端设备,包括处理器以及存储有所述处理器可执行指令的存储器,以及设置为数据发送和/或接收的数据收发器,当所述指令被处理器执行时,执行如下操作:
    接收弹性以太网FlexE承载的信号帧的数据块和控制块;
    提取所述控制块中携带的自定义开销以及将所述控制块按照通用公共无线接口CPRI的规定或千兆以太网GE的规定进行编码转换;
    将所述数据块按照所述CPRI的规定或所述GE的规定进行编码转换,以将 所述FlexE承载的信号帧还原为CPRI帧或GE帧。
  21. 根据权利要求20所述的设备,其中,在所述FlexE承载的信号帧是由CPRI帧转换得到的情况下,所述提取所述控制块中携带的自定义开销以及将所述控制块按照CPRI的规定进行编码转换,包括:
    在接收到包含结束控制码的结束控制块以及包含开始控制码的开始控制块时,提取所述开始控制块携带的自定义开销,和所述结束控制块携带的自定义开销;
    基于接收到的所述控制块按照CPRI的规定生成所述CPRI帧的控制码;
    根据所述自定义开销中的速率信息,恢复所述CPRI帧的控制码的速率;
    在所述FlexE承载的信号帧是由GE帧转换得到的情况下,所述提取所述控制块中携带的自定义开销以及将所述控制块按照GE的规定进行编码转换,包括:
    在接收到顺序集控制块时,提取所述顺序集控制块携带的自定义开销;
    基于接收到的所述控制块得到按照GE的规定转换为所述GE帧的控制码;
    根据所述自定义开销中的速率信息,恢复所述GE帧的控制码的速率;
    所述将所述数据块按照所述CPRI的规定或GE的规定进行编码转换,以将所述FlexE承载的信号帧还原为CPRI帧或GE帧,包括:
    基于接收到的数据块转换得到所述CPRI帧或GE帧的数据码;
    根据所述自定义开销中的速率信息,恢复所述CPRI帧或GE帧的数据码的速率。
PCT/CN2018/079899 2017-03-21 2018-03-21 使用FlexE承载信号帧的方法及装置、信号帧还原的方法及装置 WO2018171642A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710169441.8A CN108631908B (zh) 2017-03-21 2017-03-21 使用FlexE承载信号帧的方法、FlexE信号帧还原的方法及装置
CN201710169441.8 2017-03-21

Publications (1)

Publication Number Publication Date
WO2018171642A1 true WO2018171642A1 (zh) 2018-09-27

Family

ID=63584097

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/079899 WO2018171642A1 (zh) 2017-03-21 2018-03-21 使用FlexE承载信号帧的方法及装置、信号帧还原的方法及装置

Country Status (2)

Country Link
CN (1) CN108631908B (zh)
WO (1) WO2018171642A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111050403A (zh) * 2018-10-15 2020-04-21 中国移动通信有限公司研究院 一种数据传输方法、装置及设备
WO2020156642A1 (en) * 2019-01-29 2020-08-06 Telefonaktiebolaget Lm Ericsson (Publ) Cpri data block transmission method and apparatus
CN113853014A (zh) * 2020-06-28 2021-12-28 中国移动通信有限公司研究院 信息传输方法、装置、相关设备及存储介质
US20220247505A1 (en) * 2019-12-23 2022-08-04 Zte Corporation Method and apparatus for configuring synchronisation information, network device, and storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111278059B (zh) * 2018-12-04 2023-09-01 中兴通讯股份有限公司 一种报文转发方法和装置
CN111342983B (zh) * 2018-12-18 2022-07-12 深圳市中兴微电子技术有限公司 成员动态处理方法、系统、接收端、管理实体及存储介质
US11128742B2 (en) * 2019-03-08 2021-09-21 Microsemi Storage Solutions, Inc. Method for adapting a constant bit rate client signal into the path layer of a telecom signal
US11108895B2 (en) * 2019-08-23 2021-08-31 Microchip Technology Inc. Method for providing path signal overhead in the 64B/66B character stream of an itu-t metro transport network using micro-packets
CN111107641B (zh) * 2019-12-11 2023-11-07 Ut斯达康通讯有限公司 FlexE业务处理方法、装置及电子设备
CN113784437B (zh) * 2020-06-10 2023-09-26 烽火通信科技股份有限公司 一种FlexE承载小颗粒业务的实现方法和装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348602A (zh) * 2013-08-09 2015-02-11 北京三星通信技术研究有限公司 一种混合双工通信方法、基站及终端
US20150055664A1 (en) * 2013-08-22 2015-02-26 Nec Laboratories America, Inc. Reconfigurable and variable-rate shared multi-transponder architecture for flexible ethernet-based optical networks
EP3113502A1 (en) * 2015-06-30 2017-01-04 Ciena Corporation Flexible ethernet systems and methods for switching, oam, multi-service, chip-to-chip interface, time transfer, and encryption
CN106330630A (zh) * 2015-07-03 2017-01-11 华为技术有限公司 传输灵活以太网的数据流的方法、发射机和接收机
WO2017016379A1 (zh) * 2015-07-30 2017-02-02 华为技术有限公司 用于数据传输的方法、发送机和接收机

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039245A (zh) * 2006-03-13 2007-09-19 华为技术有限公司 高速以太网到光传输网的数据传输方法及相关接口和设备
CN101436917B (zh) * 2007-11-12 2012-06-27 华为技术有限公司 用于以太网无源光网络的数据编译码方法及装置
CN105871502B (zh) * 2015-01-22 2020-01-03 华为技术有限公司 一种利用以太网信道传输业务信号的方法及通信设备
CN106330417B (zh) * 2015-06-19 2019-09-13 华为技术有限公司 数据承载的方法、装置以及数据解析的方法、装置
US10218823B2 (en) * 2015-06-30 2019-02-26 Ciena Corporation Flexible ethernet client multi-service and timing transparency systems and methods
CN110691034B (zh) * 2015-07-17 2022-10-11 华为技术有限公司 传输灵活以太网的业务流的方法和装置
CN105187161B (zh) * 2015-09-11 2019-01-01 深圳三星通信技术研究有限公司 一种cpri帧在以太网上的传输方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348602A (zh) * 2013-08-09 2015-02-11 北京三星通信技术研究有限公司 一种混合双工通信方法、基站及终端
US20150055664A1 (en) * 2013-08-22 2015-02-26 Nec Laboratories America, Inc. Reconfigurable and variable-rate shared multi-transponder architecture for flexible ethernet-based optical networks
EP3113502A1 (en) * 2015-06-30 2017-01-04 Ciena Corporation Flexible ethernet systems and methods for switching, oam, multi-service, chip-to-chip interface, time transfer, and encryption
CN106330630A (zh) * 2015-07-03 2017-01-11 华为技术有限公司 传输灵活以太网的数据流的方法、发射机和接收机
WO2017016379A1 (zh) * 2015-07-30 2017-02-02 华为技术有限公司 用于数据传输的方法、发送机和接收机
CN106411454A (zh) * 2015-07-30 2017-02-15 华为技术有限公司 用于数据传输的方法、发送机和接收机

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111050403A (zh) * 2018-10-15 2020-04-21 中国移动通信有限公司研究院 一种数据传输方法、装置及设备
WO2020078203A1 (zh) * 2018-10-15 2020-04-23 中国移动通信有限公司研究院 数据传输方法、装置及设备
CN111050403B (zh) * 2018-10-15 2022-06-07 中国移动通信有限公司研究院 一种数据传输方法、装置及设备
WO2020156642A1 (en) * 2019-01-29 2020-08-06 Telefonaktiebolaget Lm Ericsson (Publ) Cpri data block transmission method and apparatus
US20220247505A1 (en) * 2019-12-23 2022-08-04 Zte Corporation Method and apparatus for configuring synchronisation information, network device, and storage medium
CN113853014A (zh) * 2020-06-28 2021-12-28 中国移动通信有限公司研究院 信息传输方法、装置、相关设备及存储介质

Also Published As

Publication number Publication date
CN108631908A (zh) 2018-10-09
CN108631908B (zh) 2022-03-01

Similar Documents

Publication Publication Date Title
WO2018171642A1 (zh) 使用FlexE承载信号帧的方法及装置、信号帧还原的方法及装置
US11252098B2 (en) Data transmission method, transmitter, and receiver
WO2018121224A1 (zh) 一种传输无线接口前传信号的方法、网络设备和系统
EP2975858B1 (en) Method for processing data in the ethernet, physical layer chip and ethernet device
US7809021B2 (en) Communication system and encoding method having low overhead
EP3641237A1 (en) Transmission network system, and data exchange and transmission method, device and apparatus
US20160070615A1 (en) Fec coding/decoding data processing method and related apparatus
US8199772B2 (en) Systems and methods for synchronous generic framing protocol mapping
WO2015035618A1 (zh) 传输数据的方法和装置
WO2020019845A1 (zh) Oam消息的传输方法、发送设备、接收设备及可读存储介质
TW200833033A (en) Method and system for an extended range Ethernet line code
JPH077506A (ja) フレームベースのデータ伝送
JPH06284130A (ja) 等時性能力を備えたデータ通信ネットワーク
CN109005557B (zh) 一种时延对称性测量方法、装置和系统
WO2011035603A1 (zh) 一种实现数据业务透明传送的方法、系统及装置
WO2011003329A1 (zh) 64b/66b编解码装置及实现64b/66b编解码的方法
JP2008177772A (ja) デジタル伝送システム、およびデジタル伝送方法
US11438098B2 (en) Data transmission method, sending apparatus, and receiving apparatus
WO2020253403A1 (zh) 一种开销监控方法和装置、计算机可读存储介质
CN113949718B (zh) 基于e1及ip混合承载的电力专网调度放号系统及方法
WO2020253628A1 (zh) 一种数据处理方法、光传输设备及数字处理芯片
WO2019029285A1 (zh) 一种业务复用方法、业务解复用方法以及相关设备
WO2010020175A1 (zh) 信号汇聚、解汇聚的装置、方法及系统
CN113330696A (zh) Cpri数据块传输方法和设备
WO2008055441A1 (fr) Procede et appareil de transmission de services de canal de fibres et systeme associe

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

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

Country of ref document: EP

Kind code of ref document: A1