[go: up one dir, main page]

CN108809901A - A kind of method, apparatus and system of service bearer - Google Patents

A kind of method, apparatus and system of service bearer Download PDF

Info

Publication number
CN108809901A
CN108809901A CN201710301888.6A CN201710301888A CN108809901A CN 108809901 A CN108809901 A CN 108809901A CN 201710301888 A CN201710301888 A CN 201710301888A CN 108809901 A CN108809901 A CN 108809901A
Authority
CN
China
Prior art keywords
flexe
frame
code block
overhead
traffic frames
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.)
Granted
Application number
CN201710301888.6A
Other languages
Chinese (zh)
Other versions
CN108809901B (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 CN202110437804.8A priority Critical patent/CN113316037B/en
Priority to CN201710301888.6A priority patent/CN108809901B/en
Publication of CN108809901A publication Critical patent/CN108809901A/en
Application granted granted Critical
Publication of CN108809901B publication Critical patent/CN108809901B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

本申请提供一种业务承载的方法、设备和系统,其中,该方法包括:发送端设备获取灵活以太网FlexE客户信号;将所述FlexE客户信号转化为FlexE业务帧,所述FlexE业务帧包括至少一个第一开销码块和至少一个数据码块,所述至少一个第一开销码块用于携带所述FlexE客户信号的开销信息,所述至少一个数据码块用于携带所述FlexE客户信号的净荷信息;将所述FlexE业务帧映射到物理通道一个或多个时隙中,生成FlexE开销帧,所述FlexE开销帧包括第二开销码块,所述第二开销码块用于携带所述FlexE开销帧的开销信息;将所述FlexE开销帧通过所述物理通道发送出去。本申请中,将FlexE客户信号转化为FlexE业务帧,并通过FlexE业务帧携带FlexE客户信号的开销信息,可以实现对FlexE客户信号端到端的网络管理和监控。

The present application provides a service bearer method, device and system, wherein the method includes: a sending end device acquires a flexible Ethernet FlexE client signal; converts the FlexE client signal into a FlexE service frame, and the FlexE service frame includes at least A first overhead code block and at least one data code block, the at least one first overhead code block is used to carry the overhead information of the FlexE client signal, and the at least one data code block is used to carry the FlexE client signal Payload information; the FlexE service frame is mapped to one or more time slots of the physical channel to generate a FlexE overhead frame, the FlexE overhead frame includes a second overhead code block, and the second overhead code block is used to carry the the overhead information of the FlexE overhead frame; and send the FlexE overhead frame through the physical channel. In this application, the FlexE client signal is converted into a FlexE service frame, and the overhead information of the FlexE client signal is carried in the FlexE service frame, so that end-to-end network management and monitoring of the FlexE client signal can be realized.

Description

一种业务承载的方法、设备和系统A method, device and system for carrying services

技术领域technical field

本申请涉及通信领域,尤其涉及一种业务承载的方法、设备和系统。The present application relates to the field of communications, and in particular to a method, device and system for carrying services.

背景技术Background technique

当前灵活以太网实现协议(Flex Ethernet Implementation Agreement 1.0,FlexE IA 1.0)接口技术已经在光互联论坛(Optical Internetworking Forum,OIF)标准化。FlexE可以应用于数据中心设备互联等,通过绑定n个100G物理层装置(physical layerdevice,PHY)来传送多路不同速率的FlexE客户业务,例如10G、n*25G、40G的FlexE客户业务等。Currently, the interface technology of the Flexible Ethernet Implementation Agreement (Flex Ethernet Implementation Agreement 1.0, FlexE IA 1.0) has been standardized in the Optical Internetworking Forum (Optical Internetworking Forum, OIF). FlexE can be applied to the interconnection of data center equipment, etc., by binding n 100G physical layer devices (physical layer devices, PHYs) to transmit multiple FlexE customer services at different rates, such as 10G, n*25G, 40G FlexE customer services, etc.

对于长距离传输,FlexE可以将FlexE客户业务封装成FlexE信号,然后通过光传送网(optical transport network,OTN)进行承载和传送FlexE信号。如图1所示,从FlexE101到FlexE 103的FlexE信号,或者从FlexE 103到FlexE 101的FlexE信号可以穿通OTN102,通过OTN作为承载网络实现长距离传输。现有技术中,可以通过以下三种方式实现FlexE信号穿通OTN:(1)FlexE不感知(FlexE unaware),即将n*100G FlexE信号看作是n路独立的100GE(吉比特以太网,Gigbit Ethernet)信号,通过n路ODU4(optical data unit-4,光数据单元-4)完成承载和传送。(2)FlexE感知(FlexE aware),即对n*100G FlexE信号进行解析,删除FlexE信号的无效时隙,通过1路或多路ODUflex完成承载和传送。(3)FlexE终结(FlexE terminate),即对n*100G FlexE信号进行深度解析,将多路不同速率的FlexE客户业务解析出来,然后多路不同速率的FlexE客户业务分别通过ODUflex完成承载和传送。For long-distance transmission, the FlexE can encapsulate the FlexE client service into a FlexE signal, and then carry and transmit the FlexE signal through an optical transport network (optical transport network, OTN). As shown in Figure 1, the FlexE signal from FlexE 101 to FlexE 103, or the FlexE signal from FlexE 103 to FlexE 101 can pass through OTN 102, and realize long-distance transmission through OTN as a bearer network. In the prior art, the FlexE signal can be passed through the OTN in the following three ways: (1) FlexE unaware (FlexE unaware), that is, the n*100G FlexE signal is regarded as n independent 100GE (Gigbit Ethernet, Gigbit Ethernet ) signals are carried and transmitted through n channels of ODU4 (optical data unit-4, optical data unit-4). (2) FlexE aware (FlexE aware), that is, analyze n*100G FlexE signals, delete invalid time slots of FlexE signals, and complete bearer and transmission through one or more ODUflex channels. (3) FlexE termination (FlexE terminate), that is, to perform in-depth analysis on n*100G FlexE signals, analyze multiple channels of different rates of FlexE customer services, and then multiple channels of different rates of FlexE customer services are carried and transmitted through ODUflex respectively.

随着FlexE技术的演进,FlexE有可能像OTN一样成为一种传送网络技术。因此,要实现FlexE的传送功能,需要解决FlexE中端到端的网络管理和监控的问题。With the evolution of FlexE technology, FlexE may become a transport network technology like OTN. Therefore, to realize the transmission function of FlexE, it is necessary to solve the problem of end-to-end network management and monitoring in FlexE.

发明内容Contents of the invention

有鉴于此,本申请提供一种业务承载的方法、设备和系统,可以解决FlexE中无法进行端到端的网络管理和监控问题。In view of this, the present application provides a service bearing method, device and system, which can solve the problem that end-to-end network management and monitoring cannot be performed in FlexE.

第一方面,本申请提供一种业务发送的方法,包括:发送端设备获取灵活以太网FlexE客户信号;将所述FlexE客户信号转化为FlexE业务帧,所述FlexE业务帧包括至少一个第一开销码块和至少一个数据码块,所述至少一个第一开销码块用于携带所述FlexE客户信号的开销信息,所述至少一个数据码块用于携带所述FlexE客户信号的净荷信息;将所述FlexE业务帧映射到物理通道一个或多个时隙中,生成FlexE开销帧,所述FlexE开销帧包括第二开销码块,所述第二开销码块用于携带所述FlexE开销帧的开销信息;将所述FlexE开销帧通过所述物理通道发送出去。In a first aspect, the present application provides a service sending method, including: a sending end device acquires a flexible Ethernet FlexE client signal; converts the FlexE client signal into a FlexE service frame, and the FlexE service frame includes at least one first overhead a code block and at least one data code block, the at least one first overhead code block is used to carry the overhead information of the FlexE client signal, and the at least one data code block is used to carry the payload information of the FlexE client signal; Mapping the FlexE service frame to one or more time slots of a physical channel to generate a FlexE overhead frame, the FlexE overhead frame includes a second overhead code block, and the second overhead code block is used to carry the FlexE overhead frame overhead information; sending the FlexE overhead frame through the physical channel.

本申请中,将FlexE客户信号转化为FlexE业务帧,并通过FlexE业务帧携带FlexE客户信号的开销信息,可以实现对FlexE客户信号端到端的网络管理和监控。In this application, the FlexE client signal is converted into a FlexE service frame, and the overhead information of the FlexE client signal is carried in the FlexE service frame, so that end-to-end network management and monitoring of the FlexE client signal can be realized.

一种可能的实现方式中,所述将所述FlexE客户信号转化为FlexE业务帧,包括:将所述至少一个第一开销码块周期性地插入到所述FlexE业务帧中。In a possible implementation manner, the converting the FlexE client signal into a FlexE service frame includes: periodically inserting the at least one first overhead code block into the FlexE service frame.

本申请中,第一开销码块可以周期性地携带在FlexE业务帧中,例如,FlexE业务帧中每隔预设数量的码块出现一个或多个第一开销码块。In this application, the first overhead code block may be periodically carried in the FlexE service frame, for example, one or more first overhead code blocks appear every preset number of code blocks in the FlexE service frame.

一种可能的实现方式中,所述将所述FlexE客户信号转化为FlexE业务帧,包括:以一个FlexE客户信号帧长度的1/(2n)为单位,将所述FlexE客户信号转化成所述FlexE业务帧,其中,n大于或等于0。In a possible implementation manner, the converting the FlexE client signal into a FlexE service frame includes: converting the FlexE client signal into the The FlexE service frame, wherein, n is greater than or equal to 0.

本申请中,将预设长度的FlexE客户信号转化为FlexE业务帧,降低了信号处理的复杂度,提高了传输效率。In this application, the FlexE client signal with a preset length is converted into a FlexE service frame, which reduces the complexity of signal processing and improves transmission efficiency.

一种可能的实现方式中,将所述FlexE业务帧映射到物理通道一个或多个时隙中之前,所述方法还包括:对所述FlexE客户信号进行速率适配。In a possible implementation manner, before mapping the FlexE service frame into one or more time slots of a physical channel, the method further includes: performing rate adaptation on the FlexE client signal.

一种可能的实现方式中,所述将所述FlexE客户信号转化为FlexE业务帧,包括:将所述FlexE客户信号的开销信息进行编码,生成所述至少一个第一开销码块。In a possible implementation manner, the converting the FlexE client signal into a FlexE service frame includes: encoding overhead information of the FlexE client signal to generate the at least one first overhead code block.

一种可能的实现方式中,所述至少一个第一开销码块位于所述FlexE业务帧的帧头,和/或,所述至少一个第一开销码块在FlexE业务帧的任意两个数据码块之间。In a possible implementation manner, the at least one first overhead code block is located at the frame header of the FlexE service frame, and/or, the at least one first overhead code block is located in any two data code blocks of the FlexE service frame between blocks.

第二方面,本申请提供一种业务接收的方法,包括:接收端设备从物理通道接收灵活以太网FlexE开销帧;识别所述FlexE开销帧的开销信息,根据所述FlexE开销帧的开销信息从所述物理通道的一个或多个时隙解映射得到FlexE业务帧,所述FlexE开销帧的开销信息通过所述FlexE开销帧的第二开销码块携带;将所述FlexE业务帧转化为FlexE客户信号,所述FlexE业务帧包括至少一个第一开销码块和至少一个数据码块,所述至少一个第一开销码块用于携带所述FlexE客户信号的开销信息,所述至少一个数据码块用于携带所述FlexE客户信号的净荷信息。In a second aspect, the present application provides a service receiving method, including: a receiving end device receives a flexible Ethernet FlexE overhead frame from a physical channel; identifies the overhead information of the FlexE overhead frame, and obtains the overhead information from the FlexE overhead frame according to the overhead information of the FlexE overhead frame Demapping one or more time slots of the physical channel to obtain a FlexE service frame, the overhead information of the FlexE overhead frame is carried by the second overhead code block of the FlexE overhead frame; converting the FlexE service frame into a FlexE client signal, the FlexE service frame includes at least one first overhead code block and at least one data code block, the at least one first overhead code block is used to carry the overhead information of the FlexE client signal, and the at least one data code block Used to carry the payload information of the FlexE client signal.

本申请中,将FlexE业务帧转化为FlexE客户信号,并通过FlexE业务帧携带FlexE客户的开销信息,可以实现对FlexE客户信号端到端的网络管理和监控。In this application, the FlexE service frame is converted into the FlexE client signal, and the overhead information of the FlexE client is carried through the FlexE service frame, so that end-to-end network management and monitoring of the FlexE client signal can be realized.

一种可能的实现方式中,所述将所述FlexE业务帧转化为FlexE客户信号,包括:从所述FlexE业务帧中周期性地识别到所述至少一个第一开销码块。In a possible implementation manner, the converting the FlexE service frame into a FlexE client signal includes: periodically identifying the at least one first overhead code block from the FlexE service frame.

本申请中,可以周期性地从FlexE业务帧中识别出第一开销码块,例如,FlexE业务帧中每隔预设数量的码块识别到一个或多个第一开销码块。In this application, the first overhead code block may be periodically identified from the FlexE service frame, for example, one or more first overhead code blocks are identified every preset number of code blocks in the FlexE service frame.

一种可能的实现方式中,所述将所述FlexE业务帧转化为FlexE客户信号,包括:以一个FlexE业务帧长度的1/(2n)为单位,将所述FlexE业务帧转化为FlexE客户信号,其中,n大于或等于0。In a possible implementation, the converting the FlexE service frame into a FlexE client signal includes: converting the FlexE service frame into a FlexE client signal in units of 1/(2 n ) of the length of a FlexE service frame Signal, where n is greater than or equal to zero.

本申请中,将预设长度的FlexE业务帧转化为FlexE客户信号,降低了信号处理的复杂度,提高了传输效率。In this application, the FlexE service frame with a preset length is converted into a FlexE client signal, which reduces the complexity of signal processing and improves transmission efficiency.

一种可能的实现方式中,所述将所述FlexE业务帧转化为FlexE客户信号,包括:删除所述FlexE业务帧的同步头比特,对所述FlexE业务帧进行解码,并填充预留字段。In a possible implementation manner, the converting the FlexE service frame into a FlexE client signal includes: deleting a synchronization header bit of the FlexE service frame, decoding the FlexE service frame, and filling a reserved field.

一种可能的实现方式中,所述至少一个第一开销码块位于所述FlexE业务帧的帧头,和/或,所述至少一个第一开销码块在FlexE业务帧的任意两个数据码块之间。In a possible implementation manner, the at least one first overhead code block is located at the frame header of the FlexE service frame, and/or, the at least one first overhead code block is located in any two data code blocks of the FlexE service frame between blocks.

第三方面,本申请提供一种发送设备,包括:接收模块,用于获取灵活以太网FlexE客户信号;处理模块,用于将所述FlexE客户信号转化为FlexE业务帧,所述FlexE业务帧包括至少一个第一开销码块和至少一个数据码块,所述至少一个第一开销码块用于携带所述FlexE客户信号的开销信息,所述至少一个数据码块用于携带所述FlexE客户信号的净荷信息;将所述FlexE业务帧映射到物理通道一个或多个时隙中,生成FlexE开销帧,所述FlexE开销帧包括第二开销码块,所述第二开销码块用于携带所述FlexE开销帧的开销信息;发送模块,用于将所述FlexE开销帧通过所述物理通道发送出去。In a third aspect, the present application provides a sending device, including: a receiving module, configured to acquire a flexible Ethernet FlexE client signal; a processing module, configured to convert the FlexE client signal into a FlexE service frame, and the FlexE service frame includes At least one first overhead code block and at least one data code block, the at least one first overhead code block is used to carry the overhead information of the FlexE client signal, and the at least one data code block is used to carry the FlexE client signal Payload information; the FlexE service frame is mapped to one or more time slots of the physical channel to generate a FlexE overhead frame, the FlexE overhead frame includes a second overhead code block, and the second overhead code block is used to carry Overhead information of the FlexE overhead frame; a sending module, configured to send the FlexE overhead frame through the physical channel.

一种可能的实现方式中,所述处理模块,用于:将所述至少一个第一开销码块周期性地插入到所述FlexE业务帧中。In a possible implementation manner, the processing module is configured to: periodically insert the at least one first overhead code block into the FlexE service frame.

一种可能的实现方式中,所述处理模块,用于:以一个FlexE客户信号帧长度的1/(2n)为单位,将所述FlexE客户信号转化成所述FlexE业务帧,其中,n大于或等于0。In a possible implementation manner, the processing module is configured to convert the FlexE client signal into the FlexE service frame in units of 1/(2 n ) of the length of a FlexE client signal frame, where n greater than or equal to 0.

一种可能的实现方式中,所述处理模块,还用于:对所述FlexE客户信号进行速率适配。In a possible implementation manner, the processing module is further configured to: perform rate adaptation on the FlexE client signal.

一种可能的实现方式中,所述将所述FlexE客户信号转化为FlexE业务帧,包括:将所述FlexE客户信号的开销信息进行编码,生成所述至少一个第一开销码块。In a possible implementation manner, the converting the FlexE client signal into a FlexE service frame includes: encoding overhead information of the FlexE client signal to generate the at least one first overhead code block.

一种可能的实现方式中,所述至少一个第一开销码块位于所述FlexE业务帧的帧头,和/或,所述至少一个第一开销码块在FlexE业务帧的任意两个数据码块之间。In a possible implementation manner, the at least one first overhead code block is located at the frame header of the FlexE service frame, and/or, the at least one first overhead code block is located in any two data code blocks of the FlexE service frame between blocks.

第四方面,本申请提供一种接收设备,包括:接收模块,用于从物理通道接收灵活以太网FlexE开销帧;处理模块,用于识别所述FlexE开销帧的开销信息,根据所述FlexE开销帧的开销信息从所述物理通道的一个或多个时隙解映射得到FlexE业务帧,所述FlexE开销帧的开销信息通过所述FlexE开销帧的第二开销码块携带;将所述FlexE业务帧转化为FlexE客户信号,所述FlexE业务帧包括至少一个第一开销码块和至少一个数据码块,所述至少一个第一开销码块用于携带所述FlexE客户信号的开销信息,所述至少一个数据码块用于携带所述FlexE客户信号的净荷信息。In a fourth aspect, the present application provides a receiving device, including: a receiving module, configured to receive a flexible Ethernet FlexE overhead frame from a physical channel; a processing module, configured to identify the overhead information of the FlexE overhead frame, according to the FlexE overhead frame The overhead information of the frame is demapped from one or more time slots of the physical channel to obtain a FlexE service frame, and the overhead information of the FlexE overhead frame is carried by the second overhead code block of the FlexE overhead frame; the FlexE service The frame is converted into a FlexE client signal, the FlexE service frame includes at least one first overhead code block and at least one data code block, the at least one first overhead code block is used to carry the overhead information of the FlexE client signal, the At least one data code block is used to carry payload information of the FlexE client signal.

一种可能的实现方式中,所述处理模块,用于:从所述FlexE业务帧中周期性地识别到所述至少一个第一开销码块。In a possible implementation manner, the processing module is configured to: periodically identify the at least one first overhead code block from the FlexE service frame.

一种可能的实现方式中,所述处理模块,用于:以一个FlexE业务帧长度的1/(2n)为单位,将所述FlexE业务帧转化为FlexE客户信号,其中,n大于或等于0。In a possible implementation, the processing module is configured to convert the FlexE service frame into a FlexE client signal in units of 1/(2 n ) of the length of a FlexE service frame, where n is greater than or equal to 0.

一种可能的实现方式中,所述处理模块,用于:删除所述FlexE业务帧的同步头比特,对所述FlexE业务帧进行解码,并填充预留字段。In a possible implementation manner, the processing module is configured to: delete a synchronization header bit of the FlexE service frame, decode the FlexE service frame, and fill in a reserved field.

一种可能的实现方式中,所述至少一个第一开销码块位于所述FlexE业务帧的帧头,和/或,所述至少一个第一开销码块在FlexE业务帧的任意两个数据码块之间。In a possible implementation manner, the at least one first overhead code block is located at the frame header of the FlexE service frame, and/or, the at least one first overhead code block is located in any two data code blocks of the FlexE service frame between blocks.

第四方面,本发明实施例提供一种网络系统,包括第三方面或第三方面任意一种可能的实现方式的发送设备,以及第四方面或第四方面任意一种可能的实现方式的接收设备。In the fourth aspect, the embodiment of the present invention provides a network system, including the sending device of the third aspect or any possible implementation of the third aspect, and the receiving device of the fourth aspect or any of the possible implementations of the fourth aspect equipment.

本申请的又一方面提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。Yet another aspect of the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, it causes the computer to execute the methods described in the above aspects.

本申请的又一方面提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。Yet another aspect of the present application provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute the methods described in the above aspects.

附图说明Description of drawings

为了更清楚地说明本发明的实施例或现有技术中的技术方案,下面将对描述背景技术和实施例时所使用的附图作简单的介绍。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the drawings used in describing the background technology and the embodiments.

图1是现有技术的一种FlexE信号穿通OTN的网络架构示意图;FIG. 1 is a schematic diagram of a network architecture in which a FlexE signal passes through an OTN in the prior art;

图2是本发明实施例提供的一种OTN信号穿通FlexE的网络架构示意图;FIG. 2 is a schematic diagram of a network architecture in which an OTN signal passes through FlexE provided by an embodiment of the present invention;

图3是现有技术的一种OTN帧的帧结构示意图;FIG. 3 is a schematic diagram of a frame structure of an OTN frame in the prior art;

图4是本发明实施例提供的一种OTN帧转化为FlexE业务帧的示意图;Fig. 4 is a schematic diagram of converting an OTN frame into a FlexE service frame provided by an embodiment of the present invention;

图5a是本发明实施例提供的一种FlexE业务帧的码块格式示意图;Fig. 5a is a schematic diagram of a code block format of a FlexE service frame provided by an embodiment of the present invention;

图5b是本发明实施例提供的一种FlexE业务帧的码块格式示意图;Fig. 5b is a schematic diagram of a code block format of a FlexE service frame provided by an embodiment of the present invention;

图6a是本发明实施例提供的一种FlexE业务帧的格式示意图;Fig. 6a is a schematic diagram of the format of a FlexE service frame provided by an embodiment of the present invention;

图6b是本发明实施例提供的另一种FlexE业务帧的格式示意图;Fig. 6b is a schematic diagram of the format of another FlexE service frame provided by the embodiment of the present invention;

图7是本发明实施例提供的一种开销码块的格式示意图;Fig. 7 is a schematic diagram of the format of an overhead code block provided by an embodiment of the present invention;

图8是本发明实施例提供的一种FlexE业务帧的格式示意图;FIG. 8 is a schematic diagram of the format of a FlexE service frame provided by an embodiment of the present invention;

图9是本发明实施例提供的一种业务发送的处理示意图;FIG. 9 is a schematic diagram of a service sending process provided by an embodiment of the present invention;

图10是本发明实施例提供的一种时隙分发的处理示意图;FIG. 10 is a schematic diagram of a time slot distribution process provided by an embodiment of the present invention;

图11是本发明实施例提供的一种插入FlexE开销码块的处理示意图;FIG. 11 is a schematic diagram of a process for inserting a FlexE overhead code block provided by an embodiment of the present invention;

图12是本发明实施例提供的一种业务发送的处理示意图;FIG. 12 is a schematic diagram of a service transmission process provided by an embodiment of the present invention;

图13是本发明实施例提供的一种业务发送的处理示意图;Fig. 13 is a schematic diagram of a service sending process provided by an embodiment of the present invention;

图14是本发明实施例提供的另一种业务发送的处理示意图;FIG. 14 is a schematic diagram of another service sending process provided by an embodiment of the present invention;

图15是本发明实施例提供的一种业务接收的处理示意图;Fig. 15 is a schematic diagram of a service receiving process provided by an embodiment of the present invention;

图16是本发明实施例提供的一种网络架构示意图;FIG. 16 is a schematic diagram of a network architecture provided by an embodiment of the present invention;

图17是本发明实施例提供的一种业务发送的方法的示范性流程图;Fig. 17 is an exemplary flow chart of a service sending method provided by an embodiment of the present invention;

图18是本发明实施例提供的一种业务接收的方法的示范性流程图;Fig. 18 is an exemplary flow chart of a service receiving method provided by an embodiment of the present invention;

图19是本发明实施例提供的一种发送设备的结构示意图;FIG. 19 is a schematic structural diagram of a sending device provided by an embodiment of the present invention;

图20是本发明实施例提供的一种接收设备的结构示意图。Fig. 20 is a schematic structural diagram of a receiving device provided by an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

图2是本发明实施例提供的一种OTN信号穿通FlexE的网络架构示意图。如图2所示,OTN 201可以将客户设备204的客户业务封装成OTN信号,通过FlexE 202进行承载并传输该OTN信号,OTN 203接收到该OTN信号,从OTN信号中还原出客户业务并发送给客户设备205。或者,OTN 203可以将客户设备205的客户业务封装成OTN信号,通过FlexE 202进行承载并传输该OTN信号,OTN 201接收到该OTN信号,从OTN信号中还原出客户业务并发送给客户设备204。客户设备204、205可以是数据中心、路由器、服务器、计算机等设备。将OTN信号通过FlexE 202进行承载和传输时,涉及到将OTN信号的帧格式转化为适合在FlexE传输的FlexE业务帧的帧格式。本发明实施例提供的FlexE业务帧的帧格式,和OTN帧的帧格式具有良好的对应的关系,简化了信号处理的过程,以及提高了信号处理的效率。并且,在FlexE业务帧中保留了OTN帧的开销信息,能够实现端到端的网络管理和监控。FIG. 2 is a schematic diagram of a network architecture in which an OTN signal passes through a FlexE provided by an embodiment of the present invention. As shown in Figure 2, the OTN 201 can encapsulate the customer service of the client equipment 204 into an OTN signal, carry and transmit the OTN signal through the FlexE 202, and the OTN 203 receives the OTN signal, restores the customer service from the OTN signal and sends it To the client device 205. Alternatively, the OTN 203 can encapsulate the customer service of the client equipment 205 into an OTN signal, carry and transmit the OTN signal through the FlexE 202, and the OTN 201 receives the OTN signal, restores the customer service from the OTN signal and sends it to the customer equipment 204 . Client devices 204 and 205 may be data centers, routers, servers, computers, and other devices. When the OTN signal is carried and transmitted through the FlexE 202, it involves converting the frame format of the OTN signal into a frame format suitable for the FlexE service frame transmitted on the FlexE. The frame format of the FlexE service frame provided by the embodiment of the present invention has a good corresponding relationship with the frame format of the OTN frame, which simplifies the process of signal processing and improves the efficiency of signal processing. Moreover, the overhead information of the OTN frame is reserved in the FlexE service frame, enabling end-to-end network management and monitoring.

本发明实施例中,OTN信号和OTN帧可以指代同一对象,例如OTUk(opticaltransport unit-k,光传送单元-k)、OTUCn(optical transport unit-Cn,光传送单元-Cn)等;包括ODUk(optical data unit-k,光数据单元-k)、ODUflex(optical data unit-flex,灵活光数据单元)、ODUCn(optical data unit-Cn,光数据单元-Cn)等;也可以包括OPUk(optical payload unit-k,光净荷单元-k)、OPUflex(optical payload unit-flex,灵活光净荷单元)、OPUCn(optical payload unit-Cn,光净荷单元-Cn)等。其中,k可以取0,1,2,2e,3,4等,Cn代表100G的整数倍。In the embodiment of the present invention, the OTN signal and the OTN frame can refer to the same object, such as OTUk (opticaltransport unit-k, optical transport unit-k), OTUCn (optical transport unit-Cn, optical transport unit-Cn), etc.; including ODUk (optical data unit-k, optical data unit-k), ODUflex (optical data unit-flex, flexible optical data unit), ODUCn (optical data unit-Cn, optical data unit-Cn), etc.; may also include OPUk (optical payload unit-k, optical payload unit-k), OPUflex (optical payload unit-flex, flexible optical payload unit), OPUCn (optical payload unit-Cn, optical payload unit-Cn), etc. Among them, k can be 0, 1, 2, 2e, 3, 4, etc., and Cn represents an integer multiple of 100G.

图3是现有技术的一种OTN帧的帧结构示意图。如图3所示,以ODUk或者ODUflex的帧结构为例进行说明。OTN帧可以包括4行x3824列个字节。其中,第1列到第16列为OTN帧的开销信息,第17列到第3824列为OTN帧的净荷信息。OTN帧的开销信息可以包括帧对齐开销、OTU(optical transport unit,光传送单元)开销、OPU(optical payload unit,光净荷单元)开销和ODU(optical data unit,光数据单元)开销等。帧对齐开销可以包括FAS(framealignment signal,帧对齐信号)和/或MFAS(multiframe alignment signal,复帧对齐信号)。ODU开销可以包括:PM(path monitoring,通道监测)、TCM(tandem connectionmonitoring,串联链接监测)、EXP(experimental,实验)、GCC(general communicationchannel,通用通信通道)、APS(automatic protection switching,自动保护倒换)、PCC(protection communication channel,保护通信通道)等。其中,PM还可以包括TTI(trailtrace identifier,路径踪迹标识)、BIP8(bit interleaved parity-level 8,比特间插奇偶校验-level 8)、BEI(backward error indication,后向误码指示)、BDI(backwarddefect indication,后向缺陷指示)、STAT(状态)等。FIG. 3 is a schematic diagram of a frame structure of an OTN frame in the prior art. As shown in FIG. 3 , the frame structure of ODUk or ODUflex is taken as an example for description. An OTN frame may consist of 4 rows x 3824 columns of bytes. Wherein, the first column to the 16th column are the overhead information of the OTN frame, and the 17th column to the 3824th column are the payload information of the OTN frame. The overhead information of the OTN frame may include frame alignment overhead, OTU (optical transport unit, optical transport unit) overhead, OPU (optical payload unit, optical payload unit) overhead, ODU (optical data unit, optical data unit) overhead, and the like. The frame alignment overhead may include FAS (frame alignment signal, frame alignment signal) and/or MFAS (multiframe alignment signal, multiframe alignment signal). ODU overhead can include: PM (path monitoring, channel monitoring), TCM (tandem connection monitoring, serial link monitoring), EXP (experimental, experiment), GCC (general communication channel, general communication channel), APS (automatic protection switching, automatic protection switching ), PCC (protection communication channel, protection communication channel), etc. Among them, PM can also include TTI (trailtrace identifier, path trace identification), BIP8 (bit interleaved parity-level 8, bit interleaved parity-level 8), BEI (backward error indication, backward error indication), BDI (backward defect indication, backward defect indication), STAT (status), etc.

转化方式一:Conversion method one:

图4是本发明实施例提供的一种OTN帧转化为FlexE业务帧的示意图。如图4所示,由一个OTN帧转化而成的FlexE业务帧可以包括一个起始码块S、1910个数据码块D和1个帧尾码块T。S、D、T码块可以为66B码块。66B码块也可以称为64B/66B码块,包括2比特的同步头和64比特的数据。在一个例子中,可以以一个OTN帧长度的1/(2n)为单位,从OTN帧的起始字节开始,每8个字节转化为一个66B码块。则一个OTN帧的1/(2n)可以转化为一个包括1912/(2n)个66B码块的FlexE业务帧。其中,FlexE业务帧可以包括一个起始码块S、1912/(2n)-2个数据码块D和1个帧尾码块T。其中,n大于或等于0。当n=0时,以一个OTN帧长度为单位进行转化,转化后的FlexE业务帧包含1912个码块。当n=1时,以1/2个OTN帧长度为单位进行转化,转化后的FlexE业务帧包含956个码块。当n=2时,以1/4个OTN帧长度为单位进行转化,转化后的FlexE业务帧包含478个码块。依次类推。在实际应用中,也可以取n小于0,比如n=-1,-2等。则一个FlexE业务帧包含的码块数量可以为3824、7648个等。Fig. 4 is a schematic diagram of converting an OTN frame into a FlexE service frame according to an embodiment of the present invention. As shown in Fig. 4, a FlexE service frame converted from an OTN frame may include a start code block S, 1910 data code blocks D and a frame end code block T. The S, D, and T code blocks may be 66B code blocks. A 66B code block may also be called a 64B/66B code block, and includes a 2-bit sync header and 64-bit data. In an example, 1/(2 n ) of the length of an OTN frame can be used as a unit, starting from the start byte of the OTN frame, and converting every 8 bytes into a 66B code block. Then 1/(2 n ) of an OTN frame can be converted into a FlexE service frame including 1912/(2 n ) 66B code blocks. Wherein, the FlexE service frame may include a start code block S, 1912/(2 n )-2 data code blocks D and a frame end code block T. Wherein, n is greater than or equal to 0. When n=0, the conversion is performed in units of one OTN frame length, and the converted FlexE service frame includes 1912 code blocks. When n=1, conversion is performed in units of 1/2 OTN frame length, and the converted FlexE service frame includes 956 code blocks. When n=2, conversion is performed in units of 1/4 OTN frame length, and the converted FlexE service frame includes 478 code blocks. And so on. In practical applications, n may also be set to be less than 0, such as n=-1, -2, and so on. Then, the number of code blocks included in a FlexE service frame may be 3824, 7648 and so on.

该例子中,以OTN帧为ODUk或ODUflex为例进行说明。当然,本发明实施例也适用于OPUk、OPUflex等,由OPUk或OPUflex转化而成的FlexE业务帧包含的66B码块的数量可以不同于由ODUk或ODUflex转化而成的FlexE业务帧。例如,一个OPUk或OPUflex可以转化为包括1905个66B码块的FlexE业务帧。In this example, the OTN frame is ODUk or ODUflex as an example for description. Certainly, the embodiment of the present invention is also applicable to OPUk, OPUflex, etc., and the number of 66B code blocks included in the FlexE service frame converted from OPUk or OPUflex may be different from the FlexE service frame converted from ODUk or ODUflex. For example, an OPUk or OPUflex can be converted into a FlexE service frame including 1905 66B code blocks.

以n=0为例进行说明,即1个OTN帧转化为包括1912个66B码块的FlexE业务帧(如图4所示的FlexE业务帧)。图5a是本发明实施例提供的一种FlexE业务帧的码块格式示意图。如图5a所示,FlexE业务帧的开始码块,即S码块可以携带第i+1帧ODUk或ODUflex的帧头信息。FlexE业务帧的帧尾码块,即T码块可以携带第i帧ODUk或ODUflex的帧尾信息。S码块还可以利用空闲的字段D1承载第第i帧ODUk或ODUflex帧尾信息中的最后一个字节。图5b是本发明实施例提供的一种FlexE业务帧的码块格式示意图。如图5b所示,FlexE业务帧的数据码块,即D码块可以携带ODUk或ODUflex的中间字节,即除了帧头信息和帧尾信息之外的字节。Taking n=0 as an example for illustration, that is, one OTN frame is transformed into a FlexE service frame including 1912 66B code blocks (the FlexE service frame shown in FIG. 4 ). Fig. 5a is a schematic diagram of a code block format of a FlexE service frame provided by an embodiment of the present invention. As shown in Figure 5a, the start code block of the FlexE service frame, that is, the S code block can carry the frame header information of the i+1th frame ODUk or ODUflex. The frame end code block of the FlexE service frame, that is, the T code block can carry the frame end information of the i-th frame ODUk or ODUflex. The S code block can also use the free field D1 to carry the last byte in the ODUk or ODUflex frame end information of the i-th frame. Fig. 5b is a schematic diagram of a code block format of a FlexE service frame provided by an embodiment of the present invention. As shown in Figure 5b, the data code block of the FlexE service frame, that is, the D code block, can carry the intermediate bytes of ODUk or ODUflex, that is, bytes other than frame header information and frame tail information.

(1)S码块,可以由OTN帧的帧头信息,即第一行前8个开销字节转化生成。S码块可以包括2比特的同步头“10”,8比特的码块类型字段“0x78”,剩余的7个字节用于承载OTN帧第一行前8个开销字节。由于7个字节不足以完全承载8个开销字节,可以对OTN帧的8个开销字节进行压缩。例如,OTN帧第一行的第1~6个字节携带固定的图案信息,“0xF6F6F6282828”,可以将OTN帧第一行的重复字节丢弃,例如将任意两个“F6F6”字节丢弃,或者将任意两个“2828”字节丢弃。这样,OTN帧的帧头信息,即第一行前8个开销字节压缩为6个字节。另一个例子中,可以将OTN帧第一行的第5、6个字节放在由OTN帧开销区保留字节转化而成的66B码块中,相当于OTN帧第一行的第5、6个字节占用了OTN帧开销区保留字节在66B码块中的保留字段。例如,OTN帧第一行的第5、6个字节可以占用由OTN帧第二行第1、2个开销区保留字节或第四行第9-14个开销区保留字节转化而成的66B码块中的保留字段。(1) The S code block can be converted and generated from the frame header information of the OTN frame, that is, the first 8 overhead bytes of the first line. The S code block may include a 2-bit synchronization header "10", an 8-bit code block type field "0x78", and the remaining 7 bytes are used to carry the first 8 overhead bytes of the first line of the OTN frame. Since 7 bytes are not enough to fully carry 8 overhead bytes, the 8 overhead bytes of the OTN frame can be compressed. For example, the first to sixth bytes of the first line of the OTN frame carry fixed pattern information, "0xF6F6F6282828", the repeated bytes of the first line of the OTN frame can be discarded, for example, any two "F6F6" bytes are discarded, Or discard any two "2828" bytes. In this way, the frame header information of the OTN frame, that is, the first 8 overhead bytes of the first line are compressed into 6 bytes. In another example, the 5th and 6th bytes of the first row of the OTN frame can be placed in the 66B code block converted from the reserved bytes of the OTN frame overhead area, which is equivalent to the 5th and 6th bytes of the first row of the OTN frame The 6 bytes occupy the reserved field of the reserved bytes in the OTN frame overhead area in the 66B code block. For example, the 5th and 6th bytes of the first line of the OTN frame can be converted from the 1st and 2nd overhead area reserved bytes of the second line of the OTN frame or the 9th to 14th overhead area reserved bytes of the fourth line A reserved field in the 66B code block.

(2)T码块,可以由OTN帧的帧尾信息,即第四行最后8个字节转化生成。T码块可以包括2比特的同步头“10”,8比特的码块类型字段“0xff”,剩余的7个字节用于承载OTN帧第四行最后8个字节。由于S码块承载的开销字节经过压缩,S码块中有1个空闲字段D1可以承载OTN帧的帧尾信息。另一个例子中,也可以将OTN帧帧尾的一个字节放置在OTN帧开销区保留字节转化而成的66B码块的保留字段中。(2) The T code block can be converted and generated from the frame end information of the OTN frame, that is, the last 8 bytes of the fourth line. The T code block may include a 2-bit synchronization header "10", an 8-bit code block type field "0xff", and the remaining 7 bytes are used to carry the last 8 bytes of the fourth line of the OTN frame. Since the overhead bytes carried by the S code block are compressed, there is a free field D1 in the S code block that can carry the frame end information of the OTN frame. In another example, a byte at the end of the OTN frame may also be placed in the reserved field of the 66B code block converted from the reserved bytes in the overhead area of the OTN frame.

如图5a所示,第i+1帧ODUk或ODUflex的帧头信息,“0xF6F6F6282828+MFAS+D1”压缩为6个字节后,放置于S码块的D2~D7字段中。S码块的D1字段可以用于承载第i帧ODUk或ODUflex的帧尾信息中的一个字节D8。第i帧ODUk或ODUflex的帧尾信息,“D1D2D3D4D5D6D7”共7个字节,放置于T码块的D1~D7字段中。As shown in Figure 5a, the frame header information of the i+1 frame ODUk or ODUflex, "0xF6F6F6282828+MFAS+D1" is compressed into 6 bytes and placed in the D2-D7 fields of the S code block. The D1 field of the S code block can be used to carry a byte D8 in the frame end information of the i-th frame ODUk or ODUflex. The frame end information of the i-th frame ODUk or ODUflex, "D1D2D3D4D5D6D7" has a total of 7 bytes, which are placed in the D1~D7 fields of the T code block.

(3)D码块,可以由OTN帧的中间字节,即除了第一行前8个开销字节和第四行最后8个字节之外的字节转化生成。如图5b所示,D码块可以包括2比特的同步头“01”,剩余的8个字节用于承载OTN帧的任意8个中间字节。例如,可以将连续的8个中间字节放置于一个D码块的D1~D8字段中。(3) The D code block can be converted and generated from the middle bytes of the OTN frame, that is, bytes other than the first 8 overhead bytes in the first row and the last 8 bytes in the fourth row. As shown in Figure 5b, the D code block may include a 2-bit sync header "01", and the remaining 8 bytes are used to carry any 8 intermediate bytes of the OTN frame. For example, eight consecutive intermediate bytes may be placed in the D1-D8 fields of a D code block.

转化方式二:Conversion method two:

图6a是本发明实施例提供的一种FlexE业务帧的格式示意图。图6b是本发明实施例提供的另一种FlexE业务帧的格式示意图。一个例子中,可以将开销码块可以放置在FlexE业务帧的帧头位置。如图6a所示,一个FlexE帧可以包括x个66B开销码块OH和连续的y个66B数据码块D。x个66B开销码块设置在FlexE业务帧的帧头位置。另一个例子中,也可以将FlexE业务帧的开销码块以一定的周期间插在FlexE业务帧中。如图6b所示,一个FlexE业务帧可以包括z组的p个66B开销码块。以p个66B开销码块为单位,按照一定的周期间插在FlexE业务帧的z个位置。或者,每q个66B数据码块的前面插入p个66B开销码块。如图6a或6b所示,开销码块可以承载用于端到端管理监控的一种或多种开销信息,例如,TTI、BIP8、BEI、BDI、STAT中的任意一种或多种等。此外,开销码块还可以用于承载帧头定位开销(FAS/MFAS)等。Fig. 6a is a schematic diagram of a format of a FlexE service frame provided by an embodiment of the present invention. Fig. 6b is a schematic diagram of the format of another FlexE service frame provided by an embodiment of the present invention. In an example, the overhead code block can be placed at the frame header of the FlexE service frame. As shown in Fig. 6a, a FlexE frame may include x 66B overhead code blocks OH and y consecutive 66B data code blocks D. x 66B overhead code blocks are set at the frame header of the FlexE service frame. In another example, the overhead code blocks of the FlexE service frame may also be inserted into the FlexE service frame at a certain period. As shown in Fig. 6b, a FlexE service frame may include p 66B overhead code blocks of group z. Taking p 66B overhead code blocks as a unit, it is inserted in z positions of the FlexE service frame according to a certain cycle. Alternatively, p 66B overhead code blocks are inserted in front of every q 66B data code blocks. As shown in FIG. 6a or 6b, the overhead code block may carry one or more types of overhead information for end-to-end management and monitoring, for example, any one or more of TTI, BIP8, BEI, BDI, and STAT. In addition, the overhead code block can also be used to carry frame header alignment overhead (FAS/MFAS) and the like.

图7是本发明实施例提供的一种开销码块的格式示意图。如图7所示,开销码块可以为66B码块,包括2比特的同步头“10”,8比特的码块类型字段“0x4b”。在现有标准中,“0x4b”是已被使用的码块类型,因此还可以设置4比特的“0xa”码块类型字段进行标识。或者,还可以将码块类型字段设置为现有标准中未使用的码块类型,例如“0x4C”。如果开销码块中的码块类型字段占用8个比特,则剩余56个比特可以用于承载OTN帧的开销信息。但OTN帧的每一行包含16个开销字节,如果将OTN帧的每一行的开销字节完全放置在2个开销码块中,则每个开销码块应包含64个比特来承载OTN帧的开销字节。因此,OTN帧中的部分开销字节,例如TCM、APS、PCC等字节可以丢弃,在开销码块中设置为保留字段RES,或者在开销码块的字段中填充全0。Fig. 7 is a schematic diagram of the format of an overhead code block provided by an embodiment of the present invention. As shown in FIG. 7 , the overhead code block may be a 66B code block, including a 2-bit sync header "10" and an 8-bit code block type field "0x4b". In the existing standard, "0x4b" is a used code block type, so the 4-bit "0xa" code block type field can also be set for identification. Alternatively, the code block type field can also be set to a code block type not used in the existing standard, such as "0x4C". If the code block type field in the overhead code block occupies 8 bits, the remaining 56 bits can be used to bear the overhead information of the OTN frame. However, each line of the OTN frame contains 16 overhead bytes. If the overhead bytes of each line of the OTN frame are completely placed in 2 overhead code blocks, each overhead code block should contain 64 bits to carry the OTN frame. overhead bytes. Therefore, some overhead bytes in the OTN frame, such as TCM, APS, PCC and other bytes, can be discarded, set as the reserved field RES in the overhead code block, or fill all 0s in the field of the overhead code block.

图8是本发明实施例提供的一种FlexE业务帧的格式示意图。和第1种转化方式类似,可以以一个OTN帧长度的1/(2n)为单位,从OTN帧的起始字节开始,每8个字节转化为一个66B码块。同样地,以OTN帧为ODUk或ODUflex,以n=0为例进行说明。如图8所示,以一个ODUk或ODUflex帧为单位,ODUk或ODUflex每一行的前16个字节转化为两个66B开销码块,剩余的3808字节转化为476个66B数据码块。每476个66B数据码块插入2个66B开销码块,因此4组476个66B数据码块共插入8个66B开销码块(开销码块OH1、开销码块OH2……开销码块OH7、开销码块OH8)。一个ODUk或ODUflex转化为一个包含8个66B开销码块加上4x476个66B数据码块的FlexE业务帧。开销码块OH1携带ODUk或ODUflex的第1行第1~8个开销字节,开销码块OH2可以携带ODUk或ODUflex的第1行第9~16个开销字节。开销码块OH3可以携带ODUk或ODUflex的第2行第1~8个字节开销字节,开销码块OH4可以携带ODUk或ODUflex的第2行第9~16个开销字节。开销码块OH5可以携带ODUk或ODUflex的第3行第1~8个开销字节,开销码块OH6可以携带ODUk或ODUflex的第3行第9~16个开销字节。开销码块OH7可以携带ODUk或ODUflex的第4行第1~8个开销字节,开销码块OH8可以携带ODUk或ODUflex的第4行和第9~16个开销字节。Fig. 8 is a schematic diagram of a format of a FlexE service frame provided by an embodiment of the present invention. Similar to the first conversion method, 1/(2 n ) of an OTN frame length can be used as a unit, starting from the start byte of the OTN frame, and converting every 8 bytes into a 66B code block. Similarly, the OTN frame is ODUk or ODUflex, and n=0 is taken as an example for illustration. As shown in Figure 8, taking one ODUk or ODUflex frame as a unit, the first 16 bytes of each line of ODUk or ODUflex are converted into two 66B overhead code blocks, and the remaining 3808 bytes are converted into 476 66B data code blocks. Two 66B overhead code blocks are inserted into every 476 66B data code blocks, so a total of 8 66B overhead code blocks are inserted into 4 groups of 476 66B data code blocks (overhead code block OH1, overhead code block OH2...overhead code block OH7, overhead code block code block OH8). An ODUk or ODUflex is converted into a FlexE service frame including 8 66B overhead code blocks plus 4x476 66B data code blocks. The overhead code block OH1 carries the 1st to 8th overhead bytes of the first row of ODUk or ODUflex, and the overhead code block OH2 can carry the 9th to 16th overhead bytes of the first row of ODUk or ODUflex. The overhead code block OH3 can carry the 1st to 8th overhead bytes of the second row of ODUk or ODUflex, and the overhead code block OH4 can carry the 9th to 16th overhead bytes of the second row of ODUk or ODUflex. The overhead code block OH5 can carry the 1st to 8th overhead bytes in the third row of ODUk or ODUflex, and the overhead code block OH6 can carry the 9th to 16th overhead bytes in the third row of ODUk or ODUflex. The overhead code block OH7 can carry the 1st to 8th overhead bytes of the fourth row of ODUk or ODUflex, and the overhead code block OH8 can carry the fourth row and the 9th to 16th overhead bytes of ODUk or ODUflex.

(1)开销码块,可以用于携带OTN帧的开销信息(开销字节)。如图8所示,开销码块OH1可以携带帧头定位开销FAS和MFAS,开销码块OH6可以携带路径管理监控开销PM(包括TTI、BIP8、BDI、BEI等)。开销码块OH2、OH3、OH4、OH5、OH7、OH8中可以设置保留字段。当然,当需要添加OTN帧的其他开销字节时,可以在开销码块的保留字段中设置。本发明实施例中,在FlexE业务帧中保留了OTN帧的OAM(operation,administration and maintenance,操作,管理和维护)特性,使用OTN帧的开销信息,可以实现端到端的网络管理和监控。(1) An overhead code block, which can be used to carry overhead information (overhead bytes) of an OTN frame. As shown in Fig. 8, the overhead code block OH1 can carry the frame header positioning overhead FAS and MFAS, and the overhead code block OH6 can carry the path management monitoring overhead PM (including TTI, BIP8, BDI, BEI, etc.). Reserved fields may be set in overhead code blocks OH2, OH3, OH4, OH5, OH7, and OH8. Of course, when it is necessary to add other overhead bytes of the OTN frame, it can be set in the reserved field of the overhead code block. In the embodiment of the present invention, the OAM (operation, administration and maintenance) characteristic of the OTN frame is reserved in the FlexE service frame, and the overhead information of the OTN frame can be used to realize end-to-end network management and monitoring.

(2)D码块,可以用于携带OTN帧的净荷信息(净荷字节)。D码块的格式可以参照图5b所示。OTN帧每一行的第17到第3824个字节可以转化为476个D码块,D可以为66B码块,包括2比特同步头“01”,剩余的8个字节可以放置OTN帧每一行的第17到第3824个字节中的任意8个字节。例如,可以将OTN帧净荷区中连续的8个字节放置于一个D码块的D1~D8字段中。(2) The D code block can be used to carry the payload information (payload bytes) of the OTN frame. For the format of the D code block, refer to FIG. 5b. The 17th to 3824th bytes of each line of the OTN frame can be converted into 476 D code blocks, D can be 66B code blocks, including the 2-bit synchronization header "01", and the remaining 8 bytes can be placed in each line of the OTN frame Any 8 bytes from the 17th to the 3824th byte of . For example, 8 consecutive bytes in the payload area of the OTN frame can be placed in the D1-D8 fields of a D code block.

本发明实施例中,如果将的FlexE业务帧转化为OTN帧,则可以将FlexE业务帧中每个66B码块的2比特同步头删除,将开销码块的码块类型字段转化为OTN帧的保留字节。一个FlexE业务帧可以正好转化为一个OTN帧,并且可以恢复出OTN帧的原有开销信息。本发明实施例中的FlexE业务帧与OTN帧在帧结构上存在良好的对应性,由FlexE业务帧转化为OTN帧时,无需将FlexE业务帧映射到OTN帧的净荷中,并重新生成OTN帧开销,降低了信号处理复杂度,提高了传输效率。In the embodiment of the present invention, if the FlexE service frame is converted into an OTN frame, the 2-bit synchronization header of each 66B code block in the FlexE service frame can be deleted, and the code block type field of the overhead code block can be converted into the OTN frame. Reserved bytes. A FlexE service frame can be exactly converted into an OTN frame, and the original overhead information of the OTN frame can be restored. The FlexE service frame and the OTN frame in the embodiment of the present invention have a good correspondence in the frame structure, and when the FlexE service frame is converted into an OTN frame, there is no need to map the FlexE service frame into the payload of the OTN frame and regenerate the OTN Frame overhead reduces signal processing complexity and improves transmission efficiency.

下面对FlexE业务传输的处理过程进行描述:The following describes the processing of FlexE service transmission:

图9是本发明实施例提供的一种业务发送的处理示意图。如图9所示,FlexE接口通过绑定的N个PHY(也称为PHY成员或FlexE成员)通道形成FlexE组(FlexE group,也称为FlexE成员组),并且通过由N个PHY通道绑定的FlexE组来传送多路不同速率的FlexE业务(也称为FlexE client、FlexE客户信号、FlexE客户业务等)。图9中示出了至少三路FlexE业务,例如,FlexE业务可以包括OTN信号(或者称为OTN业务)、分组业务、以太业务等。其中,每一个PHY通道的带宽可以为100G、200G、400G等。例如,现有的FlexE标准中,采用100G的PHY通道。在FlexE的shim层(Calendar或主时分层)中,可以将FlexE组划分为20xN个5G粒度的时隙(Calendar slot)。每个PHY通道划分为20个5G时隙。FIG. 9 is a schematic diagram of a service sending process provided by an embodiment of the present invention. As shown in Figure 9, the FlexE interface forms a FlexE group (FlexE group, also called a FlexE member group) through bound N PHY (also called PHY member or FlexE member) channels, and through the binding of N PHY channels The FlexE group is used to transmit multiple FlexE services of different rates (also called FlexE client, FlexE client signal, FlexE client service, etc.). FIG. 9 shows at least three FlexE services. For example, the FlexE services may include OTN signals (or called OTN services), packet services, and Ethernet services. Wherein, the bandwidth of each PHY channel may be 100G, 200G, 400G, etc. For example, in the existing FlexE standard, a 100G PHY channel is used. In the shim layer (Calendar or main time layer) of FlexE, the FlexE group can be divided into 20xN time slots (Calendar slot) of 5G granularity. Each PHY channel is divided into 20 5G time slots.

步骤900,获取至少一路FlexE业务。例如ODUk或ODUflex,FlexE业务#a和FlexE业务#z等。本实施例以ODUk或ODUflex为例进行说明,FlexE业务#a和FlexE业务#z等在图12所示的实施例进行描述。ODUk或ODUflex可以作为FlexE的客户信号通过FlexE进行承载并传输。Step 900, acquire at least one FlexE service. For example, ODUk or ODUflex, FlexE service #a and FlexE service #z, etc. This embodiment is described by taking ODUk or ODUflex as an example, and the FlexE service #a and the FlexE service #z are described in the embodiment shown in FIG. 12 . ODUk or ODUflex can be used as a FlexE client signal to carry and transmit through FlexE.

步骤901,将获取到的FlexE业务转化为FlexE业务帧。例如,对于ODUk或ODUflex,可以采用上述实施例的任意一种转化方式,或者结合任意的两种或多种转化方式,将ODUk或ODUflex转化为FlexE业务帧。In step 901, the obtained FlexE service is converted into a FlexE service frame. For example, for ODUk or ODUflex, any conversion method in the foregoing embodiments may be used, or any two or more conversion methods may be combined to convert ODUk or ODUflex into a FlexE service frame.

步骤902,对FlexE业务帧进行速率适配。Step 902, performing rate adaptation on the FlexE service frame.

速率适配的目的是为了在步骤903中,使得FlexE业务帧在FlexE shim层占用整数个时隙。The purpose of the rate adaptation is to make the FlexE service frame occupy an integer number of time slots at the FlexE shim layer in step 903 .

例如,如果将ODUk或ODUflex转化为转化方式一或转化方式二所述的FlexE业务帧,可以在FlexE业务帧中增加空闲码块(IDLE)或者预设的特殊码块进行速率适配。For example, if ODUk or ODUflex is converted into the FlexE service frame described in conversion mode 1 or conversion mode 2, an idle code block (IDLE) or a preset special code block can be added to the FlexE service frame for rate adaptation.

如果先将ODUk或ODUflex转化为转化方式一所述的FlexE业务帧A,然后将FlexE业务帧A转化为转化方式二所述的FlexE业务帧B,可以在FlexE业务帧A中增加空闲码块(IDLE)或者预设的特殊码块进行速率适配,也可以在FlexE业务帧B中增加空闲码块(IDLE)或者预设的特殊码块进行速率适配。例如,可以在上一个FlexE业务帧A的T码块和下一个FlexE业务帧A的S码块之间增加空闲码块(IDLE)或者预设的特殊码块。或者,在两个FlexE业务帧B之间增加空闲码块(IDLE)或者预设的特殊码块。可以基于FlexE业务帧A插入用于携带OTN帧的开销信息的开销码块来实现FlexE业务帧A转化为FlexE业务帧B。FlexE业务帧A的66B码块可以包括S码块、T码块、D码块、空闲码块中的任意一种或多种。FlexE业务帧B的帧格式可以参见如图8所示的实施例。可以将FlexE业务帧A的66B码块看作是FlexE业务帧B的D码块。例如,在FlexE业务帧A中,每476个66B码块插入2个66B开销码块,生成FlexE业务帧B。或者,在FlexE业务帧A中,每478个66B码块插入2个66B开销码块,这样,一个FlexE业务帧A刚好转化为一个FlexE业务帧B。If the ODUk or ODUflex is first converted into the FlexE service frame A described in the conversion method 1, and then the FlexE service frame A is converted into the FlexE service frame B described in the conversion method 2, an idle code block can be added to the FlexE service frame A ( IDLE) or a preset special code block for rate adaptation, and an idle code block (IDLE) or a preset special code block for rate adaptation may also be added in the FlexE service frame B. For example, an idle code block (IDLE) or a preset special code block can be added between the T code block of the previous FlexE service frame A and the S code block of the next FlexE service frame A. Or, an idle code block (IDLE) or a preset special code block is added between two FlexE service frames B. The conversion of the FlexE service frame A into the FlexE service frame B may be realized by inserting an overhead code block for carrying overhead information of the OTN frame based on the FlexE service frame A. The 66B code block of the FlexE service frame A may include any one or more of S code blocks, T code blocks, D code blocks, and idle code blocks. For the frame format of the FlexE service frame B, refer to the embodiment shown in FIG. 8 . The 66B code block of the FlexE service frame A can be regarded as the D code block of the FlexE service frame B. For example, in FlexE service frame A, two 66B overhead code blocks are inserted for every 476 66B code blocks to generate FlexE service frame B. Alternatively, in the FlexE service frame A, two 66B overhead code blocks are inserted for every 478 66B code blocks, so that one FlexE service frame A is just converted into one FlexE service frame B.

步骤903,生成FlexE组信号:根据FlexE业务帧的带宽为该FlexE业务帧分配一个或多个时隙,将经过速率适配后的FlexE业务帧映射到分配的一个或多个时隙中。这里的一个或多个时隙可以是在FlexE shim层中划分的20xN个时隙中的任意时隙。例如,ODU0的带宽为1.25G,可以为ODU0生成的FlexE业务帧分配一个5G时隙。ODU2的带宽为10G,可以为ODU2生成的FlexE业务帧分配2个5G时隙。如果分配了多个时隙,这多个时隙可以位于同一个PHY通道中,也可以位于不同的PHY通道中。Step 903, generating a FlexE group signal: assigning one or more time slots to the FlexE service frame according to the bandwidth of the FlexE service frame, and mapping the rate-adapted FlexE service frame to the allocated one or more time slots. The one or more time slots here may be any time slot in the 20xN time slots divided in the FlexE shim layer. For example, the bandwidth of ODU0 is 1.25G, and a 5G time slot can be allocated for the FlexE service frame generated by ODU0. The bandwidth of ODU2 is 10G, and two 5G time slots can be allocated for the FlexE service frame generated by ODU2. If multiple time slots are allocated, the multiple time slots may be located in the same PHY channel or in different PHY channels.

图10是本发明实施例提供的一种时隙分发的处理示意图。如图10所示(以4个PHY通道为例进行说明),Calendar划分了20x4个时隙,每个PHY通道(或者称为sub-Calendar)划分了20个时隙(标识为时隙0~时隙19)。图10中,为ODU2生成的FlexE业务帧分配了2个时隙,1个时隙位于PHY通道1,另一个时隙位于PHY通道2。或者,ODU2生成的FlexE业务帧的2个时隙也可以均位于PHY通道1中。Fig. 10 is a schematic diagram of a time slot distribution process provided by an embodiment of the present invention. As shown in Figure 10 (taking 4 PHY channels as an example), the Calendar is divided into 20x4 time slots, and each PHY channel (or sub-Calendar) is divided into 20 time slots (identified as time slots 0- time slot 19). In Figure 10, two time slots are allocated for the FlexE service frame generated by ODU2, one time slot is located in PHY channel 1, and the other time slot is located in PHY channel 2. Alternatively, the two time slots of the FlexE service frame generated by ODU2 may also be located in PHY channel 1.

步骤904,生成PHY通道信号:将承载了FlexE业务帧的FlexE组信号分发到一个或多个PHY通道后,并添加FlexE开销帧的开销信息。FlexE开销帧的开销信息可以包括FlexE组号、PHY通道号、时隙占用指示信息等。PHY通道信号可以以FlexE开销帧的格式进行传输,一路PHY通道信号可以对应一路FlexE开销帧。如图10所示,生成了4路PHY通道信号,其中,ODU2承载于PHY通道信号1、PHY通道信号2中。Step 904, generating PHY channel signals: after distributing the FlexE group signals carrying the FlexE service frames to one or more PHY channels, adding overhead information of the FlexE overhead frames. The overhead information of the FlexE overhead frame may include a FlexE group number, a PHY channel number, time slot occupancy indication information, and the like. The PHY channel signal can be transmitted in the format of the FlexE overhead frame, and one PHY channel signal can correspond to one FlexE overhead frame. As shown in FIG. 10 , four PHY channel signals are generated, wherein ODU2 is carried in PHY channel signal 1 and PHY channel signal 2 .

图11是本发明实施例提供的一种插入FlexE开销码块的处理示意图。FlexE开销帧的开销信息可以包括若干个在PHY通道信号以一定的周期插入的FlexE开销码块。如图11所示,该FlexE开销帧可以是任意一路PHY通道信号形成的。在一个周期中,可以在每20x1023个数据码块前插入1个FlexE开销码块。一个FlexE开销帧可以包括连续的8个周期,即8个FlexE开销码块,加上8x(20x1023)个数据码块。其中,通过1个时隙可以传输若干个周期性出现的数据码块。如图11所示,第1个时隙传输每20个码块周期性出现的数据码块“1”,第2个时隙传输每20个码块周期性出现的数据码块“2”,…,第20个时隙传输每20个码块周期性出现的数据码块“20”。FlexE业务帧可以承载于20x1023个数据码块的任意码块中,并通过被承载的数据码块对应的时隙进行传输。例如,由ODU0生成的FlexE业务帧在数据码块“2”的位置,并通过第2个时隙进行传输。Fig. 11 is a schematic diagram of a process for inserting a FlexE overhead code block according to an embodiment of the present invention. The overhead information of the FlexE overhead frame may include several FlexE overhead code blocks inserted in the PHY channel signal at a certain period. As shown in FIG. 11 , the FlexE overhead frame may be formed by any PHY channel signal. In one cycle, one FlexE overhead code block can be inserted before every 20x1023 data code blocks. A FlexE overhead frame may include 8 consecutive periods, that is, 8 FlexE overhead code blocks plus 8x (20x1023) data code blocks. Wherein, several periodically occurring data code blocks can be transmitted through one time slot. As shown in Figure 11, the first time slot transmits the data code block "1" that occurs periodically every 20 code blocks, and the second time slot transmits the data code block "2" that occurs periodically every 20 code blocks. ..., the 20th time slot transmits the data code block "20" that occurs periodically every 20 code blocks. The FlexE service frame can be carried in any code block of 20x1023 data code blocks, and is transmitted through the time slot corresponding to the carried data code block. For example, the FlexE service frame generated by ODU0 is at the position of data code block "2", and is transmitted through the second time slot.

步骤905,对生成的PHY通道信号进行扰码。Step 905, scrambling the generated PHY channel signal.

步骤906,在PHY通道信号中插入对齐字(alignment marker,AM),用于同一个PHY中不同虚拟通道的对齐。AM可以作为PHY通道信号的帧起始标识。Step 906, inserting an alignment word (alignment marker, AM) into the PHY channel signal for alignment of different virtual channels in the same PHY. AM can be used as the frame start identifier of the PHY channel signal.

步骤907,对PHY通道信号执行FEC编码处理,并将处理后的PHY通道信号发送出去。Step 907, perform FEC encoding processing on the PHY channel signal, and send the processed PHY channel signal.

上述几个步骤中,有些步骤也可以不执行,或者执行顺序不限于上述的例子。例如,步骤902、步骤907等也可以不执行。步骤902也可以在步骤901之前执行。In the above several steps, some steps may not be executed, or the execution sequence is not limited to the above examples. For example, step 902, step 907, etc. may not be executed. Step 902 may also be performed before step 901.

图12是本发明实施例提供的一种业务发送的处理示意图。如图12所示,和图9的区别在于,本发明实施例也可以将除了ODUk或ODUflex之外的FlexE业务转化为上述实施例的任意一种FlexE业务帧。Fig. 12 is a schematic diagram of a service sending process provided by an embodiment of the present invention. As shown in FIG. 12 , the difference from FIG. 9 is that in this embodiment of the present invention, a FlexE service other than ODUk or ODUflex can also be converted into any FlexE service frame in the foregoing embodiments.

步骤1200,获取至少一路FlexE业务。例如FlexE业务#a、FlexE业务#b、FlexE业务#z等。Step 1200, acquire at least one FlexE service. For example, FlexE service #a, FlexE service #b, FlexE service #z, etc.

步骤1201,对获取到的FlexE业务进行速率适配。Step 1201, perform rate adaptation on the acquired FlexE service.

例如,对FlexE业务#a进行速率适配。FlexE业务#a可以为分组业务或以太业务(例如GE、10GE)等。分组业务可以由一系列以太帧和帧间隙构成。每个以太帧的长度可以不固定,包括1个66B起始码块(S),若干个66B数据码块(D)和1个帧尾码块(T)。帧间隙可以包括若干个空闲码块(IDLE)。可以增加和/或删除空闲码块(IDLE)对FlexE业务#a进行速率适配。For example, rate adaptation is performed on the FlexE service #a. The FlexE service #a may be a packet service or an Ethernet service (such as GE, 10GE) and the like. Packet traffic can consist of a series of Ethernet frames and frame gaps. The length of each Ethernet frame may not be fixed, including one 66B start code block (S), several 66B data code blocks (D) and one frame end code block (T). A frame gap may include several idle code blocks (IDLE). The rate adaptation of the FlexE service #a can be performed by adding and/or deleting idle code blocks (IDLE).

步骤1202,将FlexE业务转化为FlexE业务帧。Step 1202, converting the FlexE service into a FlexE service frame.

例如,将FlexE业务#a转化为FlexE业务帧。例如,可以在分组业务中,每476个66B码块周期性地插入2个66B开销码块。连续的4组(476个66B码块+2个66B开销码块)构成一个FlexE业务帧。FlexE业务帧的帧格式可以参照图8所示。分组业务的66B码块可以包括S码块、D码块、T码块、IDLE码块的任意一种或多种。插入的66B开销码块可以是发送端预设的,或者根据分组业务生成的。66B开销码块可以承载用于端到端管理监控的一种或多种开销信息,例如,TTI、BIP8、BEI、BDI、STAT中的任意一种或多种等。For example, the FlexE service #a is converted into a FlexE service frame. For example, in the packet service, two 66B overhead code blocks may be inserted periodically for every 476 66B code blocks. Four consecutive groups (476 66B code blocks + 2 66B overhead code blocks) constitute a FlexE service frame. For the frame format of the FlexE service frame, refer to FIG. 8 . The 66B code blocks of the packet service may include any one or more of S code blocks, D code blocks, T code blocks, and IDLE code blocks. The inserted 66B overhead code block can be preset by the sender, or generated according to the packet service. The 66B overhead code block can carry one or more types of overhead information for end-to-end management and monitoring, for example, any one or more of TTI, BIP8, BEI, BDI, STAT, and the like.

可选的,步骤1201可以在步骤1202之前执行,也可以在步骤1202之后执行。或者,步骤1201也可以不执行。Optionally, step 1201 may be performed before step 1202, or may be performed after step 1202. Alternatively, step 1201 may not be executed.

步骤1203-1207可以参考步骤903-907,此处不再赘述。本发明实施例提出的FlexE业务帧结构适用于任意一种FlexE业务。由于FlexE业务帧与OTN帧有良好的对应关系,当FlexE信号需要穿通OTN时,降低了FlexE业务帧转化为OTN帧的处理复杂度,提高了转化效率。利用FlexE业务帧的开销,可以实现端到端的网络管理和监控。For steps 1203-1207, reference may be made to steps 903-907, which will not be repeated here. The FlexE service frame structure proposed by the embodiment of the present invention is applicable to any kind of FlexE service. Since the FlexE service frame has a good correspondence with the OTN frame, when the FlexE signal needs to pass through the OTN, the processing complexity of converting the FlexE service frame into an OTN frame is reduced, and the conversion efficiency is improved. By using the overhead of the FlexE service frame, end-to-end network management and monitoring can be realized.

图13是本发明实施例提供的一种业务发送的处理示意图。如图13所示,FlexE业务可以为OTN帧中的ODUKm。例如,ODUKm可以为速率为100G的整数倍的ODUCn,或者,ODUKm的速率还可以为200G的整数倍等。Fig. 13 is a schematic diagram of a service sending process provided by an embodiment of the present invention. As shown in Figure 13, the FlexE service can be ODUKm in the OTN frame. For example, the ODUKm can be ODUCn whose rate is an integral multiple of 100G, or the rate of ODUKm can also be an integral multiple of 200G, etc.

步骤1300,可以将ODUKm分发成m路ODUK(ODUK#1、ODUK#2,….,ODUK#m),相当于将FlexE业务由1路变为m路。ODUKm的帧结构可以由m个ODUK帧间插组成,每个ODUK帧的帧格式可以参考如图3所示的OTN帧结构。In step 1300, the ODUKm can be distributed into m-channel ODUKs (ODUK#1, ODUK#2, ..., ODUK#m), which is equivalent to changing the FlexE service from 1-channel to m-channel. The frame structure of ODUKm can be composed of m ODUK frames interleaved, and the frame format of each ODUK frame can refer to the OTN frame structure shown in Figure 3 .

步骤1301,将每一路ODUK分别转化为本发明实施例的任意一种FlexE业务帧,得到m路FlexE业务帧。例如,采用前文的任意一种转化方式将每一路ODUK转化为FlexE业务帧。另一个例子中,也可以不将ODUKm分发成m路ODUK,将ODUKm看作时一路FlexE业务,转化为FlexE业务帧。例如,可以将一个ODUKm转化为一个FlexE业务帧,也可以将1/m个ODUKm转化为一个FlexE业务帧,还可以将1/(2nxm)个ODUKm转化为一个FlexE业务帧。In step 1301, each channel of ODUK is converted into any kind of FlexE service frame in the embodiment of the present invention, and m channels of FlexE service frames are obtained. For example, use any of the preceding conversion methods to convert each ODUK channel into a FlexE service frame. In another example, instead of distributing the ODUKm into m-channel ODUKs, the ODUKm can be regarded as one FlexE service and converted into a FlexE service frame. For example, one ODUKm can be converted into a FlexE service frame, 1/m ODUKm can be converted into a FlexE service frame, and 1/(2 n xm) ODUKm can be converted into a FlexE service frame.

步骤1302-1207可以参考步骤902-907,此处不再赘述。For steps 1302-1207, reference may be made to steps 902-907, which will not be repeated here.

图14是本发明实施例提供的另一种业务发送的处理示意图。如图14所示,和图13的区别在于,省去了步骤1403,FlexE shim层的时隙分配。步骤1401、1404,得到m路FlexE业务帧之后,将m路FlexE业务帧分发到m路PHY通道中,每一路FlexE业务帧对应一路PHY通道。对每一路PHY通道中的FlexE业务帧以一定的周期添加FlexE开销码块,形成m路FlexE开销帧,即m路PHY通道信号。其他步骤和图13类似。Fig. 14 is a schematic diagram of another service sending process provided by an embodiment of the present invention. As shown in FIG. 14, the difference from FIG. 13 is that step 1403, the time slot allocation of the FlexE shim layer, is omitted. In steps 1401 and 1404, after obtaining m channels of FlexE service frames, distribute m channels of FlexE service frames to m channels of PHY channels, and each channel of FlexE service frames corresponds to one channel of PHY. Add FlexE overhead code blocks to the FlexE service frames in each PHY channel at a certain period to form m-channel FlexE overhead frames, that is, m-channel PHY channel signals. Other steps are similar to those in Figure 13.

图15是本发明实施例提供的一种业务接收的处理示意图。业务接收的处理过程和业务发送的处理过程大致相反,以与图9对应的业务接收过程为例进行说明。Fig. 15 is a schematic diagram of a service receiving process provided by an embodiment of the present invention. The process of service reception is roughly opposite to the process of service transmission, and the process of service reception corresponding to FIG. 9 is taken as an example for illustration.

步骤1500,接收一路或多个PHY通道信号。Step 1500, receive one or more PHY channel signals.

例如,图15中,接收N个PHY通道信号,例如,PHY通道信号#1,PHY通道信号#2,…,PHY通道信号#N等。For example, in FIG. 15, N PHY channel signals are received, for example, PHY channel signal #1, PHY channel signal #2, . . . , PHY channel signal #N, and so on.

步骤1501,识别PHY通道信号中的AM,根据PHY通道信号中的AM对该路PHY中的多个虚拟通道进行对齐,删除AM,得到对齐后的PHY通道信号。Step 1501: Identify the AM in the PHY channel signal, align multiple virtual channels in the PHY according to the AM in the PHY channel signal, delete the AM, and obtain the aligned PHY channel signal.

步骤1502,对恢复出的PHY通道信号进行FEC解码。Step 1502, perform FEC decoding on the recovered PHY channel signal.

步骤1503,对PHY通道信号进行解扰码。Step 1503, descrambling the PHY channel signal.

步骤1501-1503和步骤905-907互为逆向过程,如果发送端没有执行步骤905-907的一个或多个步骤,接收端也可以不进行相应的逆向处理。例如,如果发送端没有进行FEC编码,接收端也可不进行FEC解码。Steps 1501-1503 and steps 905-907 are reverse processes. If the sending end does not perform one or more steps of steps 905-907, the receiving end may not perform corresponding reverse processing. For example, if the sending end does not perform FEC encoding, the receiving end may not perform FEC decoding.

步骤1504,提取每一路PHY通道信号的FlexE开销帧的开销信息,将N个PHY通道信号恢复为FlexE组信号。Step 1504, extract the overhead information of the FlexE overhead frame of each PHY channel signal, and restore the N PHY channel signals to a FlexE group signal.

步骤1505,从FlexE组信号的一个或多个时隙中解映射得到FlexE业务帧。In step 1505, the FlexE service frame is obtained by demapping from one or more time slots of the FlexE group signal.

例如,解析FlexE开销帧的开销码块中的时隙占用指示信息,从FlexE组信号的一个或多个时隙中解映射得到FlexE业务帧。For example, the time slot occupancy indication information in the overhead code block of the FlexE overhead frame is analyzed, and the FlexE service frame is obtained by demapping from one or more time slots of the FlexE group signal.

步骤1506,对FlexE业务帧进行速率适配。Step 1506, perform rate adaptation on the FlexE service frame.

例如,在FlexE业务帧的任意位置增加和/或删除空闲码块(IDLE)或者预设的特殊码块,以实现速率适配。For example, an idle code block (IDLE) or a preset special code block is added and/or deleted at any position of the FlexE service frame to implement rate adaptation.

可选的,如果步骤1505中解映射得到FlexE业务帧为如转化方式二所述的FlexE业务帧(FlexE业务帧B),可以先将FlexE业务帧B转化为如转化方式一所述的FlexE业务帧(FlexE业务帧A),然后基于FlexE业务帧A进行速率适配。实现速率适配的方式,可以在上一个FlexE业务帧的T码块和下一个FlexE业务帧的S码块之间增加或者删除IDLE码块。Optionally, if the FlexE service frame obtained by demapping in step 1505 is the FlexE service frame (FlexE service frame B) as described in the second conversion method, the FlexE service frame B can be converted into the FlexE service as described in the first conversion method frame (FlexE service frame A), and then perform rate adaptation based on FlexE service frame A. The way to realize the rate adaptation is to add or delete the IDLE code block between the T code block of the last FlexE service frame and the S code block of the next FlexE service frame.

步骤1507,识别FlexE业务帧的开销码块,将FlexE业务帧转化为ODUk或ODUflex。例如,FlexE业务帧每476个数据码块出现2个开销码块。可以周期性地检测到FlexE业务帧的开销码块,当获取到帧定位开销FAS和/或MFAS时,可以确定ODUk或ODUflex的帧头。可以获取到一个FlexE业务帧之后,再将该FlexE业务帧转化为ODUk或ODUflex。或者,获取到FlexE业务帧的一个或多个码块之后,可以将获取到的码块转化为ODUk或ODUflex的部分字节。Step 1507, identify the overhead code block of the FlexE service frame, and convert the FlexE service frame into ODUk or ODUflex. For example, there are 2 overhead code blocks for every 476 data code blocks in a FlexE service frame. The overhead code block of the FlexE service frame can be detected periodically, and the frame header of the ODUk or ODUflex can be determined when the frame alignment overhead FAS and/or MFAS is obtained. After obtaining a FlexE service frame, the FlexE service frame can be converted into ODUk or ODUflex. Or, after obtaining one or more code blocks of the FlexE service frame, the obtained code blocks can be converted into some bytes of ODUk or ODUflex.

上述步骤中,有些步骤也可以不执行,或者执行顺序不限于上述例子。例如,步骤1502、步骤1506等也可以不执行。步骤1506也可以在步骤1507之后执行。In the above steps, some steps may not be executed, or the execution sequence is not limited to the above example. For example, step 1502, step 1506, etc. may not be executed. Step 1506 may also be performed after step 1507.

本发明实施例也可以应用于FlexE信号穿通OTN的场景。图16是本发明实施例提供的一种网络架构示意图。如图16所示,源端设备和宿端设备分别位于FlexE网络1和FlexE网络2中,两个FlexE网络之间传输的信号通过OTN进行承载并传送。OTN可以采用任意一种OTN帧(例如ODUflex)来承载FlexE信号。FlexE信号可以为FlexE业务帧或者承载了FlexE业务帧的FlexE开销帧。FlexE网络1的边缘设备B与OTN的边缘设备C连接,使得FlexE网络1连接到OTN中。FlexE网络2的边缘设备E与OTN的边缘设备D连接,使得FlexE网络2连接到OTN中。边缘设备B或边缘设备E可以通过FlexE成员组接入到OTN。The embodiments of the present invention can also be applied to a scenario where a FlexE signal passes through the OTN. Fig. 16 is a schematic diagram of a network architecture provided by an embodiment of the present invention. As shown in Figure 16, the source device and the sink device are located in FlexE network 1 and FlexE network 2 respectively, and signals transmitted between the two FlexE networks are carried and transmitted through the OTN. OTN can use any kind of OTN frame (such as ODUflex) to bear the FlexE signal. The FlexE signal may be a FlexE service frame or a FlexE overhead frame carrying the FlexE service frame. Edge device B of the FlexE network 1 is connected to edge device C of the OTN, so that the FlexE network 1 is connected to the OTN. The edge device E of the FlexE network 2 is connected to the edge device D of the OTN, so that the FlexE network 2 is connected to the OTN. Edge device B or edge device E can access the OTN through the FlexE member group.

源端设备可以将FlexE业务转化为FlexE业务帧,例如,FlexE业务可以包括OTN信号、分组业务、以太业务等。FlexE业务帧可以携带66B开销码块,当OTN的边缘设备C将FlexE业务帧转化为ODUflex时,可以将FlexE业务帧的66B开销码块转化为开销字节。OTN的边缘设备D将ODUflex恢复为FlexE业务帧,宿端设备接收到该FlexE业务帧,可以将FlexE业务帧恢复为FlexE业务。由于FlexE业务帧可以携带开销信息,通过FlexE业务帧可以实现端到端的网络管理和监控。The source device can convert the FlexE service into a FlexE service frame, for example, the FlexE service can include OTN signal, packet service, Ethernet service and so on. FlexE service frames can carry 66B overhead code blocks. When OTN edge device C converts FlexE service frames into ODUflex, it can convert the 66B overhead code blocks of FlexE service frames into overhead bytes. The OTN edge device D restores the ODUflex to a FlexE service frame, and the sink device receives the FlexE service frame and can restore the FlexE service frame to a FlexE service. Since the FlexE service frame can carry overhead information, the end-to-end network management and monitoring can be realized through the FlexE service frame.

图17是本发明实施例提供的一种业务发送的方法的示范性流程图。如图17所示,该方法可以由发送端设备执行。该方法可以包括如下步骤:Fig. 17 is an exemplary flow chart of a service sending method provided by an embodiment of the present invention. As shown in Fig. 17, the method can be executed by the sending end device. The method may include the steps of:

S1701:获取灵活以太网FlexE客户信号。S1701: Obtain a FlexE client signal.

FlexE客户信号可以从客户设备获取的,也可以是发送端设备生成的。FlexE客户信号可以包括例如,OTN信号(或者称为OTN业务)、分组业务、以太业务等。The FlexE client signal can be obtained from the client device or generated by the sender device. FlexE client signals may include, for example, OTN signals (or called OTN services), packet services, Ethernet services, and the like.

S1702:将所述FlexE客户信号转化为FlexE业务帧,所述FlexE业务帧包括至少一个第一开销码块和至少一个数据码块,所述至少一个第一开销码块用于携带所述FlexE客户信号的开销信息,所述至少一个数据码块用于携带所述FlexE客户信号的净荷信息。S1702: Convert the FlexE client signal into a FlexE service frame, the FlexE service frame includes at least one first overhead code block and at least one data code block, and the at least one first overhead code block is used to carry the FlexE client Signal overhead information, the at least one data code block is used to carry payload information of the FlexE client signal.

可选的,将所述至少一个第一开销码块周期性地插入到所述FlexE业务帧中。以一个FlexE客户信号帧长度的1/(2n)为单位,将所述FlexE客户信号转化成所述FlexE业务帧,其中,n大于或等于0。例如,n=0时,可以将一个FlexE客户信号帧转化为一个FlexE业务帧。可选的,将所述FlexE客户信号的开销信息进行编码,生成所述至少一个第一开销码块。可选的,所述至少一个第一开销码块位于所述FlexE业务帧的帧头,和/或,所述至少一个第一开销码块在FlexE业务帧的任意两个数据码块之间。例如,当FlexE客户信号为OTN帧时,FlexE客户信号的开销信息可以包括帧头定位开销、路径管理监控开销中的任意一种或多种,可以用于端到端的网络管理和监控。Optionally, the at least one first overhead code block is periodically inserted into the FlexE service frame. The FlexE client signal is converted into the FlexE service frame in units of 1/(2 n ) of the length of a FlexE client signal frame, where n is greater than or equal to 0. For example, when n=0, a FlexE client signal frame can be converted into a FlexE service frame. Optionally, encode the overhead information of the FlexE client signal to generate the at least one first overhead code block. Optionally, the at least one first overhead code block is located at the frame header of the FlexE service frame, and/or, the at least one first overhead code block is between any two data code blocks of the FlexE service frame. For example, when the FlexE client signal is an OTN frame, the overhead information of the FlexE client signal can include any one or more of frame header positioning overhead and path management monitoring overhead, which can be used for end-to-end network management and monitoring.

S1703:将所述FlexE业务帧映射到物理通道一个或多个时隙中,生成FlexE开销帧,所述FlexE开销帧包括第二开销码块,所述第二开销码块用于携带所述FlexE开销帧的开销信息。S1703: Map the FlexE service frame to one or more time slots of the physical channel to generate a FlexE overhead frame, the FlexE overhead frame includes a second overhead code block, and the second overhead code block is used to carry the FlexE Overhead information of the overhead frame.

可选的,在FlexE业务帧映射到物理通道一个或多个时隙之前,可以对所述FlexE客户信号进行速率适配。经过速率适配的FlexE客户信号可以正好映射到物理通道的整数个时隙中。Optionally, rate adaptation may be performed on the FlexE client signal before the FlexE service frame is mapped to one or more time slots of the physical channel. The rate-adapted FlexE client signal can be exactly mapped to an integer number of time slots of the physical channel.

S1704:将所述FlexE开销帧通过所述物理通道发送出去。S1704: Send the FlexE overhead frame through the physical channel.

本申请中,将FlexE客户信号转化为FlexE业务帧,并通过FlexE业务帧携带FlexE客户信号的开销信息,可以实现对FlexE客户信号端到端的网络管理和监控。In this application, the FlexE client signal is converted into a FlexE service frame, and the overhead information of the FlexE client signal is carried in the FlexE service frame, so that end-to-end network management and monitoring of the FlexE client signal can be realized.

图18是本发明实施例提供的一种业务接收的方法的示范性流程图。如图18所示,该方法可以由接收端设备执行。该方法可以包括如下步骤:Fig. 18 is an exemplary flow chart of a service receiving method provided by an embodiment of the present invention. As shown in FIG. 18, the method can be executed by the receiving end device. The method may include the steps of:

S1801:从物理通道接收灵活以太网FlexE开销帧。S1801: Receive a FlexE overhead frame from a physical channel.

FlexE开销帧可以直接从发送端设备接收,也可以是在发送端设备发送后,经过一个或多个中间设备后接收到。The FlexE overhead frame can be received directly from the sender device, or can be received after passing through one or more intermediate devices after being sent by the sender device.

S1802:识别所述FlexE开销帧的开销信息,根据所述FlexE开销帧的开销信息从所述物理通道的一个或多个时隙解映射得到FlexE业务帧,所述FlexE开销帧的开销信息通过所述FlexE开销帧的第二开销码块携带。S1802: Identify the overhead information of the FlexE overhead frame, demap from one or more time slots of the physical channel to obtain a FlexE service frame according to the overhead information of the FlexE overhead frame, and obtain the FlexE service frame through the overhead information of the FlexE overhead frame through the The second overhead code block of the FlexE overhead frame is carried.

FlexE帧的开销信息可以包括时隙占用指示信息,用于指示从哪个/些时隙中获取FlexE业务帧。The overhead information of the FlexE frame may include time slot occupancy indication information, which is used to indicate from which time slot/slots the FlexE service frame is acquired.

S1803:将所述FlexE业务帧转化为FlexE客户信号,所述FlexE业务帧包括至少一个第一开销码块和至少一个数据码块,所述至少一个第一开销码块用于携带所述FlexE客户信号的开销信息,所述至少一个数据码块用于携带所述FlexE客户信号的净荷信息。S1803: Convert the FlexE service frame into a FlexE client signal, the FlexE service frame includes at least one first overhead code block and at least one data code block, and the at least one first overhead code block is used to carry the FlexE client Signal overhead information, the at least one data code block is used to carry payload information of the FlexE client signal.

可选的,从所述FlexE业务帧中周期性地识别到所述至少一个第一开销码块。以一个FlexE业务帧长度的1/(2n)为单位,将所述FlexE业务帧转化为FlexE客户信号,其中,n大于或等于0。将FlexE业务帧转化为FlexE客户信号的过程中,可以删除所述FlexE业务帧的同步头比特,对所述FlexE业务帧进行解码,并填充预留字段。所述至少一个第一开销码块位于所述FlexE业务帧的帧头,和/或,所述至少一个第一开销码块在FlexE业务帧的任意两个数据码块之间。Optionally, the at least one first overhead code block is periodically identified from the FlexE service frame. Converting the FlexE service frame into a FlexE client signal in units of 1/(2 n ) of the length of a FlexE service frame, where n is greater than or equal to 0. During the process of converting the FlexE service frame into the FlexE client signal, the synchronization header bits of the FlexE service frame may be deleted, the FlexE service frame may be decoded, and reserved fields may be filled. The at least one first overhead code block is located at the frame header of the FlexE service frame, and/or, the at least one first overhead code block is between any two data code blocks of the FlexE service frame.

本申请中,将FlexE业务帧转化为FlexE客户信号,并通过FlexE业务帧携带FlexE客户的开销信息,可以实现对FlexE客户信号端到端的网络管理和监控。In this application, the FlexE service frame is converted into the FlexE client signal, and the overhead information of the FlexE client is carried through the FlexE service frame, so that end-to-end network management and monitoring of the FlexE client signal can be realized.

图19是本发明实施例提供的一种发送设备1900的结构示意图。发送设备1900可以为光传送设备、以太网设备、灵活以太网设备、路由器、交换机等。如图19所示,该发送设备1900可以包括接收模块1901、处理模块1902和发送模块1903。FIG. 19 is a schematic structural diagram of a sending device 1900 provided by an embodiment of the present invention. The sending device 1900 may be an optical transmission device, an Ethernet device, a flexible Ethernet device, a router, a switch, and the like. As shown in FIG. 19 , the sending device 1900 may include a receiving module 1901 , a processing module 1902 and a sending module 1903 .

接收模块1901,用于获取灵活以太网FlexE客户信号。The receiving module 1901 is configured to acquire a FlexE client signal.

处理模块1902,用于将所述FlexE客户信号转化为FlexE业务帧,所述FlexE业务帧包括至少一个第一开销码块和至少一个数据码块,所述至少一个第一开销码块用于携带所述FlexE客户信号的开销信息,所述至少一个数据码块用于携带所述FlexE客户信号的净荷信息;将所述FlexE业务帧映射到物理通道一个或多个时隙中,生成FlexE开销帧,所述FlexE开销帧包括第二开销码块,所述第二开销码块用于携带所述FlexE开销帧的开销信息。A processing module 1902, configured to convert the FlexE client signal into a FlexE service frame, the FlexE service frame includes at least one first overhead code block and at least one data code block, and the at least one first overhead code block is used to carry The overhead information of the FlexE client signal, the at least one data code block is used to carry the payload information of the FlexE client signal; the FlexE service frame is mapped to one or more time slots of the physical channel to generate the FlexE overhead frame, where the FlexE overhead frame includes a second overhead code block, where the second overhead code block is used to carry overhead information of the FlexE overhead frame.

发送模块1903,用于将所述FlexE开销帧通过所述物理通道发送出去。The sending module 1903 is configured to send the FlexE overhead frame through the physical channel.

发送设备1900可以执行如图9、图12、图13、图14、图17所示的任意一种实施方式中的方法步骤。The sending device 1900 may execute the method steps in any one of the implementation manners shown in FIG. 9 , FIG. 12 , FIG. 13 , FIG. 14 , and FIG. 17 .

图20是本发明实施例提供的一种接收设备2000的结构示意图。该接收设备2000和图19所示的发送设备1900可以位于同一个设备中,也可以位于不同的设备中。接收设备2000可以为光传送设备、以太网设备、灵活以太网设备、路由器、交换机等。如图20所示,该接收设备2000可以包括接收模块2001和处理模块2002。FIG. 20 is a schematic structural diagram of a receiving device 2000 provided by an embodiment of the present invention. The receiving device 2000 and the sending device 1900 shown in FIG. 19 may be located in the same device, or may be located in different devices. The receiving device 2000 may be an optical transmission device, an Ethernet device, a flexible Ethernet device, a router, a switch, and the like. As shown in FIG. 20 , the receiving device 2000 may include a receiving module 2001 and a processing module 2002 .

接收模块2001,用于从物理通道接收灵活以太网FlexE开销帧。The receiving module 2001 is configured to receive a FlexE overhead frame from a physical channel.

处理模块2002,用于识别所述FlexE开销帧的开销信息,根据所述FlexE开销帧的开销信息从所述物理通道的一个或多个时隙解映射得到FlexE业务帧,所述FlexE开销帧的开销信息通过所述FlexE开销帧的第二开销码块携带。将所述FlexE业务帧转化为FlexE客户信号,所述FlexE业务帧包括至少一个第一开销码块和至少一个数据码块,所述至少一个第一开销码块用于携带所述FlexE客户信号的开销信息,所述至少一个数据码块用于携带所述FlexE客户信号的净荷信息。The processing module 2002 is configured to identify the overhead information of the FlexE overhead frame, and demap one or more time slots of the physical channel to obtain a FlexE service frame according to the overhead information of the FlexE overhead frame, and the FlexE overhead frame The overhead information is carried by the second overhead code block of the FlexE overhead frame. Converting the FlexE service frame into a FlexE client signal, the FlexE service frame includes at least one first overhead code block and at least one data code block, and the at least one first overhead code block is used to carry the FlexE client signal Overhead information, the at least one data code block is used to carry payload information of the FlexE client signal.

接收设备2000可以执行如图15、图18所示的任意一种实施方式所示的方法步骤。The receiving device 2000 may execute the method steps shown in any one of the implementation manners shown in FIG. 15 and FIG. 18 .

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, all or part of the processes or functions according to the embodiments of the present invention will be generated. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a Solid State Disk (SSD)).

Claims (27)

1. a kind of method that business is sent, which is characterized in that the method includes:
Obtain flexible Ethernet FlexE client signals;
Convert the FlexE client signals to FlexE traffic frames, the FlexE traffic frames include at least one first expense Code block and at least one data code block, at least one first expense code block is for carrying opening for the FlexE client signals Information is sold, at least one data code block is used to carry the payload information of the FlexE client signals;
The FlexE traffic frames are mapped in the one or more time slot of physical channel, FlexE expense frames, the FlexE are generated Expense frame includes the second expense code block, and the second expense code block is used to carry the Overhead of the FlexE expenses frame;
The FlexE expenses frame is sent by the physical channel.
2. the method as described in claim 1, which is characterized in that described to convert the FlexE client signals to FlexE business Frame, including:
At least one first expense Code Block Cycle is inserted into the FlexE traffic frames.
3. method as claimed in claim 1 or 2, which is characterized in that described to convert the FlexE client signals to FlexE Traffic frame, including:
With the 1/ (2 of a FlexE client signal frame lengthn) it is unit, the FlexE client signals are converted to the FlexE Traffic frame, wherein n is greater than or equal to 0.
4. the method as described in claim 1, which is characterized in that by the FlexE traffic frames be mapped to physical channel one or Before in multiple time slots, the method further includes:
Rate adaptation is carried out to the FlexE client signals.
5. method as claimed in claim 1 or 2, which is characterized in that described to convert the FlexE client signals to FlexE Traffic frame, including:
The Overhead of the FlexE client signals is encoded, at least one first expense code block is generated.
6. method as claimed in claim 1 or 2, which is characterized in that at least one first expense code block is located at described The frame head of FlexE traffic frames, and/or, any two numeric data code of at least one first expense code block in FlexE traffic frames Between block.
7. a kind of method that business receives, which is characterized in that the method includes:
Flexible Ethernet FlexE expense frames are received from physical channel;
The Overhead for identifying the FlexE expenses frame, according to the Overhead of the FlexE expenses frame from the physical channel One or more time slot demappings obtain FlexE traffic frames, the Overhead of the FlexE expenses frame passes through the FlexE Second expense code block of expense frame carries;
Convert the FlexE traffic frames to FlexE client signals, the FlexE traffic frames include at least one first expense Code block and at least one data code block, at least one first expense code block is for carrying opening for the FlexE client signals Information is sold, at least one data code block is used to carry the payload information of the FlexE client signals.
8. the method for claim 7, which is characterized in that described to convert the FlexE traffic frames to FlexE client's letter Number, including:
At least one first expense code block is periodically recognized from the FlexE traffic frames.
9. method as claimed in claim 7 or 8, which is characterized in that described to convert the FlexE traffic frames to FlexE visitors Family signal, including:
With the 1/ (2 of a FlexE business frame lengthn) it is unit, convert the FlexE traffic frames to FlexE client signals, Wherein, n is greater than or equal to 0.
10. method as claimed in claim 7 or 8, which is characterized in that described to convert the FlexE traffic frames to FlexE visitors Family signal, including:
The synchronous head bit for deleting the FlexE traffic frames is decoded the FlexE traffic frames, and fills reserved field.
11. method as claimed in claim 7 or 8, which is characterized in that at least one first expense code block is located at described The frame head of FlexE traffic frames, and/or, any two numeric data code of at least one first expense code block in FlexE traffic frames Between block.
12. a kind of sending device, which is characterized in that the equipment includes:
Receiving module, for obtaining flexible Ethernet FlexE client signals;
Processing module, for converting the FlexE client signals to FlexE traffic frames, the FlexE traffic frames include at least One the first expense code block and at least one data code block, at least one first expense code block is for carrying the FlexE The Overhead of client signal, at least one data code block are used to carry the payload information of the FlexE client signals;It will The FlexE traffic frames are mapped in the one or more time slot of physical channel, generate FlexE expense frames, the FlexE expenses frame Including the second expense code block, the second expense code block is used to carry the Overhead of the FlexE expenses frame;
Sending module, for sending the FlexE expenses frame by the physical channel.
13. equipment as claimed in claim 12, which is characterized in that the processing module is used for:
At least one first expense Code Block Cycle is inserted into the FlexE traffic frames.
14. equipment as described in claim 12 or 13, which is characterized in that the processing module is used for:
With the 1/ (2 of a FlexE client signal frame lengthn) it is unit, the FlexE client signals are converted to the FlexE Traffic frame, wherein n is greater than or equal to 0.
15. equipment as claimed in claim 12, which is characterized in that the processing module is additionally operable to:
Rate adaptation is carried out to the FlexE client signals.
16. equipment as described in claim 12 or 13, which is characterized in that described to convert the FlexE client signals to FlexE traffic frames, including:
The Overhead of the FlexE client signals is encoded, at least one first expense code block is generated.
17. equipment as described in claim 12 or 13, which is characterized in that at least one first expense code block is located at described The frame head of FlexE traffic frames, and/or, any two numeric data code of at least one first expense code block in FlexE traffic frames Between block.
18. a kind of receiving device, which is characterized in that the equipment includes:
Receiving module, for receiving flexible Ethernet FlexE expense frames from physical channel;
Processing module, the Overhead of the FlexE expenses frame for identification, according to the Overhead of the FlexE expenses frame FlexE traffic frames, the Overhead of the FlexE expenses frame are obtained from one or more time slot demappings of the physical channel It is carried by the second expense code block of the FlexE expenses frame;
Convert the FlexE traffic frames to FlexE client signals, the FlexE traffic frames include at least one first expense Code block and at least one data code block, at least one first expense code block is for carrying opening for the FlexE client signals Information is sold, at least one data code block is used to carry the payload information of the FlexE client signals.
19. equipment as claimed in claim 18, which is characterized in that the processing module is used for:
At least one first expense code block is periodically recognized from the FlexE traffic frames.
20. the equipment as described in claim 18 or 19, which is characterized in that the processing module is used for:
With the 1/ (2 of a FlexE business frame lengthn) it is unit, convert the FlexE traffic frames to FlexE client signals, Wherein, n is greater than or equal to 0.
21. the equipment as described in claim 18 or 19, which is characterized in that the processing module is used for:
The synchronous head bit for deleting the FlexE traffic frames is decoded the FlexE traffic frames, and fills reserved field.
22. the equipment as described in claim 18 or 19, which is characterized in that at least one first expense code block is located at described The frame head of FlexE traffic frames, and/or, any two numeric data code of at least one first expense code block in FlexE traffic frames Between block.
23. a kind of network system, which is characterized in that the system comprises the sending device as described in claim 12-17 is any, And the receiving device as described in claim 18-22 is any.
24. a kind of computer readable storage medium, including instruction, when run on a computer so that computer executes such as Method described in claim 1-6 any one.
25. a kind of computer readable storage medium, including instruction, when run on a computer so that computer executes such as Method described in claim 7-11 any one.
26. a kind of computer program product including instruction, when run on a computer so that computer executes such as right It is required that the method described in 1-6 any one.
27. a kind of computer program product including instruction, when run on a computer so that computer executes such as right It is required that the method described in 7-11 any one.
CN201710301888.6A 2017-05-02 2017-05-02 A method, device and system for carrying services Active CN108809901B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110437804.8A CN113316037B (en) 2017-05-02 2017-05-02 Method, equipment and system for carrying service
CN201710301888.6A CN108809901B (en) 2017-05-02 2017-05-02 A method, device and system for carrying services

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710301888.6A CN108809901B (en) 2017-05-02 2017-05-02 A method, device and system for carrying services

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202110437804.8A Division CN113316037B (en) 2017-05-02 2017-05-02 Method, equipment and system for carrying service

Publications (2)

Publication Number Publication Date
CN108809901A true CN108809901A (en) 2018-11-13
CN108809901B CN108809901B (en) 2021-05-04

Family

ID=64053913

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110437804.8A Active CN113316037B (en) 2017-05-02 2017-05-02 Method, equipment and system for carrying service
CN201710301888.6A Active CN108809901B (en) 2017-05-02 2017-05-02 A method, device and system for carrying services

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202110437804.8A Active CN113316037B (en) 2017-05-02 2017-05-02 Method, equipment and system for carrying service

Country Status (1)

Country Link
CN (2) CN113316037B (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111092686A (en) * 2019-11-28 2020-05-01 中兴通讯股份有限公司 Data transmission method, device, terminal equipment and storage medium
WO2020156352A1 (en) * 2019-01-31 2020-08-06 中兴通讯股份有限公司 Client service transmission method, apparatus and system, and computer-readable storage medium
CN111585779A (en) * 2019-02-19 2020-08-25 华为技术有限公司 Flexible Ethernet communication method and network equipment
CN111817986A (en) * 2019-04-11 2020-10-23 中国移动通信有限公司研究院 A message processing method, device and computer-readable storage medium
CN112118197A (en) * 2019-06-19 2020-12-22 深圳市中兴微电子技术有限公司 Overhead monitoring method and device and computer readable storage medium
WO2021134694A1 (en) * 2019-12-31 2021-07-08 华为技术有限公司 Data sending method, receiving method, sending device and receiving device
CN113542934A (en) * 2020-04-21 2021-10-22 中兴通讯股份有限公司 Service processing method, apparatus, network device and storage medium
CN113784437A (en) * 2020-06-10 2021-12-10 烽火通信科技股份有限公司 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
CN113993163A (en) * 2021-10-26 2022-01-28 新华三信息安全技术有限公司 Service processing method and device
CN114629851A (en) * 2020-12-14 2022-06-14 北京华为数字技术有限公司 Service message sending method and equipment
CN115065439A (en) * 2022-08-16 2022-09-16 中国信息通信研究院 SPN network constant bit rate service transmission method and equipment
CN115118371A (en) * 2021-03-18 2022-09-27 华为技术有限公司 Method, device and system for processing Ethernet data in optical network
CN115336214A (en) * 2020-04-28 2022-11-11 华为技术有限公司 Switching method and device for active and standby links, electronic equipment, router, switch
CN115632752A (en) * 2022-09-30 2023-01-20 网络通信与安全紫金山实验室 Data transmission method and device and electronic equipment
US11792067B2 (en) 2019-02-19 2023-10-17 Huawei Technologies Co., Ltd. Flexible ethernet communication method and network device
WO2024032297A1 (en) * 2022-08-12 2024-02-15 中兴通讯股份有限公司 Service information processing method, network device, and storage medium
EP4040707A4 (en) * 2019-11-28 2024-03-27 ZTE Corporation Data transmission method and apparatus, terminal device, and storage medium
WO2024087975A1 (en) * 2022-10-26 2024-05-02 华为技术有限公司 Communication method and apparatus
WO2024140074A1 (en) * 2022-12-26 2024-07-04 华为技术有限公司 Mapping and demapping method for transmission frame, and related device
WO2025112535A1 (en) * 2023-11-30 2025-06-05 中兴通讯股份有限公司 Service mapping methods, device and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117579220A (en) * 2022-08-08 2024-02-20 华为技术有限公司 Fault code block processing method and device
CN115459883A (en) * 2022-09-30 2022-12-09 网络通信与安全紫金山实验室 Data sending method, device and non-volatile storage medium
CN118175456A (en) * 2022-12-08 2024-06-11 中兴通讯股份有限公司 Transmission method, service quality monitoring method and system of service code block stream
CN118450285A (en) * 2023-02-06 2024-08-06 中国移动通信有限公司研究院 Data processing method, device, related equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090089641A1 (en) * 2007-10-02 2009-04-02 Infineon Technologies Ag Retransmission scheme for communication systems
CN105122763A (en) * 2014-01-14 2015-12-02 华为技术有限公司 Ethernet signal transmission method, scheduling method and device and system thereof
CN106330630A (en) * 2015-07-03 2017-01-11 华为技术有限公司 Method, transmitter and receiver for transmitting data streams of flexible Ethernet
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
CN106506110A (en) * 2015-09-06 2017-03-15 中兴通讯股份有限公司 Statistic multiplexing optical transfer network method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102007062073A1 (en) * 2007-12-21 2009-06-25 Bayerische Motoren Werke Aktiengesellschaft communication system
CN102437944B (en) * 2011-12-31 2015-06-03 瑞斯康达科技发展股份有限公司 System, device and method for intercommunication between LANs (local area networks)
CN102893629A (en) * 2012-06-01 2013-01-23 华为技术有限公司 Method of transmitting client information in optical transmisstion network and transmission device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090089641A1 (en) * 2007-10-02 2009-04-02 Infineon Technologies Ag Retransmission scheme for communication systems
CN105122763A (en) * 2014-01-14 2015-12-02 华为技术有限公司 Ethernet signal transmission method, scheduling method and device and system thereof
CN106330630A (en) * 2015-07-03 2017-01-11 华为技术有限公司 Method, transmitter and receiver for transmitting data streams of flexible Ethernet
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
CN106506110A (en) * 2015-09-06 2017-03-15 中兴通讯股份有限公司 Statistic multiplexing optical transfer network method and device

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020156352A1 (en) * 2019-01-31 2020-08-06 中兴通讯股份有限公司 Client service transmission method, apparatus and system, and computer-readable storage medium
CN111585779B (en) * 2019-02-19 2021-10-15 华为技术有限公司 A flexible Ethernet communication method and network device
CN111585779A (en) * 2019-02-19 2020-08-25 华为技术有限公司 Flexible Ethernet communication method and network equipment
WO2020168897A1 (en) * 2019-02-19 2020-08-27 华为技术有限公司 Flexible ethernet communication method and network device
US11792067B2 (en) 2019-02-19 2023-10-17 Huawei Technologies Co., Ltd. Flexible ethernet communication method and network device
CN111817986A (en) * 2019-04-11 2020-10-23 中国移动通信有限公司研究院 A message processing method, device and computer-readable storage medium
CN112118197B (en) * 2019-06-19 2021-07-09 深圳市中兴微电子技术有限公司 An overhead monitoring method and apparatus, and a computer-readable storage medium
WO2020253403A1 (en) * 2019-06-19 2020-12-24 深圳市中兴微电子技术有限公司 Overhead monitoring method and apparatus, and computer readable storage medium
US12063106B2 (en) 2019-06-19 2024-08-13 Sanechips Technology Co., Ltd. Overhead monitoring method and apparatus, and computer-readable storage medium
CN112118197A (en) * 2019-06-19 2020-12-22 深圳市中兴微电子技术有限公司 Overhead monitoring method and device and computer readable storage medium
US12057931B2 (en) 2019-11-28 2024-08-06 Zte Corporation Data transmission method and apparatus, terminal device, and storage medium
EP4040707A4 (en) * 2019-11-28 2024-03-27 ZTE Corporation Data transmission method and apparatus, terminal device, and storage medium
CN111092686A (en) * 2019-11-28 2020-05-01 中兴通讯股份有限公司 Data transmission method, device, terminal equipment and storage medium
WO2021134694A1 (en) * 2019-12-31 2021-07-08 华为技术有限公司 Data sending method, receiving method, sending device and receiving device
CN114830578A (en) * 2019-12-31 2022-07-29 华为技术有限公司 Data sending method, data receiving method, sending device and receiving device
CN113542934A (en) * 2020-04-21 2021-10-22 中兴通讯股份有限公司 Service processing method, apparatus, network device and storage medium
CN115336214A (en) * 2020-04-28 2022-11-11 华为技术有限公司 Switching method and device for active and standby links, electronic equipment, router, switch
CN115336214B (en) * 2020-04-28 2024-04-12 华为技术有限公司 Primary and standby link switching method and device, electronic device, router, and switch
CN113784437B (en) * 2020-06-10 2023-09-26 烽火通信科技股份有限公司 Method and device for realizing FlexE bearing small particle service
CN113784437A (en) * 2020-06-10 2021-12-10 烽火通信科技股份有限公司 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
CN114629851A (en) * 2020-12-14 2022-06-14 北京华为数字技术有限公司 Service message sending method and equipment
CN115118371A (en) * 2021-03-18 2022-09-27 华为技术有限公司 Method, device and system for processing Ethernet data in optical network
CN113993163B (en) * 2021-10-26 2023-07-25 新华三信息安全技术有限公司 Service processing method and device
CN113993163A (en) * 2021-10-26 2022-01-28 新华三信息安全技术有限公司 Service processing method and device
WO2024032297A1 (en) * 2022-08-12 2024-02-15 中兴通讯股份有限公司 Service information processing method, network device, and storage medium
CN115065439A (en) * 2022-08-16 2022-09-16 中国信息通信研究院 SPN network constant bit rate service transmission method and equipment
CN115632752A (en) * 2022-09-30 2023-01-20 网络通信与安全紫金山实验室 Data transmission method and device and electronic equipment
WO2024087975A1 (en) * 2022-10-26 2024-05-02 华为技术有限公司 Communication method and apparatus
WO2024140074A1 (en) * 2022-12-26 2024-07-04 华为技术有限公司 Mapping and demapping method for transmission frame, and related device
WO2025112535A1 (en) * 2023-11-30 2025-06-05 中兴通讯股份有限公司 Service mapping methods, device and storage medium

Also Published As

Publication number Publication date
CN113316037A (en) 2021-08-27
CN113316037B (en) 2022-08-09
CN108809901B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN113316037B (en) Method, equipment and system for carrying service
US10771177B2 (en) Method for transmitting client signal in optical transport network, and optical transport device
CN109600188B (en) Data transmission method, transmission device and transmission system
US10462471B2 (en) Data processing method, communications device, and communications system
USRE48932E1 (en) Frame generating apparatus and frame generating method
EP3787208B1 (en) Data transmission method and a communication system
CN111092686B (en) Data transmission method, device, terminal equipment and storage medium
EP3242430B1 (en) Service signal transmission method and communication device using ethernet channel
US10608766B2 (en) Multi-service transport and receiving method and apparatus
EP4099712A1 (en) Service bearing method, apparatus and system
US20070104485A1 (en) Device and method for transmitting data traffic in optical transport network
EP2975858A1 (en) Method for processing data in the ethernet, physical layer chip and ethernet device
CN111490845A (en) Method, device and system for transmitting customer service
WO2020034964A1 (en) Client service data transmission method and apparatus, and optical transport network device and storage medium
WO2008125060A1 (en) A method for transporting the client signal in the optical transport network and an equipment thereof
WO2022088907A1 (en) Cbr signal transmission method, system, and device
US12143204B2 (en) CPRI data block transmission method and apparatus
CN111130684A (en) A method and communication device for processing signals
WO2023143403A1 (en) Service data bearing method, bearing frame structure, and service processing device
CN102098595A (en) Customer signal transmitting method in optical transport network and related equipment
WO2016074484A1 (en) Method and apparatus for sending packet service signal, and receiving method and apparatus
WO2024051586A1 (en) Method for processing data frame in optical transport network, apparatus and system

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