CN108631908B - Method for carrying signal frame by using Flexe, method and device for restoring Flexe signal frame - Google Patents

Method for carrying signal frame by using Flexe, method and device for restoring Flexe signal frame Download PDF

Info

Publication number
CN108631908B
CN108631908B CN201710169441.8A CN201710169441A CN108631908B CN 108631908 B CN108631908 B CN 108631908B CN 201710169441 A CN201710169441 A CN 201710169441A CN 108631908 B CN108631908 B CN 108631908B
Authority
CN
China
Prior art keywords
data
control block
code
control
frame
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710169441.8A
Other languages
Chinese (zh)
Other versions
CN108631908A (en
Inventor
罗利人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710169441.8A priority Critical patent/CN108631908B/en
Priority to PCT/CN2018/079899 priority patent/WO2018171642A1/en
Publication of CN108631908A publication Critical patent/CN108631908A/en
Application granted granted Critical
Publication of CN108631908B publication Critical patent/CN108631908B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

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

Abstract

The invention provides a method for bearing a client signal by using Flexe, a method and a device for restoring the client signal, which are used for solving the problems that the existing mode of transmitting a CPRI frame on an Ethernet needs more overhead and has lower efficiency. The method comprises the following steps: extracting a control code and a data code from the signal frame; performing code conversion on the control code according to the specification of the flexible Ethernet Flexe, inserting custom overhead into the control block obtained after code conversion to obtain a control block, and performing rate adaptation on the control block; carrying out code conversion on the data codes according to the rule of FlexE to obtain data blocks; and carrying the control block and the data block subjected to rate adaptation by using Flexe. The scheme reduces the overhead of CPRI frames in the transmission process on the Ethernet and improves the efficiency.

Description

Method for carrying signal frame by using Flexe, method and device for restoring Flexe signal frame
Technical Field
The present invention relates to the field of communications, and in particular, to a method for using a FlexE (flexible Ethernet) to carry a signal frame, and a method and an apparatus for recovering a FlexE signal frame.
Background
The common public radio interface (CPRI for short) is a protocol of an internal main interface specification between a radio control center (REC for short) and a radio equipment (RE for short) of a radio base station, which is established by an industrial cooperation organization initiated by ericsson, huaye, NEC, a bei-telecommunications network and siemens. The CPRI protocol defines a number of line rate options as shown in table 1 below:
TABLE 1
Figure BDA0001250730710000011
Wherein, the line code used by the physical Layer (Layer 1) of CPRI option 1-7 is 8B/10B line code meeting the IEEE 802.3-2005[1], clause 36 requirements; and the line code used by the physical Layer (Layer 1) of the option 8-10 is a 64B/66B line code meeting the requirements of IEEE 802.3-2008[22], clause 49. These CPRI options all belong to CBR (Constant Bit Rate) services.
At present, the method for transmitting CPRI frames over ethernet is implemented by performing ethernet simulation on CPRI frames. The method comprises the steps of solving basic frames of CPRI, then packaging a plurality of basic frames into an Ethernet frame, adding overhead information, a type field, a VLAN (virtual local area network) field, a MAC (media access control) header and the like required by simulation in the front, and then sending the Ethernet frame to a physical layer of the Ethernet for processing such as rate adaptation, PCS (physical coding sublayer) coding and the like.
Disclosure of Invention
The invention provides a method for bearing a signal frame by using Flexe, a method and a device for restoring the signal frame, which are used for solving the problems that the existing CPRI frame transmission mode on the Ethernet needs more overhead and has lower efficiency.
According to an aspect of the present invention, there is provided a method for carrying signal frames using FlexE, comprising: extracting a control code and a data code from the signal frame; performing code conversion on the control code according to the specification of the flexible Ethernet Flexe, inserting custom overhead into the control block obtained after code conversion to obtain a control block, and performing rate adaptation on the control block; carrying out code conversion on the data codes according to the rule of FlexE to obtain data blocks; and carrying the control block and the data block subjected to rate adaptation by using Flexe.
Optionally, the method further includes: after the control code and the data code are extracted from the signal frame, the rate information, the alarm information and the data check sum information of the signal frame are obtained, and the rate information, the alarm information and the data check sum information of the signal frame are used as the self-defined overhead of the signal frame.
Optionally, the signal frame includes a common public radio interface CPRI frame; performing code conversion on a control code according to the rule of FlexE, inserting custom overhead into a control block obtained after code conversion to obtain a control block, and performing rate adaptation on the control block, wherein the method comprises the following steps: converting the CPRI line rate option into a control block and a data block, inserting effective data and user-defined overhead in the data carried by the ending control block and the starting control block, and inserting an idle control block between the ending control block and the starting control block for rate adaptation.
Optionally, the signal frame includes a gigabit ethernet GE frame; performing code conversion on a control code according to the rule of FlexE, inserting custom overhead into a control block obtained after code conversion to obtain a control block, and performing rate adaptation on the control block, wherein the method comprises the following steps: under the condition that no data frame is transmitted, carrying out rate adaptation on a control block, or inserting custom overhead into a command control block for transmission; and when the start control code of the data frame is received, obtaining a start control block based on the start control code, synthesizing the data in the data frame into a data block, and obtaining an end control block based on the end control code of the data frame.
Optionally, performing rate adaptation on the control block includes: and calculating the difference value of the rate after 64/66 encoding with the CPRI basic frame rate according to the total rate of the time slots to be put in the Flexe frame, calculating the target number of idle control blocks to be inserted according to the difference value, and inserting the idle control blocks with the target number between the control blocks.
Optionally, the control block and the data block after performing rate adaptation by using a FlexE bearer include: each 5Gb/s slot is subdivided into 93 53.76344Mb/s or 33 151.51515Mb/s sub-slots, and the sub-slots are used for carrying the converted CPRI frame.
According to a second aspect of the present invention, there is provided a method for restoring a frame of a FlexE signal, comprising: receiving a data block and a control block of an elastic Ethernet Flexe frame; when the control block is received, extracting the custom overhead carried in the control block and carrying out code conversion on the control block according to the specification of CPRI or GE; when the data block is received, the data block is subjected to code conversion according to the specification of CPRI or GE.
Optionally, the FlexE frame is obtained by converting a CPRI frame or a GE frame, and when receiving the control block, the method extracts the custom overhead carried in the control block and performs transcoding on the control block according to the specification of the CPRI or the GE, and when receiving the data block, performs transcoding on the data block according to the specification of the CPRI or the GE, and includes: when a control block containing an ending control code and a starting code is received, extracting custom overhead carried by the starting control block and the ending control block; obtaining a control code of the CPRI or GE based on the received control block, and obtaining a data code of the CPRI or GE based on the received data block; and recovering the rate of the control code and the data code according to the rate information in the user-defined overhead.
Optionally, the custom overhead includes: rate information of CPRI frames or GE frames, alarm information, and checksum.
According to a third aspect of the present invention, there is provided a signal framing apparatus using FlexE, comprising: the extraction module is used for extracting the control code and the data code from the signal frame; the first conversion module is used for performing code conversion on the control code according to the specification of the flexible Ethernet Flexe, inserting custom overhead into the control block obtained after the code conversion is performed to obtain a control block, and performing rate adaptation on the control block; the second conversion module is used for performing coding conversion on the data codes according to the rule of Flexe to obtain data blocks; and the bearing module is used for bearing the control block and the data block subjected to rate adaptation by using Flexe.
Optionally, the apparatus further comprises: and the determining module is used for acquiring the rate information, the alarm information and the data checksum information of the signal frame after the control code and the data code are extracted from the signal frame, and taking the rate information, the alarm information and the data checksum information of the signal frame as the self-defined overhead of the signal frame.
Optionally, the signal frame includes a common public radio interface CPRI frame; the first conversion module is specifically configured to: converting the CPRI line rate option into a control block and a data block, inserting effective data and custom overhead in the data carried by the ending control block and the starting control block, and inserting an idle control block between the ending control block and the starting control block for rate adaptation.
Optionally, the signal frame includes a gigabit ethernet GE frame; the first conversion module is specifically configured to: under the condition that no data frame is transmitted, carrying out rate adaptation on a control block, or inserting custom overhead into a command control block for transmission; and when the start control code of the data frame is received, obtaining a start control block based on the start control code, synthesizing the data in the data frame into a data block, and obtaining an end control block based on the end control code of the data frame.
According to a fourth aspect of the present invention, there is provided an apparatus for restoring a FlexE frame, comprising: the receiving module is used for receiving a data block and a control block of an elastic Ethernet Flexe frame; the third conversion module is used for extracting the custom overhead carried in the control block and performing code conversion on the control block according to the specification of the CPRI or GE when the control block is received; and the fourth conversion module is used for carrying out code conversion on the data block according to the specification of the CPRI or GE when the data block is received.
Optionally, the FlexE frame is obtained by converting a CPRI frame or a GE frame, and the third conversion module is specifically configured to:
when a control block containing an ending control code and a starting code is received, extracting custom overhead carried by the starting control block and the ending control block; obtaining a control code of the CPRI or GE based on the received control block, and obtaining a data code of the CPRI or GE based on the received data block; and recovering the rate of the control code and the data code according to the rate information in the user-defined overhead.
According to a fifth aspect of the present invention, there is provided a transmitting end device, characterized by comprising a processor and a memory storing processor-executable instructions, and a data transceiver for data transmission and/or reception, the instructions when executed by the processor performing the following operations: extracting a control code and a data code from the signal frame; performing code conversion on the control code according to the specification of the flexible Ethernet Flexe, inserting custom overhead into the control block obtained after code conversion to obtain a control block, and performing rate adaptation on the control block; carrying out code conversion on the data codes according to the rule of FlexE to obtain data blocks; and carrying the control block and the data block subjected to rate adaptation by using Flexe.
Optionally, the sending-end device is further configured to: after the control code and the data code are extracted from the signal frame, the rate information, the alarm information and the data check sum information of the signal frame are obtained, and the rate information, the alarm information and the data check sum information of the signal frame are used as the self-defined overhead of the signal frame.
Optionally, the signal frame includes a common public radio interface CPRI frame; performing code conversion on the control code according to the specification of the flexible Ethernet Flexe, inserting custom overhead into the control block obtained after code conversion to obtain a control block, and performing rate adaptation on the control block, wherein the method comprises the following steps: converting the CPRI line rate option into a control block and a data block, inserting effective data and user-defined overhead in the data carried by the ending control block and the starting control block, and inserting an idle control block between the ending control block and the starting control block for rate adaptation.
Optionally, the signal frame includes a gigabit ethernet GE frame; performing code conversion on the control code according to the specification of the flexible Ethernet Flexe, inserting custom overhead into the control block obtained after code conversion to obtain a control block, and performing rate adaptation on the control block, wherein the method comprises the following steps: under the condition that no data frame is transmitted, carrying out rate adaptation on a control block, or inserting custom overhead into a command control block for transmission; and when the start control code of the data frame is received, obtaining a start control block based on the start control code, synthesizing the data in the data frame into a data block, and obtaining an end control block based on the end control code of the data frame.
According to a sixth aspect of the present invention, there is provided a receiving-end device comprising a processor and a memory storing processor-executable instructions, and a data transceiver for data transmission and/or reception, the instructions when executed by the processor performing the following operations: receiving a data block and a control block of an elastic Ethernet Flexe frame; when the control block is received, extracting the custom overhead carried in the control block and carrying out code conversion on the control block according to the specification of CPRI or GE; when the data block is received, the data block is subjected to code conversion according to the specification of CPRI or GE.
Optionally, the FlexE frame is obtained by converting a CPRI frame or a GE frame, and when receiving the control block, the method extracts the custom overhead carried in the control block and performs transcoding on the control block according to the specification of the CPRI or the GE, and when receiving the data block, performs transcoding on the data block according to the specification of the CPRI or the GE, and includes: when a control block containing an ending control code and a starting code is received, extracting custom overhead carried by the starting control block and the ending control block; obtaining a control code of the CPRI or GE based on the received control block, and obtaining a data code of the CPRI or GE based on the received data block; and recovering the rate of the control code and the data code according to the rate information in the user-defined overhead.
The invention has the following beneficial effects:
compared with the prior art, the scheme provided by the embodiment of the invention only carries out code conversion on a physical layer, only adds one control block or does not add the control block, only embeds contents such as custom overhead and the like, completes bearing of the CPRI frame without additional overhead, and recovers the CPRI signal frame with the same rate as the near-end rate at the far end.
Drawings
Fig. 1 is a flowchart of a method of using FlexE to carry signal frames provided in a first embodiment of the invention;
fig. 2 is a flowchart of a method for restoring a CPRI signal frame provided in a second embodiment of the present invention;
fig. 3 is a block diagram of an apparatus for carrying signal frames by using FlexE according to a third embodiment of the present invention;
fig. 4 is a flowchart of a method for carrying CPRI frames using FlexE according to a third embodiment of the present invention;
fig. 5 is a schematic diagram of a network involved in a third embodiment of the present invention;
FIG. 6 is a schematic diagram of the transcoding process involved in the third embodiment of the present invention;
fig. 7 is a schematic diagram of a network involved in a third embodiment of the present invention;
FIG. 8 is a schematic diagram of the transcoding process involved in the third embodiment of the present invention;
fig. 9 is a schematic diagram of a network involved in a fourth embodiment of the present invention;
FIG. 10 is a schematic diagram of a transcoding process involved in a fourth embodiment of the present invention;
fig. 11 is a block diagram of an apparatus for carrying signal frames by using FlexE according to a fifth embodiment of the present invention;
fig. 12 is a block diagram of an apparatus for restoring a signal frame according to a sixth embodiment of the present invention;
fig. 13 is a block diagram of a transmitting-end device according to a seventh embodiment of the present invention;
fig. 14 is a block diagram of a receiving end device according to an eighth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Before describing the technical solution of the present invention in detail, first, the related art related to the present invention and the improvement made based on the related art are briefly introduced.
FlexE is a protocol established by OIF (Optical internet Forum) to support multiple variable rate ethernet MACs to be transported over one or more ethernet PHYs (physical layers) channelized. It adds processing such as time slots and overhead to the Flexe Shim layer and requires that all Flexe clients present in the Flexe Shim be bitstreams compliant with the IEEE 802.3 Figure 82-5 64B/66B coding rules. Currently, the Flexe signal frames defined by the Flexe protocol only have various Ethernet MACs with rates of 10Gb/s, 40Gb/s and mx25Gb/s, and the carried services are services belonging to VBR (Variable Bit Rate). The Flexe supports the division into a plurality of time slots with 5G granularity, a plurality of 5G time slots are allocated to a certain Flexe client, a transmission hard pipeline is formed, the bandwidth cannot be shared with other Flexe clients, and the effect of physical isolation between the pipelines is achieved. On the basis, the invention provides a scheme for bearing other signal frames on Flexe, which does not need to use an Ethernet simulation mode of a data link Layer (Layer 2), only needs to carry out coding conversion in a PCS sublayer of a physical Layer, so that the CPRI frame can be directly used as a Flexe Client with the characteristics of CBR to be put into the Flexe for transmission, and information such as the rate, alarm, check and the like of the signal frame of the CPRI at the near end can be inserted into the code stream of the Flexe Client, and the CPRI frame with the same rate as the near end can be restored in a far-end device.
First embodiment
The present embodiment provides a method for carrying signal frames by using FlexE, fig. 1 is a flowchart of the method, and as shown in fig. 1, the method includes the following processes:
step 101: extracting a control code and a data code from the signal frame;
step 102: performing code conversion on the control code according to the specification of the flexible Ethernet Flexe, inserting custom overhead into the control block obtained after code conversion to obtain a control block, and performing rate adaptation on the control block;
in this embodiment, the performing rate adaptation specifically may include: and calculating the difference value of the rate after 64/66 encoding with the CPRI basic frame rate option according to the total rate of the time slot to be put in by the Flexe signal frame, calculating the target number of idle control blocks needing to be inserted according to the difference value, and inserting the idle control blocks with the target number between the ending control block and the starting control block.
Step 103: performing coding conversion on the data codes according to the rule of FlexE to obtain data blocks;
step 104: and carrying the rate-adapted control block and the data block by using a Flexe bearer.
Under the condition that a Flexe is used for bearing a CPRI frame, a physical Layer (Layer 1) of CPRI options 1-7 uses 8B/10B (B represents bit, the same below) line coding, and the Flexe frame requires 64B/66B coding, so that coding conversion is needed; the payload code rate of CPRI option 1-10, namely the basic frame rate, is not just equal to the integral multiple of the time slot granularity of Flexe even after 64B/66B recoding, and when a plurality of time slots of Flexe are used for transmitting the CBR service of CPRI, the rate adaptation is needed; to recover the CPRI frame with the same rate as the near-end device at the far-end device, information such as rate information, alarm information, data checksum, and the like of the CPRI frame needs to be acquired at the near-end device, and inserted into the code stream of the FlexE Client through the custom overhead and carried to the far-end device, so that the far-end device can recover the CPRI frame with the same rate according to the information, and sense alarms, error codes, and the like. Therefore, in a specific example, the method for using FlexE to carry CPRI frames may specifically include:
on the basis of the foregoing steps 101 to 104, the method provided in this embodiment may further include the following processing:
after the control code and the data code are extracted from the signal frame, the rate information, the alarm information and the data checksum information of the signal frame are obtained, and the rate information, the alarm information and the data checksum information of the signal frame are used as the self-defined overhead for representing the rate information, the alarm information and the data checksum information of the signal frame.
Optionally, the signal frame referred in this embodiment may specifically be a CPRI frame, based on which, the control code is subjected to transcoding according to the specification of the flexible ethernet FlexE, and a custom overhead is inserted into the control block obtained after the transcoding, so as to obtain a control block, and perform rate adaptation on the control block, which specifically may include: converting the CPRI line rate option into a control block and a data block, inserting effective data and user-defined overhead in the data carried by the ending control block and the starting control block, and inserting an idle control block between the ending control block and the starting control block for rate adaptation.
Optionally, the signal frame referred in this embodiment may specifically be a GE frame, based on which, the control code is transcoded according to the specification of the flexible ethernet FlexE, and a custom overhead is inserted into the control block obtained after the transcoding is performed to obtain a control block, and performing rate adaptation on the control block may specifically include: under the condition that no data frame is transmitted, carrying out rate adaptation on a control block, or inserting custom overhead into a command control block for transmission; and when the start control code of the data frame is received, obtaining a start control block based on the start control code, synthesizing the data in the data frame into a data block, and obtaining an end control block based on the end control code of the data frame.
In a preferred embodiment, using FlexE to carry the CPRI frame may specifically include:
each 5Gb/s slot is subdivided into 93 53.76344Mb/s or 33 151.51515Mb/s sub-slots, and the sub-slots are used for carrying the converted CPRI frame.
Compared with the prior art, the embodiment only carries out code conversion on a physical layer, only adds one control block or does not add the control block, only embeds the content of self-defined overhead and the like, introduces an mx53.76344Mb/s or mx151.51515Mb/s sub-slot pipeline of a 5G time slot of the Flexe, enables the Flexe to bear the CPRI and use the pipeline bandwidth with higher efficiency closest to the CPRI payload code stream to complete bearing of CPRI frames, and recovers the CPRI signal frames with the same rate as the near-end rate at the far end. The added delay is also small due to the lower processing level.
Second embodiment
The embodiment provides a method for restoring a signal frame, fig. 2 is a flowchart of the method, and as shown in fig. 2, the method includes the following steps:
step 201: receiving a data block and a control block of a Flexe signal frame;
step 202: when the control block is received, extracting the custom overhead carried in the control block and carrying out code conversion on the control block according to the specification of CPRI or GE;
step 203: when the data block is received, the data block is subjected to code conversion according to the specification of CPRI or GE.
In a specific example, the FlexE frame is obtained by converting a CPRI frame, based on which, when receiving a control block, extracting a custom overhead carried in the control block and performing transcoding on the control block according to the CPRI specification, and when receiving a data block, performing transcoding on the data block according to the CPRI specification may specifically include: when a control block containing an ending control code and a starting code is received, extracting custom overhead carried by the starting control block and the ending control block; obtaining a control code of the CPRI based on the received control block, and obtaining a data code of the CPRI based on the received data block; and recovering the rate of the control code and the data code according to the rate information in the user-defined overhead.
In another example, the FlexE signal frame is obtained by GE signal frame conversion, in this case, when receiving the control block, the custom overhead carried in the control block is extracted and the control block is transcoded according to the specification of GE, and when receiving the data block, the transcoding the data block according to the specification of GPRI or GE may specifically include:
receiving a code stream of a 66-bit data block and a control block of a Flexe frame; when an idle data block is received, inserting an appropriate number of 8-bit idle control codes and converting the idle control codes into 10-bit idle control codes; when a sequence set control block is received, extracting custom overhead transmitted in the sequence set control block, and obtaining rate information and alarm information corresponding to GE frames; when receiving a start control block, converting the start control block into 8-bit start control codes, and 6 lead codes and 1 start frame delimiter field SFD after the 8-bit control codes; converting each 66-bit data block into 8-bit data codes when the data block is received; when receiving the ending control block, converting the effective data in the ending control block into a data code with 8 bits and converting the ending control code into an ending control code with 8 bits; and obtaining the converted GE data frame, and converting the GE data frame into a 10-bit coded signal.
Third embodiment
In this embodiment, a flow of using FlexE to carry CPRI signals is taken as an example to describe the method provided by the present invention, and the flow may specifically include the following steps:
step 1, extracting CPRI frames.
And extracting a control code and a data code from the CPRI frame, and acquiring information such as rate information, alarm information, data checksum and the like of the CPRI frame.
Converting 10B codes of CPRI options 1-7 into 8B data codes and control codes; and for CPRI options 8-10, directly obtaining the information of the control block and the data block according to the type of the 2-bit Sync header of the 66B block.
And step 2, converting the control code, inserting the overhead and carrying out rate adaptation.
The 8B control code (K28.5) of CPRI options 1-7 (namely the first seven options of CPRI line rate option) is converted into a/T/end control block and a/S/start control block, and the valid data in the next 7 bytes and the custom overhead for representing the rate information, alarm information, data checksum and other information of CPRI frame are inserted into the data D0-D6 or D1-D7 carried by the two control blocks (the byte number of valid data required to be transmitted is different for each CPRI option, the lower the rate is, the more bytes of valid data are required to be transmitted is, the higher the rate is, and the more stuffing bytes are replaced by the custom overhead). Then, a plurality of 66B control blocks with all band/I/(IDLE) control codes (namely IDLE control codes) are inserted between the two control blocks for carrying out rate adaptation.
The CPRI options 8-10 (i.e. the last three options of the CPRI line rate option) have two 66B control blocks, one is a/T/end control block, and the other is a/S/start control block, and the data D0-D6 or D1-D7 carried in the two control blocks are actually padded fixed content, so that all the control blocks can be replaced by custom overhead for representing rate information, alarm information, data checksum and other information of the CPRI. Then, a plurality of 66B control blocks with all band/I/(IDLE) control codes are inserted between the two control blocks for rate adaptation.
And 3, converting data.
After the control code (or control block) a data code (or data block) needs to be transmitted.
For 8B data codes of CPRI options 1-7, every 8B data needs to be combined into 64B data, a Sync header (synchronization header) of 2-bit representation data is added to generate a 66B data block, and then the 66B data block is sent to a Flexe transmission module.
For the 66B data block of the CPRI option 8-10, the coding format is consistent with the requirement of a Flexe Client, so the data block can be directly forwarded to a Flexe transmission module without conversion.
And 4, transmitting by using Flexe.
The generated new Flexe frame is subjected to rate adaptation through adding and deleting IDLE control blocks and is put into the specified time slots of the Flexe Shim, and when the CPRI frames with various rates are carried by using the time slot granularity of mx5Gb/S, the efficiency is not ideal, so that the efficiency can be obviously improved when each time slot with 5Gb/S is subdivided into 93 sub-time slots with 5000/1023 × 11 ═ 53.76344Mb/S or 33 sub-time slots with 5000/1023 × 31 ═ 151.51515Mb/S, and then the CPRI frames with various rates are carried by using mx53.76344Mb/S or mx151.515Mb/S.
And 5, restoring the signal frame.
When a code stream of a 66B data block and a control block of a Flexe frame received from a Flexe transmission module encounters a control block containing/T/and/S/control codes, extracting self-defined overhead carried in the code stream;
generating 1 10B initial control codes and specified 10B filling control codes or partial valid 10B data codes and the like for CPRI options 1-7; for CPRI options 8-10, replacing the content of the custom overhead by fixed filling codes, and then continuously transmitting the two control blocks;
when an/I/(IDLE) control block is encountered, then such control block is deleted;
when a data block is encountered, 8B data codes are restored for CPRI options 1-7 and then converted into 8 10B data codes; and for CPRI options 8-10, the data blocks are directly forwarded. The rate at which the control code (or control block) and the data code (or data block) are sent needs to be recovered according to the rate information in the extracted custom overhead.
Based on the foregoing processing of this embodiment, this embodiment provides an apparatus for implementing the foregoing method, that is, an apparatus 30 for carrying CPRI frames by using FlexE, as shown in fig. 3, the apparatus includes the following parts:
a signal frame extraction module 31;
and the method is used for extracting 8B data codes and control codes of CPRI signal frames, code stream rate, data checksum, alarm information and the like. A control code conversion, overhead insertion and rate adaptation module 32;
the 8B control code (K28.5) for CPRI options 1-7 is converted into two 66B control blocks with control codes/T/and/S (shown in the following table 2), and custom overhead for representing information such as rate information, alarm information, data checksum and the like of a signal frame is inserted into data D0-D6 or D1-D7 carried by the two control blocks. Then, a plurality of 66B control blocks which are all band/I/(IDLE) control codes are inserted between the two control blocks for carrying out rate adaptation.
TABLE 2
Figure BDA0001250730710000131
For the 66B control blocks/T/and/S/(as shown in the above table 2) of the CPRI options 8-10, only the data D0-D6 or D1-D7 (actually, the fixed content is filled) carried by the control blocks/T/and/S/(as shown in the above table 2) are replaced by the custom overhead for representing the rate information, the alarm information, the data checksum and other information of the signal frame. Then, a plurality of 66B control blocks which are all band/I/(IDLE) control codes are inserted between the two control blocks for carrying out rate adaptation.
A data conversion module 33;
for 8B data codes of CPRI options 1-7, combining 8B data into 64B data, adding 2-bit Sync header representing data to generate a 66B data block, and then sending the 66B data block to a Flexe transmission module.
For the 66B data blocks for CPRI options 8-10, the data blocks can be directly forwarded to a Flexe transmission module.
A FlexE transfer module 34;
and performing rate adaptation on each Flexe Client through an add-drop IDLE control block, putting the Flexe Client into a specified time slot of a Flexe Shim, sending the Flexe Client to one or more physical layers (PHYs) of the Ethernet, sending the Flexe Client to a far end through an optical module optical fiber system, reducing the optical module and the PHY at the far end into 66B code streams, sending the 66B code streams to the Flexe Shim, and recovering the 66B code streams of each Flexe Client according to the specified time slot.
A signal frame restoration module 35;
when a code stream of a 66B data block and a control block of a Flexe Client received from a Flexe transmission module receives the control block containing/T/and/S/control codes, extracting the self-defined overhead carried in the control block;
generating 1 10B initial control codes and specified 10B filling control codes or recovering partial effective 10B data codes and the like for CPRI options 1-7; for CPRI options 8-10, replacing the content of the custom overhead by fixed filling codes, and then continuously transmitting the two control blocks;
when an/I/(IDLE) control block is encountered, then such control block is deleted;
when a data block is encountered, 8 data 8B are restored for CPRI options 1-7, and then 8 data codes 10B are converted; and for CPRI options 8-10, the data blocks are directly forwarded. The rate at which the control code (or control block) and the data code (or data block) are sent needs to be recovered according to the rate information in the extracted custom overhead.
The method for carrying signal frames by using FlexE provided by the invention is further explained below. For CPRI options 1 to 7, the line codes are all 8B/10B, and this embodiment describes a flow of a method for using FlexE to carry CPRI frames by taking CPRI option 7 as an example, as shown in fig. 4, the flow includes the following steps:
step 401, extracting a signal frame of the CPRI option 7;
and receiving the line 10B code of the CPRI option 7, converting the code into an 8B code, acquiring rate information and alarm information of a code stream, generating a checksum and the like.
Step 405, converting the control code, inserting overhead, and completing rate adaptation;
1) after finding the control code K28.5(0xBC), starting to generate an end control block of 66B band/T/(end) control codes, and inserting rate information, alarm information, checksum and the like related to signal frames into data of D0-D6 of the control block as custom overhead information;
2) and calculating the difference value of the rate of the CPRI option 7 after 64B/66B coding according to the total rate of a plurality of time slots into which the Flexe signal frame is to be put, obtaining the number of IDLE control blocks to be inserted, and then inserting an integral number of IDLE control blocks.
For example, if 2 timeslots of 5Gb/s are used to carry a CPRI option 7 signal frame, at a rate of 10Gb/s, 10416.667 blocks of 66B can be transmitted at a period of 66.67 microseconds per hyperframe of CPRI; the CPRI option 7 needs to transmit 8193 66B blocks after 8191 data blocks that need to be transmitted in one hyperframe and adding/T/and/S/two control blocks, the difference is 2223.667, at this time, 2223 IDLE control blocks need to be inserted, and 2224 IDLE control blocks are inserted after the next decimal part is accumulated to exceed 1.
If the 5Gb/s time slot is subdivided into 93 53.76344Mb/s time slots, then 147 53.76344Mb/s time slots are used to carry a CPRI option 7 signal frame, the rate of 7903.2258Mb/s, 8232.527 66B blocks can be transmitted in 66.67 microseconds of each super frame period of CPRI; the difference is 39.527, at which time 39 IDLE control blocks need to be inserted, and 40 IDLE control blocks are inserted after the next fractional portion is accumulated to exceed 1.
If the 5Gb/s time slot is subdivided into 33 151.51515Mb/s time slots, then 52 151.51515Mb/s time slots are used to carry a CPRI option 7 signal frame, the speed of 7878.788Mb/s, 8207.071 66B blocks can be transmitted in 66.67 microseconds of each super frame period of CPRI; the difference is 14.071, and at this time, 14 IDLE control blocks need to be inserted, and after the next fractional portion is accumulated to exceed 1, 15 IDLE control blocks are inserted.
3) After sufficient IDLE control blocks are inserted, a start control block of 66B band/S/(start) control codes is inserted, and rate information, alarm information, checksum and the like related to signal frames can be inserted into the data of D1-D7 of the control block as the rest of the custom overhead information; (in case of CPRI option less than 7, starting the data D1-D7 in the control block, it is possible to use a part to complete the possible valid data in bytes 1-7 of the 0 th basic frame).
Step 410, converting data;
starting from the 8 th byte of the 0 th basic frame, a 66B data block is generated every 8 bytes until the data of the last 8 bytes of the 255 th basic frame is converted into a 66B data block, and 8191 66B data blocks are generated in each super-high frame.
Fig. 5 is a schematic diagram of the networking according to the present example, as shown in fig. 5, wherein the virtual device 1 and the virtual device 2 are the device 30 according to the foregoing embodiment, where the virtual device 1 is configured to implement a function of using FlexE to carry CPRI, and the virtual device 2 is configured to implement a function of restoring CPRI signal frames.
Fig. 6 shows the transcoding process involved in step 405 and step 410 in this embodiment in detail, and specific mapping relationships of the transcoding bytes are shown in table 3 below.
TABLE 3
Figure BDA0001250730710000161
Figure BDA0001250730710000171
Step 415, transmitting the converted signal frame by using Flexe;
and processing specified time slots from the Flexe Client to the Flexe Shim, sending the time slots to an Ethernet physical layer, sending the time slots to an optical module, transmitting the time slots to an optical fiber, receiving the time slots by a far-end optical module, sending the time slots to the far-end Flexe Shim through the Ethernet physical layer, and recovering the time slots to be a 66B code stream of the Flexe Client.
Step 420, restoring the signal frame;
when a code stream of a 66B data block and a control block of a FlexeE Client meets a control block containing a/T/(end) and/S/(start) control code, extracting self-defined overhead carried in the code stream; the rate information, the alarm information, the checksum and the like of the CPRI signal frame can be obtained, the checksum can be checked, and whether a new error code exists in the transmission process can be known.
When an/I/(IDLE) control block is encountered, then such control block is deleted;
after the/S/control block is processed, the 10B control codes corresponding to 1 8B control code K28.5(0xBC) are generated as the start flag of a CPRI hyperframe, and then the 10B data codes corresponding to 7 8B fixed padding codes D16.2 (0x50) are inserted.
Then, each subsequent 66B data block is divided into 8 bytes, and sequentially converted into 10B data codes, wherein the sending rate is subject to the rate information in the custom overhead.
Fig. 7 is a networking diagram related in this embodiment, and for CPRI options 8 to 10, line codes are 64B/66B, in this example, a flow of a method for using FlexE to carry CPRI frames is described by taking CPRI option 8 as an example, and the flow includes the following steps: extracting a signal frame of the CPRI option 8;
and receiving the line 66B code of the CPRI option 8, identifying a control block and a data block, acquiring rate information and alarm information of a code stream, generating a checksum and the like.
Converting the control code, inserting overhead and completing rate adaptation;
1) after finding out the/T/control block, inserting the rate information, the alarm information, the checksum and the like of the related signal frame as custom overhead information into the data D0-D6 of the control block, and replacing the original fixed filling content;
2) and calculating the difference value between the rate of the CPRI option 8 and the rate of the CPRI option 8 according to the total rate of a plurality of time slots to be put in by the Flexe Client to obtain the number of IDLE control blocks to be inserted, and then inserting an integral number of IDLE control blocks.
For example, if the 5Gb/s timeslot is subdivided into 93 53.76344Mb/s timeslots, then 183 53.76344Mb/s timeslots are used to carry a CPRI option 8 signal frame, and the rate of 9838.709677Mb/s, 10248.656 66B blocks can be transmitted in 66.67 microseconds of each super frame period of the CPRI; CPRI option 8 needs to transmit 10238 data blocks in an hyperframe, add/T/S/two control blocks, and need to transmit 10240 66B blocks, the difference is 8.656, at this time, 8 IDLE control blocks need to be inserted, and after the next decimal part accumulation exceeds 1, 9 IDLE control blocks are inserted.
If the 5Gb/s time slot is subdivided into 33 151.51515Mb/s time slots, then 65 151.51515Mb/s time slots are used to carry a CPRI option 8 signal frame, the rate of 9848.485Mb/s, 10258.84 66B blocks can be transmitted in 66.67 microseconds of each super frame period of CPRI; CPRI option 8 has 10238 data blocks to be transmitted in an hyperframe, plus/T/and/S/two control blocks, 10240 66B blocks to be transmitted, the difference is 18.84, at this time, 18 IDLE control blocks need to be inserted, and after the next decimal part accumulation exceeds 1, 19 IDLE control blocks are inserted.
3) After sufficient IDLE control blocks are inserted, the starting control block of the following 66B band/S/control code is processed, and rate information, alarm information, checksum and the like related to the signal frame can be inserted into the data of D1-D7 of the control block as the rest of the custom overhead information; replacing the original fixed filling content;
converting data;
all the following 66B data blocks can be directly forwarded to a Flexe Client;
transmitting the signal frame obtained after the conversion by using Flexe;
and processing specified time slots from the Flexe Client to the Flexe Shim, sending the time slots to an Ethernet physical layer, sending the time slots to an optical module, transmitting the time slots to an optical fiber, receiving the time slots by a far-end optical module, sending the time slots to the far-end Flexe Shim through the Ethernet physical layer, and recovering the time slots to be a 66B code stream of the Flexe Client.
Fig. 8 is a schematic diagram of the transcoding process of this example, and the specific mapping relationship of the transcoding bytes is detailed in table 4 below.
TABLE 4
Figure BDA0001250730710000191
Figure BDA0001250730710000201
Restoring the signal frame;
when a code stream of a 66B data block and a control block of a FlexeE Client is received and the control block containing/T/and/S/control codes is received, extracting custom overhead carried in the control block; the rate information, the alarm information, the checksum and the like of the CPRI signal frame can be obtained, and the checking can be carried out to know whether a new error code exists in the transmission process. The data bytes in the/T/and/S/control block are all restored to the fixed padding byte 0x50 of the CPRI and sent to the CPRI port.
When an/I/(IDLE) control block is received, then such control block is deleted;
when the 66B data block is received, directly sending the data block to a CPRI port; the sending rate is subject to the rate information in the custom overhead.
Fourth embodiment
In addition to the signal frames of the options of the CPRI, the present invention can also be extended to the application of using FlexE to carry GE ethernet signals, which is described in this embodiment, and fig. 9 is a schematic networking diagram related to this example, where the virtual device 1 is used to implement the function of using FlexE to carry GE, and the virtual device 2 is used to implement the function of restoring GE signal frames. In this example, the process of using FlexE to carry GE ethernet signals includes the following processes:
extracting a signal frame of the GE Ethernet;
and receiving 10B codes of the GE Ethernet, converting the 10B codes into 8B codes, obtaining each data frame, and acquiring rate information, alarm information and the like of the code stream.
Converting the control code, inserting overhead and completing rate adaptation;
1) when no data frame is transmitted, namely IDLE control codes K28.5/D5.6 or K28.5/D16.2 and the like are received, a plurality of IDLE control blocks of 66B are inserted at the rate required by the Flexe Client for rate adaptation. Rate signals, alarm information, etc. may also be conveyed as custom overhead inserted using a 66B Ordered set control block.
2) When receiving the start control code K27.7(0xFB) of each data frame, the start control code and the data bytes such as the 6 preambles and 1 SFD following the start control code are combined into a 66B/S/control block.
3) The data following the SFD is combined into a 66B data block every 8 bytes.
4) After receiving the end code K29.7(0xFD) of the data frame, a control block of one of the 66B band T0-T7 control codes is generated according to the several bytes of valid data left untransmitted before, wherein T0-T7 are used to identify the number of valid data included in the control block, indicating the end of one data frame.
Converting data;
the effective data in the data frame is synthesized into a 66B data block every 8 bytes;
fig. 10 is a schematic diagram of transcoding to which the present example relates.
Transmitting the signal frame obtained after the conversion by using Flexe;
if the 5Gb/s time slot is subdivided into 93 53.76344Mb/s time slots, then 19 53.76344Mb/s time slots are used for carrying a GE Ethernet signal frame, the speed of 1021.51Mb/s is closer to the speed of GE 1000Mb/s, and the carrying efficiency is higher.
If the 5Gb/s time slot is subdivided into 33 151.51515Mb/s time slots, then 7 151.51515Mb/s time slots are used for carrying a GE Ethernet signal frame, the speed of 1060.61Mb/s is closer to the speed of GE 1000Mb/s, and the carrying efficiency is higher.
And processing specified time slots from the Flexe Client to the Flexe Shim, sending the time slots to an Ethernet physical layer, sending the time slots to an optical module, transmitting the time slots to an optical fiber, receiving the time slots by a far-end optical module, sending the time slots to the far-end Flexe Shim through the Ethernet physical layer, and recovering the time slots to be a 66B code stream of the Flexe Client.
Restoring the GE signal frame;
when a code stream of 66B data blocks and control blocks of the FlexeE Client encounters a containing/I/control block (namely an IDLE control block), no data frame is forwarded, and GE correspondingly inserts an appropriate number of 8B IDLE control codes and converts the IDLE control codes into 10B control codes. When encountering/O/control block (sequence set control block), the self-defined overhead transmitted in the control block is extracted, and the rate information, alarm information and the like of GE can be obtained. When a/S/control block is encountered, convert to 8B start/S/control code of GE, followed by 6 preambles and 1 SFD; each subsequent 66B data block is converted into 8 data codes of 8B; when a/T/end block is encountered, effective data in the block is converted into a data code, an end control code/T/is converted into an 8B end/T/control code, and then the control code and the data code obtained through the conversion are converted into a 10B code; the sending rate is subject to the rate information obtained from the custom overhead.
Fifth embodiment
The present embodiment provides an apparatus for carrying signal frames using FlexE, which may be specifically a part of the apparatus 30 referred to in the foregoing embodiments, and is configured to implement the method for carrying signal frames using FlexE provided in the foregoing embodiments, fig. 11 is a block diagram of the apparatus, and as shown in fig. 11, the apparatus 110 includes the following components:
an extracting module 111, configured to extract a control code and a data code from the signal frame;
a first conversion module 112, configured to perform code conversion on the control code according to the specification of the flexible ethernet FlexE, insert a custom overhead into the control block obtained after the code conversion, obtain a control block, and perform rate adaptation on the control block;
a second conversion module 113, configured to perform code conversion on the data code according to the rule of FlexE to obtain a data block;
and a bearer module 114, configured to use a FlexE bearer to perform rate adaptation on the control block and the data block.
The apparatus 110 provided in this embodiment may further include: and the determining module is used for acquiring the rate information, the alarm information and the data checksum information of the signal frame after the control code and the data code are extracted from the signal frame, and taking the rate information, the alarm information and the data checksum information of the signal frame as the self-defined overhead for representing the rate information, the alarm information and the data checksum information of the signal frame.
When the signal frame referred to in this embodiment is specifically a CPRI frame, the first conversion module 112 may specifically be configured to: converting the CPRI line rate option into a control block and a data block, inserting effective data and custom overhead in the data carried by the ending control block and the starting control block, and inserting an idle control block between the ending control block and the starting control block for rate adaptation.
When the signal frame referred to in this embodiment is specifically a GE frame, the first conversion module 112 may specifically be configured to: performing rate adaptation on the control block or inserting the custom overhead into a command control block for transmission in case that there is no data frame to be transmitted; and when the start control code of the data frame is received, obtaining a start control block based on the start control code, synthesizing the data in the data frame into a data block, and obtaining an end control block based on the end control code of the data frame. In a preferred embodiment, the first conversion module 112 may be specifically configured to: and calculating the difference value of the rate after 64/66 encoding with the CPRI basic frame rate option according to the total rate of the time slot to be put in the Flexe frame, calculating the target number of idle control blocks needing to be inserted according to the difference value, and inserting the idle control blocks with the target number between the starting control block and the ending control block.
In another preferred embodiment, the carrier module is specifically configured to: each 5Gb/s time slot is subdivided into 93 53.76344Mb/s or 33 151.51515Mb/s sub-slots, and then a plurality of sub-slots are used for carrying the CPRI frame or GE data after code conversion.
Sixth embodiment
The present embodiment provides an apparatus for restoring a signal frame, which may specifically be a part of the apparatus 30 related to the foregoing embodiment, and is configured to implement the method for carrying a signal frame by using FlexE provided in the foregoing embodiment, fig. 12 is a structural block diagram of the apparatus, and as shown in fig. 12, the apparatus 120 includes the following parts:
a receiving module 121, configured to receive a data block and a control block of an elastic ethernet FlexE frame;
a third conversion module 122, configured to extract the custom overhead carried in the control block and perform code conversion on the control block according to the specification of the CPRI or GE when the control block is received;
and a fourth conversion module 123, configured to, when receiving the data block, perform transcoding on the data block according to the specification of the CPRI or the GE.
In this embodiment, the FlexE frame may be specifically obtained by converting a CPRI frame or a GE frame, and based on this, the third converting module 122 is specifically configured to:
when a control block containing an ending control code and a starting code is received, extracting custom overhead carried by the starting control block and the ending control block;
obtaining a control code of the CPRI or GE based on the received control block, and obtaining a data code of the CPRI or GE based on the received data block;
and recovering the rate of the control code and the data code according to the rate information in the user-defined overhead.
Seventh embodiment
The present embodiment provides a sender device 130 comprising a processor and a memory 133 storing processor-executable instructions, and a data transceiver 132 for data transmission and/or reception, which when executed by the processor, performs the following operations:
extracting a control code and a data code from the signal frame;
performing code conversion on the control code according to the specification of the flexible Ethernet Flexe, inserting custom overhead into the control block obtained after code conversion to obtain a control block, and performing rate adaptation on the control block;
carrying out code conversion on the data codes according to the rule of FlexE to obtain data blocks;
the FlexE Shim is used to carry the rate adapted control blocks and data blocks.
The device provided by this embodiment is further configured to: after the control code and the data code are extracted from the signal frame, the rate information, the alarm information and the data checksum information of the signal frame are obtained, and the rate information, the alarm information and the data checksum information of the signal frame are used as the self-defined overhead for representing the rate information, the alarm information and the data checksum information of the signal frame.
The signal frame in this embodiment may specifically be a CPRI frame, based on which, a control code is subjected to transcoding according to the specification of the flexible ethernet FlexE, and a custom overhead is inserted into an obtained control block after the transcoding is performed to obtain a control block, and perform rate adaptation on the control block, where the method includes: converting the CPRI line rate option into a control block and a data block, inserting effective data and user-defined overhead in the data carried by the ending control block and the starting control block, and inserting an idle control block between the ending control block and the starting control block for rate adaptation.
The signal frame in this embodiment may also be a GE frame, based on which, the control code is transcoded according to the specification of the flexible ethernet FlexE, a custom overhead is inserted into the control block obtained after the transcoding is performed, so as to obtain a control block, and the rate adaptation is performed on the control block, including: under the condition that no data frame is transmitted, carrying out rate adaptation on a control block, or inserting custom overhead into a command control block for transmission; and when the start control code of the data frame is received, obtaining a start control block based on the start control code, synthesizing the data in the data frame into a data block, and obtaining an end control block based on the end control code of the data frame.
Eighth embodiment
The present embodiment provides a sink device 140 comprising a processor 141 and a memory 142 storing processor-executable instructions, and a data transceiver 143 for data transmission and/or reception, which when executed by the processor, performs the following operations:
receiving a data block and a control block of an elastic Ethernet Flexe frame;
when the control block is received, extracting the custom overhead carried in the control block and carrying out code conversion on the control block according to the specification of CPRI or GE;
when the data block is received, the data block is subjected to code conversion according to the specification of CPRI or GE.
In this embodiment, the FlexE frame is obtained by converting a CPRI frame or a GE frame, and when receiving a control block, extracts a custom overhead carried in the control block and performs transcoding on the control block according to the specification of CPRI or GE, and when receiving a data block, performs transcoding on the data block according to the specification of CPRI or GE, including: when a control block containing an ending control code and a starting code is received, extracting custom overhead carried by the starting control block and the ending control block; obtaining a control code of the CPRI or GE based on the received control block, and obtaining a data code of the CPRI or GE based on the received data block; and recovering the rate of the control code and the data code according to the rate information in the user-defined overhead.
Compared with the prior art, the technical scheme provided by the embodiment of the invention has the advantages that the embodiment only carries out code conversion on a physical layer, only one control block is added, or no control block is added, only the content of self-defined overhead and the like is embedded, and an mx53.76344Mb/s or mx151.515Mb/s sub-time slot pipeline of a 5G time slot of the Flexe is introduced, so that the CPRI borne on the Flexe can use the pipeline bandwidth with higher efficiency closest to the CPRI payload code stream to complete the bearing of the CPRI frame, and the CPRI signal frame with the same rate as the near-end rate is recovered at the far end. The added delay is also small due to the lower processing level.
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.

Claims (20)

1. A method for using FlexE to carry signal frames, comprising:
extracting a control code and a data code from the signal frame;
performing code conversion on the control code according to the specification of an elastic Ethernet Flexe, inserting custom overhead into a control block obtained after code conversion to obtain a control block, and performing rate adaptation on the control block, wherein the custom overhead comprises rate information, alarm information and data checksum information of the signal frame;
performing coding conversion on the data codes according to the rule of FlexE to obtain data blocks;
and carrying the rate-adapted control block and the data block by using a Flexe bearer.
2. The method of claim 1, further comprising:
after a control code and a data code are extracted from a signal frame, rate information, alarm information and data checksum information of the signal frame are obtained, and the rate information, the alarm information and the data checksum information of the signal frame are used as self-defined overhead of the signal frame.
3. The method of claim 2, wherein the signal frames comprise Common Public Radio Interface (CPRI) frames;
the performing code conversion on the control code according to the rule of FlexE, inserting the custom overhead into the control block obtained after code conversion to obtain a control block, and performing rate adaptation on the control block includes:
converting the code stream corresponding to the CPRI line rate option into a control block and a data block, inserting effective data and the data used for self-defining overhead into the data carried by the ending control block and the starting control block, and inserting an idle control block between the ending control block and the starting control block for rate adaptation.
4. The method of claim 2, wherein the signal frame comprises a gigabit ethernet GE frame;
the performing code conversion on the control code according to the rule of FlexE, inserting custom overhead into the control block obtained after code conversion to obtain a control block, and performing rate adaptation on the control block includes:
performing rate adaptation on the control block or inserting the custom overhead into a command control block for transmission in case that there is no data frame to be transmitted;
and when the start control code of the data frame is received, obtaining a start control block based on the start control code, synthesizing the data in the data frame into a data block, and obtaining an end control block based on the end control code of the data frame.
5. The method of claim 1, wherein the rate adapting the control block comprises:
and calculating the difference value of the rate after 64/66 encoding with the CPRI basic frame rate according to the total rate of the time slots to be put in the Flexe frame, calculating the target number of idle control blocks to be inserted according to the difference value, and inserting the idle control blocks of the target number between the control blocks.
6. The method according to any of claims 1 to 5, wherein the rate-adapted control block using a Flexe bearer and the data block comprise:
each 5Gb/s time slot is subdivided into 93 53.76344Mb/s or 33 151.51515Mb/s sub-time slots, and the sub-time slots are used for carrying the converted CPRI frames.
7. A method of restoring a frame of a FlexE signal, comprising:
receiving a data block and a control block of an elastic Ethernet Flexe frame;
when the control block is received, extracting the custom overhead carried in the control block and performing code conversion on the control block according to the specification of CPRI or GE, wherein the custom overhead comprises: rate information, alarm information and checksum of the CPRI frame or GE frame;
and when the data block is received, performing code conversion on the data block according to the specification of CPRI or GE.
8. The method according to claim 7, wherein the Flexe frame is obtained by converting a CPRI frame or the GE frame, and wherein the steps of extracting the custom overhead carried in the control block and transcoding the control block according to the specification of CPRI or GE when receiving the control block and transcoding the data block according to the specification of CPRI or GE when receiving the data block comprise:
when a control block containing an ending control code and a starting code is received, extracting custom overhead carried by the starting control block and the ending control block;
obtaining a control code of the CPRI or GE based on the received control block, and obtaining a data code of the CPRI or GE based on the received data block;
and recovering the rates of the control code and the data code according to the rate information in the user-defined overhead.
9. An apparatus for signaling frames using FlexE, comprising:
the extraction module is used for extracting the control code and the data code from the signal frame;
the first conversion module is used for performing code conversion on the control code according to the specification of the flexible Ethernet Flexe, inserting custom overhead into a control block obtained after the code conversion to obtain a control block, and performing rate adaptation on the control block, wherein the custom overhead comprises rate information, alarm information and data checksum information of the signal frame;
the second conversion module is used for performing coding conversion on the data codes according to the rule of Flexe to obtain data blocks;
and the bearing module is used for bearing the control block subjected to rate adaptation and the data block by using Flexe.
10. The apparatus of claim 9, further comprising:
the determining module is used for acquiring the rate information, the alarm information and the data checksum information of the signal frame after the control code and the data code are extracted from the signal frame, and taking the rate information, the alarm information and the data checksum information of the signal frame as the user-defined overhead of the signal frame.
11. The apparatus of claim 10, wherein the signal frame comprises a Common Public Radio Interface (CPRI) frame;
the first conversion module is specifically configured to: converting the code stream corresponding to the CPRI line rate option into a control block and a data block, inserting effective data and the custom overhead in the data carried by the ending control block and the starting control block, and inserting an idle control block between the ending control block and the starting control block for rate adaptation.
12. The apparatus of claim 10, wherein the signal frame comprises a gigabit ethernet GE frame;
the first conversion module is specifically configured to: performing rate adaptation on the control block or inserting the custom overhead into a command control block for transmission in case that there is no data frame to be transmitted; and when the start control code of the data frame is received, obtaining a start control block based on the start control code, synthesizing the data in the data frame into a data block, and obtaining an end control block based on the end control code of the data frame.
13. An apparatus for restoring a FlexE frame, comprising:
the receiving module is used for receiving a data block and a control block of an elastic Ethernet Flexe frame;
a third conversion module, configured to, when the control block is received, extract a custom overhead carried in the control block and perform code conversion on the control block according to the specification of CPRI or GE, where the custom overhead includes: rate information, alarm information and checksum of the CPRI frame or GE frame;
and the fourth conversion module is used for performing code conversion on the data block according to the specification of CPRI or GE when the data block is received.
14. The apparatus according to claim 13, wherein the FlexE frame is obtained by converting a CPRI frame or a GE frame, and the third conversion module is specifically configured to:
when a control block containing an ending control code and a starting code is received, extracting custom overhead carried by the starting control block and the ending control block;
obtaining a control code of the CPRI or GE based on the received control block, and obtaining a data code of the CPRI or GE based on the received data block;
and recovering the rates of the control code and the data code according to the rate information in the user-defined overhead.
15. A transmitting device comprising a processor and a memory having stored thereon instructions executable by the processor, and a data transceiver for data transmission and/or reception, the instructions when executed by the processor performing the following:
extracting a control code and a data code from the signal frame;
performing code conversion on the control code according to the specification of an elastic Ethernet Flexe, inserting custom overhead into a control block obtained after code conversion to obtain a control block, and performing rate adaptation on the control block, wherein the custom overhead comprises rate information, alarm information and data checksum information of the signal frame;
performing coding conversion on the data codes according to the rule of FlexE to obtain data blocks;
and carrying the rate-adapted control block and the data block by using a Flexe bearer.
16. The apparatus of claim 15, wherein the apparatus is further configured to:
after a control code and a data code are extracted from a signal frame, rate information, alarm information and data checksum information of the signal frame are obtained, and the rate information, the alarm information and the data checksum information of the signal frame are used as self-defined overhead of the signal frame.
17. The device of claim 16, wherein the signal frames comprise Common Public Radio Interface (CPRI) frames;
the performing code conversion on the control code according to the specification of the flexible ethernet FlexE, inserting the custom overhead into the control block obtained after the code conversion to obtain a control block, and performing rate adaptation on the control block includes:
converting the code stream corresponding to the CPRI line rate option into a control block and a data block, inserting effective data and the data used for self-defining overhead into the data carried by the ending control block and the starting control block, and inserting an idle control block between the ending control block and the starting control block for rate adaptation.
18. The apparatus of claim 16, wherein the signal frame comprises a gigabit ethernet GE frame;
the performing code conversion on the control code according to the specification of the flexible ethernet FlexE, inserting custom overhead into the control block obtained after the code conversion to obtain a control block, and performing rate adaptation on the control block includes:
performing rate adaptation on the control block or inserting the custom overhead into a command control block for transmission in case that there is no data frame to be transmitted;
and when the start control code of the data frame is received, obtaining a start control block based on the start control code, synthesizing the data in the data frame into a data block, and obtaining an end control block based on the end control code of the data frame.
19. A receiving-end device comprising a processor and a memory storing instructions executable by the processor, and a data transceiver for data transmission and/or reception, the instructions when executed by the processor performing the following operations:
receiving a data block and a control block of an elastic Ethernet Flexe frame;
when the control block is received, extracting the custom overhead carried in the control block and performing code conversion on the control block according to the specification of CPRI or GE, wherein the custom overhead comprises: rate information, alarm information and checksum of the CPRI frame or GE frame;
and when the data block is received, performing code conversion on the data block according to the specification of CPRI or GE.
20. The apparatus according to claim 19, wherein the FlexE frame is obtained by converting a CPRI frame or a GE frame, and wherein the extracting the custom overhead carried in the control block and transcoding the control block according to the CPRI or GE specification when the control block is received, and the transcoding the data block according to the CPRI or GE specification when the data block is received comprises:
when a control block containing an ending control code and a starting code is received, extracting custom overhead carried by the starting control block and the ending control block;
obtaining a control code of the CPRI or GE based on the received control block, and obtaining a data code of the CPRI or GE based on the received data block;
and recovering the rates of the control code and the data code according to the rate information in the user-defined overhead.
CN201710169441.8A 2017-03-21 2017-03-21 Method for carrying signal frame by using Flexe, method and device for restoring Flexe signal frame Active CN108631908B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710169441.8A CN108631908B (en) 2017-03-21 2017-03-21 Method for carrying signal frame by using Flexe, method and device for restoring Flexe signal frame
PCT/CN2018/079899 WO2018171642A1 (en) 2017-03-21 2018-03-21 Method and apparatus for carrying signal frame by using flexe, and method and apparatus for recovering signal frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710169441.8A CN108631908B (en) 2017-03-21 2017-03-21 Method for carrying signal frame by using Flexe, method and device for restoring Flexe signal frame

Publications (2)

Publication Number Publication Date
CN108631908A CN108631908A (en) 2018-10-09
CN108631908B true CN108631908B (en) 2022-03-01

Family

ID=63584097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710169441.8A Active CN108631908B (en) 2017-03-21 2017-03-21 Method for carrying signal frame by using Flexe, method and device for restoring Flexe signal frame

Country Status (2)

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

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111050403B (en) * 2018-10-15 2022-06-07 中国移动通信有限公司研究院 Data transmission method, device and equipment
CN111278059B (en) * 2018-12-04 2023-09-01 中兴通讯股份有限公司 Message forwarding method and device
CN111342983B (en) * 2018-12-18 2022-07-12 深圳市中兴微电子技术有限公司 Dynamic member processing method, system, receiving terminal, management entity and storage medium
EP3918732A1 (en) * 2019-01-29 2021-12-08 Telefonaktiebolaget Lm Ericsson (Publ) Cpri data block transmission method and apparatus
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 (en) * 2019-12-11 2023-11-07 Ut斯达康通讯有限公司 FlexE service processing method and device and electronic equipment
CN113784437B (en) * 2020-06-10 2023-09-26 烽火通信科技股份有限公司 Method and device for realizing FlexE bearing small particle service
CN113853014A (en) * 2020-06-28 2021-12-28 中国移动通信有限公司研究院 Information transmission method, device, related equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039245A (en) * 2006-03-13 2007-09-19 华为技术有限公司 Data transmission method from high speed Ethernet to optical transmission network and related interface and equipment
CN101436917A (en) * 2007-11-12 2009-05-20 华为技术有限公司 Method and apparatus for encoding and decoding data
CN105187161A (en) * 2015-09-11 2015-12-23 深圳三星通信技术研究有限公司 Transmission method and transmission device of CPRI frame in the Ethernet
CN105871502A (en) * 2015-01-22 2016-08-17 华为技术有限公司 Method of using Ethernet channel to transmit service signal and communication device
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 (en) * 2015-07-03 2017-01-11 华为技术有限公司 Method for flexibly transmitting data stream of Ethernet, transmitter and receiver
CN106330417A (en) * 2015-06-19 2017-01-11 华为技术有限公司 Data bearing method and device and data analyzing method and device
CN106357421A (en) * 2015-07-17 2017-01-25 华为技术有限公司 Method and device for transmitting flexible business flow of Ethernet
CN106411454A (en) * 2015-07-30 2017-02-15 华为技术有限公司 Method for data transmission, transmitter and receiver

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348602B (en) * 2013-08-09 2019-06-18 北京三星通信技术研究有限公司 A kind of mixing duplex communication method, base station and terminal
US9609400B2 (en) * 2013-08-22 2017-03-28 Nec Corporation Reconfigurable and variable-rate shared multi-transponder architecture for flexible ethernet-based optical networks
US10218823B2 (en) * 2015-06-30 2019-02-26 Ciena Corporation Flexible ethernet client multi-service and timing transparency systems and methods

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039245A (en) * 2006-03-13 2007-09-19 华为技术有限公司 Data transmission method from high speed Ethernet to optical transmission network and related interface and equipment
CN101436917A (en) * 2007-11-12 2009-05-20 华为技术有限公司 Method and apparatus for encoding and decoding data
CN105871502A (en) * 2015-01-22 2016-08-17 华为技术有限公司 Method of using Ethernet channel to transmit service signal and communication device
CN106330417A (en) * 2015-06-19 2017-01-11 华为技术有限公司 Data bearing method and device and data analyzing method and device
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 (en) * 2015-07-03 2017-01-11 华为技术有限公司 Method for flexibly transmitting data stream of Ethernet, transmitter and receiver
CN106357421A (en) * 2015-07-17 2017-01-25 华为技术有限公司 Method and device for transmitting flexible business flow of Ethernet
CN106411454A (en) * 2015-07-30 2017-02-15 华为技术有限公司 Method for data transmission, transmitter and receiver
CN105187161A (en) * 2015-09-11 2015-12-23 深圳三星通信技术研究有限公司 Transmission method and transmission device of CPRI frame in the Ethernet

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
OTN学习笔记-帧速率;fw0124;《CSDN http://blog.csdn.net/fw0124/article/details/8849838》;20130425;全文 *

Also Published As

Publication number Publication date
WO2018171642A1 (en) 2018-09-27
CN108631908A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
CN108631908B (en) Method for carrying signal frame by using Flexe, method and device for restoring Flexe signal frame
US10462471B2 (en) Data processing method, communications device, and communications system
CN109600188B (en) Data transmission method, transmission equipment and transmission system
CN108809901B (en) Method, equipment and system for carrying service
JP4878629B2 (en) Multiplex transmission system and multiple transmission method
US8199772B2 (en) Systems and methods for synchronous generic framing protocol mapping
US7809021B2 (en) Communication system and encoding method having low overhead
JP3448086B2 (en) Frame-based data transmission
EP3319254A1 (en) Method for data transmission, transmitter and receiver
EP2975858B1 (en) Method for processing data in the ethernet, physical layer chip and ethernet device
CN110768742B (en) OAM message transmission method, sending device, receiving device and readable storage medium
JP5071963B2 (en) Digital transmission system and digital transmission method
EP2999152A1 (en) Data processing method and related device for fec coding and decoding
EP3641237A1 (en) Transmission network system, and data exchange and transmission method, device and apparatus
CN111490845A (en) Method, device and system for transmitting customer service
JPH06284130A (en) Data communication network provided with isochronous capability
CN105790883B (en) Method for processing signal and communication equipment
CN100568841C (en) A kind of converging device of Ethernet service and method
CN1747606B (en) Service data transmission method and apparatus thereof
WO2019100982A1 (en) Data transmission method and device
CN113330696A (en) CPRI data block transmission method and device
WO2023109424A1 (en) Data transmission method and related device
EP3661124B1 (en) Service multiplexing method, service de-multiplexing method and related device
WO2021115215A1 (en) Data transmission method, communication device and storage medium
CN110890936B (en) Code block generation method, receiving method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant