CN108092739B - Service transmission method and device - Google Patents

Service transmission method and device Download PDF

Info

Publication number
CN108092739B
CN108092739B CN201611038154.5A CN201611038154A CN108092739B CN 108092739 B CN108092739 B CN 108092739B CN 201611038154 A CN201611038154 A CN 201611038154A CN 108092739 B CN108092739 B CN 108092739B
Authority
CN
China
Prior art keywords
flexe frame
cbr service
service
flexe
coding blocks
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
CN201611038154.5A
Other languages
Chinese (zh)
Other versions
CN108092739A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201611038154.5A priority Critical patent/CN108092739B/en
Publication of CN108092739A publication Critical patent/CN108092739A/en
Application granted granted Critical
Publication of CN108092739B publication Critical patent/CN108092739B/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

Abstract

The embodiment of the invention provides a service transmission method and a device, wherein the method comprises the following steps: the first network equipment acquires a CBR service, wherein the CBR service comprises N coding blocks, and N is an integer greater than or equal to 1; mapping a coding block of the CBR service to a time slot of a Flexe frame, wherein the Flexe frame carries a Cn value, and the Cn value is used for indicating the position of the time slot occupied by the coding block of the CBR service in the Flexe frame; and transmitting the Flexe frame to the second network equipment. The sending end maps the coding blocks of the CBR service into the Flexe frame and indicates the positions of the coding blocks of the CBR service mapped in the Flexe frame through the Cn value in the Flexe frame, so that the receiving end accurately obtains the coding blocks of the CBR service according to the Cn value in the Flexe frame after receiving the Flexe frame to successfully receive the CBR service, and the scheme of transmitting the CBR service based on the Flexe is realized.

Description

Service transmission method and device
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a service transmission method and device.
Background
Flexible Ethernet (FlexE) is an interface technology providing features of channelization, port binding and subrate, and adopts a standard Ethernet module for direct connection between routers or a scenario of transport network interconnection between routers. Flexe consists of a Flexe Group, Flexe Client, and Flexe Shim. The Flexe Group contains 1-n Ethernet PHYs, and the current Flexe version adopts 100GE PHYs. The Flexe Client corresponds to the Ethernet MAC and supports 10G, 40G and m × 25G MAC rates, including non-standard MAC rates. Flexe Shim implements mapping/de-mapping of multiple Flexe clients onto a bound Flexe Group, similar to MLG functionality.
The FlexE client signal is based on the MAC data rate and may not be consistent with the PHY layer rate. Entry of the FlexE client signal into the FlexE Shim layer requires rate adaptation. In the FlexE technical standard, because FlexE mainly carries ethernet traffic at present, and the rate of the ethernet traffic is changed, sometimes there is data to be transmitted, and rate adaptation is implemented by adopting an add-drop idle mode. However, if FlexE is used to carry CBR (Constant Bit Rate Service) traffic, the Rate adaptation method is not suitable for CBR traffic.
Disclosure of Invention
The embodiment of the invention provides a service transmission method and a service transmission device, which are used for realizing the transmission of CBR service based on Flexe.
In a first aspect, an embodiment of the present invention provides a service transmission method, where the method includes: the first network equipment acquires a CBR service, wherein the CBR service comprises N coding blocks, and N is an integer greater than or equal to 1. And mapping the coding blocks of the CBR service to the time slots of a Flexe frame, wherein the Flexe frame carries a Cn value, and the Cn value is used for indicating the position of the time slot occupied by the coding blocks of the CBR service in the Flexe frame. And sending the Flexe frame to a second network device.
Optionally, mapping the CBR service coding block to the timeslot of the flexible ethernet FlexE frame specifically includes: and uniformly mapping the coding blocks of the CBR service into time slots of a Flexe frame in an interleaving manner.
Optionally, the overhead of the FlexE frame carries time slot indication information, where the time slot indication information is used to indicate a position of a reserved time slot, and the reserved time slot is a time slot used for mapping the CBR service in the FlexE frame.
Optionally, the coded blocks of the CBR service are mapped in a part of the reserved slots, where the part of the slots is used for transmitting N coded blocks.
Optionally, the first network device further obtains, according to the period of the FlexE frame and the service rate of the CBR service, that the number of coding blocks of the CBR service transmitted in the period of the FlexE frame is N.
Optionally, the acquiring, by the first network device, the CBR service includes: and coding the CBR service to obtain N coding blocks of the CBR service.
In a second aspect, an embodiment of the present invention provides a service transmission method, including: and the second network equipment receives the Flexe frame sent by the first network equipment. The FlexE frame carries a Cn value indicating the position of the slot occupied by the coding block of the CBR service in the FlexE frame. The CBR service includes N coding blocks, N being an integer greater than or equal to 1. And acquiring N coding blocks of the CBR service from the Flexe frame according to the Cn value. And acquiring the CBR service from the N coding blocks.
Optionally, according to the Cn value, acquiring N coding blocks of the CBR service from a FlexE frame, specifically: and acquiring N coding blocks of the CBR service which are uniformly interleaved and mapped in the Flexe frame from the Flexe frame according to the Cn value.
Optionally, the overhead of the FlexE frame carries time slot indication information, where the time slot indication information is used to indicate a position of a reserved time slot, and the reserved time slot is a time slot used for mapping the CBR service in the FlexE frame.
The acquiring the N coding blocks of the CBR service from the FlexE frame according to the Cn value specifically includes: determining the position of a reserved time slot from a Flexe frame according to the time slot indication information; and acquiring N coding blocks of the CBR service from the position of the reserved time slot in the Flexe frame according to the Cn value.
Optionally, the coded blocks of the CBR service are mapped in a part of the reserved slots, where the part of the slots is used for transmitting N coded blocks.
In a third aspect, an embodiment of the present invention provides a network device, which serves as a first network device, and includes: the acquisition module is used for acquiring a CBR service, wherein the CBR service comprises N coding blocks, and N is an integer greater than or equal to 1. And the mapping module is used for mapping the coding block of the CBR service to a time slot of a Flexe frame, wherein the Flexe frame carries a Cn value, and the Cn value is used for indicating the position of the time slot occupied by the coding block of the CBR service in the Flexe frame. And the sending module is used for sending the FlexE frame to second network equipment.
Optionally, the mapping module is specifically configured to: and uniformly mapping the coding blocks of the CBR service into time slots of a Flexe frame in an interleaving manner.
Optionally, the overhead of the FlexE frame carries time slot indication information, where the time slot indication information is used to indicate a position of a reserved time slot, and the reserved time slot is a time slot used for mapping the CBR service in the FlexE frame.
Optionally, the coded blocks of the CBR service are mapped in a part of the reserved slots, where the part of the slots is used for transmitting N coded blocks.
Optionally, the obtaining module is further configured to: and acquiring the number N of coding blocks of the CBR service transmitted in the period of the Flexe frame according to the period of the Flexe frame and the service rate of the CBR service.
Optionally, the obtaining module is specifically configured to: and coding the CBR service to obtain N coding blocks of the CBR service.
In a fourth aspect, an embodiment of the present invention provides a network device, where as a second network device, the network device includes: and the receiving module is used for receiving a Flexe frame sent by the first network equipment, wherein the Flexe frame carries a Cn value, and the Cn value is used for indicating the position of a time slot occupied by a coding block of the CBR service in the Flexe frame. The CBR service includes N coding blocks, N being an integer greater than or equal to 1. The acquisition module acquires N coding blocks of the CBR service from the Flexe frame according to the Cn value; and acquiring the CBR service from the N coding blocks.
Optionally, the obtaining module is specifically configured to: and acquiring N coding blocks of the CBR service which are uniformly interleaved and mapped in the Flexe frame from the Flexe frame according to the Cn value.
Optionally, the overhead of the FlexE frame carries time slot indication information, where the time slot indication information is used to indicate a position of a reserved time slot, and the reserved time slot is a time slot used for mapping the CBR service in the FlexE frame.
An acquisition module specifically configured to: determining the position of a reserved time slot from a Flexe frame according to the time slot indication information; and acquiring N coding blocks of the CBR service from the position of the reserved time slot in the Flexe frame according to the Cn value.
Optionally, the coded blocks of the CBR service are mapped in a part of the reserved slots, where the part of the slots is used for transmitting N coded blocks.
In a fifth aspect, an embodiment of the present invention provides a network device, which serves as a first network device, and includes: a processor and a communication interface. And the processor is used for acquiring the CBR service, wherein the CBR service comprises N coding blocks, and N is an integer greater than or equal to 1. And mapping the coding blocks of the CBR service to the time slots of the Flexe frame, wherein the Flexe frame carries a Cn value, and the Cn value is used for indicating the position of the time slot occupied by the coding blocks of the CBR service in the Flexe frame. And transmitting the Flexe frame to the second network equipment through the communication interface.
Optionally, when mapping the coding block of the CBR service into the slot of the FlexE frame, the processor is specifically configured to: and uniformly mapping the coding blocks of the CBR service into time slots of a Flexe frame in an interleaving manner.
Optionally, the overhead of the FlexE frame carries time slot indication information, where the time slot indication information is used to indicate a position of a reserved time slot, and the reserved time slot is a time slot used for mapping the CBR service in the FlexE frame.
Optionally, the coded blocks of the CBR service are mapped in a part of the reserved slots, where the part of the slots is used for transmitting N coded blocks.
Optionally, the processor is further configured to: and acquiring the number N of coding blocks of the CBR service transmitted in the period of the Flexe frame according to the period of the Flexe frame and the service rate of the CBR service.
Optionally, when acquiring the CBR service, the processor is specifically configured to: and coding the CBR service to obtain N coding blocks of the CBR service.
In a sixth aspect, an embodiment of the present invention provides a network device, where as a second network device, the network device includes: a processor and a communication interface. And the processor is used for receiving a Flexe frame sent by the first network equipment through the communication interface, wherein the Flexe frame carries a Cn value, and the Cn value is used for indicating the position of a time slot occupied by a coding block of the CBR service in the Flexe frame. The CBR service includes N coding blocks, N being an integer greater than or equal to 1. Acquiring N coding blocks of the CBR service from the Flexe frame according to the Cn value; and acquiring the CBR service from the N coding blocks.
Optionally, when the processor acquires N coded blocks of the CBR service from the FlexE frame according to the Cn value, the processor is specifically configured to: and acquiring N coding blocks of the CBR service which are uniformly interleaved and mapped in the Flexe frame from the Flexe frame according to the Cn value.
Optionally, the overhead of the FlexE frame carries time slot indication information, where the time slot indication information is used to indicate a position of a reserved time slot, and the reserved time slot is a time slot used for mapping the CBR service in the FlexE frame.
When the processor acquires N coding blocks of the CBR service from the FlexE frame according to the Cn value, the processor is specifically configured to: determining the position of a reserved time slot from a Flexe frame according to the time slot indication information; and acquiring N coding blocks of the CBR service from the position of the reserved time slot in the Flexe frame according to the Cn value.
Optionally, the coded blocks of the CBR service are mapped in a part of the reserved slots, where the part of the slots is used for transmitting N coded blocks.
The embodiment of the invention provides a service transmission method and a device, wherein a first network device maps a coding block of a CBR service into a Flexe frame, and a Cn value in the Flexe frame indicates the position of the coding block of the CBR service mapped in the Flexe frame, so that a second network device accurately acquires the coding block of the CBR service according to the Cn value in the Flexe frame after receiving the Flexe frame to successfully receive the CBR service, and the scheme of transmitting the CBR service based on the Flexe is realized.
Drawings
Fig. 1 is a schematic diagram of a FlexE architecture according to an embodiment of the present invention;
fig. 2 is a flowchart of a service transmission method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a mapping manner of a CBR service according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an idle code block according to an embodiment of the present invention;
fig. 5 is a schematic diagram of the application of the embodiment of the present invention to the CPRI-5 service;
fig. 6 is a schematic diagram of the application of the embodiment of the present invention to the CPRI-2 service and the CPRI-4 service;
fig. 7 is a schematic structural diagram of a network device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a network device according to a second embodiment of the present invention;
fig. 9 is a schematic structural diagram of a network device according to a third embodiment of the present invention;
fig. 10 is a schematic structural diagram of a network device according to a fourth embodiment of the present invention;
fig. 11 is a schematic structural diagram of an embodiment of a service transmission system according to the present invention.
Detailed Description
Fig. 1 is a schematic diagram of a FlexE architecture according to an embodiment of the present invention, and as shown in fig. 1, a FlexE is composed of a FlexE Group (english: FlexE Group), a FlexE Client (english: FlexE Client), and a FlexE adaptation layer (english: FlexEShim). Wherein, the Flexe Group comprises 1 to n Ethernet PHYs. The Flexe Client corresponds to the Ethernet MAC and supports 10G, 40G and m × 25G MAC rates, including non-standard MAC rates. Flexe Shim implements mapping/de-mapping of multiple Flexe clients onto a bound Flexe Group, similar to MLG functionality. Taking the example of a 100G PHY for FlexE, a 100G PHY may be divided into 20 slots (english: slot) of 5G granularity, and each FlexE frame may accordingly include a FlexE overhead and 1023 × 20 slots (i.e., 1023 repetitions of the 20 slots in a FlexE frame). Of course, other granularities are possible, such as a granularity of 2.5G, which may be divided into 40 slots, such as a granularity of 10G, which may be divided into 10 slots. The FlexE may also adopt PHYs with other bandwidths, such as 25G PHY, 50G PHY, etc. Embodiments of the present invention may be applied to the FlexE architecture as shown in fig. 1.
Fig. 2 is a flowchart of a service transmission method according to an embodiment of the present invention, and as shown in fig. 2, the method according to the embodiment may include:
s101, the first network equipment acquires the CBR service.
In this embodiment, a first network device obtains a CBR service to be transmitted, where the CBR service includes N coding blocks, and N is an integer greater than or equal to 1.
S102, the first network equipment maps the coding block of the CBR service to the time slot of the Flexe frame.
In this embodiment, the first network device maps N coding blocks of the CBR service into a slot of a FlexE frame. The FlexE frame carries a Cn value, where the Cn value is used to indicate a position of a timeslot occupied by a coding block of the CBR service in the FlexE frame.
S103, the first network equipment sends the FlexE frame to the second network equipment.
In this embodiment, a first network device sends a FlexE frame to a second device, and accordingly, the second network device receives the FlexE frame sent by the first network device.
And S104, the second network equipment acquires the N coding blocks of the CBR service from the Flexe frame according to the Cn value.
S105, the second network device obtains the CBR service from the N coding blocks.
In this embodiment, the second network device may determine, according to the Cn value in the FlexE frame, a position of a time slot occupied by a coding block of the CBR service in the FlexE frame, then acquire N coding blocks of the CBR service from the FlexE frame, and then acquire the CBR service from the acquired N coding blocks, thereby implementing a scheme for transmitting the CBR service based on FlexE.
In summary, in this embodiment, the first network device maps the coding block of the CBR service to the FlexE frame, and the Cn value in the FlexE frame indicates the position of the coding block of the CBR service mapped in the FlexE frame, so that the second network device accurately obtains the coding block of the CBR service according to the Cn value in the FlexE frame after receiving the FlexE frame, so as to successfully receive the CBR service, thereby implementing a scheme for transmitting the CBR service based on the FlexE.
In the service transmission method provided in the second embodiment of the present invention, on the basis of the first embodiment of the present invention, in this embodiment, in a feasible implementation manner of the S102, the first network device maps the coding blocks of the CBR service to the time slots of the FlexE frame in an evenly interleaved manner. Accordingly, in a feasible implementation manner of S104, the second network device obtains the N coding blocks of the CBR service that are uniformly interleaved and mapped in the FlexE frame from the FlexE frame. Because the rate of the CBR service is constant, after the coding blocks of the CBR service are uniformly interleaved and mapped to the time slots of the Flexe frame, the second network equipment uniformly receives the coding blocks of the CBR service in the process of receiving the Flexe frame, and the constant rate of the CBR service can be realized through Flexe transmission. In addition, after the second network device acquires the CBR service, the second network device writes In a CBR First-In First-Out queue (English: First In First Out queue, FIFO), reads data In the CBR FIFO, keeps the depth of a waterline within a certain range (ensures that the FIFO is not fully written and is not empty), and completes the tracking of a read clock to a write clock.
Wherein the first network device evenly interleaves the N coded blocks of CBR traffic in the FlexE frame, for example using a sigma/delta algorithm. Correspondingly, the second network device obtains the N coding blocks of the CBR service uniformly interleaved and mapped in the FlexE frame from the FlexE frame, for example, by using a sigma/delta algorithm. Wherein, the formula of the sigma/delta algorithm is as follows:
Client data(D)if(j*Cn(t))mod Pserver<Cn(t)
Stuff(S)if(j*Cn(t))mod Pserver≥Cn(t)
it should be noted that the present embodiment is not limited to the sigma/delta algorithm.
In the service transmission method provided in the third embodiment of the present invention, on the basis of the first or second embodiment of the present invention, the overhead of the FlexE frame carries time slot indication information, where the time slot indication information is used to indicate a position of a reserved time slot, and the reserved time slot is a time slot used for mapping the CBR service in the FlexE frame. For example: the time slot indication information may be that the overhead of the FlexE frame includes a Client CalendarA a/B overhead, the Client CalendarA a/B overhead may indicate a service type of each time slot, and if the Client CalendarA a/B overhead indicates that the service type of the time slot 2 is CBR service, it indicates that the time slot 2 in the FlexE frame is used for mapping the CBR service. Accordingly, in a possible implementation manner of the S104, the second network device determines the position of the reserved timeslot from the FlexE frame according to the timeslot indication information; and the second network equipment acquires the N coding blocks of the CBR service from the position of the reserved time slot in the Flexe frame according to the Cn value. For example: and if the time slot indication information is used for indicating that the time slot for mapping the CBR service is the time slot 2, the second network equipment acquires the coding block of the CBR service from the position of the time slot 2 in the Flexe frame.
Optionally, the coded blocks of the CBR service are mapped in a partial slot of the reserved slot, where the partial slot is used for transmitting N coded blocks. For transmitting N coding blocks of the CBR service per FlexE frame, taking the example that the timeslot 2 is used for mapping the CBR service, the N timeslot 2 in the FlexE frame is mapped with the coding blocks of the CBR service.
In the service transmission method provided in the fourth embodiment of the present invention, on the basis of any one of the first to third embodiments of the present invention, the method of this embodiment further includes: and acquiring the number of coding blocks of the CBR service transmitted in the Flexe frame period as N according to the Flexe frame period and the service rate of the CBR service. The coding block may include a data code block and a control code block, for example: it can be determined that the number of data code blocks of the CBR service that can be transmitted within the period of one FlexE frame is N1 and the number of control code blocks transmitted within the period of one FlexE frame is N2 according to the service rate of the CBR service, so N1+ N2 is taken as the number N of code blocks. The control code blocks are overhead code blocks, and the number of the overhead code blocks is, for example, 1, that is, one overhead code block for transmitting a CBR service is transmitted in each FlexE frame. Optionally, the Cn value may be carried in an overhead code block. Optionally, the Cn value is equal to N.
In the service transmission method provided in the fifth embodiment of the present invention, on the basis of any one of the first to fourth embodiments of the present invention, optionally, a feasible implementation manner of the foregoing S101 is that the first network device encodes the CBR service to obtain N coding blocks of the CBR service. For example: the first network device encodes the CBR service according to the 64/66B coding mode, obtaining N coding blocks of the CBR service.
The process of mapping CBR traffic to FlexE frames is described below.
Fig. 3 is a schematic diagram of a mapping manner of a CBR service according to an embodiment of the present invention. As shown in fig. 3, in the FlexE frame structure, one FlexE frame period includes one FlexE overhead code block and 1023 × 20 FlexE code blocks following the overhead code block. The 1023 x 20 FlexE code blocks are transmitted over 1023 repetitions of 20 slots. The 20 slots of 1023 repetitions may be referred to as 20 slots, where one slot corresponds to 1023 FlexE code blocks. For example, slot 1 corresponds to 1023 code blocks identified as 1 in the figure. The 20 slots of the 1023 repetitions may also be referred to as 1023 x 20 slots, where one slot corresponds to 1 FlexE code block. Reserved time slots for mapping the CBR service are preset in the 20 time slots of the 1023 repetitions, wherein the position of the reserved time slots is indicated by the above-mentioned time slot indication information in the FlexE overhead.
First, a first network device determines that the number of coding blocks of a CBR service that can be transmitted in a period of a FlexE frame is N, where the N coding blocks include N-1 data code blocks and 1 overhead code block. And then, carrying out slice encapsulation on the CBR service by taking a 64B/66B code block as a particle, wherein sync is 01B in the data code block. And sync is 10B in the overhead code block, a Type (english: Type) value is further defined in the overhead code block, for example, Type is 0x78, the Type is used to indicate the following several bytes as Cn bytes in cooperation with the timeslot indication byte in the FlexE overhead, where 3 Cn bytes are shown in fig. 3, the Cn byte indicates the position where the CBR service is mapped in the FlexE frame, and the Cn value of the Cn byte may be equal to the above N to indicate the number of coded blocks (e.g., number of code blocks 64B/66B) of the CBR service transmitted in one FlexE frame. And the second network equipment calculates the number Pserver of the reserved time slots allocated to the CBR service according to the service rate of the CBR service, and if n time slots in every 20 time slots are reserved time slots for mapping the CBR service, the Pserver is n and 1023. Typically, the value of Pserver > Cn.
In addition, in the overhead code block, a BIP8 byte is also defined for performing a BIP8 check on the data of the CBR service in each FlexE frame. Reserved bytes may also be included in the overhead code block.
Fig. 4 is a schematic diagram of an idle code block according to an embodiment of the present invention. Due to the value of Pserve > Cn, there are n 1023-Cn free (english: idle) slots in the reserved slots of one FlexE frame, and these free slots are filled with idle code blocks. As shown in fig. 4, sync 10, Type 0x55 in an idle code block may be defined, and the remaining bytes are padded with 0.
Alternatively, the overhead code block may be mapped to a fixed slot of the reserved slots in each FlexE frame, and accordingly, the second network device acquires the overhead code block from the fixed slot. Or the overhead code block is randomly mapped to one of the reserved time slots, and the second network device identifies the overhead code block through the Type value in the coding block of the CBR service.
Wherein, the CBR service includes: an Optical Transport Network (OTN) service, a Synchronous Digital Hierarchy (SDH) service, a Common Public Radio Interface (CPRI) service, and so on. The detailed description will be made by taking the CPRI service as an example.
In the first example, Flexe is used to carry CPRI-5 service, and the traffic rate of the CPRI-5 service is 4.9152 Gbps. Fig. 5 is a schematic diagram of the application of the embodiment of the present invention to the CPRI-5 service, as shown in fig. 5.
One FlexE frame period (i.e., the time to transmit one FlexE frame) is:
Figure BDA0001160255900000091
in a FlexE frame period, the number of data code blocks for transmitting CPRI-5 services is 4.9152Gbps × 13.1 μ s/64bit 1006.1, and since an overhead code block needs to be transmitted, 1006.1+1 μ s/1007.1 code blocks need to be transmitted in one FlexE frame to carry the code blocks of CPRI-5.
Within one FlexE frame period, 1 reserved slot is allocated in 20 slots to be used for coding blocks carrying CPRI-5 traffic, so that a total of 1023 × 1 reserved slots can be provided, of which 1 is used for transmitting overhead code blocks.
The sender evenly interleaves 1007.1 code blocks in the allocated 1023 reserved slots by using the sigma/delta algorithm, as shown in fig. 5.
Wherein 1007 code blocks may be carried in 1007 slots of the 1023 reserved slots, while there is processing of 0.1 code blocks within each cycle of the FlexE frame.
Thus, the processing for the Cn fractional part is as follows: the data payload (english: payload) corresponding to 0.1 code block is 0.8 bytes.
In the first FlexE frame, 0.8 bytes remain.
In the second FlexE frame, the payload of the end coding block of the CPRI5 service has a byte count of 0.8+ 0.8-1.6 bytes, so the end coding block transmits 1 byte with a T1 code block, and the remaining 0.6 bytes.
In the third FlexE frame, the payload of the end coding block of the CPRI5 service has a byte count of 0.8+ 0.6-1.4 bytes, 1 byte is transmitted using a T1 code block, and the remaining 0.4 bytes. It should be noted that the last 0.6 bytes of data of the CPRI5 service in the second FlexE frame and the first 7.4 bytes of data of the CPRI5 service in the third FlexE frame are encapsulated in one data code block.
In the fourth FlexE frame, the payload of the end code block of the CPRI5 service has a byte count of 0.8+ 0.4-1.2 bytes, 1 byte is transmitted in the T1 code block, and the remaining 0.2 bytes. It should be noted that the last 0.4 bytes of data of the CPRI5 service in the third FlexE frame and the first 7.6 bytes of data of the CPRI5 service in the fourth FlexE frame are encapsulated in one data code block.
And the transmission of the Cn decimal part in each Flexe frame is finished by analogy.
The T code block format comparison table is shown in table 1.
TABLE 1
Figure BDA0001160255900000101
Figure BDA0001160255900000111
In the second example, Flexe is used to carry CPRI-2 service and CPRI-4 service, the traffic rate of the CPRI-2 service is 1.2288Gbps, and the traffic rate of the CPRI-4 service is 3.072 Gbps. Fig. 6 is a schematic diagram of the application of the embodiment of the present invention to the CPRI-2 service and the CPRI-4 service, as shown in fig. 6.
One FlexE frame period (i.e., the time to transmit one FlexE frame) is:
Figure BDA0001160255900000112
in a FlexE frame period, the number of data code blocks for transmitting CPRI-2 service is N1 ═ 1.2288Gbps × 13.1 μ s/64bit ═ 251.2.
In a FlexE frame period, the number N2 of data code blocks for transmitting CPRI-4 service is 3.072Gbps × 13.1 μ s/64bit 628.8.
Within one FlexE frame period, 1 reserved time slot is allocated in 20 time slots to be used for carrying coding blocks of CPRI-2 service and CPRI-4 service, so that 1023 × 1 reserved time slots can be provided in total, wherein two reserved time slots are respectively used for transmitting overhead code blocks of CPRI-2 service and overhead code blocks of CPRI-4 service.
Firstly, a sending end performs interleaving on coding blocks of the CPRI-2 service and the CPRI-4 service according to the service rate ratio of the CPRI-2 service and the CPRI-4 service to form a multi-service code block group. Then, the multi-service code block group (Cn ═ N1+1+ N2+1 ═ 251.2+1+628.8+1 ═ 882) is uniformly interleaved in the allocated reserved time slot by using sigma/delta algorithm, as shown in fig. 6.
Secondly, the time slot for mapping the overhead code blocks of the CPRI-2 service and the CPRI-4 service may be fixed or randomly determined by the transmitting end.
Again, the processing of the fractional part of the coding block number corresponding to the CPRI-2 service and the CPRI-4 service is the same as the description in the previous example, and is not described here again.
Fig. 7 is a schematic structural diagram of a network device according to an embodiment of the present invention, and as shown in fig. 7, the network device of this embodiment, as a first network device, may include: the device comprises an acquisition module 11, a mapping module 12 and a sending module 13.
The obtaining module 11 is configured to obtain a CBR service, where the CBR service includes N coding blocks, and N is an integer greater than or equal to 1.
A mapping module 12, configured to map the coding block of the CBR service to a time slot of a FlexE frame, where the FlexE frame carries a Cn value, and the Cn value is used to indicate a position of the time slot occupied by the coding block of the CBR service in the FlexE frame.
A sending module 13, configured to send the FlexE frame to a second network device.
Optionally, the mapping module 12 is specifically configured to: and uniformly mapping the coding blocks of the CBR service into the time slots of the Flexe frame in an interleaving manner.
Optionally, the overhead of the FlexE frame carries time slot indication information, where the time slot indication information is used to indicate a position of a reserved time slot, and the reserved time slot is a time slot used for mapping the CBR service in the FlexE frame.
Optionally, the coded blocks of the CBR service are mapped in a partial slot of the reserved slot, where the partial slot is used for transmitting N coded blocks.
Optionally, the obtaining module 11 is further configured to: and acquiring the number of coding blocks of the CBR service transmitted in the Flexe frame period as N according to the Flexe frame period and the service rate of the CBR service.
Optionally, the obtaining module 11 is specifically configured to: and coding the CBR service to obtain N coding blocks of the CBR service.
The network device of this embodiment may be configured to execute the technical solution executed by the first network device in each of the above embodiments of the present invention, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 8 is a schematic structural diagram of a network device according to a second embodiment of the present invention, and as shown in fig. 8, the network device of this embodiment, as a second network device, may include: a receiving module 21 and an obtaining module 22.
A receiving module 21, configured to receive a FlexE frame sent by a first network device, where the FlexE frame carries a Cn value, and the Cn value is used to indicate a position of a time slot occupied by a coding block of a CBR service in the FlexE frame; the CBR service comprises N coding blocks, wherein N is an integer greater than or equal to 1.
An obtaining module 22, configured to obtain the N coding blocks of the CBR service from the FlexE frame according to the Cn value; and acquiring the CBR service from the N coding blocks.
Optionally, the obtaining module 22 is specifically configured to: and acquiring the N coding blocks of the CBR service which are uniformly interleaved and mapped in the Flexe frame from the Flexe frame according to the Cn value.
Optionally, the overhead of the FlexE frame carries time slot indication information, where the time slot indication information is used to indicate a position of a reserved time slot, and the reserved time slot is a time slot used for mapping the CBR service in the FlexE frame.
The obtaining module 22 is specifically configured to: determining the position of the reserved time slot from the Flexe frame according to the time slot indication information; and acquiring the N coding blocks of the CBR service from the position of the reserved time slot in the Flexe frame according to the Cn value.
The network device of this embodiment may be configured to execute the technical solution executed by the second network device in each of the above embodiments of the present invention, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 9 is a schematic structural diagram of a network device according to a third embodiment of the present invention, and as shown in fig. 9, the network device according to this embodiment, as a first network device, may include: a processor 31 and a communication interface 32. A processor 31, configured to obtain a CBR service, where the CBR service includes N coding blocks, where N is an integer greater than or equal to 1; mapping the coding blocks of the CBR service to time slots of a Flexe frame, wherein the Flexe frame carries a Cn value, and the Cn value is used for indicating the position of the time slot occupied by the coding blocks of the CBR service in the Flexe frame; the FlexE frame is sent to the second network device via the communication interface 32.
Optionally, when mapping the coding block of the CBR service into the slot of the FlexE frame, the processor 31 is specifically configured to: and uniformly mapping the coding blocks of the CBR service into the time slots of the Flexe frame in an interleaving manner.
Optionally, the overhead of the FlexE frame carries time slot indication information, where the time slot indication information is used to indicate a position of a reserved time slot, and the reserved time slot is a time slot used for mapping the CBR service in the FlexE frame.
Optionally, the coded blocks of the CBR service are mapped in a partial slot of the reserved slot, where the partial slot is used for transmitting N coded blocks.
Optionally, the processor 31 is further configured to: and acquiring the number of coding blocks of the CBR service transmitted in the Flexe frame period as N according to the Flexe frame period and the service rate of the CBR service.
Optionally, when acquiring the CBR service, the processor 31 is specifically configured to: and coding the CBR service to obtain N coding blocks of the CBR service.
Optionally, the network device of this embodiment may further include a memory, and the processor 31 may call a code stored in the memory to perform the above-mentioned actions.
The network device of this embodiment may be configured to execute the technical solution executed by the first network device in each of the above embodiments of the present invention, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 10 is a schematic structural diagram of a network device according to a fourth embodiment of the present invention, and as shown in fig. 10, the network device of this embodiment, as a second network device, may include: a processor 41 and a communication interface 42. A processor 41, configured to receive, through a communication interface 42, a flexible ethernet FlexE frame sent by a first network device, where the FlexE frame carries a Cn value, and the Cn value is used to indicate a position of a timeslot occupied by a coding block of a fixed bit rate CBR service in the FlexE frame; the CBR service comprises N coding blocks, wherein N is an integer greater than or equal to 1; acquiring the N coding blocks of the CBR service from the Flexe frame according to the Cn value; and acquiring the CBR service from the N coding blocks.
Optionally, when the processor 41 acquires the N coding blocks of the CBR service from the FlexE frame according to the Cn value, the processor is specifically configured to: and acquiring the N coding blocks of the CBR service which are uniformly interleaved and mapped in the Flexe frame from the Flexe frame according to the Cn value.
Optionally, the overhead of the FlexE frame carries time slot indication information, where the time slot indication information is used to indicate a position of a reserved time slot, and the reserved time slot is a time slot used for mapping the CBR service in the FlexE frame.
When the processor 41 acquires the N coding blocks of the CBR service from the FlexE frame according to the Cn value, the processor is specifically configured to: determining the position of the reserved time slot from the Flexe frame according to the time slot indication information; and acquiring the N coding blocks of the CBR service from the position of the reserved time slot in the Flexe frame according to the Cn value.
Optionally, the network device of this embodiment may further include a memory, and the processor 41 may call a code stored in the memory to perform the above-mentioned actions.
The network device of this embodiment may be configured to execute the technical solution executed by the second network device in each of the above embodiments of the present invention, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 11 is a schematic structural diagram of an embodiment of a service transmission system of the present invention, and as shown in fig. 11, the system of the present embodiment includes: the first network device 50 and the second network device 60, and the first network device 50 and the second network device 60 may communicate based on FlexE. The first network device 50 may adopt the structure of the apparatus embodiment shown in fig. 7 or fig. 9, and accordingly, may execute the technical solution executed by the first network device in the above method embodiment of the present invention, and the implementation principle and the technical effect are similar, and are not described herein again. The second network device 60 may adopt the structure of the apparatus embodiment shown in fig. 8 or fig. 10, and accordingly, may execute the technical solution executed by the second network device in the above method embodiment of the present invention, and the implementation principle and the technical effect are similar, and are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (14)

1. A method for transmitting a service, the method comprising:
a first network device acquires a fixed bit rate CBR service, wherein the CBR service comprises N coding blocks, and N is an integer greater than or equal to 1;
mapping the coding blocks of the CBR service to time slots of a flexible Ethernet Flexe frame, wherein the Flexe frame carries a Cn value, and the Cn value is used for indicating the position of the time slots occupied by the coding blocks of the CBR service in the Flexe frame;
sending the Flexe frame to a second network device;
the mapping of the coding blocks of the CBR service to the time slots of a FlexE frame includes:
and uniformly mapping the coding blocks of the CBR service into the time slots of the Flexe frame in an interleaving manner.
2. The method according to claim 1, wherein the overhead of the FlexE frame carries slot indication information, wherein the slot indication information is used to indicate a location of a reserved slot, and the reserved slot is a slot in the FlexE frame used to map the CBR service.
3. The method of claim 2, wherein the coded blocks of the CBR service are mapped in a portion of the reserved time slot, wherein the portion of the reserved time slot is used for transmitting N coded blocks.
4. The method according to any one of claims 1-3, further comprising:
and acquiring the number of coding blocks of the CBR service transmitted in the Flexe frame period as N according to the Flexe frame period and the service rate of the CBR service.
5. The method according to any of claims 1-3, wherein the obtaining of the CBR service comprises:
and coding the CBR service to obtain N coding blocks of the CBR service.
6. A method for transmitting a service, comprising:
a second network device receives a flexible Ethernet Flexe frame sent by a first network device, wherein the Flexe frame carries a Cn value, and the Cn value is used for indicating the position of a time slot occupied by a coding block of a fixed bit rate CBR service in the Flexe frame; the CBR service comprises N coding blocks, wherein N is an integer greater than or equal to 1;
acquiring the N coding blocks of the CBR service from the Flexe frame according to the Cn value;
acquiring the CBR service from the N coding blocks;
the acquiring the N coding blocks of the CBR service from the FlexE frame according to the Cn value includes:
and acquiring the N coding blocks of the CBR service which are uniformly interleaved and mapped in the Flexe frame from the Flexe frame according to the Cn value.
7. The method according to claim 6, wherein the overhead of the Flexe frame carries slot indication information, wherein the slot indication information is used to indicate the position of a reserved slot, and the reserved slot is a slot in the Flexe frame used for mapping the CBR service;
the acquiring the N coding blocks of the CBR service from the FlexE frame according to the Cn value includes:
determining the position of the reserved time slot from the Flexe frame according to the time slot indication information;
and acquiring the N coding blocks of the CBR service from the position of the reserved time slot in the Flexe frame according to the Cn value.
8. A network device, characterized by comprising, as a first network device:
an obtaining module, configured to obtain a fixed bit rate CBR service, where the CBR service includes N coding blocks, and N is an integer greater than or equal to 1;
a mapping module, configured to map the coding block of the CBR service to a time slot of a flexible ethernet FlexE frame, where the FlexE frame carries a Cn value, and the Cn value is used to indicate a position of the time slot occupied by the coding block of the CBR service in the FlexE frame;
a sending module, configured to send the FlexE frame to a second network device;
the mapping module is specifically configured to: and uniformly mapping the coding blocks of the CBR service into the time slots of the Flexe frame in an interleaving manner.
9. The network device according to claim 8, wherein the overhead of the FlexE frame carries slot indication information, the slot indication information is used to indicate a location of a reserved slot, and the reserved slot is a slot in the FlexE frame used to map the CBR service.
10. The network device of claim 9, wherein the coded blocks of the CBR service are mapped in a portion of the reserved time slot, the portion of the time slot being used for transmitting N coded blocks.
11. The network device of any one of claims 8-10, wherein the obtaining module is further configured to: and acquiring the number of coding blocks of the CBR service transmitted in the Flexe frame period as N according to the Flexe frame period and the service rate of the CBR service.
12. The network device according to any one of claims 8 to 10, wherein the obtaining module is specifically configured to: and coding the CBR service to obtain N coding blocks of the CBR service.
13. A network device characterized by comprising, as a second network device:
a receiving module, configured to receive a flexible ethernet FlexE frame sent by a first network device, where the FlexE frame carries a Cn value, and the Cn value is used to indicate a position of a time slot occupied by a coding block of a CBR service with a fixed bit rate in the FlexE frame; the CBR service comprises N coding blocks, wherein N is an integer greater than or equal to 1;
the acquisition module acquires the N coding blocks of the CBR service from the Flexe frame according to the Cn value; acquiring the CBR service from the N coding blocks;
the acquisition module is specifically configured to: and acquiring the N coding blocks of the CBR service which are uniformly interleaved and mapped in the Flexe frame from the Flexe frame according to the Cn value.
14. The network device according to claim 13, wherein the overhead of the FlexE frame carries slot indication information, where the slot indication information is used to indicate a location of a reserved slot, and the reserved slot is a slot in the FlexE frame used to map the CBR service;
the acquisition module is specifically configured to: determining the position of the reserved time slot from the Flexe frame according to the time slot indication information; and acquiring the N coding blocks of the CBR service from the position of the reserved time slot in the Flexe frame according to the Cn value.
CN201611038154.5A 2016-11-23 2016-11-23 Service transmission method and device Active CN108092739B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611038154.5A CN108092739B (en) 2016-11-23 2016-11-23 Service transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611038154.5A CN108092739B (en) 2016-11-23 2016-11-23 Service transmission method and device

Publications (2)

Publication Number Publication Date
CN108092739A CN108092739A (en) 2018-05-29
CN108092739B true CN108092739B (en) 2020-10-16

Family

ID=62170577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611038154.5A Active CN108092739B (en) 2016-11-23 2016-11-23 Service transmission method and device

Country Status (1)

Country Link
CN (1) CN108092739B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110932999A (en) * 2018-09-20 2020-03-27 中国移动通信有限公司研究院 Service processing method and equipment
WO2020087250A1 (en) 2018-10-30 2020-05-07 华为技术有限公司 Data sending method and apparatus, and flexe switching system
CN111147181B (en) * 2018-11-02 2022-12-09 中兴通讯股份有限公司 Service sending method, service receiving method, device, system and storage medium
CN111224746B (en) * 2018-11-26 2022-06-24 华为技术有限公司 Service bit stream processing method and device
EP3918732A1 (en) * 2019-01-29 2021-12-08 Telefonaktiebolaget Lm Ericsson (Publ) Cpri data block transmission method and apparatus
CN111586752B (en) * 2019-02-18 2023-07-14 中兴通讯股份有限公司 Configuration method and device of time slot container

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155006A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Method and apparatus for fixed velocity service transmission
CN105897374A (en) * 2015-01-26 2016-08-24 仲川 Method and system for transmitting low bit rate service transmission block
CN106411454A (en) * 2015-07-30 2017-02-15 华为技术有限公司 Method for data transmission, transmitter and receiver

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10225037B2 (en) * 2014-10-24 2019-03-05 Ciena Corporation Channelized ODUflex systems and methods

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155006A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Method and apparatus for fixed velocity service transmission
CN105897374A (en) * 2015-01-26 2016-08-24 仲川 Method and system for transmitting low bit rate service transmission block
CN106411454A (en) * 2015-07-30 2017-02-15 华为技术有限公司 Method for data transmission, transmitter and receiver

Also Published As

Publication number Publication date
CN108092739A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN108092739B (en) Service transmission method and device
CN106301678B (en) Data processing method, communication equipment and communication system
CN109600188B (en) Data transmission method, transmission equipment and transmission system
WO2020156287A1 (en) Method, device and system for customer business transfer, and computer readable storage medium
CN105871502B (en) Method and communication equipment for transmitting service signal by using Ethernet channel
WO2019128934A1 (en) Service transmitting and receiving method and device in optical transport network
EP2209227A1 (en) A method for realizing time slot partition and spending process of an optical payload unit in an optical transmission network
EP2296297B1 (en) Method and device for mapping a client signal
JP6736701B2 (en) Service transmitting method and apparatus, service receiving method and apparatus, and network system
WO2011075901A1 (en) Generic mapping procedure (gmp) mapping method, de-mapping method and device thereof
US9503191B2 (en) GMP mapping method and apparatus for optical channel data unit
WO2009006835A1 (en) A method and an apparatus for mapping the ethernet code block to the optical transport network to transmit
KR102450095B1 (en) Data transmission method, transmission device, and reception device
CN112511921A (en) Service processing method and device in optical transport network and electronic equipment
US11412508B2 (en) Data transmission method and device
JP2023523462A (en) Service data processing method, service data exchange method, service data extraction method and computer readable medium
WO2020156642A1 (en) Cpri data block transmission method and apparatus
WO2020156216A1 (en) Method and apparatus for transmitting configuration information, storage medium, and system
CN116264587A (en) Data transmission method and related device
CN115065439B (en) SPN network constant bit rate service transmission method and equipment
WO2024051586A1 (en) Method for processing data frame in optical transport network, apparatus and system
WO2024001220A1 (en) Slicing method, service processing method, communication node and storage medium
JP5641923B2 (en) Expansion module
WO2024007804A1 (en) Method and apparatus for recovering bit rate of constant bit rate signal
KR20110127077A (en) Method and apparatus for transmitting packet in optical transport network

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